summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/include
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-08-22 21:03:57 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-08-22 21:03:57 +0000
commit687713179a0daf32013442a5e71b47859d8f8a73 (patch)
treef460349ce4693a43e33e9d37d94997c796fb4399 /sys/arch/hp300/include
parent06206e833b142d5f07df8d8348e6aaf605d25bb5 (diff)
Implement pmap_steal_memory() if HAVE_PMAP_DIRECT; no change except for
faster uvm initialization.
Diffstat (limited to 'sys/arch/hp300/include')
-rw-r--r--sys/arch/hp300/include/pmap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/hp300/include/pmap.h b/sys/arch/hp300/include/pmap.h
index 9f3fd2bcdaf..8ccf6b6bc35 100644
--- a/sys/arch/hp300/include/pmap.h
+++ b/sys/arch/hp300/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.15 2006/07/09 19:41:23 miod Exp $ */
+/* $OpenBSD: pmap.h,v 1.16 2006/08/22 21:03:54 miod Exp $ */
#ifndef _MACHINE_PMAP_H_
#define _MACHINE_PMAP_H_
@@ -9,6 +9,7 @@
#define pmap_map_direct(pg) ((vaddr_t)VM_PAGE_TO_PHYS(pg))
#define pmap_unmap_direct(va) PHYS_TO_VM_PAGE((paddr_t)va)
#define __HAVE_PMAP_DIRECT
+#define PMAP_STEAL_MEMORY
#endif
#ifdef _KERNEL