Changeset 322 for soft/giet_vm/giet_kernel/sys_handler.c
- Timestamp:
- Jun 10, 2014, 1:28:14 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_kernel/sys_handler.c
r301 r322 20 20 #include <fat32.h> 21 21 #include <utils.h> 22 #include <hard_config.h> 22 23 #include <giet_config.h> 23 24 #include <mapping_info.h> 25 26 #if !defined(SEG_BOOT_MAPPING_BASE) 27 # error: You must define SEG_BOOT_MAPPING_BASE in the hard_config.h file 28 #endif 24 29 25 30 //////////////////////////////////////////////////////////////////////////// … … 139 144 unsigned int* buffer) 140 145 { 141 mapping_header_t * header = (mapping_header_t *) &seg_boot_mapping_base;146 mapping_header_t * header = (mapping_header_t *)SEG_BOOT_MAPPING_BASE; 142 147 mapping_cluster_t * cluster = _get_cluster_base(header); 143 148 … … 186 191 mapping_vobj_t** res_vobj ) 187 192 { 188 mapping_header_t * header = (mapping_header_t *) &seg_boot_mapping_base;193 mapping_header_t * header = (mapping_header_t *)SEG_BOOT_MAPPING_BASE; 189 194 mapping_vspace_t * vspace = _get_vspace_base(header); 190 195 mapping_vobj_t * vobj = _get_vobj_base(header); … … 215 220 216 221 ///////////////////////////////////////////////////////////////////////////// 217 // This function writes in vobj_v addrthe virtual base address of a vobj222 // This function writes in vobj_vbase the virtual base address of a vobj 218 223 // identified by the (vspace_name / vobj_name ) couple. 219 224 // returns 0 if success, >0 if not found
Note: See TracChangeset
for help on using the changeset viewer.