summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-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);