cloud-hypervisor/arch/src
Rob Bradford 5a187ee2c2 x86_64/devices: acpi: Add support for ACPI shutdown & reboot
Add an I/O port "device" to handle requests from the kernel to shutdown
or trigger a reboot, borrowing an I/O used for ACPI on the Q35 platform.
The details of this I/O port are included in the FADT
(SLEEP_STATUS_REG/SLEEP_CONTROL_REG/RESET_REG) with the details of the
value to write in the FADT for reset (RESET_VALUE) and in the DSDT for
shutdown (S5 -> 0x05)

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2019-09-03 19:18:49 +02:00
..
aarch64 arch: acpi: Only add ACPI COM1 device if serial is turned on 2019-09-03 19:18:49 +02:00
x86_64 x86_64/devices: acpi: Add support for ACPI shutdown & reboot 2019-09-03 19:18:49 +02:00
lib.rs arch: x86_64: Generate basic ACPI tables 2019-09-03 19:18:49 +02:00