Ignore:
Timestamp:
May 29, 2013, 1:24:09 AM (11 years ago)
Author:
alain
Message:

Major evolution to support physical addresses larger than 32 bits.
The map.xml format has been modified: the vsegs associated to schedulers
are now explicitely defined and mapped in the page tables.

File:
1 edited

Legend:

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

    r232 r238  
    3131        "CONST",      // Constant
    3232        "MEMSPACE",   // Memspace
     33        "SCHED",      // Scheduler
    3334    };
    3435
     
    238239            fprintf(fpout, "            <pseg name = \"%s\" ", pseg[pseg_id].name);
    239240            fprintf(fpout, " type = \"%s\" ", pseg_type[pseg[pseg_id].type]);
    240             fprintf(fpout, " base = \"0x%x\" ", pseg[pseg_id].base);
    241             fprintf(fpout, " length = \"0x%x\" />\n",   pseg[pseg_id].length);
     241            fprintf(fpout, " base = \"0x%llx\" ", pseg[pseg_id].base);
     242            fprintf(fpout, " length = \"0x%llx\" />\n",   pseg[pseg_id].length);
    242243        }
    243244
     
    366367            fprintf(fpout, "usetty = \"%d\" ", task[task_id].use_tty);
    367368            fprintf(fpout, "usenic = \"%d\" ", task[task_id].use_nic);
    368             fprintf(fpout, "usetimer = \"%d\" ", task[task_id].use_timer);
    369             fprintf(fpout, "usefbma = \"%d\" />\n", task[task_id].use_fbdma);
     369            fprintf(fpout, "usedma = \"%d\" ", task[task_id].use_dma);
     370            fprintf(fpout, "usecma = \"%d\" ", task[task_id].use_cma);
     371            fprintf(fpout, "usetim = \"%d\" ", task[task_id].use_tim);
     372            fprintf(fpout, "useioc = \"%d\" />\n", task[task_id].use_ioc);
    370373        }
    371374        fprintf(fpout, "        </vspace>\n\n");
Note: See TracChangeset for help on using the changeset viewer.