Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/sparc s/\<0x4000\>/PROM_LOADADDR
details: https://anonhg.NetBSD.org/src/rev/f739250caa94
branches: trunk
changeset: 472618:f739250caa94
user: christos <christos%NetBSD.org@localhost>
date: Mon May 03 16:17:08 1999 +0000
description:
s/\<0x4000\>/PROM_LOADADDR
remove unused cputypvallen, and _msgbufaddr
diffstat:
sys/arch/sparc/sparc/locore.s | 13 +++++--------
1 files changed, 5 insertions(+), 8 deletions(-)
diffs (55 lines):
diff -r a9d657d300f3 -r f739250caa94 sys/arch/sparc/sparc/locore.s
--- a/sys/arch/sparc/sparc/locore.s Mon May 03 16:14:02 1999 +0000
+++ b/sys/arch/sparc/sparc/locore.s Mon May 03 16:17:08 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.s,v 1.118 1999/05/02 14:47:33 pk Exp $ */
+/* $NetBSD: locore.s,v 1.119 1999/05/03 16:17:08 christos Exp $ */
/*
* Copyright (c) 1996 Paul Kranenburg
@@ -218,7 +218,6 @@
.ascii " "
cputypvar:
.asciz "compatible"
-cputypvallen = cputypvar - cputypval
_ALIGN
#endif
@@ -268,7 +267,7 @@
* which must be aligned on a 4096 byte boundary. The text segment
* starts beyond page 0 of KERNBASE so that there is a red zone
* between user and kernel space. Since the boot ROM loads us at
- * 0x4000, it is far easier to start at KERNBASE+0x4000 than to
+ * PROM_LOADADDR, it is far easier to start at KERNBASE+PROM_LOADADDR than to
* buck the trend. This is two or four pages in (depending on if
* pagesize is 8192 or 4096). We place two items in this area:
* the message buffer (phys addr 0) and the cpu_softc structure for
@@ -277,8 +276,6 @@
* kernel space we remap it in configure() to another location and
* invalidate the mapping at KERNBASE.
*/
-! .globl _msgbufaddr /* This label no longer used in C code */
-_msgbufaddr = KERNBASE
/*
* Each trap has room for four instructions, of which one perforce must
@@ -3351,8 +3348,8 @@
* Startup.
*
* We have been loaded in low RAM, at some address which
- * is page aligned (0x4000 actually) rather than where we
- * want to run (KERNBASE+0x4000). Until we get everything set,
+ * is page aligned (PROM_LOADADDR actually) rather than where we
+ * want to run (KERNBASE+PROM_LOADADDR). Until we get everything set,
* we have to be sure to use only pc-relative addressing.
*/
@@ -3425,7 +3422,7 @@
* Sun4 passes in the `load address'. Although possible, its highly
* unlikely that OpenBoot would place the prom vector there.
*/
- set 0x4000, %g7
+ set PROM_LOADADDR, %g7
cmp %o0, %g7
be is_sun4
nop
Home |
Main Index |
Thread Index |
Old Index