XenevaOS
Loading...
Searching...
No Matches
RamDisk.h
Go to the documentation of this file.
1
18#ifndef __RAM_DISK_PROTOCOL_H__
19#define __RAM_DISK_PROTOCOL_H__
20
21//
22// EFI RAM Disk Protocol GUID value
23//
24#define EFI_RAM_DISK_PROTOCOL_GUID \
25 { 0xab38a0df, 0x6873, 0x44a9, { 0x87, 0xe6, 0xd4, 0xeb, 0x56, 0x14, 0x84, 0x49 }};
26
27//
28// Forward reference for pure ANSI compatability
29//
31
62typedef
65 IN UINT64 RamDiskBase,
66 IN UINT64 RamDiskSize,
67 IN EFI_GUID *RamDiskType,
68 IN EFI_DEVICE_PATH *ParentDevicePath OPTIONAL,
69 OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath
70 );
71
87typedef
91 );
92
100
105
106#endif
#define EFIAPI
Definition ProcessorBind.h:172
#define IN
Definition Base.h:347
#define OUT
Definition Base.h:352
#define OPTIONAL
Definition Base.h:358
EFI_STATUS(EFIAPI * EFI_RAM_DISK_REGISTER_RAMDISK)(IN UINT64 RamDiskBase, IN UINT64 RamDiskSize, IN EFI_GUID *RamDiskType, IN EFI_DEVICE_PATH *ParentDevicePath OPTIONAL, OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath)
Definition RamDisk.h:64
EFI_GUID gEfiRamDiskProtocolGuid
EFI_STATUS(EFIAPI * EFI_RAM_DISK_UNREGISTER_RAMDISK)(IN EFI_DEVICE_PATH_PROTOCOL *DevicePath)
Definition RamDisk.h:89
RETURN_STATUS EFI_STATUS
Definition UefiBaseType.h:33
COMPILER_DEPENDENT_UINT64 UINT64
Definition actypes.h:239
Definition DevicePath.h:49
Definition Base.h:281
Definition RamDisk.h:96
EFI_RAM_DISK_UNREGISTER_RAMDISK Unregister
Definition RamDisk.h:98
EFI_RAM_DISK_REGISTER_RAMDISK Register
Definition RamDisk.h:97