Changeset 274


Ignore:
Timestamp:
Jan 21, 2014, 7:16:30 PM (11 years ago)
Author:
cfuguet
Message:

Bugfix on kernel_init file:

  • The size of the schedulers vector was incorrect. It must be computed using the X_WIDTH and Y_WIDTH parameters instead of the X_SIZE and Y_SIZE parameters.

This is because this vector is indexed by the global processor
index

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_kernel/kernel_init.c

    r271 r274  
    6161
    6262__attribute__((section (".kdata")))
    63 static_scheduler_t* _schedulers[X_SIZE*Y_SIZE * NB_PROCS_MAX];   // virtual addresses
     63static_scheduler_t* _schedulers[NB_PROCS_MAX<<(X_WIDTH+Y_WIDTH)];   // virtual addresses
    6464
    6565////////////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.