[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1/15] Make a GPE register block be acessible.
From: |
Glauber Costa |
Subject: |
[Qemu-devel] [PATCH 1/15] Make a GPE register block be acessible. |
Date: |
Tue, 26 Feb 2008 16:56:31 -0300 |
gpe is acessible when its address listed by BIOS is !0.
This patch makes gpe blk 0 available, and 4 bytes in length
Signed-off-by: Glauber Costa <address@hidden>
---
bios/rombios32.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/bios/rombios32.c b/bios/rombios32.c
index 5365b5f..3ec85cb 100755
--- a/bios/rombios32.c
+++ b/bios/rombios32.c
@@ -1441,6 +1441,8 @@ #endif
fadt->pm_tmr_len = 4;
fadt->plvl2_lat = cpu_to_le16(0x0fff); // C2 state not supported
fadt->plvl3_lat = cpu_to_le16(0x0fff); // C3 state not supported
+ fadt->gpe0_blk = cpu_to_le32(0xafe0);
+ fadt->gpe0_blk_len = 4;
/* WBINVD + PROC_C1 + SLP_BUTTON + FIX_RTC */
fadt->flags = cpu_to_le32((1 << 0) | (1 << 2) | (1 << 5) | (1 << 6));
acpi_build_table_header((struct acpi_table_header *)fadt, "FACP",
--
1.4.2
- [Qemu-devel] [PATCH 0/15] acpi processor hotplug, Glauber Costa, 2008/02/26
- [Qemu-devel] [PATCH 1/15] Make a GPE register block be acessible.,
Glauber Costa <=
- [Qemu-devel] [PATCH 2/15] mark extra cpus as present, Glauber Costa, 2008/02/26
- [Qemu-devel] [PATCH 3/15] introduce cpu_set to qemu monitor, Glauber Costa, 2008/02/26
- [Qemu-devel] [PATCH 4/15] mark processors as presents, Glauber Costa, 2008/02/26
- [Qemu-devel] [PATCH 5/15] provide gpe _L0x methods, Glauber Costa, 2008/02/26
- [Qemu-devel] [PATCH 6/15] provide operation region for pio to the gpes, Glauber Costa, 2008/02/26
- [Qemu-devel] [PATCH 7/15] implement method _L00 for GPE0, Glauber Costa, 2008/02/26
- [Qemu-devel] [PATCH 8/15] isolate cpu initialization function in hw/pc.c, Glauber Costa, 2008/02/26
- [Qemu-devel] [PATCH 9/15] initialize hot add system., Glauber Costa, 2008/02/26
- [Qemu-devel] [PATCH 10/15] handle gpe data for pio, Glauber Costa, 2008/02/26
- [Qemu-devel] [PATCH 11/15] manipulate the gpe bits and send sci up the os., Glauber Costa, 2008/02/26