From cd85e2620da4a2744a074d36394663d3d5209f04 Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Mon, 29 Oct 2001 04:59:35 +0000 Subject: [PATCH] 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. --- sys/ia64/acpica/madt.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sys/ia64/acpica/madt.c b/sys/ia64/acpica/madt.c index a3bc09d27c82..f1193e78ab3f 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 */