mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-30 12:43:41 +01:00
f35acfa5ab
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
45 lines
867 B
C
45 lines
867 B
C
/**
|
|
|
|
Aptio Memory Fix protocol to inform bootloaders
|
|
about driver availability.
|
|
|
|
by cecekpawon, vit9696
|
|
|
|
**/
|
|
|
|
#ifndef APTIOFIX_MEMORY_PROTOCOL_H
|
|
#define APTIOFIX_MEMORY_PROTOCOL_H
|
|
|
|
#define APTIOMEMORYFIX_PACKAGE_VERSION L"R27"
|
|
|
|
#define APTIOMEMORYFIX_PROTOCOL_REVISION 27
|
|
|
|
//
|
|
// APTIOMEMORYFIX_PROTOCOL_GUID
|
|
// C7CBA84E-CC77-461D-9E3C-6BE0CB79A7C1
|
|
//
|
|
#define APTIOMEMORYFIX_PROTOCOL_GUID \
|
|
{ 0xC7CBA84E, 0xCC77, 0x461D, { 0x9E, 0x3C, 0x6B, 0xE0, 0xCB, 0x79, 0xA7, 0xC1 } }
|
|
|
|
//
|
|
// Set NVRAM routing, returns previous value.
|
|
//
|
|
typedef
|
|
BOOLEAN
|
|
EFIAPI
|
|
(*AMF_SET_NVRAM_REDIRECT) (
|
|
IN BOOLEAN NewValue
|
|
);
|
|
|
|
//
|
|
// Includes a revision for debugging reasons
|
|
//
|
|
typedef struct {
|
|
UINTN Revision;
|
|
AMF_SET_NVRAM_REDIRECT SetNvram;
|
|
} APTIOMEMORYFIX_PROTOCOL;
|
|
|
|
extern EFI_GUID gAptioMemoryFixProtocolGuid;
|
|
|
|
#endif // APTIOFIX_MEMORY_PROTOCOL_H
|