SmmBaseHelper: Update MP state in Framework SMST before transferring control to Framework SMM driver entry point.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10802 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
rsun3 2010-08-17 09:43:50 +00:00
parent f184c104af
commit 5b9fc2f089
1 changed files with 2 additions and 1 deletions

View File

@ -672,8 +672,9 @@ LoadImage (
if (!EFI_ERROR (Status)) {
///
/// Update MP state in Framework SMST before transferring control to Framework SMM driver entry point
/// in case it may invoke AP
///
mFrameworkSmst->SmmStartupThisAp = gSmst->SmmStartupThisAp;
mFrameworkSmst->NumberOfCpus = mNumberOfProcessors;
mFrameworkSmst->CurrentlyExecutingCpu = gSmst->CurrentlyExecutingCpu;
Status = gBS->StartImage (*ImageHandle, NULL, NULL);