| | 130 | == __7) Mapping access functions |
| | 131 | |
| | 132 | These functions can be used by both the boot-loader and the kernel to extract informations from the mapping_info data structure (defined in the ''mapping_info.h'' file), that has been loaded into system memory by the boot-loader. |
| | 133 | |
| | 134 | === mapping_cluster_t* _get_cluster_base( mapping_header_t* header ) === |
| | 135 | Returns a pointer on the first cluster in the clusters array. |
| | 136 | |
| | 137 | === mapping_cluster_t* _get_cluster_base( mapping_header_t* header ) === |
| | 138 | Returns a pointer on the first cluster in the clusters array. |
| | 139 | |
| | 140 | === mapping_pseg_t* _get_pseg_base( mapping_header_t* header ) === |
| | 141 | Returns a pointer on the first pseg in the psegs array. |
| | 142 | |
| | 143 | === mapping_vspace_t* _get_vspace_base( mapping_header_t* header ) === |
| | 144 | Returns a pointer on the first vspace in the vspaces array. |
| | 145 | |
| | 146 | === mapping_vseg_t* _get_vseg_base( mapping_header_t* header ) === |
| | 147 | Returns a pointer on the first vseg in the vsegs array. |
| | 148 | |
| | 149 | === mapping_vobj_t* _get_vobj_base( mapping_header_t* header ) === |
| | 150 | Returns a pointer on the first vobj in the vobjs array. |
| | 151 | |
| | 152 | === mapping_cluster_t* _get_task_base( mapping_header_t* header ) === |
| | 153 | Returns a pointer on the first task in the tasks array. |
| | 154 | |
| | 155 | === mapping_cluster_t* _get_proc_base( mapping_header_t* header ) === |
| | 156 | Returns a pointer on the first proc in the procs array. |
| | 157 | |
| | 158 | === mapping_cluster_t* _get_irq_base( mapping_header_t* header ) === |
| | 159 | Returns a pointer on the first irq in the irqs array. |
| | 160 | |
| | 161 | === mapping_cluster_t* _get_coproc_base( mapping_header_t* header ) === |
| | 162 | Returns a pointer on the first coproc in the coprocs array. |
| | 163 | |
| | 164 | === mapping_cluster_t* _get_cp_port_base( mapping_header_t* header ) === |
| | 165 | Returns a pointer on the first cpport in the cpports array. |
| | 166 | |
| | 167 | === mapping_cluster_t* _get_periph_base( mapping_header_t* header ) === |
| | 168 | Returns a pointer on the first periph in the periphs array. |
| | 169 | |