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 Pull up revisions 1.7-1.8 (...
details: https://anonhg.NetBSD.org/src/rev/7587195344a9
branches: netbsd-1-4
changeset: 470788:7587195344a9
user: he <he%NetBSD.org@localhost>
date: Sun Jul 23 16:13:49 2000 +0000
description:
Pull up revisions 1.7-1.8 (via patch, requested by pk):
Account for stack when computing base VA; fixes booting on sun4
systems. Fixes PR#9906 and PR#10165
diffstat:
sys/arch/sparc/stand/common/dvma.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 725a9fd1be4a -r 7587195344a9 sys/arch/sparc/stand/common/dvma.c
--- a/sys/arch/sparc/stand/common/dvma.c Thu Jul 13 21:25:08 2000 +0000
+++ b/sys/arch/sparc/stand/common/dvma.c Sun Jul 23 16:13:49 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dvma.c,v 1.3.2.1 2000/06/27 14:41:04 he Exp $ */
+/* $NetBSD: dvma.c,v 1.3.2.2 2000/07/23 16:13:49 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) & DVMA_BASE;
+ base_va = segva = (((int)&start) - 0x40000) & DVMA_BASE;
/* Then double-map the DVMA adresses */
nseg = (DVMA_MAPLEN + NBPSG - 1) >> SGSHIFT;
Home |
Main Index |
Thread Index |
Old Index