Ignore:
Timestamp:
Jul 18, 2015, 2:48:16 PM (9 years ago)
Author:
alain
Message:

Add the "ltid" field in the mapping_task_t structure,
To support the giet_kill_application() and giet_exec_application() system calls.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_xml/xml_driver.c

    r567 r627  
    136136    mapping_vseg_t * vseg;
    137137    mapping_task_t * task;
    138     mapping_proc_t * proc;
    139138    mapping_irq_t * irq;   
    140139    mapping_periph_t * periph;
     
    169168            MAPPING_VSPACE_SIZE * header->vspaces +
    170169            MAPPING_VSEG_SIZE * header->vsegs);
    171 
    172     // computes the base address for procs array
    173     proc = (mapping_proc_t *) ((char *) header +
    174             MAPPING_HEADER_SIZE +
    175             MAPPING_CLUSTER_SIZE * header->x_size * header->y_size +
    176             MAPPING_PSEG_SIZE * header->psegs +
    177             MAPPING_VSPACE_SIZE * header->vspaces +
    178             MAPPING_VSEG_SIZE * header->vsegs +
    179             MAPPING_TASK_SIZE * header->tasks);
    180170
    181171    // computes the base address for irqs array
     
    261251            fprintf(fpout, " psegname=\"%s\"", pseg[periph[periph_id].psegid].name);
    262252            fprintf(fpout, " channels=\"%d\"",  periph[periph_id].channels);
    263             fprintf(fpout, " arg0=\"%d\" >\n",  periph[periph_id].arg0);
    264             fprintf(fpout, " arg1=\"%d\" >\n",  periph[periph_id].arg1);
    265             fprintf(fpout, " arg2=\"%d\" >\n",  periph[periph_id].arg2);
     253            fprintf(fpout, " arg0=\"%d\"",  periph[periph_id].arg0);
     254            fprintf(fpout, " arg1=\"%d\"",  periph[periph_id].arg1);
     255            fprintf(fpout, " arg2=\"%d\"",  periph[periph_id].arg2);
    266256            fprintf(fpout, " arg3=\"%d\" >\n",  periph[periph_id].arg3);
    267257            if ( (periph[periph_id].type == PERIPH_TYPE_PIC) ||
Note: See TracChangeset for help on using the changeset viewer.