mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-02-18 02:12:13 -07:00
pc: acpi: cpuhp: move PRSC() method into SSDT
Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
40f981a02d
commit
f294ecbc13
8 changed files with 71 additions and 42 deletions
|
|
@ -16,6 +16,8 @@
|
|||
#define ACPI_BUILD_RSDP_FILE "etc/acpi/rsdp"
|
||||
#define ACPI_BUILD_TPMLOG_FILE "etc/tpm/log"
|
||||
|
||||
#define AML_NOTIFY_METHOD "NTFY"
|
||||
|
||||
typedef enum {
|
||||
AML_NO_OPCODE = 0,/* has only data */
|
||||
AML_OPCODE, /* has opcode optionally followed by data */
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ void acpi_cpu_hotplug_init(MemoryRegion *parent, Object *owner,
|
|||
#define CPU_MAT_METHOD "CPMA"
|
||||
#define CPU_ON_BITMAP "CPON"
|
||||
#define CPU_STATUS_METHOD "CPST"
|
||||
#define CPU_STATUS_MAP "PRS"
|
||||
|
||||
void build_cpu_hotplug_aml(Aml *ctx);
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@
|
|||
#define ICH9_CPU_HOTPLUG_IO_BASE 0x0CD8
|
||||
#define PIIX4_CPU_HOTPLUG_IO_BASE 0xaf00
|
||||
#define CPU_HOTPLUG_RESOURCE_DEVICE PRES
|
||||
#define CPU_SCAN_METHOD PRSC
|
||||
|
||||
#define ACPI_MEMORY_HOTPLUG_IO_LEN 24
|
||||
#define ACPI_MEMORY_HOTPLUG_BASE 0x0a00
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue