Module Name: src Committed By: jun Date: Sat Apr 10 22:53:59 UTC 2010
Modified Files: src/sys/arch/hpcmips/vr: vr.c Log Message: workaround for port-hpcmips/42934 "NetBSD/hpcmips can't boot after 5.99.23" adviced by Naoki Fukaumi on twitter. To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 src/sys/arch/hpcmips/vr/vr.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/hpcmips/vr/vr.c diff -u src/sys/arch/hpcmips/vr/vr.c:1.55 src/sys/arch/hpcmips/vr/vr.c:1.56 --- src/sys/arch/hpcmips/vr/vr.c:1.55 Thu Jan 21 01:23:15 2010 +++ src/sys/arch/hpcmips/vr/vr.c Sat Apr 10 22:53:59 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: vr.c,v 1.55 2010/01/21 01:23:15 pooka Exp $ */ +/* $NetBSD: vr.c,v 1.56 2010/04/10 22:53:59 jun Exp $ */ /*- * Copyright (c) 1999-2002 @@ -35,7 +35,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: vr.c,v 1.55 2010/01/21 01:23:15 pooka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: vr.c,v 1.56 2010/04/10 22:53:59 jun Exp $"); #include "opt_vr41xx.h" #include "opt_tx39xx.h" @@ -344,8 +344,11 @@ for (; addr < end; addr += PAGE_SIZE) { page = (char *)MIPS_PHYS_TO_KSEG1(addr); +/* + XXX see port-hpcmips/42934 if (badaddr(page, 4)) goto bad; + */ /* stop memory probing at first memory image */ if (memcmp(page, (void *)MIPS_PHYS_TO_KSEG0(0), 128) == 0)