Module Name: src Committed By: rin Date: Sun Aug 18 07:03:55 UTC 2019
Modified Files: src/sys/arch/mac68k/mac68k: machdep.c Log Message: We've switched to 8KB page. XXX pullup to netbsd-9 To generate a diff of this commit: cvs rdiff -u -r1.353 -r1.354 src/sys/arch/mac68k/mac68k/machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/mac68k/mac68k/machdep.c diff -u src/sys/arch/mac68k/mac68k/machdep.c:1.353 src/sys/arch/mac68k/mac68k/machdep.c:1.354 --- src/sys/arch/mac68k/mac68k/machdep.c:1.353 Fri Jul 26 10:48:44 2019 +++ src/sys/arch/mac68k/mac68k/machdep.c Sun Aug 18 07:03:55 2019 @@ -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); int get_top_of_ram(void) { - return ((mac68k_machine.mach_memsize * (1024 * 1024)) - 4096); + return ((mac68k_machine.mach_memsize * (1024 * 1024)) - PAGE_SIZE); } /*