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/boot/boot_init.c

    r207 r210  
    795795    }
    796796
    797     // set the next_base field in vseg
    798     if ( vseg->ident == 0 )
    799         pseg->next_base = vseg->pbase + vseg->length;
    800797
    801798#if BOOT_DEBUG_PT
     
    809806boot_puts("\n");
    810807#endif 
     808
     809    // set the next_base field in vseg
     810    if ( vseg->ident == 0 && pseg->type != PSEG_TYPE_PERI )
     811        pseg->next_base = vseg->pbase + vseg->length;
    811812
    812813} // end boot_vseg_map()
Note: See TracChangeset for help on using the changeset viewer.