Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/acpi/acpica/Subsystem Always use 32bit-wide header p...



details:   https://anonhg.NetBSD.org/src/rev/19c689272684
branches:  trunk
changeset: 547052:19c689272684
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Mon May 12 00:19:17 2003 +0000

description:
Always use 32bit-wide header pointers for an RSDT (ACPI 1.0). The comment
in the code talks about "machine-dependent length", but my copy of
the spec clearly says "an array of 32-bit physical addresses".

diffstat:

 sys/dev/acpi/acpica/Subsystem/tbconvrt.c |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c652addc0675 -r 19c689272684 sys/dev/acpi/acpica/Subsystem/tbconvrt.c
--- a/sys/dev/acpi/acpica/Subsystem/tbconvrt.c  Mon May 12 00:19:00 2003 +0000
+++ b/sys/dev/acpi/acpica/Subsystem/tbconvrt.c  Mon May 12 00:19:17 2003 +0000
@@ -115,7 +115,7 @@
  *****************************************************************************/
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tbconvrt.c,v 1.6 2003/03/04 17:25:27 kochi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tbconvrt.c,v 1.7 2003/05/12 00:19:17 fvdl Exp $");
 
 #define __TBCONVRT_C__
 
@@ -152,14 +152,12 @@
     ACPI_FUNCTION_ENTRY ();
 
 
-#if ACPI_MACHINE_WIDTH != 64
 
     if (RSDP->Revision < 2)
     {
         PointerSize = sizeof (UINT32);
     }
     else
-#endif
     {
         PointerSize = sizeof (UINT64);
     }



Home | Main Index | Thread Index | Old Index