PERFORCE change 71399 for review
John-Mark Gurney
jmg at FreeBSD.org
Sun Feb 20 12:29:52 PST 2005
http://perforce.freebsd.org/chv.cgi?CH=71399
Change 71399 by jmg at jmg_carbon on 2005/02/20 20:29:14
remove the conditionals on the fixup, w/ them the TS-7200 won't
properly relocate...
Affected files ...
.. //depot/projects/arm/src/sys/arm/arm/locore.S#3 edit
Differences ...
==== //depot/projects/arm/src/sys/arm/arm/locore.S#3 (text+ko) ====
@@ -160,13 +160,14 @@
subs r2, r2, #4
bgt .L1
+ /* fix up the pc to be at KERNVIRTADDR */
ldr r4, =KERNVIRTADDR
cmp pc, r4
#if KERNVIRTADDR > KERNPHYSADDR
- ldrlt r4, =KERNVIRTADDR
- ldrlt r5, =KERNPHYSADDR
- sublt r4, r4, r5
- addlt pc, pc, r4
+ ldr r4, =KERNVIRTADDR
+ ldr r5, =KERNPHYSADDR
+ sub r4, r4, r5
+ add pc, pc, r4
#else
ldrgt r4, =KERNPHYSADDR
ldrgt r5, =KERNVIRTADDR
More information about the p4-projects
mailing list