mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
UefiPayloadPkg: Fix a typo in SMM base
There is a typo when calculating smrr base on S3 path. This change fixes the typo. Signed-off-by: Guo Dong <guo.dong@intel.com>
This commit is contained in:
parent
238dfc54d0
commit
99a5f388df
1 changed files with 1 additions and 1 deletions
|
|
@ -254,7 +254,7 @@ SetSmrrOnS3 (
|
|||
//
|
||||
// Calculate smrr base, mask and pass them as arguments.
|
||||
//
|
||||
Arguments.Base = (SmmSize | MTRR_CACHE_WRITE_BACK);
|
||||
Arguments.Base = (SmmBase | MTRR_CACHE_WRITE_BACK);
|
||||
Arguments.Mask = (~(SmmSize - 1) & EFI_MSR_SMRR_MASK);
|
||||
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue