comparison nuc-fw/sysglue/sysinit.S @ 132:2c5160a9d652

nuc-fw: switched from nucdemo to Riviera, got some serial output
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 02 Nov 2013 01:48:11 +0000
parents 321f6a9ae989
children
comparison
equal deleted inserted replaced
131:035672b72f9b 132:2c5160a9d652
12 b . 12 b .
13 b . 13 b .
14 b . 14 b .
15 /* IRQ */ 15 /* IRQ */
16 b _INT_IRQ 16 b _INT_IRQ
17 /* no useful FIQ handler yet */ 17 /* FIQ */
18 b . 18 b _INT_FIQ
19 19
20 .section xip.text,"ax",%progbits 20 .section xip.text,"ax",%progbits
21 .code 32 21 .code 32
22 .globl _FlashorXram_entry 22 .globl _FlashorXram_entry
23 _FlashorXram_entry: 23 _FlashorXram_entry:
37 ldr r0, =__extbss_start 37 ldr r0, =__extbss_start
38 ldr r1, =__extbss_size 38 ldr r1, =__extbss_size
39 bl bzero 39 bl bzero
40 /* we can start Nucleus now! */ 40 /* we can start Nucleus now! */
41 b INT_Initialize 41 b INT_Initialize
42
43 /*
44 * riviera/support/exception.c references exit()
45 * The following kludge will allow us to pass the link for the time being
46 * until we can find a better solution, such as hooking into DAR maybe.
47 */
48
49 .globl exit
50 exit:
51 b .