]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/QemuFlashFvbServicesRuntimeDxe: Set the SwScratch valid bit
authorTom Lendacky <thomas.lendacky@amd.com>
Fri, 6 Nov 2020 17:53:10 +0000 (11:53 -0600)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 10 Nov 2020 19:07:55 +0000 (19:07 +0000)
commitf714fd67f296c2ff5bf2809dc3382d2fa2631dee
tree1b5f260b9cd6b55cae69eaef364c76abb369c7a7
parentfb2a1a36a292f0fb673aae344f5446134a1b0bf5
OvmfPkg/QemuFlashFvbServicesRuntimeDxe: Set the SwScratch valid bit

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3008

All fields that are set in the GHCB should have their associated bit in
the GHCB ValidBitmap field set. Add support to set the bit for the scratch
area field (SwScratch).

Fixes: 437eb3f7a8db7681afe0e6064d3a8edb12abb766
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Message-Id: <cc8c8449740d2be0b287e6c69d48bf6cb067c7d8.1604685192.git.thomas.lendacky@amd.com>
OvmfPkg/QemuFlashFvbServicesRuntimeDxe/QemuFlashDxe.c