diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-11 19:36:52 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-11 19:36:52 +0000 |
commit | b079bdf537a27cd17e0c532849179ddaa141f07d (patch) | |
tree | a00cc0de15191bbf858d3eeb127aafd3c50b1db8 /nuttx/arch | |
parent | 72f9a62a252f20d3b292c18c53d6fbc6adcd00d1 (diff) | |
download | px4-nuttx-b079bdf537a27cd17e0c532849179ddaa141f07d.tar.gz px4-nuttx-b079bdf537a27cd17e0c532849179ddaa141f07d.tar.bz2 px4-nuttx-b079bdf537a27cd17e0c532849179ddaa141f07d.zip |
Fix showprogress macro (still ARM assembly)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1196 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch')
-rw-r--r-- | nuttx/arch/sh/src/sh1/sh1_head.S | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nuttx/arch/sh/src/sh1/sh1_head.S b/nuttx/arch/sh/src/sh1/sh1_head.S index bff313855..155723f54 100644 --- a/nuttx/arch/sh/src/sh1/sh1_head.S +++ b/nuttx/arch/sh/src/sh1/sh1_head.S @@ -161,11 +161,9 @@ .macro showprogress, code #ifdef CONFIG_DEBUG - mov r0, #\code - bl up_lowputc mov.l .Llowputc, r0 /* Address of up_earlyserialinit */ jsr @r0 /* Call it */ - or r0, r0 /* Delay slot */ + mov #\code, r4 /* Delay slot */ #endif .endm |