diff options
author | rsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-08-17 09:43:50 +0000 |
---|---|---|
committer | rsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-08-17 09:43:50 +0000 |
commit | 5b9fc2f0890019cbb204f187abd1c41db51f4b93 (patch) | |
tree | 31f4a62732f00cc99e079bb7d7848aa5dd53c7e0 /EdkCompatibilityPkg/Compatibility | |
parent | f184c104afbf790a323b49d6386f88d892693eba (diff) | |
download | edk2-platforms-5b9fc2f0890019cbb204f187abd1c41db51f4b93.tar.xz |
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
Diffstat (limited to 'EdkCompatibilityPkg/Compatibility')
-rw-r--r-- | EdkCompatibilityPkg/Compatibility/SmmBaseHelper/SmmBaseHelper.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/EdkCompatibilityPkg/Compatibility/SmmBaseHelper/SmmBaseHelper.c b/EdkCompatibilityPkg/Compatibility/SmmBaseHelper/SmmBaseHelper.c index c4f4aee61f..83647b9973 100644 --- a/EdkCompatibilityPkg/Compatibility/SmmBaseHelper/SmmBaseHelper.c +++ b/EdkCompatibilityPkg/Compatibility/SmmBaseHelper/SmmBaseHelper.c @@ -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);
|