]> git.proxmox.com Git - mirror_edk2.git/commit - MdePkg/Library/UefiRuntimeLib/RuntimeLib.c
Do not set gBS to NULL when the ExitBootServices event notification for the UEFI...
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 11 Feb 2010 03:55:26 +0000 (03:55 +0000)
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 11 Feb 2010 03:55:26 +0000 (03:55 +0000)
commit0628eb2c761c32ab35127201c38cb124562dfa9c
treea9a8dfbe00e3b25afa1f1605e3b07ef3c8f78661
parentb07a5b68adaaab0a3bce3e0fb8862e9e03453cb5
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@9982 6f19259b-4bc3-4df7-8a09-765794883524
MdePkg/Library/UefiRuntimeLib/RuntimeLib.c