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
//
24
typedef
struct
_EFI_RAM_DISK_PROTOCOL
EFI_RAM_DISK_PROTOCOL
;
25
56
typedef
57
EFI_STATUS
58
(EFIAPI *
EFI_RAM_DISK_REGISTER_RAMDISK
)(
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
81
typedef
82
EFI_STATUS
83
(EFIAPI *
EFI_RAM_DISK_UNREGISTER_RAMDISK
)(
84
IN
EFI_DEVICE_PATH_PROTOCOL
*DevicePath
85
);
86
90
struct
_EFI_RAM_DISK_PROTOCOL
{
91
EFI_RAM_DISK_REGISTER_RAMDISK
Register;
92
EFI_RAM_DISK_UNREGISTER_RAMDISK
Unregister;
93
};
94
98
extern
EFI_GUID
gEfiRamDiskProtocolGuid
;
99
100
#endif
OPTIONAL
#define OPTIONAL
Definition:
Base.h:290
IN
#define IN
Definition:
Base.h:279
OUT
#define OUT
Definition:
Base.h:284
EFI_RAM_DISK_REGISTER_RAMDISK
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
gEfiRamDiskProtocolGuid
EFI_GUID gEfiRamDiskProtocolGuid
EFI_RAM_DISK_UNREGISTER_RAMDISK
EFI_STATUS(EFIAPI * EFI_RAM_DISK_UNREGISTER_RAMDISK)(IN EFI_DEVICE_PATH_PROTOCOL *DevicePath)
Definition:
RamDisk.h:83
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
_EFI_RAM_DISK_PROTOCOL
Definition:
RamDisk.h:90
EFI_DEVICE_PATH_PROTOCOL
Definition:
DevicePath.h:43
GUID
Definition:
Base.h:213
MdePkg
Include
Protocol
RamDisk.h
Generated on Fri Nov 15 2024 18:01:16 for TianoCore EDK2 by
1.9.6