mirror of https://github.com/xemu-project/xemu.git
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:
parent
d6610bc2ad
commit
4782434f3c
|
@ -52,7 +52,7 @@ Scope(\_SB) {
|
|||
Sleep(200)
|
||||
}
|
||||
|
||||
OperationRegion(PRST, SystemIO, 0xaf00, 32)
|
||||
OperationRegion(PRST, SystemIO, CPU_STATUS_BASE, 32)
|
||||
Field(PRST, ByteAcc, NoLock, Preserve) {
|
||||
PRS, 256
|
||||
}
|
||||
|
|
|
@ -290,6 +290,7 @@ DefinitionBlock (
|
|||
}
|
||||
}
|
||||
|
||||
#define CPU_STATUS_BASE 0xaf00
|
||||
#include "acpi-dsdt-cpu-hotplug.dsl"
|
||||
|
||||
|
||||
|
|
|
@ -405,6 +405,7 @@ DefinitionBlock (
|
|||
define_gsi_link(GSIH, 0, 0x17)
|
||||
}
|
||||
|
||||
#define CPU_STATUS_BASE 0x0CD8
|
||||
#include "acpi-dsdt-cpu-hotplug.dsl"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue