39 #include "inc/hw_nvic.h" 40 #include "inc/hw_types.h" 48 static void NmiSR(
void);
57 extern int main(
void);
72 void (* const g_pfnVectors[])(
void) =
74 (void (*)(void))((uint32_t)&
_estack),
233 void (* const g_pfnVectors[])(
void) =
235 (void (*)(void))((uint32_t)&
_estack),
374 extern uint32_t
_data;
376 extern uint32_t
_bss;
377 extern uint32_t
_ebss;
396 uint32_t *pui32Src, *pui32Dest;
403 for(pui32Dest = &_data; pui32Dest < &
_edata; )
405 *pui32Dest++ = *pui32Src++;
411 __asm(
" ldr r0, =_bss\n" 418 " strlt r2, [r0], #4\n" 428 HWREG(NVIC_CPAC) = ((HWREG(NVIC_CPAC) &
429 ~(NVIC_CPAC_CP10_M | NVIC_CPAC_CP11_M)) |
430 NVIC_CPAC_CP10_FULL | NVIC_CPAC_CP11_FULL);
436 for (i = 0; i < cnt; i++)
437 __preinit_array_start[i]();
439 for (i = 0; i < cnt; i++)
440 __init_array_start[i]();
static void IntDefaultHandler(void)
static void FaultISR(void)
void(* __preinit_array_start[])(void)
void(* __init_array_start[])(void)
void(* __init_array_end[])(void)
void(* __preinit_array_end[])(void)
tf::tfVector4 __attribute__