OvmfPkg/CpuHotplugSmm: add Qemu Cpu Status helper
Add QemuCpuhpWriteCpuStatus() which will be used to update the QEMU CPU status register. On error, it hangs in a similar fashion as other helper functions. Cc: Laszlo Ersek <lersek@redhat.com> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Ard Biesheuvel <ard.biesheuvel@arm.com> Cc: Igor Mammedov <imammedo@redhat.com> Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com> Cc: Aaron Young <aaron.young@oracle.com> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3132 Signed-off-by: Ankur Arora <ankur.a.arora@oracle.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Message-Id: <20210312062656.2477515-4-ankur.a.arora@oracle.com>
This commit is contained in:
committed by
mergify[bot]
parent
a752dd0746
commit
2d92e052c3
@@ -41,6 +41,12 @@ QemuCpuhpWriteCpuSelector (
|
||||
IN UINT32 Selector
|
||||
);
|
||||
|
||||
VOID
|
||||
QemuCpuhpWriteCpuStatus (
|
||||
IN CONST EFI_MM_CPU_IO_PROTOCOL *MmCpuIo,
|
||||
IN UINT8 CpuStatus
|
||||
);
|
||||
|
||||
VOID
|
||||
QemuCpuhpWriteCommand (
|
||||
IN CONST EFI_MM_CPU_IO_PROTOCOL *MmCpuIo,
|
||||
|
Reference in New Issue
Block a user