Ignore:
Timestamp:
Aug 21, 2012, 9:30:46 AM (12 years ago)
Author:
karaoui
Message:

Avoid incremmentinting Pseg of "PERI" type, to permit multiple mapping.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/memo/include/pseg.h

    r163 r210  
    3434
    3535#include "stdint.h"
     36#include "mapping_info.h"
    3637
    3738
     
    4950    uintptr_t m_lma;   //Physical address to which we load the seg (getted from the associated PSeg), setted by PSeg::add/addIdent.
    5051    size_t m_length;
     52    size_t m_type;
    5153    bool m_loadable;     // wether this is a loadable vseg ( code, data...)
    5254
     
    5961    uintptr_t lma() const;
    6062    size_t length() const;
     63    size_t type() const;
    6164    //void add( VObj& vobj );//add a VObj
    6265
     
    8386    uintptr_t m_lma;
    8487    size_t m_length;
     88    size_t m_type;
    8589
    8690    uintptr_t m_pageLimit;  //The end (m_lma + m_length)  address of the segment pageSize aligned
     
    97101    uintptr_t lma() const;
    98102    size_t length() const;
     103    size_t type() const;
    99104    uintptr_t limit() const;
    100105    uintptr_t nextLma() const;
     
    132137    PSeg( const std::string &name,
    133138                     uintptr_t lma,
    134              size_t length);
     139             size_t length,
     140             size_t type);
    135141    ~PSeg();
    136142};
Note: See TracChangeset for help on using the changeset viewer.