From 1f170890f57a54d3c1fa1698b0fd21d4621d287e Mon Sep 17 00:00:00 2001 From: Matthijs Lavrijsen Date: Wed, 17 Aug 2022 05:04:12 +0200 Subject: EfiGuardDxe: add VisualUefi support for recent versions of edk2 --- EfiGuardDxe/VisualUefi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'EfiGuardDxe/VisualUefi.c') diff --git a/EfiGuardDxe/VisualUefi.c b/EfiGuardDxe/VisualUefi.c index ec02953..e1f76db 100644 --- a/EfiGuardDxe/VisualUefi.c +++ b/EfiGuardDxe/VisualUefi.c @@ -17,6 +17,8 @@ CONST UINT8 _gDriverUnloadImageCount = 1; CONST UINT32 _gUefiDriverRevision = 0x210; CONST UINT32 _gDxeRevision = 0x210; CHAR8 *gEfiCallerBaseName = "EfiGuardDxe"; +BOOLEAN mPostEBS = FALSE; +EFI_SYSTEM_TABLE *mDebugST = NULL; // @@ -71,7 +73,6 @@ GetPerformanceCounterProperties( // // Entry/unload handlers that VisualUefi expects with predefined names // -extern EFI_STATUS EFIAPI EfiGuardInitialize( @@ -89,7 +90,6 @@ UefiMain( return EfiGuardInitialize(ImageHandle, SystemTable); } -extern EFI_STATUS EFIAPI EfiGuardUnload( -- cgit v1.2.3