summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-06-01 18:57:03 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-06-01 18:57:03 +0000
commit6e2aa073e26eb6ab28c050459f6dedc66ca5d167 (patch)
treed8ee430d5aac1e6df15d55b01cc699e6d7fa8dba
parent4055d2c768f66d026b8ca486c37ee3f4eb0003ca (diff)
Provide carefully crafted DEADBEEF* values, this was initially forgotten in
the commit which enabled DEADBEEF* overrides, then values have been discussed a bit more and improved; reminded by and ok art@
-rw-r--r--sys/arch/i386/include/vmparam.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/i386/include/vmparam.h b/sys/arch/i386/include/vmparam.h
index 55e082d6e8f..4e1e7ed7ef2 100644
--- a/sys/arch/i386/include/vmparam.h
+++ b/sys/arch/i386/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.38 2007/04/26 11:31:52 art Exp $ */
+/* $OpenBSD: vmparam.h,v 1.39 2007/06/01 18:57:02 miod Exp $ */
/* $NetBSD: vmparam.h,v 1.15 1994/10/27 04:16:34 cgd Exp $ */
/*-
@@ -89,6 +89,12 @@
*/
#define USRIOSIZE 300
+/*
+ * Specific addresses being unmapped and used as fillers for free memory.
+ */
+#define DEADBEEF0 0xefffeecc /* malloc's filler */
+#define DEADBEEF1 0xefffaabb /* pool's filler */
+
/* user/kernel map constants */
#define VM_MIN_ADDRESS ((vaddr_t)0)
#define VM_MAXUSER_ADDRESS ((vaddr_t)((PDSLOT_PTE<<PDSHIFT) - USPACE))