mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
pc: ACPI: unify source of CPU hotplug IO base/len
use C headers defines as source of IO base/len for respective values in ASL code. 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
61a3f63560
commit
e4cf8ed08a
6 changed files with 9 additions and 7 deletions
|
@ -53,7 +53,7 @@ Scope(\_SB) {
|
|||
Sleep(200)
|
||||
}
|
||||
|
||||
#define CPU_STATUS_LEN 32
|
||||
#define CPU_STATUS_LEN ACPI_GPE_PROC_LEN
|
||||
OperationRegion(PRST, SystemIO, CPU_STATUS_BASE, CPU_STATUS_LEN)
|
||||
Field(PRST, ByteAcc, NoLock, Preserve) {
|
||||
PRS, 256
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue