Ignore:
Timestamp:
Jun 19, 2014, 1:31:45 PM (10 years ago)
Author:
alain
Message:

Cosmetic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_drivers/icu_driver.c

    r320 r333  
    1515////////////////////////////////////////////////////////////////////////////////
    1616// The virtual base address of the segment associated to the component is:
    17 //      SEG_ICU_BASE + cluster_xy * VSEG_CLUSTER_INCREMENT
     17//      SEG_ICU_BASE + cluster_xy * PERI_CLUSTER_INCREMENT
    1818//
    19 // SEG_ICU_BASE and VSEG_CLUSTER_INCREMENT must be defined in hard_config.h
     19// SEG_ICU_BASE and PERI_CLUSTER_INCREMENT must be defined in hard_config.h
    2020////////////////////////////////////////////////////////////////////////////////
    2121
     
    5353#endif
    5454
    55 #if !defined(VSEG_CLUSTER_INCREMENT)
    56 # error: You must define VSEG_CLUSTER_INCREMENT in the hard_config.h file
     55#if !defined(PERI_CLUSTER_INCREMENT)
     56# error: You must define PERI_CLUSTER_INCREMENT in the hard_config.h file
    5757#endif
    5858
     
    8080#else
    8181    unsigned int * icu_address = (unsigned int *) ( SEG_ICU_BASE +
    82                                  (cluster_xy * VSEG_CLUSTER_INCREMENT) );
     82                                 (cluster_xy * PERI_CLUSTER_INCREMENT) );
    8383    icu_address[proc_id * ICU_SPAN + ICU_MASK_SET] = value;
    8484    return 0;
     
    108108#else
    109109    unsigned int * icu_address = (unsigned int *) ( SEG_ICU_BASE +
    110                                  (cluster_xy * VSEG_CLUSTER_INCREMENT) );
     110                                 (cluster_xy * PERI_CLUSTER_INCREMENT) );
    111111    *buffer = icu_address[proc_id * ICU_SPAN + ICU_IT_VECTOR];
    112112    return 0;
Note: See TracChangeset for help on using the changeset viewer.