[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1/3][Seabios] Add bitmap for cpu _EJ0 callback
From: |
Vasilis Liaskovitis |
Subject: |
[Qemu-devel] [PATCH 1/3][Seabios] Add bitmap for cpu _EJ0 callback |
Date: |
Fri, 13 Jan 2012 12:11:30 +0100 |
Signed-off-by: Vasilis Liaskovitis <address@hidden>
---
src/acpi-dsdt.dsl | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/acpi-dsdt.dsl b/src/acpi-dsdt.dsl
index 7082b65..71d8ac4 100644
--- a/src/acpi-dsdt.dsl
+++ b/src/acpi-dsdt.dsl
@@ -650,8 +650,15 @@ DefinitionBlock (
Store(DerefOf(Index(CPON, Arg0)), Local0)
If (Local0) { Return(0xF) } Else { Return(0x0) }
}
+ /* CPU eject notify method */
+ OperationRegion(PREJ, SystemIO, 0xaf20, 32)
+ Field (PREJ, ByteAcc, NoLock, Preserve)
+ {
+ PRE, 256
+ }
Method (CPEJ, 2, NotSerialized) {
// _EJ0 method - eject callback
+ Store(ShiftLeft(1, Arg0), PRE)
Sleep(200)
}
--
1.7.7.3
[Qemu-devel] [PATCH 3/3] acpi_piix4: Call KVM_SETSTATE_VCPU ioctl on cpu ejection, Vasilis Liaskovitis, 2012/01/13