TianoCore EDK2 master
Loading...
Searching...
No Matches
RamDisk.h
Go to the documentation of this file.
1
12#ifndef __RAM_DISK_PROTOCOL_H__
13#define __RAM_DISK_PROTOCOL_H__
14
15//
16// EFI RAM Disk Protocol GUID value
17//
18#define EFI_RAM_DISK_PROTOCOL_GUID \
19 { 0xab38a0df, 0x6873, 0x44a9, { 0x87, 0xe6, 0xd4, 0xeb, 0x56, 0x14, 0x84, 0x49 }};
20
21//
22// Forward reference for pure ANSI compatability
23//
25
56typedef
59 IN UINT64 RamDiskBase,
60 IN UINT64 RamDiskSize,
61 IN EFI_GUID *RamDiskType,
62 IN EFI_DEVICE_PATH *ParentDevicePath OPTIONAL,
63 OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath
64 );
65
81typedef
85 );
86
93};
94
99
100#endif
#define OPTIONAL
Definition: Base.h:290
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
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:58
EFI_GUID gEfiRamDiskProtocolGuid
EFI_STATUS(EFIAPI * EFI_RAM_DISK_UNREGISTER_RAMDISK)(IN EFI_DEVICE_PATH_PROTOCOL *DevicePath)
Definition: RamDisk.h:83
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213