projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c10f67f
)
fix acpi regression
author
Wen Congyang
<wency@cn.fujitsu.com>
Tue, 12 Apr 2011 09:27:44 +0000
(17:27 +0800)
committer
Aurelien Jarno
<aurelien@aurel32.net>
Tue, 12 Apr 2011 19:51:51 +0000
(21:51 +0200)
This bug is introduced by commit
23910d3f
.
Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
hw/acpi.c
patch
|
blob
|
history
diff --git
a/hw/acpi.c
b/hw/acpi.c
index e37247439926dfd82133561237b116fc9c6b0ca9..ad40fb4c3cdca06afcd88d61c1a4d5272bc64ecf 100644
(file)
--- a/
hw/acpi.c
+++ b/
hw/acpi.c
@@
-355,7
+355,7
@@
static uint8_t *acpi_gpe_ioport_get_ptr(ACPIGPE *gpe, uint32_t addr)
if (addr < gpe->len / 2) {
cur = gpe->sts + addr;
} else if (addr < gpe->len) {
- cur = gpe->en + addr;
+ cur = gpe->en + addr
- gpe->len / 2
;
} else {
abort();
}