Ignore:
Timestamp:
Feb 14, 2015, 5:12:16 PM (10 years ago)
Author:
alain
Message:

Remove vobj object from mapping_info.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_common/utils.c

    r498 r514  
    620620}
    621621//////////////////////////////////////////////////////////
    622 mapping_vobj_t * _get_vobj_base(mapping_header_t * header)
    623 {
    624     return (mapping_vobj_t *) ((char *) header +
    625             MAPPING_HEADER_SIZE +
    626             MAPPING_CLUSTER_SIZE * X_SIZE * Y_SIZE +
    627             MAPPING_PSEG_SIZE * header->psegs +
    628             MAPPING_VSPACE_SIZE * header->vspaces +
    629             MAPPING_VSEG_SIZE * header->vsegs );
    630 }
    631 //////////////////////////////////////////////////////////
    632622mapping_task_t * _get_task_base(mapping_header_t * header)
    633623{
     
    637627            MAPPING_PSEG_SIZE * header->psegs +
    638628            MAPPING_VSPACE_SIZE * header->vspaces +
    639             MAPPING_VOBJ_SIZE * header->vobjs +
    640629            MAPPING_VSEG_SIZE * header->vsegs);
    641630}
     
    649638            MAPPING_VSPACE_SIZE * header->vspaces +
    650639            MAPPING_VSEG_SIZE * header->vsegs +
    651             MAPPING_VOBJ_SIZE * header->vobjs +
    652640            MAPPING_TASK_SIZE * header->tasks);
    653641}
     
    661649            MAPPING_VSPACE_SIZE * header->vspaces +
    662650            MAPPING_VSEG_SIZE * header->vsegs +
    663             MAPPING_VOBJ_SIZE * header->vobjs +
    664651            MAPPING_TASK_SIZE * header->tasks +
    665652            MAPPING_PROC_SIZE * header->procs);
     
    673660            MAPPING_PSEG_SIZE * header->psegs +
    674661            MAPPING_VSPACE_SIZE * header->vspaces +
    675             MAPPING_VOBJ_SIZE * header->vobjs +
    676662            MAPPING_VSEG_SIZE * header->vsegs +
    677663            MAPPING_TASK_SIZE * header->tasks +
     
    687673            MAPPING_PSEG_SIZE * header->psegs +
    688674            MAPPING_VSPACE_SIZE * header->vspaces +
    689             MAPPING_VOBJ_SIZE * header->vobjs +
    690675            MAPPING_VSEG_SIZE * header->vsegs +
    691676            MAPPING_TASK_SIZE * header->tasks +
     
    702687            MAPPING_PSEG_SIZE * header->psegs +
    703688            MAPPING_VSPACE_SIZE * header->vspaces +
    704             MAPPING_VOBJ_SIZE * header->vobjs +
    705689            MAPPING_VSEG_SIZE * header->vsegs +
    706690            MAPPING_TASK_SIZE * header->tasks +
Note: See TracChangeset for help on using the changeset viewer.