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

Add cluster_info[][] array in cluster descriptor

File:
1 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++ )
Note: See TracChangeset for help on using the changeset viewer.