PERFORCE change 71477 for review

John-Mark Gurney jmg at FreeBSD.org
Mon Feb 21 09:16:27 PST 2005


http://perforce.freebsd.org/chv.cgi?CH=71477

Change 71477 by jmg at jmg_carbon on 2005/02/21 17:16:10

	add back some ep93xx specific debugging code.. we can remove this
	at integration, but we are still brining the ep93xx up..

Affected files ...

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

Differences ...

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

@@ -202,6 +202,10 @@
 	MMU_INIT(PHYSADDR, PHYSADDR , 64, L1_TYPE_S|L1_S_C|L1_S_AP(AP_KRW))
 	/* map VA 0xc0000000..0xc3ffffff to PA */
 	MMU_INIT(KERNBASE, PHYSADDR, 64, L1_TYPE_S|L1_S_C|L1_S_AP(AP_KRW))
+#if 0
+	/* XXX - EP93xx device mapping for debugging locore.S */
+	MMU_INIT(0xf0100000, 0x80800000, 1<<(32-L1_S_SHIFT), L1_TYPE_S|L1_S_AP(AP_KRW))
+#endif
 
 	.word 0	/* end of table */
 #endif
@@ -316,6 +320,14 @@
 	mov	pc, r7
 #endif
 
+#if 0
+/* XXX - putc to UART1 of ep93xx */
+ENTRY(asm_putc)
+	ldr r1, =0xf01c0000
+	strb r0, [r1]
+	mov pc, lr
+#endif
+
 /*
  * setjump + longjmp
  */


More information about the p4-projects mailing list