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
This commit is contained in:
lgao4 2010-07-29 02:39:37 +00:00
parent 6310ffd781
commit 712a5698a6
1 changed files with 0 additions and 5 deletions

View File

@ -44,11 +44,6 @@ RuntimeDriverExitBootServices (
IN VOID *Context
)
{
//
// Clear out BootService globals
//
gBS = NULL;
mEfiAtRuntime = TRUE;
}