From 6e2aa073e26eb6ab28c050459f6dedc66ca5d167 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Fri, 1 Jun 2007 18:57:03 +0000 Subject: 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@ --- sys/arch/i386/include/vmparam.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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<