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 Gain one instruction..
details: https://anonhg.NetBSD.org/src/rev/b75fb299b758
branches: trunk
changeset: 472628:b75fb299b758
user: pk <pk%NetBSD.org@localhost>
date: Mon May 03 20:56:11 1999 +0000
description:
Gain one instruction..
diffstat:
sys/arch/sparc/sparc/locore.s | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r 72c474c4984f -r b75fb299b758 sys/arch/sparc/sparc/locore.s
--- a/sys/arch/sparc/sparc/locore.s Mon May 03 19:10:54 1999 +0000
+++ b/sys/arch/sparc/sparc/locore.s Mon May 03 20:56:11 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.s,v 1.119 1999/05/03 16:17:08 christos Exp $ */
+/* $NetBSD: locore.s,v 1.120 1999/05/03 20:56:11 pk Exp $ */
/*
* Copyright (c) 1996 Paul Kranenburg
@@ -3388,15 +3388,15 @@
add %l3, %l4, %o5 ! relocate
sethi %hi(_C_LABEL(esym) - KERNBASE), %l3 ! store esym
st %o5, [%l3 + %lo(_C_LABEL(esym) - KERNBASE)]
- add %o4, 4, %o4
- ! 2nd word is bootinfo
- ld [%o4], %l3
+
+ ld [%o4 + 4], %l3 ! 2nd word is bootinfo
add %l3, %l4, %o5 ! relocate
sethi %hi(_C_LABEL(bootinfo) - KERNBASE), %l3 ! store bootinfo
st %o5, [%l3 + %lo(_C_LABEL(bootinfo) - KERNBASE)]
b,a 3f
1:
+ /* Check for old-style DDB loader magic */
set 0x44444231, %l3 ! ddb magic
cmp %o5, %l3
be,a 2f
Home |
Main Index |
Thread Index |
Old Index