ia64/xen-unstable

changeset 13996:efffaad38089

hvm: Processor Objects require unique IDs.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Fri Feb 16 15:50:02 2007 +0000 (2007-02-16)
parents 0cf659332c3a
children 7c739272bac8
files tools/firmware/hvmloader/acpi/build.c
line diff
     1.1 --- a/tools/firmware/hvmloader/acpi/build.c	Fri Feb 16 15:33:51 2007 +0000
     1.2 +++ b/tools/firmware/hvmloader/acpi/build.c	Fri Feb 16 15:50:02 2007 +0000
     1.3 @@ -205,8 +205,11 @@ int construct_processor_objects(uint8_t 
     1.4      for ( i = 0; i < nr_cpus; i++ )
     1.5      {
     1.6          memcpy(p, pdat, sizeof(pdat));
     1.7 +        /* ProcessorName */
     1.8          p[5] = hex[(i>>4)&15];
     1.9          p[6] = hex[(i>>0)&15];
    1.10 +        /* ProcessorID */
    1.11 +        p[7] = i;
    1.12          p += sizeof(pdat);
    1.13      }
    1.14