94 /* disable interrupts */ 95 #if 0 96 AIC_CTL_REG(AIC_IDCR) = 0xffffffff; 97 #else /* MASKALL reg to 1 on ERTEC200 */ 98 *(uint32_t *)0x50000020 = 0x00000001; 0x3ff0 : mov r1, #1 ; 0x1 - 0x3ff4 : mov r3, #1342177280 ; 0x50000000 - 0x3ffc : str r1, [r3, #32] 99 #endif 100 101 /* 102 * Some versions of the bootloader have the MAC address 103 * reversed. This fixes it, if necessary. 104 */ 105 #if 0 /* gds: n/a for now and probably forever */ 106 fix_mac_addr(); 107 #endif 108 109 /* tell RTEMS about the hooks we are using */ 110 Cpu_table.pretasking_hook = bsp_pretasking_hook; - 0x3ff8 : ldr lr, [pc, #68] ; 0x4044 - 0x4018 : ldr r3, [pc, #52] ; 0x4054 - 0x4020 : str r3, [lr] 111 Cpu_table.postdriver_hook = bsp_postdriver_hook; - 0x4000 : ldr r2, [pc, #64] ; 0x4048 - 0x400c : str r2, [lr, #8] 112 113 /* Place RTEMS workspace at beginning of free memory. */ 114 BSP_Configuration.work_space_start = (void *)&_bss_free_start; - 0x3fdc : ldr r5, [pc, #84] ; 0x4038 - 0x3fec : ldr r4, [pc, #76] ; 0x4040 - 0x4024 : str r4, [r5] 115 116 free_mem_start = ((uint32_t)&_bss_free_start + - 0x3fe4 : ldr r12, [r5, #4] - 0x4004 : ldr r3, [pc, #64] ; 0x404c - 0x4008 : add r12, r12, r4 - 0x4010 : str r12, [r3] 117 BSP_Configuration.work_space_size); 118 119 free_mem_end = ((uint32_t)&_sdram_base + (uint32_t)&_sdram_size); - 0x3fd8 : ldr r3, [pc, #84] ; 0x4034 - 0x3fe0 : ldr r0, [pc, #84] ; 0x403c - 0x3fe8 : add r0, r0, r3 - 0x4014 : ldr r2, [pc, #52] ; 0x4050 - 0x401c : str r0, [r2]