audk/OvmfPkg/PlatformPei
Laszlo Ersek 3099db510e OvmfPkg: remove PcdCsmEnable
PcdCsmEnable was introduced in commits 50f911d25d ("OvmfPkg: introduce
PcdCsmEnable feature flag", 2020-02-05) and 75839f977d
("OvmfPkg/PlatformPei: detect SMRAM at default SMBASE (for real)",
2020-02-05). Remove it, and substitute constant FALSE wherever it has been
evaluated thus far.

Regression test: after building OVMF IA32X64 with -D SMM_REQUIRE, and
booting it on Q35, the log still contains

> Q35SmramAtDefaultSmbaseInitialization: SMRAM at default SMBASE found

Cc: Anthony Perard <anthony.perard@citrix.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
https://bugzilla.tianocore.org/show_bug.cgi?id=4588
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20231110235820.644381-3-lersek@redhat.com>
Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Corvin Köhne <corvink@FreeBSD.org>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
2023-12-07 18:04:57 +00:00
..
AmdSev.c OvmfPkg/PlatformPei: SEV-SNP make >=4GB unaccepted 2023-01-26 23:00:51 +00:00
ClearCache.c OvmfPkg: Update code to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
FeatureControl.c OvmfPkg: Update code to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
Fv.c OvmfPkg/PlatformPei: PeiFv: stop using mPlatformInfoHob 2022-12-14 17:45:41 +00:00
IntelTdx.c OvmfPkg/PlatformPei: Build GuidHob for Tdx measurement 2023-02-04 03:38:15 +00:00
MemDetect.c OvmfPkg: remove PcdCsmEnable 2023-12-07 18:04:57 +00:00
MemTypeInfo.c OvmfPkg: Format with Uncrustify 73.0.8 2023-11-27 20:14:59 +00:00
Platform.c OvmfPkg/PlatformPei: drop S3Verification() 2023-05-29 11:19:51 +00:00
Platform.h OvmfPkg/PlatformPei: remove mFeatureControlValue 2022-12-14 17:45:41 +00:00
PlatformPei.inf OvmfPkg: remove PcdCsmEnable 2023-12-07 18:04:57 +00:00