aboutsummaryrefslogtreecommitdiff
path: root/sys/mips/include/vmparam.h
diff options
context:
space:
mode:
authorJayachandran C. <jchandra@FreeBSD.org>2010-12-03 19:22:18 +0000
committerJayachandran C. <jchandra@FreeBSD.org>2010-12-03 19:22:18 +0000
commit63ae6e601813b277602801397aa024da681b9e6d (patch)
treefaa897cddee15aa86fd340a7f8880feb214a978a /sys/mips/include/vmparam.h
parent01688065e7df9736199bc17e48648102034ebea0 (diff)
downloadsrc-63ae6e601813b277602801397aa024da681b9e6d.tar.gz
src-63ae6e601813b277602801397aa024da681b9e6d.zip
1. Fix off by one errors in calls to MIPS_DIRECT_MAPPABLE, reported by alc@
2. Remove unnecessary #defines from vmparam.h Submitted by: alc (2) Reviewed by: alc (1)
Notes
Notes: svn path=/head/; revision=216157
Diffstat (limited to 'sys/mips/include/vmparam.h')
-rw-r--r--sys/mips/include/vmparam.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/mips/include/vmparam.h b/sys/mips/include/vmparam.h
index 3050a9151ee0..b76e0657f427 100644
--- a/sys/mips/include/vmparam.h
+++ b/sys/mips/include/vmparam.h
@@ -46,11 +46,6 @@
/*
* Machine dependent constants mips processors.
*/
-/*
- * USRTEXT is the start of the user text/data space, while USRSTACK
- * is the top (end) of the user stack.
- */
-#define USRTEXT (1*PAGE_SIZE)
/*
* Virtual memory related constants, all in bytes
@@ -94,7 +89,6 @@
#define VM_MAX_ADDRESS ((vm_offset_t)(intptr_t)(int32_t)0xffffffff)
#define VM_MINUSER_ADDRESS ((vm_offset_t)0x00000000)
-#define VM_MAX_MMAP_ADDR VM_MAXUSER_ADDRESS
#ifdef __mips_n64
#define VM_MAXUSER_ADDRESS (VM_MINUSER_ADDRESS + (NPDEPG * NBSEG))