FreeCalypso > hg > freecalypso-sw
diff target-utils/tf-breakin/payload.S @ 983:7166c8311b0d
tfc139 reworked to support both ARM and Thumb entry
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Thu, 10 Dec 2015 08:07:47 +0000 |
parents | 4e0aa166baa5 |
children |
line wrap: on
line diff
--- a/target-utils/tf-breakin/payload.S Thu Dec 10 05:35:42 2015 +0000 +++ b/target-utils/tf-breakin/payload.S Thu Dec 10 08:07:47 2015 +0000 @@ -1,5 +1,11 @@ .text .org 0 + +@ allow entry in Thumb state + .code 16 + bx pc + nop + .code 32 @ set CPSR like mot931c payload does @@ -33,5 +39,5 @@ strh r2, [r1] @ jump to it! mov pc, #0 - + .ltorg outstr: .byte 2,2,2,'O','K',2