Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/acpica/dist/include/platform Define ACPI_BI...
details: https://anonhg.NetBSD.org/src/rev/885aa50bda31
branches: trunk
changeset: 943706:885aa50bda31
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Tue Sep 08 16:56:29 2020 +0000
description:
Define ACPI_BIG_ENDIAN on BE targets
diffstat:
sys/external/bsd/acpica/dist/include/platform/acnetbsd.h | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (28 lines):
diff -r 971fa299357c -r 885aa50bda31 sys/external/bsd/acpica/dist/include/platform/acnetbsd.h
--- a/sys/external/bsd/acpica/dist/include/platform/acnetbsd.h Tue Sep 08 16:39:57 2020 +0000
+++ b/sys/external/bsd/acpica/dist/include/platform/acnetbsd.h Tue Sep 08 16:56:29 2020 +0000
@@ -1,7 +1,7 @@
/******************************************************************************
*
* Name: acnetbsd.h - OS specific defines, etc.
- * $Revision: 1.20 $
+ * $Revision: 1.21 $
*
*****************************************************************************/
@@ -65,10 +65,15 @@
#include <sys/param.h>
#include <sys/systm.h>
+#include <sys/endian.h>
#include <dev/acpi/acpica/acpi_func.h>
#define asm __asm
+#if BYTE_ORDER == BIG_ENDIAN
+#define ACPI_BIG_ENDIAN
+#endif
+
#define ACPI_USE_NATIVE_DIVIDE
#define ACPI_USE_NATIVE_MATH64
Home |
Main Index |
Thread Index |
Old Index