diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-07-29 02:39:37 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-07-29 02:39:37 +0000 |
commit | 712a5698a6edd14d8247132cbbbe63da1ea69bf0 (patch) | |
tree | 8290efdc5920851ff6a1912e3dbd61e505903ca8 | |
parent | 6310ffd7810501dc51e978b87f50f81ff61720b1 (diff) | |
download | edk2-platforms-712a5698a6edd14d8247132cbbbe63da1ea69bf0.tar.xz |
Sync fix on MdePkg r9982.
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/trunk/edk2@10709 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/EdkDxeRuntimeDriverLib/Common/RuntimeLib.c | 5 |
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 1ccc04973e..6cc2da31b0 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;
}
|