Fix showprogress macro (still ARM assembly)

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1196 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2008-11-11 19:36:52 +00:00
parent e6ee652ab3
commit 0e2b4f14fc

View File

@ -161,11 +161,9 @@
.macro showprogress, code .macro showprogress, code
#ifdef CONFIG_DEBUG #ifdef CONFIG_DEBUG
mov r0, #\code
bl up_lowputc
mov.l .Llowputc, r0 /* Address of up_earlyserialinit */ mov.l .Llowputc, r0 /* Address of up_earlyserialinit */
jsr @r0 /* Call it */ jsr @r0 /* Call it */
or r0, r0 /* Delay slot */ mov #\code, r4 /* Delay slot */
#endif #endif
.endm .endm