Ignore:
Timestamp:
May 10, 2017, 5:04:01 PM (7 years ago)
Author:
alain
Message:

mprove the HAL for interrupt, exception, syscall handling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/libk/barrier.h

    r14 r16  
    3838typedef struct barrier_s
    3939{
    40     volatile uint32_t   current;            // number of arrived threads
    41     volatile uint32_t   sense;              // barrier state (toggle)
    42     uint32_t            pad[(CONFIG_CACHE_LINE_SIZE>>2)-2];
     40    uint32_t   current;            // number of arrived threads
     41    uint32_t   sense;              // barrier state (toggle)
     42    uint32_t   pad[(CONFIG_CACHE_LINE_SIZE>>2)-2];
    4343}
    4444barrier_t;
Note: See TracChangeset for help on using the changeset viewer.