Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/arch/sparc/stand/common Revert previous, and pull u...
details: https://anonhg.NetBSD.org/src/rev/1d4654e2b67e
branches: netbsd-1-4
changeset: 470804:1d4654e2b67e
user: he <he%NetBSD.org@localhost>
date: Thu Jul 27 17:30:27 2000 +0000
description:
Revert previous, and pull up revisions 1.7-1.8 (requested by pk):
Account for stack when computing base VA; fixes booting on sun4
systems. Fixes PR#9906 and PR#10165
(Previous patch had bug as submitted.)
diffstat:
sys/arch/sparc/stand/common/dvma.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 3c2f7ad34dbf -r 1d4654e2b67e sys/arch/sparc/stand/common/dvma.c
--- a/sys/arch/sparc/stand/common/dvma.c Thu Jul 27 17:19:21 2000 +0000
+++ b/sys/arch/sparc/stand/common/dvma.c Thu Jul 27 17:30:27 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dvma.c,v 1.3.2.2 2000/07/23 16:13:49 he Exp $ */
+/* $NetBSD: dvma.c,v 1.3.2.3 2000/07/27 17:30:27 he Exp $ */
/*
* Copyright (c) 1995 Gordon W. Ross
* All rights reserved.
@@ -65,7 +65,7 @@
/* Align our address base with the DVMA segment */
dmava = DVMA_BASE;
- base_va = segva = (((int)&start) - 0x40000) & DVMA_BASE;
+ base_va = segva = (((int)&start) & DVMA_BASE) - 0x40000;
/* Then double-map the DVMA adresses */
nseg = (DVMA_MAPLEN + NBPSG - 1) >> SGSHIFT;
Home |
Main Index |
Thread Index |
Old Index