Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Dec 2005 00:18:04 GMT
From:      Olivier Houchard <cognet@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 88491 for review
Message-ID:  <200512210018.jBL0I468045236@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=88491

Change 88491 by cognet@cognet on 2005/12/21 00:17:28

	Remove unreachable code.

Affected files ...

.. //depot/projects/arm/src/sys/arm/arm/locore.S#16 edit

Differences ...

==== //depot/projects/arm/src/sys/arm/arm/locore.S#16 (text+ko) ====

@@ -205,23 +205,6 @@
 	subs	r2, r2, #4
 	bgt	.L1
 	ldr	pc, .Lvirt_done
-
-	mov	r0, pc
-#if	KERNVIRTADDR > KERNPHYSADDR
-	ldr	r4, =KERNVIRTADDR
-	cmp	r0, r4
-	bgt	virt_done
-	ldr	r5, =KERNPHYSADDR
-	sub	r4, r4, r5
-	add	pc, pc, r4
-#else
-	ldr	r5, =KERNPHYSADDR
-	cmp	r0, r4
-	blt	virt_done
-	ldr	r4, =KERNVIRTADDR
-	sub	r5, r5, r4
-	sub	pc, pc, r5
-#endif
 virt_done:
 	LED1ON
 	mov	fp, #0		/* trace back starts here */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512210018.jBL0I468045236>