Changeset 557 for trunk/kernel/kern


Ignore:
Timestamp:
Sep 21, 2018, 10:26:00 PM (6 years ago)
Author:
nicolas.van.phan@…
Message:

Add cluster_info[][] array in cluster descriptor

Location:
trunk/kernel/kern
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/kern/cluster.c

    r530 r557  
    7575        cluster->io_cxy          = info->io_cxy;
    7676
     77    // initialize the cluster_info[][] array
     78    int x;
     79    int y;
     80    for (x = 0; x < CONFIG_MAX_CLUSTERS_X; x++) {
     81        for (y = 0; y < CONFIG_MAX_CLUSTERS_Y;y++) {
     82            cluster->cluster_info[x][y] = info->cluster_info[x][y];
     83        }
     84    }
    7785    // initialize external peripherals channels
    7886    for( i = 0 ; i < info->ext_dev_nr ; i++ )
  • trunk/kernel/kern/cluster.h

    r530 r557  
    107107    uint32_t        x_max;             // [FIXME]
    108108    uint32_t        y_max;             // [FIXME]
     109    uint32_t        cluster_info[CONFIG_MAX_CLUSTERS_X][CONFIG_MAX_CLUSTERS_Y];
    109110        cxy_t           io_cxy;            /*! io cluster identifier                          */
    110111    uint32_t        dqdt_root_level;   /*! index of root node in dqdt_tbl[]               */
Note: See TracChangeset for help on using the changeset viewer.