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:
rsun3
2010-03-17 02:06:04 +00:00
parent 49fd8a3553
commit 673c149801
4 changed files with 69 additions and 127 deletions

View File

@@ -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