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:
Igor Mammedov 2014-01-09 17:36:38 +01:00 committed by Michael S. Tsirkin
parent 61a3f63560
commit e4cf8ed08a
6 changed files with 9 additions and 7 deletions

View file

@ -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