Remove the implementation limitation in the SmmBaseHelper driver that it assumes the Framework SMM driver to be loaded has a copy in memory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10258 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -75,6 +75,7 @@ SmmBaseHelperService (
|
||||
UINTN DataSize;
|
||||
|
||||
mCommunicationData.FunctionData.Status = EFI_UNSUPPORTED;
|
||||
mCommunicationData.FunctionData.SmmBaseImageHandle = mSmmBaseHandle;
|
||||
|
||||
if ((mCommunicationData.FunctionData.Function != SmmBaseFunctionCommunicate) && IsInSmm()) {
|
||||
///
|
||||
@@ -421,6 +422,8 @@ SmmBaseThunkMain (
|
||||
EFI_STATUS Status;
|
||||
EFI_EVENT Event;
|
||||
|
||||
mSmmBaseHandle = ImageHandle;
|
||||
|
||||
//
|
||||
// Assume only one instance of SMM Base2 Protocol in the system
|
||||
// Locate SMM Base2 Protocol
|
||||
|
Reference in New Issue
Block a user