Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc/stand/common Rearrange previous slightly to a...



details:   https://anonhg.NetBSD.org/src/rev/86a243c4bbf1
branches:  trunk
changeset: 488123:86a243c4bbf1
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Sun Jun 18 23:03:45 2000 +0000

description:
Rearrange previous slightly to avoid getting values that are too low;
the only goal here is to leave some space for the stack.

diffstat:

 sys/arch/sparc/stand/common/dvma.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 830b29d61c63 -r 86a243c4bbf1 sys/arch/sparc/stand/common/dvma.c
--- a/sys/arch/sparc/stand/common/dvma.c        Sun Jun 18 22:58:45 2000 +0000
+++ b/sys/arch/sparc/stand/common/dvma.c        Sun Jun 18 23:03:45 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dvma.c,v 1.7 2000/06/18 02:25:17 fvdl Exp $    */
+/*     $NetBSD: dvma.c,v 1.8 2000/06/18 23:03:45 fvdl 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