]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/Library/ResetSystemLib: Fix Microvm VS2019 NOOPT build issue
authorMichael D Kinney <michael.d.kinney@intel.com>
Thu, 11 Nov 2021 19:20:50 +0000 (11:20 -0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 12 Nov 2021 19:32:48 +0000 (19:32 +0000)
commite1e7306b54147e65cb7347b060e94f336d4a82d2
treee8bd3cb3e82e33fbccb1d043a49ebb5cf2641f1b
parent455b0347a7c55d3842e87b20259659a22f7e62a5
OvmfPkg/Library/ResetSystemLib: Fix Microvm VS2019 NOOPT build issue

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

Fix VS2019 NOOPT build issues with OvmfPkg/Microvm/MicrovmX64.dsc
by fixing typecast of MICROVM_GED_MMIO_BASE_REGS to a VOID *.

Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
OvmfPkg/Library/ResetSystemLib/ResetSystemLibMicrovm.c