]> git.proxmox.com Git - mirror_edk2.git/commit
UefiCpuPkg/PiSmmCpuDxeSmm: Supports test then write new value logic.
authorDong, Eric <eric.dong@intel.com>
Fri, 16 Aug 2019 03:57:27 +0000 (11:57 +0800)
committerRay Ni <ray.ni@intel.com>
Tue, 20 Aug 2019 18:44:49 +0000 (02:44 +0800)
commitcfbcaad25189c02627bf5c73ddeb25b91516f7d6
treed8f3374535afa0952e78a52f73675742347c6732
parentef21a304e047eb3cc7f79c6c4c16233f5b7abd7e
UefiCpuPkg/PiSmmCpuDxeSmm: Supports test then write new value logic.

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2040

Supports new logic which test current value before write new value.
Only write new value when current value not same as new value.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c