CVS commit: src/sys/arch/vax/boot/common

2018-03-19 Thread Anders Magnusson
Module Name:src
Committed By:   ragge
Date:   Mon Mar 19 15:37:56 UTC 2018

Modified Files:
src/sys/arch/vax/boot/common: srt0.S

Log Message:
Do not use movc3 to copy boot program, it may be larger than 64k.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/vax/boot/common/srt0.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/vax/boot/common/srt0.S
diff -u src/sys/arch/vax/boot/common/srt0.S:1.5 src/sys/arch/vax/boot/common/srt0.S:1.6
--- src/sys/arch/vax/boot/common/srt0.S:1.5	Mon May 22 17:00:19 2017
+++ src/sys/arch/vax/boot/common/srt0.S	Mon Mar 19 15:37:56 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: srt0.S,v 1.5 2017/05/22 17:00:19 ragge Exp $ */
+/*	$NetBSD: srt0.S,v 1.6 2018/03/19 15:37:56 ragge Exp $ */
 /*
  * Copyright (c) 1994 Ludd, University of Lule}, Sweden.
  * All rights reserved.
@@ -49,7 +49,9 @@ ALTENTRY(start)
 	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
 



CVS commit: src/sys/arch/vax/boot/common

2017-05-22 Thread Anders Magnusson
Module Name:src
Committed By:   ragge
Date:   Mon May 22 17:00:19 UTC 2017

Modified Files:
src/sys/arch/vax/boot/common: romread.S srt0.S str.S

Log Message:
Update copyright notice for Ludd (remove clause 3 & 4).


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/vax/boot/common/romread.S
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/vax/boot/common/srt0.S
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/vax/boot/common/str.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/vax/boot/common/romread.S
diff -u src/sys/arch/vax/boot/common/romread.S:1.1 src/sys/arch/vax/boot/common/romread.S:1.2
--- src/sys/arch/vax/boot/common/romread.S:1.1	Sun Feb 24 01:04:25 2002
+++ src/sys/arch/vax/boot/common/romread.S	Mon May 22 17:00:19 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: romread.S,v 1.1 2002/02/24 01:04:25 matt Exp $ */
+/*	$NetBSD: romread.S,v 1.2 2017/05/22 17:00:19 ragge Exp $ */
 /*
  * Copyright (c) 1995 Ludd, University of Lule}, Sweden.
  * All rights reserved.
@@ -14,12 +14,6 @@
  * 2. Redistributions in binary form must reproduce the above copyright
  *notice, this list of conditions and the following disclaimer in the
  *documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- *must display the following acknowledgement:
- *  This product includes software developed at Ludd, University of 
- *  Lule}, Sweden and its contributors.
- * 4. The name of the author may not be used to endorse or promote products
- *derived from this software without specific prior written permission
  *
  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES

Index: src/sys/arch/vax/boot/common/srt0.S
diff -u src/sys/arch/vax/boot/common/srt0.S:1.4 src/sys/arch/vax/boot/common/srt0.S:1.5
--- src/sys/arch/vax/boot/common/srt0.S:1.4	Mon Dec  2 20:23:32 2002
+++ src/sys/arch/vax/boot/common/srt0.S	Mon May 22 17:00:19 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: srt0.S,v 1.4 2002/12/02 20:23:32 ragge Exp $ */
+/*	$NetBSD: srt0.S,v 1.5 2017/05/22 17:00:19 ragge Exp $ */
 /*
  * Copyright (c) 1994 Ludd, University of Lule}, Sweden.
  * All rights reserved.
@@ -11,11 +11,6 @@
  * 2. Redistributions in binary form must reproduce the above copyright
  *notice, this list of conditions and the following disclaimer in the
  *documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- *must display the following acknowledgement:
- * This product includes software developed at Ludd, University of Lule}.
- * 4. The name of the author may not be used to endorse or promote products
- *derived from this software without specific prior written permission
  *
  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES

Index: src/sys/arch/vax/boot/common/str.S
diff -u src/sys/arch/vax/boot/common/str.S:1.5 src/sys/arch/vax/boot/common/str.S:1.6
--- src/sys/arch/vax/boot/common/str.S:1.5	Sun Dec 11 12:19:34 2005
+++ src/sys/arch/vax/boot/common/str.S	Mon May 22 17:00:19 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: str.S,v 1.5 2005/12/11 12:19:34 christos Exp $ */
+/*	$NetBSD: str.S,v 1.6 2017/05/22 17:00:19 ragge Exp $ */
 /*
  * Copyright (c) 1996 Ludd, University of Lule}, Sweden.
  * All rights reserved.
@@ -11,12 +11,6 @@
  * 2. Redistributions in binary form must reproduce the above copyright
  *notice, this list of conditions and the following disclaimer in the
  *documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- *must display the following acknowledgement:
- *  This product includes software developed at Ludd, University of 
- *  Lule}, Sweden and its contributors.
- * 4. The name of the author may not be used to endorse or promote products
- *derived from this software without specific prior written permission
  *
  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES