Changeset 179 for soft


Ignore:
Timestamp:
Jul 23, 2012, 1:03:29 PM (12 years ago)
Author:
karaoui
Message:

reverting modification in kernel_init: mwmr depth

Location:
soft/giet_vm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/libs/mwmr_channel.h

    r178 r179  
    2222    unsigned int        width;                  // number of word in an item   
    2323    unsigned int        lock;                   // exclusive access lock
    24     unsigned int        data[1018];             // circular buffer
     24    unsigned int        data[1];                // circular buffer
    2525} mwmr_channel_t;
    2626
  • soft/giet_vm/sys/kernel_init.c

    r175 r179  
    307307                    mwmr->ptr   = 0;
    308308                    mwmr->sts   = 0;
    309                     mwmr->depth = (vobj[vobj_id].length>>2) - 5;
     309                    mwmr->depth = ((vobj[vobj_id].length>>2) - 6);//6= number of entry in the strucure
    310310                    mwmr->width = vobj[vobj_id].init;
    311311                    mwmr->lock  = 0;
Note: See TracChangeset for help on using the changeset viewer.