From f4b2473401728a05c2f0dde032cc2ec10c13da70 Mon Sep 17 00:00:00 2001 From: Matthew Garrett Date: Tue, 5 Jun 2012 10:52:30 -0400 Subject: Install a protocol for sharing code with grub --- shim.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 shim.h (limited to 'shim.h') diff --git a/shim.h b/shim.h new file mode 100644 index 00000000..ca325c0a --- /dev/null +++ b/shim.h @@ -0,0 +1,15 @@ +#define SHIM_LOCK_GUID \ + { 0x605dab50, 0xe046, 0x4300, {0xab, 0xb6, 0x3d, 0xd8, 0x10, 0xdd, 0x8b, 0x23} } + +INTERFACE_DECL(_SHIM_LOCK); + +typedef +EFI_STATUS +(EFIAPI *EFI_SHIM_LOCK_VERIFY) ( + IN VOID *buffer; + IN UINT32 size; + ); + +typedef struct _SHIM_LOCK { + EFI_SHIM_LOCK_VERIFY Verify; +} SHIM_LOCK; -- cgit v1.2.3