FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/sysglue/sysinit.S @ 514:e201f2130c9b
gsm-fw/sysglue/sysinit.S: enable Calypso boot ROM on entry for all targets
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Wed, 02 Jul 2014 03:46:19 +0000 |
parents | f05ae34f7ca0 |
children | 7cf154cd3891 |
comparison
equal
deleted
inserted
replaced
513:383abdbc5d35 | 514:e201f2130c9b |
---|---|
27 ldr r10, =__iramtext_size | 27 ldr r10, =__iramtext_size |
28 1: ldmia r8!, {r0-r7} | 28 1: ldmia r8!, {r0-r7} |
29 stmia r9!, {r0-r7} | 29 stmia r9!, {r0-r7} |
30 subs r10, r10, #0x20 | 30 subs r10, r10, #0x20 |
31 bhi 1b | 31 bhi 1b |
32 /* enable Calypso boot ROM for the ARM exception and IRQ/FIQ vectors */ | |
33 ldr r1, =0xFFFFFB10 | |
34 mov r2, #0x0100 | |
35 strh r2, [r1] | |
32 /* now we can call any function w/o worry as to where it lives */ | 36 /* now we can call any function w/o worry as to where it lives */ |
33 /* clear int.bss and ext.bss, using bzero() from libc */ | 37 /* clear int.bss and ext.bss, using bzero() from libc */ |
34 ldr r0, =__intbss_start | 38 ldr r0, =__intbss_start |
35 ldr r1, =__intbss_size | 39 ldr r1, =__intbss_size |
36 bl bzero | 40 bl bzero |