Last change
on this file since 305 was
295,
checked in by alain, 11 years ago
|
Introducing a major release, to suppoort the tsar_generic_leti platform
and the various (external or internal) peripherals configurations.
The map.xml format has been modified, in order to support the new
vci_iopic componentand a new policy for peripherals initialisation.
The IRQs are nom described in the XICU and IOPIC components
(and not anymore in the processors).
To enforce this major change, the map.xml file signature changed:
The signature value must be: 0xDACE2014
This new release has been tested on the tsar_generic_leti platform
for the following mappings:
- 4c_4p_sort_leti
- 4c_4p_sort_leti_ext
- 4c_4p_transpose_leti
- 4c_4p_transpose_leti_ext
- 4c_1p_four_leti_ext
|
-
Property svn:executable set to
*
|
File size:
1.2 KB
|
Rev | Line | |
---|
[258] | 1 | ////////////////////////////////////////////////////////////////////////////////// |
---|
| 2 | // File : barrier.h |
---|
| 3 | // Date : 01/04/2012 |
---|
| 4 | // Author : alain greiner |
---|
| 5 | // Copyright (c) UPMC-LIP6 |
---|
| 6 | /////////////////////////////////////////////////////////////////////////////////// |
---|
| 7 | |
---|
| 8 | #ifndef _BARRIER_H_ |
---|
| 9 | #define _BARRIER_H_ |
---|
| 10 | |
---|
| 11 | /////////////////////////////////////////////////////////////////////////////////// |
---|
| 12 | // barrier structure |
---|
| 13 | /////////////////////////////////////////////////////////////////////////////////// |
---|
| 14 | |
---|
[295] | 15 | typedef struct giet_barrier_s |
---|
| 16 | { |
---|
[258] | 17 | char name[32]; // barrier name |
---|
| 18 | unsigned int init; // total number of participants |
---|
| 19 | unsigned int count; // number of not yet arrived tasks |
---|
| 20 | } giet_barrier_t; |
---|
| 21 | |
---|
| 22 | ////////////////////////////////////////////////////////////////////////////// |
---|
| 23 | // access functions |
---|
| 24 | ////////////////////////////////////////////////////////////////////////////// |
---|
| 25 | |
---|
[295] | 26 | void barrier_init( giet_barrier_t* barrier, |
---|
| 27 | unsigned int value ); // number of tasks |
---|
[258] | 28 | |
---|
[295] | 29 | void barrier_wait( giet_barrier_t* barrier ); |
---|
| 30 | |
---|
[258] | 31 | #endif |
---|
| 32 | |
---|
| 33 | // Local Variables: |
---|
| 34 | // tab-width: 4 |
---|
| 35 | // c-basic-offset: 4 |
---|
| 36 | // c-file-offsets:((innamespace . 0)(inline-open . 0)) |
---|
| 37 | // indent-tabs-mode: nil |
---|
| 38 | // End: |
---|
| 39 | // vim: filetype=c:expandtab:shiftwidth=4:tabstop=4:softtabstop=4 |
---|
| 40 | |
---|
Note: See
TracBrowser
for help on using the repository browser.