Changeset 794 for soft


Ignore:
Timestamp:
Feb 17, 2016, 5:13:33 PM (8 years ago)
Author:
alain
Message:

Modify the pmem_alloc_init() function to reserve TWO BPPs
for the boot-loader segments instead of ONE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_common/pmem.c

    r752 r794  
    4747    p->max_sppi = 0;
    4848
    49     // first page reserved in cluster [0][0]
    50     if ( (x==0) && (y==0) ) p->nxt_bppi = p->nxt_bppi + 1;
     49    // The two first BPPs in cluster[0][0] are reserved
     50    // for the segments used by the boot-loader
     51    if ( (x==0) && (y==0) ) p->nxt_bppi = p->nxt_bppi + 2;
    5152
    5253} // end pmem_alloc_init()
Note: See TracChangeset for help on using the changeset viewer.