Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/vax/boot/xxboot On the 11/750, the stack will be pl...



details:   https://anonhg.NetBSD.org/src/rev/6dc1e2a9efa6
branches:  trunk
changeset: 486402:6dc1e2a9efa6
user:      ragge <ragge%NetBSD.org@localhost>
date:      Sun May 21 08:13:20 2000 +0000

description:
On the 11/750, the stack will be placed by ROM in the code area.
Start with moving it to a safe place.

diffstat:

 sys/arch/vax/boot/xxboot/start.s |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r b42e0f171e8e -r 6dc1e2a9efa6 sys/arch/vax/boot/xxboot/start.s
--- a/sys/arch/vax/boot/xxboot/start.s  Sun May 21 07:33:05 2000 +0000
+++ b/sys/arch/vax/boot/xxboot/start.s  Sun May 21 08:13:20 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: start.s,v 1.3 2000/05/20 13:21:29 ragge Exp $ */
+/*     $NetBSD: start.s,v 1.4 2000/05/21 08:13:20 ragge Exp $ */
 /*
  * Copyright (c) 1995 Ludd, University of Lule}, Sweden.
  * All rights reserved.
@@ -132,6 +132,7 @@
  */
        .align 2
 cont_750:
+       movl    $_start, sp     # move stack to avoid clobbering the code
        pushr   $0x131          # save clobbered registers
        clrl    r4              # r4 == # of blocks transferred
        movab   _start,r5       # r5 have base address for next transfer



Home | Main Index | Thread Index | Old Index