summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@openbios.org>2006-01-05 00:19:52 +0000
committerStefan Reinauer <stepan@openbios.org>2006-01-05 00:19:52 +0000
commitd6edf7a904fdef16b731979f615638e3d60b5005 (patch)
treeaf73d8741970ca3235d18ac11789a59c7223e616
parentf1c0fc7ff27832c52e1a3305ecb720ec9b29ce1b (diff)
update comments
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2155 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--src/arch/i386/boot/acpi.c2
-rw-r--r--src/arch/i386/include/arch/acpi.h18
2 files changed, 10 insertions, 10 deletions
diff --git a/src/arch/i386/boot/acpi.c b/src/arch/i386/boot/acpi.c
index 1d4c954c46..3393b89fee 100644
--- a/src/arch/i386/boot/acpi.c
+++ b/src/arch/i386/boot/acpi.c
@@ -9,7 +9,7 @@
* (C) Copyright 2004 Nick Barker
*
* Copyright 2005 ADVANCED MICRO DEVICES, INC. All Rights Reserved.
- * 2005.9 yhlu add SRAT relate
+ * 2005.9 yhlu add SRAT table generation
*/
/*
diff --git a/src/arch/i386/include/arch/acpi.h b/src/arch/i386/include/arch/acpi.h
index ea33f998c2..12d57549bc 100644
--- a/src/arch/i386/include/arch/acpi.h
+++ b/src/arch/i386/include/arch/acpi.h
@@ -9,7 +9,7 @@
* ACPI FADT & FACS added by Nick Barker <nick.barker9@btinternet.com>
* those parts (C) 2004 Nick Barker
*
- * ACPI SRAT support 2005.9 yhlu add SRAT relate
+ * ACPI SRAT support added in 2005.9 by yhlu
* Copyright 2005 ADVANCED MICRO DEVICES, INC. All Rights Reserved.
*
*/
@@ -44,14 +44,14 @@ typedef unsigned long long u64;
/* ACPI 2.0 table RSDP */
typedef struct acpi_rsdp {
- char signature[8];
- u8 checksum;
- char oem_id[6];
- u8 revision;
- u32 rsdt_address;
- u32 length;
- u64 xsdt_address;
- u8 ext_checksum;
+ char signature[8]; /* RSDP signature "RSD PTR" */
+ u8 checksum; /* checksum of the first 20 bytes */
+ char oem_id[6]; /* OEM ID, "LXBIOS" */
+ u8 revision; /* 0 for APCI 1.0, 2 for ACPI 2.0 */
+ u32 rsdt_address; /* physical address of RSDT */
+ u32 length; /* total length of RSDP (incl. extended part) */
+ u64 xsdt_address; /* physical address of XSDT */
+ u8 ext_checksum; /* chechsum of whole table */
u8 reserved[3];
} __attribute__((packed)) acpi_rsdp_t;