aboutsummaryrefslogtreecommitdiff
path: root/sys/mips
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2018-04-16 13:52:23 +0000
committerWarner Losh <imp@FreeBSD.org>2018-04-16 13:52:23 +0000
commit9d89a9f3267231ef8a3f407f04b566914563ab3c (patch)
treebc0f919d44e6cb493c6b906c4b43a3aa09568f1f /sys/mips
parentdb911ed570308b8b6248a2c4565ed2fb5b385c89 (diff)
downloadsrc-9d89a9f3267231ef8a3f407f04b566914563ab3c.tar.gz
src-9d89a9f3267231ef8a3f407f04b566914563ab3c.zip
No need to force md code to define a macro that's the same as
_BYTE_ORDER. Use that instead.
Notes
Notes: svn path=/head/; revision=332563
Diffstat (limited to 'sys/mips')
-rw-r--r--sys/mips/include/db_machdep.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/mips/include/db_machdep.h b/sys/mips/include/db_machdep.h
index 02a7c6c1a8fb..fd11569d4b9f 100644
--- a/sys/mips/include/db_machdep.h
+++ b/sys/mips/include/db_machdep.h
@@ -41,7 +41,6 @@
#include <machine/frame.h>
#include <machine/trap.h>
-#include <machine/endian.h>
typedef struct trapframe db_regs_t;
extern db_regs_t ddb_regs; /* register state */
@@ -49,10 +48,6 @@ extern db_regs_t ddb_regs; /* register state */
typedef vm_offset_t db_addr_t; /* address - unsigned */
typedef register_t db_expr_t; /* expression - signed */
-#if BYTE_ORDER == _BIG_ENDIAN
-#define BYTE_MSF (1)
-#endif
-
#define SOFTWARE_SSTEP /* Need software single step */
#define SOFTWARE_SSTEP_EMUL /* next_instr_address() emulates 100% */
db_addr_t next_instr_address(db_addr_t, boolean_t);