summaryrefslogtreecommitdiffstats
path: root/sys/ia64/acpica
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2001-10-29 04:59:35 +0000
committermarcel <marcel@FreeBSD.org>2001-10-29 04:59:35 +0000
commit5a7378a40b9c324cf8baf587e8dc10d7804fc039 (patch)
tree889bb48d59f099b87e06ad95a9689d4b59966bd3 /sys/ia64/acpica
parent74882d806a22b7d66cce5a0de948bdfb7c5f8f58 (diff)
downloadFreeBSD-src-5a7378a40b9c324cf8baf587e8dc10d7804fc039.zip
FreeBSD-src-5a7378a40b9c324cf8baf587e8dc10d7804fc039.tar.gz
Small correction in the LOCAL_SAPIC structure. The Flags field
starts at offset 8; not 6. Hence the structure is 12 bytes and not 10 bytes. Adjust the definition so that the ProcessorEnabled flag is moved from bit 15 to bit 31 in the Flags field. The definition now matches ACPI 2.0 Errata 1.5.
Diffstat (limited to 'sys/ia64/acpica')
-rw-r--r--sys/ia64/acpica/madt.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/ia64/acpica/madt.c b/sys/ia64/acpica/madt.c
index a3bc09d..f1193e7 100644
--- a/sys/ia64/acpica/madt.c
+++ b/sys/ia64/acpica/madt.c
@@ -65,10 +65,9 @@ typedef struct /* LOCAL SAPIC */
UINT8 ProcessorId; /* ACPI processor id */
UINT8 LocalSapicId; /* Processor local SAPIC id */
UINT8 LocalSapicEid; /* Processor local SAPIC eid */
- UINT8 Reserved;
- UINT32 Reserved1: 16;
+ UINT8 Reserved[3];
UINT32 ProcessorEnabled: 1;
- UINT32 Reserved2: 15;
+ UINT32 FlagsReserved: 31;
} LOCAL_SAPIC;
typedef struct /* PLATFORM INTERRUPT SOURCE */
OpenPOWER on IntegriCloud