OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
AppleDiag.h
Go to the documentation of this file.
1
13#ifndef APPLE_DIAG_H
14#define APPLE_DIAG_H
15
16#define APPLE_DIAG_VARIABLE_ACCESS_PROTOCOL_GUID \
17 { 0xC5CFF4F1, 0x379A, 0x54E1, \
18 { 0x9E, 0xDD, 0x93, 0x21, 0x9C, 0x6A, 0xA4, 0xFE } }
19
20#define APPLE_DIAG_VAULT_PROTOCOL_GUID \
21 { 0xF76761DC, 0xFF89, 0x44E4, \
22 { 0x9C, 0x0C, 0xCD, 0x0A, 0xDA, 0x4E, 0xF9, 0x83 } }
23
24typedef
25EFI_STATUS
26(EFIAPI *DIAG_ACCESS_GET)(
27 IN CHAR16 *Key,
28 OUT VOID *Value,
29 IN OUT UINTN *Length
30 );
31
32typedef
33EFI_STATUS
34(EFIAPI *DIAG_ACCESS_SET)(
35 IN CHAR16 *Key,
36 IN VOID *Value,
37 IN OUT UINTN *Length
38 );
39
45
46// Note, both these GUIDs are also exposed as a configuration table with the same GUID and is used by AppleEFINVRAM.kext.
48extern EFI_GUID gAppleDiagVaultProtocolGuid;
49
50#endif // APPLE_DIAG_ACCESS_H
EFI_GUID gAppleDiagVaultProtocolGuid
EFI_STATUS(EFIAPI * DIAG_ACCESS_GET)(IN CHAR16 *Key, OUT VOID *Value, IN OUT UINTN *Length)
Definition AppleDiag.h:26
EFI_STATUS(EFIAPI * DIAG_ACCESS_SET)(IN CHAR16 *Key, IN VOID *Value, IN OUT UINTN *Length)
Definition AppleDiag.h:34
EFI_GUID gAppleDiagVariableAccessProtocolGuid
UINT64 Length