summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2005-10-09 15:14:48 +0000
committerdrahn <drahn@openbsd.org>2005-10-09 15:14:48 +0000
commit8bb17b72525c4b7ddf723bc7fbe635ad2a29418d (patch)
tree0d12c46a69f70a5132b438900bb64b8acdd31783 /sys
parentSubtle changes to the powerpc fpu handling, basically fpuproc is handled (diff)
downloadwireguard-openbsd-8bb17b72525c4b7ddf723bc7fbe635ad2a29418d.tar.xz
wireguard-openbsd-8bb17b72525c4b7ddf723bc7fbe635ad2a29418d.zip
Try to recover part of the reserved space from the OF_claim above.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/macppc/stand/boot.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/macppc/stand/boot.c b/sys/arch/macppc/stand/boot.c
index 8f4d22aaa74..020f1c69e93 100644
--- a/sys/arch/macppc/stand/boot.c
+++ b/sys/arch/macppc/stand/boot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: boot.c,v 1.11 2005/10/08 06:27:58 drahn Exp $ */
+/* $OpenBSD: boot.c,v 1.12 2005/10/09 15:14:48 drahn Exp $ */
/* $NetBSD: boot.c,v 1.1 1997/04/16 20:29:17 thorpej Exp $ */
/*
@@ -227,6 +227,11 @@ main()
entry = marks[MARK_ENTRY];
ssym = (void *)marks[MARK_SYM];
esym = (void *)marks[MARK_END];
+ {
+ u_int32_t lastpage;
+ lastpage = roundup(marks[MARK_END], NBPG);
+ OF_release((void*)lastpage, 0x00800000 - lastpage);
+ }
chain((void *)entry, bootline, ssym, esym);