diff --git a/shim.c b/shim.c index eaabefc..28e4da5 100644 --- a/shim.c +++ b/shim.c @@ -55,6 +55,8 @@ static void *load_options; static UINT32 load_options_size; static UINT8 verbose; +EFI_GUID SHIM_LOCK_GUID = { 0x605dab50, 0xe046, 0x4300, {0xab, 0xb6, 0x3d, 0xd8, 0x10, 0xdd, 0x8b, 0x23} }; + /* * The vendor certificate used for validating the second stage loader */ diff --git a/shim.h b/shim.h index 0819259..f7a766a 100644 --- a/shim.h +++ b/shim.h @@ -1,7 +1,6 @@ #include "PeImage.h" -#define SHIM_LOCK_GUID \ - { 0x605dab50, 0xe046, 0x4300, {0xab, 0xb6, 0x3d, 0xd8, 0x10, 0xdd, 0x8b, 0x23} } +extern EFI_GUID SHIM_LOCK_GUID; INTERFACE_DECL(_SHIM_LOCK);