Changes between Version 1 and Version 2 of kernel_miscelaneous


Ignore:
Timestamp:
Jan 16, 2015, 4:59:22 PM (10 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • kernel_miscelaneous

    v1 v2  
    2828the '''buf_vbase''' and '''buf_size''' arguments.
    2929
     30=== void '''_get_sbt_footprint'''( unsigned int* width,  unsigned int* heigth,  unsigned int* levels ) ===
     31This function computes the footprint of the smallest SBT (Sliced Binary tree) covering
     32all clusters containing processors in a platform. The SBT footprint is defined by the '''width''' and '''heigth''' parameters, with the following constraints:
     33 * cluster[0][0] is always covered by the SBT
     34 * the number of clusters in a row (width) is always power of 2
     35 * the number of xlusters in a column (heigth) is always power of 2
     36 * (width = heigth) OR (width = 2 * heigth)
     37The width/heigth parameters can be larger than the X_SIZE/Y_SIZE parameters, when X_SIZE or Y_SIZE are not power of 2. The width/heigth parameters can be smaller than the X_SIZE/Y_SIZE parameters, when the upper row, or the right column of clusters does not contain processors.
     38