Changeset 210 for soft/giet_vm/memo/src/memo.cpp
- Timestamp:
- Aug 21, 2012, 9:30:46 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/memo/src/memo.cpp
r195 r210 507 507 vSO->m_ident = vseg->ident; 508 508 509 //set the lma 510 if ( vseg->ident != 0 ) // identity mapping required 511 ps->addIdent( *vSO ); 512 else 513 ps->add( *vSO ); 514 509 //should we check that we have the same type for the pseg and vobj? 510 if(ps->type() != VOBJ_TYPE_PERI)//take into acount only vseg who are not of the peri type 511 { 512 //set the lma 513 if ( vseg->ident != 0 ) // identity mapping required 514 ps->addIdent( *vSO ); 515 else 516 ps->add( *vSO ); 517 } 515 518 if(!sect) 516 519 return; … … 559 562 //build pseg 560 563 std::string name(pseg[pseg_id].name); 561 PSeg *ps = new PSeg(name, pseg[pseg_id].base, pseg[pseg_id].length );564 PSeg *ps = new PSeg(name, pseg[pseg_id].base, pseg[pseg_id].length, pseg[pseg_id].type); 562 565 563 566 #ifdef DISTRIBUTED_SCHEDULERS … … 567 570 found = 1; 568 571 } 572 if(!found){/* we could imagine a cluster without proc, let the giet choose*/ } 569 573 #endif 570 574 m_psegh.m_pSegs.push_back(*ps);
Note: See TracChangeset
for help on using the changeset viewer.