[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] hvmloader: Fix an ACPI asl bug.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1266221661 0
# Node ID 8a8392a842805730c8e66e769a573d05f92bfeb2
# Parent  54c09c71fe475182e2a61426f4bb5d7e72f9be2b
hvmloader: Fix an ACPI asl bug.

Fix an ACPI asl bug by explicitly convert PRS to buffer, otherwise PRS
would be parsed as integer if less than 32/64 bits (according to ACPI
1.0 or 2.0).

Signed-off-by: Liu, Jinsong <jinsong.liu@xxxxxxxxx>
---
 tools/firmware/hvmloader/acpi/mk_dsdt.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 54c09c71fe47 -r 8a8392a84280 tools/firmware/hvmloader/acpi/mk_dsdt.c
--- a/tools/firmware/hvmloader/acpi/mk_dsdt.c   Mon Feb 15 08:13:26 2010 +0000
+++ b/tools/firmware/hvmloader/acpi/mk_dsdt.c   Mon Feb 15 08:14:21 2010 +0000
@@ -139,7 +139,7 @@ int main(int argc, char **argv)
 
     /* Control method 'PRSC': CPU hotplug GPE handler. */
     push_block("Method", "PRSC, 0");
-    stmt("Store", "PRS, Local0");
+    stmt("Store", "ToBuffer(PRS), Local0");
     for ( cpu = 0; cpu < max_cpus; cpu++ )
     {
         /* Read a byte at a time from the PRST online-CPU bitmask. */

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.