mbed library sources

Dependents:   frdm_kl05z_gpio_test

Fork of mbed-src by mbed official

Committer:
bogdanm
Date:
Mon Aug 05 14:12:34 2013 +0300
Revision:
13:0645d8841f51
Parent:
vendor/NXP/LPC11U24/cmsis/GCC_CS/startup_LPC11xx.s@10:3bc89ef62ce7
Update mbed sources to revision 64

Who changed what in which revision?

UserRevisionLine numberNew contents of line
emilmont 10:3bc89ef62ce7 1 .equ Stack_Size, 0x80
emilmont 10:3bc89ef62ce7 2 .section ".stack", "w"
emilmont 10:3bc89ef62ce7 3 .align 3
emilmont 10:3bc89ef62ce7 4 .globl __cs3_stack_mem
emilmont 10:3bc89ef62ce7 5 .globl __cs3_stack_size
emilmont 10:3bc89ef62ce7 6 __cs3_stack_mem:
emilmont 10:3bc89ef62ce7 7 .if Stack_Size
emilmont 10:3bc89ef62ce7 8 .space Stack_Size
emilmont 10:3bc89ef62ce7 9 .endif
emilmont 10:3bc89ef62ce7 10 .size __cs3_stack_mem, . - __cs3_stack_mem
emilmont 10:3bc89ef62ce7 11 .set __cs3_stack_size, . - __cs3_stack_mem
emilmont 10:3bc89ef62ce7 12
emilmont 10:3bc89ef62ce7 13 .equ Heap_Size, 0x80
emilmont 10:3bc89ef62ce7 14 .section ".heap", "w"
emilmont 10:3bc89ef62ce7 15 .align 3
emilmont 10:3bc89ef62ce7 16 .globl __cs3_heap_start
emilmont 10:3bc89ef62ce7 17 .globl __cs3_heap_end
emilmont 10:3bc89ef62ce7 18 __cs3_heap_start:
emilmont 10:3bc89ef62ce7 19 .if Heap_Size
emilmont 10:3bc89ef62ce7 20 .space Heap_Size
emilmont 10:3bc89ef62ce7 21 .endif
emilmont 10:3bc89ef62ce7 22 __cs3_heap_end:
emilmont 10:3bc89ef62ce7 23
emilmont 10:3bc89ef62ce7 24 .section ".cs3.interrupt_vector"
emilmont 10:3bc89ef62ce7 25 .globl __cs3_interrupt_vector_cortex_m
emilmont 10:3bc89ef62ce7 26 .type __cs3_interrupt_vector_cortex_m, %object
emilmont 10:3bc89ef62ce7 27
emilmont 10:3bc89ef62ce7 28 __cs3_interrupt_vector_cortex_m:
emilmont 10:3bc89ef62ce7 29 .long __cs3_stack
emilmont 10:3bc89ef62ce7 30 .long __cs3_reset
emilmont 10:3bc89ef62ce7 31 .long NMI_Handler
emilmont 10:3bc89ef62ce7 32 .long HardFault_Handler
emilmont 10:3bc89ef62ce7 33 .long 0
emilmont 10:3bc89ef62ce7 34 .long 0
emilmont 10:3bc89ef62ce7 35 .long 0
emilmont 10:3bc89ef62ce7 36 .long 0
emilmont 10:3bc89ef62ce7 37 .long 0
emilmont 10:3bc89ef62ce7 38 .long 0
emilmont 10:3bc89ef62ce7 39 .long 0
emilmont 10:3bc89ef62ce7 40 .long SVC_Handler
emilmont 10:3bc89ef62ce7 41 .long 0
emilmont 10:3bc89ef62ce7 42 .long 0
emilmont 10:3bc89ef62ce7 43 .long PendSV_Handler
emilmont 10:3bc89ef62ce7 44 .long SysTick_Handler
emilmont 10:3bc89ef62ce7 45
emilmont 10:3bc89ef62ce7 46 .long DEF_IRQHandler
emilmont 10:3bc89ef62ce7 47
emilmont 10:3bc89ef62ce7 48 .size __cs3_interrupt_vector_cortex_m, . - __cs3_interrupt_vector_cortex_m
emilmont 10:3bc89ef62ce7 49
emilmont 10:3bc89ef62ce7 50 .thumb
emilmont 10:3bc89ef62ce7 51
emilmont 10:3bc89ef62ce7 52 .section .cs3.reset,"x",%progbits
emilmont 10:3bc89ef62ce7 53 .thumb_func
emilmont 10:3bc89ef62ce7 54 .globl __cs3_reset_cortex_m
emilmont 10:3bc89ef62ce7 55 .type __cs3_reset_cortex_m, %function
emilmont 10:3bc89ef62ce7 56 __cs3_reset_cortex_m:
emilmont 10:3bc89ef62ce7 57 .fnstart
emilmont 10:3bc89ef62ce7 58 LDR R0, =SystemInit
emilmont 10:3bc89ef62ce7 59 BLX R0
emilmont 10:3bc89ef62ce7 60 LDR R0,=__cs3_start_c
emilmont 10:3bc89ef62ce7 61 BX R0
emilmont 10:3bc89ef62ce7 62 .pool
emilmont 10:3bc89ef62ce7 63 .cantunwind
emilmont 10:3bc89ef62ce7 64 .fnend
emilmont 10:3bc89ef62ce7 65 .size __cs3_reset_cortex_m,.-__cs3_reset_cortex_m
emilmont 10:3bc89ef62ce7 66
emilmont 10:3bc89ef62ce7 67 .section ".text"
emilmont 10:3bc89ef62ce7 68
emilmont 10:3bc89ef62ce7 69 .weak NMI_Handler
emilmont 10:3bc89ef62ce7 70 .type NMI_Handler, %function
emilmont 10:3bc89ef62ce7 71 NMI_Handler:
emilmont 10:3bc89ef62ce7 72 B .
emilmont 10:3bc89ef62ce7 73 .size NMI_Handler, . - NMI_Handler
emilmont 10:3bc89ef62ce7 74
emilmont 10:3bc89ef62ce7 75 .weak HardFault_Handler
emilmont 10:3bc89ef62ce7 76 .type HardFault_Handler, %function
emilmont 10:3bc89ef62ce7 77 HardFault_Handler:
emilmont 10:3bc89ef62ce7 78 B .
emilmont 10:3bc89ef62ce7 79 .size HardFault_Handler, . - HardFault_Handler
emilmont 10:3bc89ef62ce7 80
emilmont 10:3bc89ef62ce7 81 .weak SVC_Handler
emilmont 10:3bc89ef62ce7 82 .type SVC_Handler, %function
emilmont 10:3bc89ef62ce7 83 SVC_Handler:
emilmont 10:3bc89ef62ce7 84 B .
emilmont 10:3bc89ef62ce7 85 .size SVC_Handler, . - SVC_Handler
emilmont 10:3bc89ef62ce7 86
emilmont 10:3bc89ef62ce7 87 .weak PendSV_Handler
emilmont 10:3bc89ef62ce7 88 .type PendSV_Handler, %function
emilmont 10:3bc89ef62ce7 89 PendSV_Handler:
emilmont 10:3bc89ef62ce7 90 B .
emilmont 10:3bc89ef62ce7 91 .size PendSV_Handler, . - PendSV_Handler
emilmont 10:3bc89ef62ce7 92
emilmont 10:3bc89ef62ce7 93 .weak SysTick_Handler
emilmont 10:3bc89ef62ce7 94 .type SysTick_Handler, %function
emilmont 10:3bc89ef62ce7 95 SysTick_Handler:
emilmont 10:3bc89ef62ce7 96 B .
emilmont 10:3bc89ef62ce7 97 .size SysTick_Handler, . - SysTick_Handler
emilmont 10:3bc89ef62ce7 98
emilmont 10:3bc89ef62ce7 99 .globl Default_Handler
emilmont 10:3bc89ef62ce7 100 .type Default_Handler, %function
emilmont 10:3bc89ef62ce7 101 Default_Handler:
emilmont 10:3bc89ef62ce7 102 B .
emilmont 10:3bc89ef62ce7 103 .size Default_Handler, . - Default_Handler
emilmont 10:3bc89ef62ce7 104
emilmont 10:3bc89ef62ce7 105 .macro IRQ handler
emilmont 10:3bc89ef62ce7 106 .weak \handler
emilmont 10:3bc89ef62ce7 107 .set \handler, Default_Handler
emilmont 10:3bc89ef62ce7 108 .endm
emilmont 10:3bc89ef62ce7 109
emilmont 10:3bc89ef62ce7 110 IRQ DEF_IRQHandler
emilmont 10:3bc89ef62ce7 111
emilmont 10:3bc89ef62ce7 112 .end