Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Feb 2005 17:16:26 GMT
From:      John-Mark Gurney <jmg@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 71477 for review
Message-ID:  <200502211716.j1LHGQoC047972@repoman.freebsd.org>

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

Change 71477 by jmg@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
  */



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