diff options
author | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-09-06 09:18:14 +0000 |
---|---|---|
committer | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-09-06 09:18:14 +0000 |
commit | e8a3bee0364b5a952f7b1e73dc012b52bec1b4a0 (patch) | |
tree | 3bd26324f6277c1aa968a4e031ca836b0eb352e8 /EdkModulePkg/Library/EdkUefiRuntimeLib/Ipf/RuntimeLib.c | |
parent | b4648de2bcba1443b91d116da8ca1f3b58e64867 (diff) | |
download | edk2-platforms-e8a3bee0364b5a952f7b1e73dc012b52bec1b4a0.tar.xz |
Update RuntimeLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1482 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg/Library/EdkUefiRuntimeLib/Ipf/RuntimeLib.c')
-rw-r--r-- | EdkModulePkg/Library/EdkUefiRuntimeLib/Ipf/RuntimeLib.c | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/EdkModulePkg/Library/EdkUefiRuntimeLib/Ipf/RuntimeLib.c b/EdkModulePkg/Library/EdkUefiRuntimeLib/Ipf/RuntimeLib.c index d0f0d6012b..6399f67213 100644 --- a/EdkModulePkg/Library/EdkUefiRuntimeLib/Ipf/RuntimeLib.c +++ b/EdkModulePkg/Library/EdkUefiRuntimeLib/Ipf/RuntimeLib.c @@ -13,10 +13,6 @@ Module Name: RuntimeLib.c
-Abstract:
-
- Light weight lib to support Tiano drivers.
-
--*/
#include <SalApi.h>
@@ -26,13 +22,12 @@ Abstract: // Driver Lib Module Globals
//
-STATIC EFI_EVENT mRuntimeNotifyEvent;
-STATIC EFI_EVENT mEfiVirtualNotifyEvent;
-
-STATIC EFI_PLABEL mPlabel;
+STATIC EFI_EVENT mRuntimeNotifyEvent;
+STATIC EFI_EVENT mEfiVirtualNotifyEvent;
+STATIC EFI_PLABEL mPlabel;
STATIC EXTENDED_SAL_BOOT_SERVICE_PROTOCOL *mEsalBootService;
-EFI_RUNTIME_SERVICES *mRT = NULL;
+EFI_RUNTIME_SERVICES *mRT;
STATIC
VOID
@@ -66,6 +61,11 @@ Returns: ChildNotifyEventHandler = _gDriverExitBootServicesEvent[Index];
ChildNotifyEventHandler (Event, NULL);
}
+
+ //
+ // Clear out BootService globals
+ //
+ gBS = NULL;
}
STATIC
@@ -107,13 +107,6 @@ Returns: mRT->ConvertPointer (EFI_IPF_GP_POINTER, (VOID **) &mPlabel.GP);
SetEsalVirtualEntryPoint (mPlabel.EntryPoint, mPlabel.GP);
-
- //
- // Clear out BootService globals
- //
- gBS = NULL;
- gST = NULL;
- mRT = NULL;
}
EFI_STATUS
@@ -236,6 +229,7 @@ Returns: }
BOOLEAN
+EFIAPI
EfiAtRuntime (
VOID
)
@@ -261,6 +255,7 @@ Returns: }
BOOLEAN
+EFIAPI
EfiGoneVirtual (
VOID
)
@@ -284,3 +279,4 @@ Returns: return (BOOLEAN) (ReturnReg.r9 == 1);
}
+
|