Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hpcmips/vr workaround for port-hpcmips/42934
details: https://anonhg.NetBSD.org/src/rev/e3d3825aaecd
branches: trunk
changeset: 753810:e3d3825aaecd
user: jun <jun%NetBSD.org@localhost>
date: Sat Apr 10 22:53:59 2010 +0000
description:
workaround for port-hpcmips/42934
"NetBSD/hpcmips can't boot after 5.99.23"
adviced by Naoki Fukaumi on twitter.
diffstat:
sys/arch/hpcmips/vr/vr.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r fe6f3ae818f5 -r e3d3825aaecd sys/arch/hpcmips/vr/vr.c
--- a/sys/arch/hpcmips/vr/vr.c Sat Apr 10 21:32:59 2010 +0000
+++ b/sys/arch/hpcmips/vr/vr.c Sat Apr 10 22:53:59 2010 +0000
@@ -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)
Home |
Main Index |
Thread Index |
Old Index