pc: set PRST base in DSDT depending on chipset

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:34 +01:00 committed by Michael S. Tsirkin
parent d6610bc2ad
commit 4782434f3c
3 changed files with 3 additions and 1 deletions

View File

@ -52,7 +52,7 @@ Scope(\_SB) {
Sleep(200) Sleep(200)
} }
OperationRegion(PRST, SystemIO, 0xaf00, 32) OperationRegion(PRST, SystemIO, CPU_STATUS_BASE, 32)
Field(PRST, ByteAcc, NoLock, Preserve) { Field(PRST, ByteAcc, NoLock, Preserve) {
PRS, 256 PRS, 256
} }

View File

@ -290,6 +290,7 @@ DefinitionBlock (
} }
} }
#define CPU_STATUS_BASE 0xaf00
#include "acpi-dsdt-cpu-hotplug.dsl" #include "acpi-dsdt-cpu-hotplug.dsl"

View File

@ -405,6 +405,7 @@ DefinitionBlock (
define_gsi_link(GSIH, 0, 0x17) define_gsi_link(GSIH, 0, 0x17)
} }
#define CPU_STATUS_BASE 0x0CD8
#include "acpi-dsdt-cpu-hotplug.dsl" #include "acpi-dsdt-cpu-hotplug.dsl"