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:
Guo Dong
2025-04-16 14:14:39 -07:00
committed by mergify[bot]
parent 238dfc54d0
commit 99a5f388df

View File

@@ -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);
//