Changes between Initial Version and Version 1 of kernel_mapping


Ignore:
Timestamp:
Oct 9, 2014, 1:07:52 PM (10 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • kernel_mapping

    v1 v1  
     1= GIET-VM / Mapping access functions =
     2
     3[[PageOutline]]
     4
     5The [source:soft/giet_vm/giet_common/utils.c utils.c] and [source:soft/giet_vm/giet_common/utils.h util.h] files define the functions used 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.
     6
     7They are prefixed by "_" to remind that they can only be executed by a processor in kernel mode.
     8
     9
     10 === mapping_cluster_t* _get_cluster_base( mapping_header_t* header ) ===
     11Returns a pointer on the first cluster in the clusters array.
     12
     13 === mapping_cluster_t* _get_cluster_base( mapping_header_t* header ) ===
     14Returns a pointer on the first cluster in the clusters array.
     15
     16 === mapping_pseg_t* _get_pseg_base( mapping_header_t* header ) ===
     17Returns a pointer on the first pseg in the psegs array.
     18
     19 === mapping_vspace_t* _get_vspace_base( mapping_header_t* header ) ===
     20Returns a pointer on the first vspace in the vspaces array.
     21
     22 === mapping_vseg_t* _get_vseg_base( mapping_header_t* header ) ===
     23Returns a pointer on the first vseg in the vsegs array.
     24
     25 === mapping_vobj_t* _get_vobj_base( mapping_header_t* header ) ===
     26Returns a pointer on the first vobj in the vobjs array.
     27
     28 === mapping_cluster_t* _get_task_base( mapping_header_t* header ) ===
     29Returns a pointer on the first task in the tasks array.
     30
     31 === mapping_cluster_t* _get_proc_base( mapping_header_t* header ) ===
     32Returns a pointer on the first proc in the procs array.
     33
     34 === mapping_cluster_t* _get_irq_base( mapping_header_t* header ) ===
     35Returns a pointer on the first irq in the irqs array.
     36
     37 === mapping_cluster_t* _get_coproc_base( mapping_header_t* header ) ===
     38Returns a pointer on the first coproc in the coprocs array.
     39
     40 === mapping_cluster_t* _get_cp_port_base( mapping_header_t* header ) ===
     41Returns a pointer on the first cpport in the cpports array.
     42
     43 === mapping_cluster_t* _get_periph_base( mapping_header_t* header ) ===
     44Returns a pointer on the first periph in the periphs array.