diff options
author | Michael Kubacki <michael.a.kubacki@intel.com> | 2019-10-14 10:14:24 -0700 |
---|---|---|
committer | Michael Kubacki <michael.a.kubacki@intel.com> | 2019-11-05 21:55:54 -0800 |
commit | d511d6e0e7a9ffa960afb275c28093bfe41e42ad (patch) | |
tree | 357a5bf5e244aa23c81d4ff740218af34a75e790 /MdeModulePkg | |
parent | 6f9838f32ff4c3b747c0c47540c34b4ec089642b (diff) | |
download | edk2-d511d6e0e7a9ffa960afb275c28093bfe41e42ad.tar.gz edk2-d511d6e0e7a9ffa960afb275c28093bfe41e42ad.tar.bz2 edk2-d511d6e0e7a9ffa960afb275c28093bfe41e42ad.zip |
OvmfPkg: Disable variable runtime cache
Sets gEfiMdeModulePkgTokenSpaceGuid.PcdEnableVariableRuntimeCache
to FALSE in OvmfPkgIa32.dsc, OvmfPkgIa32X64.dsc, and OvmfPkgX64.dsc
so that when SMM_REQUIRE is TRUE, the SMM variable driver will not
use the runtime variable cache.
This is done for OvmfPkg because it currently depends upon a SMM
variable GetVariable ()implementation as a simple method to exercise
the SMM driver stack. This allows the following commands to be used
for variables such as Boot####, BootOrder, and BootNext to test SMM
timing and stability differences on the BSP (e.g. CPU#0) vs an
AP (e.g. CPU#1).
# taskset -c 0 efibootmgr
# taskset -c 1 efibootmgr
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Signed-off-by: Michael Kubacki <michael.a.kubacki@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'MdeModulePkg')
0 files changed, 0 insertions, 0 deletions