diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2013-06-12 19:46:04 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2013-06-12 19:46:04 +0200 |
commit | 11da9d23fe323ce452fcd04a10a0ddf78eaa63ea (patch) | |
tree | 7ab4d162b2a944214bb01d498d5a0400dec031a0 /utils/imxtools/hwemul/dev/crt0.S | |
parent | 3f4eeb850e91fd026a99f2b17bd7e0837f112bb5 (diff) | |
download | rockbox-11da9d23fe323ce452fcd04a10a0ddf78eaa63ea.tar.gz rockbox-11da9d23fe323ce452fcd04a10a0ddf78eaa63ea.zip |
imxtools: move hwemul to its own directory
The hwemul is only partly imx specific: the stub is stmp specific
but could be ported to other targets, the computer side and the
protocol are mostly stmp independent (or should be).
Change-Id: If88febffe591b0de86ea11cb740455ba20ddc401
Diffstat (limited to 'utils/imxtools/hwemul/dev/crt0.S')
-rw-r--r-- | utils/imxtools/hwemul/dev/crt0.S | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/utils/imxtools/hwemul/dev/crt0.S b/utils/imxtools/hwemul/dev/crt0.S deleted file mode 100644 index e2d4742d36..0000000000 --- a/utils/imxtools/hwemul/dev/crt0.S +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | .section .text,"ax",%progbits | ||
2 | .code 32 | ||
3 | .align 0x04 | ||
4 | .global start | ||
5 | start: | ||
6 | msr cpsr_c, #0xd3 /* enter supervisor mode, disable IRQ/FIQ */ | ||
7 | ldr sp, =oc_stackend | ||
8 | /* clear bss */ | ||
9 | ldr r2, =bss_start | ||
10 | ldr r3, =bss_end | ||
11 | mov r4, #0 | ||
12 | 1: | ||
13 | cmp r3, r2 | ||
14 | strhi r4, [r2], #4 | ||
15 | bhi 1b | ||
16 | /* jump to C code */ | ||
17 | b main | ||