Ignore:
Timestamp:
Jun 29, 2014, 12:39:48 PM (10 years ago)
Author:
alain
Message:

Introducing a new attribute "local" in the mapping_vseg_t structure,
to support distributed page tables, kernel code and user code:
A "local" vseg is only mapped in the local page table
(The local page table is the page table stored in the same cluster
as the vseg itself).

File:
1 edited

Legend:

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

    r323 r349  
    960960    }
    961961
     962    ////////// get local attribute (optional : 0 if missing)
     963    value = getIntValue(reader, "local", &ok);
     964    if (ok)
     965    {
     966#if XML_PARSER_DEBUG
     967printf("      local       = %d\n", value);
     968#endif
     969        vseg[vseg_index]->local = value;
     970    } 
     971    else
     972    {
     973        vseg[vseg_index]->local = 0;
     974    }
     975
    962976    /////////// get vbase attribute
    963977    value = getIntValue(reader, "vbase", &ok);
Note: See TracChangeset for help on using the changeset viewer.