Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mac68k/mac68k We've switched to 8KB page.



details:   https://anonhg.NetBSD.org/src/rev/cda9c4965669
branches:  trunk
changeset: 964803:cda9c4965669
user:      rin <rin%NetBSD.org@localhost>
date:      Sun Aug 18 07:03:55 2019 +0000

description:
We've switched to 8KB page.

XXX
pullup to netbsd-9

diffstat:

 sys/arch/mac68k/mac68k/machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c695412a6fc3 -r cda9c4965669 sys/arch/mac68k/mac68k/machdep.c
--- a/sys/arch/mac68k/mac68k/machdep.c  Sun Aug 18 06:28:42 2019 +0000
+++ b/sys/arch/mac68k/mac68k/machdep.c  Sun Aug 18 07:03:55 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.353 2019/07/26 10:48:44 rin Exp $        */
+/*     $NetBSD: machdep.c,v 1.354 2019/08/18 07:03:55 rin Exp $        */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -74,7 +74,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.353 2019/07/26 10:48:44 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.354 2019/08/18 07:03:55 rin Exp $");
 
 #include "opt_adb.h"
 #include "opt_copy_symtab.h"
@@ -812,7 +812,7 @@
 int
 get_top_of_ram(void)
 {
-       return ((mac68k_machine.mach_memsize * (1024 * 1024)) - 4096);
+       return ((mac68k_machine.mach_memsize * (1024 * 1024)) - PAGE_SIZE);
 }
 
 /*



Home | Main Index | Thread Index | Old Index