- Timestamp:
- Jul 23, 2012, 1:03:29 PM (12 years ago)
- Location:
- soft/giet_vm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/libs/mwmr_channel.h
r178 r179 22 22 unsigned int width; // number of word in an item 23 23 unsigned int lock; // exclusive access lock 24 unsigned int data[1 018]; // circular buffer24 unsigned int data[1]; // circular buffer 25 25 } mwmr_channel_t; 26 26 -
soft/giet_vm/sys/kernel_init.c
r175 r179 307 307 mwmr->ptr = 0; 308 308 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 310 310 mwmr->width = vobj[vobj_id].init; 311 311 mwmr->lock = 0;
Note: See TracChangeset
for help on using the changeset viewer.