summaryrefslogtreecommitdiffstats
path: root/sys/mips/include/cpuregs.h
diff options
context:
space:
mode:
authorgonzo <gonzo@FreeBSD.org>2010-11-07 03:09:02 +0000
committergonzo <gonzo@FreeBSD.org>2010-11-07 03:09:02 +0000
commit4a291f4ab0ff944b9175d1c355e8aac3ba68d300 (patch)
tree163ca95f77d84d19944a3df10945e62d3fbc45ff /sys/mips/include/cpuregs.h
parentfb31655590940cd51b92296b12645bc24e5e749a (diff)
downloadFreeBSD-src-4a291f4ab0ff944b9175d1c355e8aac3ba68d300.zip
FreeBSD-src-4a291f4ab0ff944b9175d1c355e8aac3ba68d300.tar.gz
- Add minidump support for FreeBSD/mips
Diffstat (limited to 'sys/mips/include/cpuregs.h')
-rw-r--r--sys/mips/include/cpuregs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/mips/include/cpuregs.h b/sys/mips/include/cpuregs.h
index bc55a7e..456c545 100644
--- a/sys/mips/include/cpuregs.h
+++ b/sys/mips/include/cpuregs.h
@@ -181,6 +181,9 @@
#define MIPS_XUSEG_END 0x0000010000000000
#define MIPS_XKSEG_START 0xc000000000000000
#define MIPS_XKSEG_END 0xc00000ff80000000
+#define MIPS_XKSEG_COMPAT32_START 0xffffffff80000000
+#define MIPS_XKSEG_COMPAT32_END 0xffffffffffffffff
+#define MIPS_XKSEG_TO_COMPAT32(va) ((va) & 0xffffffff)
#ifdef __mips_n64
#define MIPS_DIRECT_MAPPABLE(pa) 1
OpenPOWER on IntegriCloud