debuggers.hg

changeset 20986:8a8392a84280

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@intel.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Feb 15 08:14:21 2010 +0000 (2010-02-15)
parents 54c09c71fe47
children 0a1b69afe754
files tools/firmware/hvmloader/acpi/mk_dsdt.c
line diff
     1.1 --- a/tools/firmware/hvmloader/acpi/mk_dsdt.c	Mon Feb 15 08:13:26 2010 +0000
     1.2 +++ b/tools/firmware/hvmloader/acpi/mk_dsdt.c	Mon Feb 15 08:14:21 2010 +0000
     1.3 @@ -139,7 +139,7 @@ int main(int argc, char **argv)
     1.4  
     1.5      /* Control method 'PRSC': CPU hotplug GPE handler. */
     1.6      push_block("Method", "PRSC, 0");
     1.7 -    stmt("Store", "PRS, Local0");
     1.8 +    stmt("Store", "ToBuffer(PRS), Local0");
     1.9      for ( cpu = 0; cpu < max_cpus; cpu++ )
    1.10      {
    1.11          /* Read a byte at a time from the PRST online-CPU bitmask. */