summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-02-13 21:19:55 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-02-13 21:19:55 +0000
commit6a2c3a84326f468c8cffebadf156cab707faffcd (patch)
treecd3a12206c3a25396e2e32341f4c3a6f3054718e
parent4a541592e81ea049118d5a1c395f5a83c787ef67 (diff)
Offset the kernel message buffer down one page again, for the PROM scribbles
to the upper *two* pages actually.
-rw-r--r--sys/arch/hp300/hp300/pmap_bootstrap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/hp300/hp300/pmap_bootstrap.c b/sys/arch/hp300/hp300/pmap_bootstrap.c
index 6d2b1477b49..7b6b6c29059 100644
--- a/sys/arch/hp300/hp300/pmap_bootstrap.c
+++ b/sys/arch/hp300/hp300/pmap_bootstrap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap_bootstrap.c,v 1.25 2008/01/04 19:05:30 miod Exp $ */
+/* $OpenBSD: pmap_bootstrap.c,v 1.26 2008/02/13 21:19:54 miod Exp $ */
/* $NetBSD: pmap_bootstrap.c,v 1.13 1997/06/10 18:56:50 veego Exp $ */
/*
@@ -88,7 +88,8 @@ do { \
#define PMAP_MD_MEMSIZE() \
do { \
- RELOC(avail_end, paddr_t) = MAXADDR - round_page(MSGBUFSIZE); \
+ RELOC(avail_end, paddr_t) = MAXADDR - PAGE_SIZE - \
+ round_page(MSGBUFSIZE); \
} while (0)
/*