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

[Xen-changelog] [xen-unstable] hvm: Processor Objects require unique IDs.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1171641002 0
# Node ID efffaad380899928158e8be353aad8052684b517
# Parent  0cf659332c3acf624e4be57a1f8de89784c4e17a
hvm: Processor Objects require unique IDs.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 tools/firmware/hvmloader/acpi/build.c |    3 +++
 1 files changed, 3 insertions(+)

diff -r 0cf659332c3a -r efffaad38089 tools/firmware/hvmloader/acpi/build.c
--- a/tools/firmware/hvmloader/acpi/build.c     Fri Feb 16 15:33:51 2007 +0000
+++ b/tools/firmware/hvmloader/acpi/build.c     Fri Feb 16 15:50:02 2007 +0000
@@ -205,8 +205,11 @@ int construct_processor_objects(uint8_t 
     for ( i = 0; i < nr_cpus; i++ )
     {
         memcpy(p, pdat, sizeof(pdat));
+        /* ProcessorName */
         p[5] = hex[(i>>4)&15];
         p[6] = hex[(i>>0)&15];
+        /* ProcessorID */
+        p[7] = i;
         p += sizeof(pdat);
     }
 

_______________________________________________
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®.