Loading...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 | SECTION_DATA_PROLOGUE(initlevel, (OPTIONAL),) { DEVICE_INIT_SECTIONS() } GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION) /* verify we don't have rogue .init_<something> initlevel sections */ SECTION_DATA_PROLOGUE(initlevel_error, (OPTIONAL), ) { DEVICE_INIT_UNDEFINED_SECTION() } ASSERT(SIZEOF(initlevel_error) == 0, "Undefined initialization levels used.") SECTION_DATA_PROLOGUE(initshell, (OPTIONAL),) { SHELL_INIT_SECTIONS() } GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION) SECTION_DATA_PROLOGUE(_static_thread_area, (OPTIONAL),) { _static_thread_data_list_start = .; KEEP(*(SORT_BY_NAME("._static_thread_data.static.*"))) _static_thread_data_list_end = .; } GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION) SECTION_DATA_PROLOGUE(_k_timer_area, (OPTIONAL),) { _k_timer_list_start = .; KEEP(*(SORT_BY_NAME("._k_timer.static.*"))) _k_timer_list_end = .; } GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION) SECTION_DATA_PROLOGUE(_k_mem_slab_area, (OPTIONAL),) { _k_mem_slab_list_start = .; KEEP(*(SORT_BY_NAME("._k_mem_slab.static.*"))) _k_mem_slab_list_end = .; } GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION) SECTION_DATA_PROLOGUE(_k_mem_pool_area, (OPTIONAL),) { KEEP(*(SORT_BY_NAME("._k_memory_pool.struct*"))) _k_mem_pool_list_start = .; KEEP(*(SORT_BY_NAME("._k_mem_pool.static.*"))) _k_mem_pool_list_end = .; } GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION) SECTION_DATA_PROLOGUE(_k_sem_area, (OPTIONAL),) { _k_sem_list_start = .; KEEP(*(SORT_BY_NAME("._k_sem.static.*"))) _k_sem_list_end = .; } GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION) SECTION_DATA_PROLOGUE(_k_mutex_area, (OPTIONAL),) { _k_mutex_list_start = .; KEEP(*(SORT_BY_NAME("._k_mutex.static.*"))) _k_mutex_list_end = .; } GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION) SECTION_DATA_PROLOGUE(_k_alert_area, (OPTIONAL),) { _k_alert_list_start = .; KEEP(*(SORT_BY_NAME("._k_alert.static.*"))) _k_alert_list_end = .; } GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION) SECTION_DATA_PROLOGUE(_k_fifo_area, (OPTIONAL),) { _k_fifo_list_start = .; KEEP(*(SORT_BY_NAME("._k_fifo.static.*"))) _k_fifo_list_end = .; } GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION) SECTION_DATA_PROLOGUE(_k_lifo_area, (OPTIONAL),) { _k_lifo_list_start = .; KEEP(*(SORT_BY_NAME("._k_lifo.static.*"))) _k_lifo_list_end = .; } GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION) SECTION_DATA_PROLOGUE(_k_stack_area, (OPTIONAL),) { _k_stack_list_start = .; KEEP(*(SORT_BY_NAME("._k_stack.static.*"))) _k_stack_list_end = .; } GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION) SECTION_DATA_PROLOGUE(_k_msgq_area, (OPTIONAL),) { _k_msgq_list_start = .; KEEP(*(SORT_BY_NAME("._k_msgq.static.*"))) _k_msgq_list_end = .; } GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION) SECTION_DATA_PROLOGUE(_k_mbox_area, (OPTIONAL),) { _k_mbox_list_start = .; KEEP(*(SORT_BY_NAME("._k_mbox.static.*"))) _k_mbox_list_end = .; } GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION) SECTION_DATA_PROLOGUE(_k_pipe_area, (OPTIONAL),) { _k_pipe_list_start = .; KEEP(*(SORT_BY_NAME("._k_pipe.static.*"))) _k_pipe_list_end = .; } GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION) SECTION_DATA_PROLOGUE(_k_task_list, (OPTIONAL),) { _k_task_list_start = .; *(._k_task_list.public.*) *(._k_task_list.private.*) _k_task_list_idle_start = .; *(._k_task_list.idle.*) KEEP(*(SORT_BY_NAME("._k_task_list*"))) _k_task_list_end = .; } GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION) SECTION_DATA_PROLOGUE(_k_task_ptr, (OPTIONAL),) { _k_task_ptr_start = .; *(._k_task_ptr.public.*) *(._k_task_ptr.private.*) *(._k_task_ptr.idle.*) KEEP(*(SORT_BY_NAME("._k_task_ptr*"))) _k_task_ptr_end = .; } GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION) SECTION_DATA_PROLOGUE(_k_pipe_ptr, (OPTIONAL),) { _k_pipe_ptr_start = .; *(._k_pipe_ptr.public.*) *(._k_pipe_ptr.private.*) KEEP(*(SORT_BY_NAME("._k_pipe_ptr*"))) _k_pipe_ptr_end = .; } GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION) SECTION_DATA_PROLOGUE(_k_mem_map_ptr, (OPTIONAL),) { _k_mem_map_ptr_start = .; *(._k_mem_map_ptr.public.*) *(._k_mem_map_ptr.private.*) KEEP(*(SORT_BY_NAME("._k_mem_map_ptr*"))) _k_mem_map_ptr_end = .; } GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION) SECTION_DATA_PROLOGUE(_k_event_list, (OPTIONAL),) { _k_event_list_start = .; *(._k_event_list.event.*) KEEP(*(SORT_BY_NAME("._k_event_list*"))) _k_event_list_end = .; } GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION) SECTION_DATA_PROLOGUE(_k_memory_pool, (OPTIONAL),) { *(._k_memory_pool.struct*) KEEP(*(SORT_BY_NAME("._k_memory_pool.struct*"))) _k_mem_pool_start = .; *(._k_memory_pool.*) KEEP(*(SORT_BY_NAME("._k_memory_pool*"))) _k_mem_pool_end = .; } GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION) |