Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbppc/walnut Do not rely on an address from one pa...
details: https://anonhg.NetBSD.org/src/rev/c305d0900471
branches: trunk
changeset: 550720:c305d0900471
user: eeh <eeh%NetBSD.org@localhost>
date: Mon Aug 18 21:34:11 2003 +0000
description:
Do not rely on an address from one particular firmware version.
diffstat:
sys/arch/evbppc/walnut/machdep.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (28 lines):
diff -r 1dd2478dc7d0 -r c305d0900471 sys/arch/evbppc/walnut/machdep.c
--- a/sys/arch/evbppc/walnut/machdep.c Mon Aug 18 21:30:51 2003 +0000
+++ b/sys/arch/evbppc/walnut/machdep.c Mon Aug 18 21:34:11 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.17 2003/08/12 05:06:55 matt Exp $ */
+/* $NetBSD: machdep.c,v 1.18 2003/08/18 21:34:11 eeh Exp $ */
/*
* Copyright 2001, 2002 Wasabi Systems, Inc.
@@ -67,7 +67,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.17 2003/08/12 05:06:55 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.18 2003/08/18 21:34:11 eeh Exp $");
#include "opt_compat_netbsd.h"
#include "opt_ddb.h"
@@ -181,9 +181,6 @@
cpu_probe_cache();
/* Save info block */
- if (info_block == NULL)
- /* XXX why isn't r3 set correctly?!?!? */
- info_block = (void *)0x8e10;
memcpy(&board_data, info_block, sizeof(board_data));
memset(physmemr, 0, sizeof physmemr);
Home |
Main Index |
Thread Index |
Old Index