mirror of https://github.com/acidanthera/audk.git
Fixed the issue in RuntimeStatusCode library that may not work on the early dispatched Runtime driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12072 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
f93161b440
commit
3c28a7280b
|
@ -1,7 +1,7 @@
|
|||
/** @file
|
||||
Library constructor & destructor, event handlers, and other internal worker functions.
|
||||
|
||||
Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
|
@ -201,6 +201,14 @@ ReportStatusCodeLibExitBootServices (
|
|||
IN VOID *Context
|
||||
)
|
||||
{
|
||||
//
|
||||
// If mReportStatusCode is NULL, then see if a Status Code Protocol instance is present
|
||||
// in the handle database.
|
||||
//
|
||||
if (mReportStatusCode == NULL) {
|
||||
mReportStatusCode = InternalGetReportStatusCode ();
|
||||
}
|
||||
|
||||
mHaveExitedBootServices = TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue