Define ACPI_BIG_ENDIAN on BE targets

This commit is contained in:
jmcneill 2020-09-08 16:56:29 +00:00
parent 3a2683694c
commit 96761d896a
1 changed files with 6 additions and 1 deletions

View File

@ -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