X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EdkModulePkg%2FLibrary%2FEdkDxeSalLib%2FIpf%2FEsalServiceLib.c;h=2b4d2972213d6e8562cbc9ffa001605979609c04;hp=199b14becc3896b55c34d567577b63dbd8b43606;hb=963cbacb5f911b31b0ea4c9610750c4b20ba14f3;hpb=2c9b03f219d7ebececf0a8e86019fe622ac0cc42 diff --git a/EdkModulePkg/Library/EdkDxeSalLib/Ipf/EsalServiceLib.c b/EdkModulePkg/Library/EdkDxeSalLib/Ipf/EsalServiceLib.c index 199b14becc..2b4d297221 100644 --- a/EdkModulePkg/Library/EdkDxeSalLib/Ipf/EsalServiceLib.c +++ b/EdkModulePkg/Library/EdkDxeSalLib/Ipf/EsalServiceLib.c @@ -22,6 +22,7 @@ Abstract: EXTENDED_SAL_BOOT_SERVICE_PROTOCOL *mEsalBootService = NULL; EFI_PLABEL mPlabel; +STATIC EFI_STATUS EFIAPI DxeSalLibInitialize ( @@ -43,7 +44,7 @@ DxeSalLibInitialize ( // virtual). So lets grap the physical PLABEL for the EsalEntryPoint and store it // away. We cache it in a module global, so we can register the vitrual version. // - Status = gBS->LocateProtocol (&gEfiExtendedSalBootServiceProtocolGuid, NULL, &mEsalBootService); + Status = gBS->LocateProtocol (&gEfiExtendedSalBootServiceProtocolGuid, NULL, (VOID **) &mEsalBootService); if (EFI_ERROR (Status)) { mEsalBootService = NULL; return EFI_SUCCESS; @@ -58,6 +59,7 @@ DxeSalLibInitialize ( return EFI_SUCCESS; } +STATIC VOID EFIAPI DxeSalVirtualNotifyEvent (