Module Name: src
Committed By: tsutsui
Date: Mon Jan 10 15:25:15 UTC 2011
Modified Files:
src/sys/arch/pmax/stand/common: bootinit.S bootread.S clear_cache.S
getchar.S printf.S
Log Message:
- specify .set noreorder to fill BDslots properly
- indent instructions in BDslots
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/pmax/stand/common/bootinit.S \
src/sys/arch/pmax/stand/common/bootread.S
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/pmax/stand/common/clear_cache.S \
src/sys/arch/pmax/stand/common/printf.S
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/pmax/stand/common/getchar.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/pmax/stand/common/bootinit.S
diff -u src/sys/arch/pmax/stand/common/bootinit.S:1.5 src/sys/arch/pmax/stand/common/bootinit.S:1.6
--- src/sys/arch/pmax/stand/common/bootinit.S:1.5 Mon Apr 28 20:23:31 2008
+++ src/sys/arch/pmax/stand/common/bootinit.S Mon Jan 10 15:25:15 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: bootinit.S,v 1.5 2008/04/28 20:23:31 martin Exp $ */
+/* $NetBSD: bootinit.S,v 1.6 2011/01/10 15:25:15 tsutsui Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -33,10 +33,11 @@
#include <mips/cpuregs.h>
#include <machine/dec_prom.h>
+ .set noreorder
LEAF(bootinit)
lw v0, _C_LABEL(callv) # get pointer to call back vectors
lw v0, 0x54(v0) # offset for callv->_bootinit
nop
j v0 # call PROM bootinit
- nop
+ nop
END(bootinit)
Index: src/sys/arch/pmax/stand/common/bootread.S
diff -u src/sys/arch/pmax/stand/common/bootread.S:1.5 src/sys/arch/pmax/stand/common/bootread.S:1.6
--- src/sys/arch/pmax/stand/common/bootread.S:1.5 Mon Apr 28 20:23:31 2008
+++ src/sys/arch/pmax/stand/common/bootread.S Mon Jan 10 15:25:15 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: bootread.S,v 1.5 2008/04/28 20:23:31 martin Exp $ */
+/* $NetBSD: bootread.S,v 1.6 2011/01/10 15:25:15 tsutsui Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -33,10 +33,11 @@
#include <mips/cpuregs.h>
#include <machine/dec_prom.h>
+ .set noreorder
LEAF(bootread)
lw v0, _C_LABEL(callv) # get pointer to call back vectors
lw v0, 0x58(v0) # offset for callv->_bootread
nop
j v0 # call PROM bootread
- nop
+ nop
END(bootread)
Index: src/sys/arch/pmax/stand/common/clear_cache.S
diff -u src/sys/arch/pmax/stand/common/clear_cache.S:1.6 src/sys/arch/pmax/stand/common/clear_cache.S:1.7
--- src/sys/arch/pmax/stand/common/clear_cache.S:1.6 Mon Apr 28 20:23:31 2008
+++ src/sys/arch/pmax/stand/common/clear_cache.S Mon Jan 10 15:25:15 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: clear_cache.S,v 1.6 2008/04/28 20:23:31 martin Exp $ */
+/* $NetBSD: clear_cache.S,v 1.7 2011/01/10 15:25:15 tsutsui Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -33,10 +33,11 @@
#include <mips/cpuregs.h>
#include <machine/dec_prom.h>
+ .set noreorder
LEAF(clear_cache)
lw v0, _C_LABEL(callv) # get pointer to call back vectors
lw v0, 0x7c(v0) # offset for callv->_clear_cache
nop
j v0 # call PROM clear_cache
- nop
+ nop
END(clear_cache)
Index: src/sys/arch/pmax/stand/common/printf.S
diff -u src/sys/arch/pmax/stand/common/printf.S:1.6 src/sys/arch/pmax/stand/common/printf.S:1.7
--- src/sys/arch/pmax/stand/common/printf.S:1.6 Mon Dec 14 00:46:11 2009
+++ src/sys/arch/pmax/stand/common/printf.S Mon Jan 10 15:25:15 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: printf.S,v 1.6 2009/12/14 00:46:11 matt Exp $ */
+/* $NetBSD: printf.S,v 1.7 2011/01/10 15:25:15 tsutsui Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -33,6 +33,7 @@
#include <mips/cpuregs.h>
#include <machine/dec_prom.h>
+ .set noreorder
LEAF(printf)
lw v0, _C_LABEL(callv) # get pointer to call back vectors
lw t9, 0x30(v0) # offset for callv->_printf
@@ -56,6 +57,6 @@
addu sp, sp, 48
#else
j t9 # call PROM printf
- nop
+ nop
#endif
END(printf)
Index: src/sys/arch/pmax/stand/common/getchar.S
diff -u src/sys/arch/pmax/stand/common/getchar.S:1.2 src/sys/arch/pmax/stand/common/getchar.S:1.3
--- src/sys/arch/pmax/stand/common/getchar.S:1.2 Mon Apr 28 20:23:31 2008
+++ src/sys/arch/pmax/stand/common/getchar.S Mon Jan 10 15:25:15 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: getchar.S,v 1.2 2008/04/28 20:23:31 martin Exp $ */
+/* $NetBSD: getchar.S,v 1.3 2011/01/10 15:25:15 tsutsui Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -33,10 +33,11 @@
#include <mips/cpuregs.h>
#include <machine/dec_prom.h>
+ .set noreorder
LEAF(getchar)
lw v0, _C_LABEL(callv) # get pointer to call back vectors
lw v0, 0x24(v0) # offset for callv->_getchar
nop
j v0 # call PROM getchar
- nop
+ nop
END(getchar)