summaryrefslogtreecommitdiffstats
path: root/EdkCompatibilityPkg
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2010-07-30 08:46:38 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2010-07-30 08:46:38 +0000
commit693f634b6d9010d3d448dd3e03d02f02524ff48d (patch)
treef6bbf5be5ad5a90f792cac1e0fbedea00b5c5781 /EdkCompatibilityPkg
parentd188e0afacc11bffec033bd535f3ad4050672451 (diff)
downloadedk2-693f634b6d9010d3d448dd3e03d02f02524ff48d.tar.gz
sync patch 10709 from main trunk.
r10709 - Do not set gBS to NULL when the ExitBootServices event notification for the UEFI Runtime Lib is executed. There is no guarantee that the ExitBootServices notification function from this lib will be the last ExitBootServices notification function registered by a module that uses the UEFI Runtime lib. If additional ExitBootServices notification functions require the use of gBS, then setting to NULL will break those additional ExitBootServices notification functions. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@10731 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkCompatibilityPkg')
-rw-r--r--EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/EdkDxeRuntimeDriverLib/Common/RuntimeLib.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/EdkDxeRuntimeDriverLib/Common/RuntimeLib.c b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/EdkDxeRuntimeDriverLib/Common/RuntimeLib.c
index 7cbb686fd5..273269c6d4 100644
--- a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/EdkDxeRuntimeDriverLib/Common/RuntimeLib.c
+++ b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/EdkDxeRuntimeDriverLib/Common/RuntimeLib.c
@@ -44,11 +44,6 @@ RuntimeDriverExitBootServices (
IN VOID *Context
)
{
- //
- // Clear out BootService globals
- //
- gBS = NULL;
-
mEfiAtRuntime = TRUE;
}