Source-Changes-HG archive

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

[src/netbsd-8]: src/sys/arch/vax/boot/common Pull up following revision(s) (r...



details:   https://anonhg.NetBSD.org/src/rev/d4d038faf61a
branches:  netbsd-8
changeset: 434779:d4d038faf61a
user:      snj <snj%NetBSD.org@localhost>
date:      Sat Mar 24 18:08:06 2018 +0000

description:
Pull up following revision(s) (requested by ragge in ticket #656):
        sys/arch/vax/boot/common/srt0.S: 1.6
Do not use movc3 to copy boot program, it may be larger than 64k.

diffstat:

 sys/arch/vax/boot/common/srt0.S |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r c5814829f3ff -r d4d038faf61a sys/arch/vax/boot/common/srt0.S
--- a/sys/arch/vax/boot/common/srt0.S   Sat Mar 24 18:06:51 2018 +0000
+++ b/sys/arch/vax/boot/common/srt0.S   Sat Mar 24 18:08:06 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: srt0.S,v 1.5 2017/05/22 17:00:19 ragge Exp $ */
+/*     $NetBSD: srt0.S,v 1.5.2.1 2018/03/24 18:08:06 snj Exp $ */
 /*
  * Copyright (c) 1994 Ludd, University of Lule}, Sweden.
  * All rights reserved.
@@ -49,7 +49,9 @@
        movl    $_C_LABEL(start), %r3 # get where we want to be
        cmpl    %r1,%r3         # are we where we want to be?
        beql    relocated       # already relocated, skip copy
-       movc3   %r0,(%r1),(%r3) # copy
+1:     movb    (%r1)+,(%r3)+   # copy
+       sobgtr  %r0,1b
+
        subl3   $_C_LABEL(edata), $_C_LABEL(end), %r2
        movc5   $0,(%r3),$0,%r2,(%r3) # Zero bss
 



Home | Main Index | Thread Index | Old Index