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:
parent
e6ee652ab3
commit
0e2b4f14fc
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user