24 VOID *Address = (VOID *)(
UINTN)MICROVM_GED_MMIO_BASE_REGS;
28 DEBUG ((DEBUG_INFO,
"%a: virtual -> 0x%x\n", __func__, Address));
30 DEBUG ((DEBUG_INFO,
"%a: physical -> 0x%x\n", __func__, Address));
33 return (
UINTN)Address;
41 UINTN Address = MicrovmGedBase ();
43 DEBUG ((DEBUG_INFO,
"%a: microvm reset via ged\n", __func__));
45 Address + MICROVM_ACPI_GED_REG_RESET,
46 MICROVM_ACPI_GED_RESET_VALUE
56 UINTN Address = MicrovmGedBase ();
58 DEBUG ((DEBUG_INFO,
"%a: microvm poweroff via ged\n", __func__));
60 Address + MICROVM_ACPI_GED_REG_SLEEP_CTL,
99 IN VOID *ResetData OPTIONAL
VOID EFIAPI CpuDeadLoop(VOID)
UINT8 EFIAPI MmioWrite8(IN UINTN Address, IN UINT8 Value)
#define DEBUG(Expression)
VOID EFIAPI ResetWarm(VOID)
VOID EFIAPI ResetShutdown(VOID)
VOID EFIAPI ResetSystem(IN EFI_RESET_TYPE ResetType, IN EFI_STATUS ResetStatus, IN UINTN DataSize, IN VOID *ResetData OPTIONAL)
VOID EFIAPI ResetPlatformSpecific(IN UINTN DataSize, IN VOID *ResetData)
VOID EFIAPI ResetCold(VOID)
EFI_STATUS EFIAPI EfiConvertPointer(IN UINTN DebugDisposition, IN OUT VOID **Address)
BOOLEAN EFIAPI EfiGoneVirtual(VOID)