提交 4782434f 编写于 作者: I Igor Mammedov 提交者: Michael S. Tsirkin

pc: set PRST base in DSDT depending on chipset

Signed-off-by: NIgor Mammedov <imammedo@redhat.com>
Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
上级 d6610bc2
......@@ -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"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册