|
Last change
on this file since 249 was
228,
checked in by meunier, 13 years ago
|
|
Added support for memspaces and const.
Added an interrupt masking to the "giet_context_switch" syscall
Corrected two bugs in boot/boot_init.c (one minor and one regarding barriers initialization)
Reformatted the code in all files.
|
|
File size:
700 bytes
|
| Rev | Line | |
|---|
| [160] | 1 | /* |
|---|
| 2 | * This file is part of DSX, development environment for static |
|---|
| 3 | * SoC applications. |
|---|
| 4 | * |
|---|
| 5 | * This file is distributed under the terms of the GNU General Public |
|---|
| 6 | * License. |
|---|
| 7 | * |
|---|
| 8 | * Laboratoire d'informatique de Paris 6 / ASIM, France |
|---|
| 9 | * |
|---|
| 10 | * $Id$ |
|---|
| 11 | */ |
|---|
| 12 | |
|---|
| 13 | #ifndef SRL_BARRIER_H_ |
|---|
| 14 | #define SRL_BARRIER_H_ |
|---|
| 15 | |
|---|
| 16 | /** |
|---|
| 17 | * @file |
|---|
| 18 | * @module{SRL} |
|---|
| 19 | * @short Barrier operations |
|---|
| 20 | */ |
|---|
| 21 | |
|---|
| [178] | 22 | #include "barrier.h" |
|---|
| [160] | 23 | |
|---|
| 24 | |
|---|
| [228] | 25 | typedef giet_barrier_t * srl_barrier_t; |
|---|
| [160] | 26 | |
|---|
| [178] | 27 | #define srl_barrier_wait(bar) barrier_wait(bar) |
|---|
| [160] | 28 | |
|---|
| 29 | #endif |
|---|
| [228] | 30 | |
|---|
| 31 | |
|---|
| 32 | // Local Variables: |
|---|
| 33 | // tab-width: 4 |
|---|
| 34 | // c-basic-offset: 4 |
|---|
| 35 | // c-file-offsets:((innamespace . 0)(inline-open . 0)) |
|---|
| 36 | // indent-tabs-mode: nil |
|---|
| 37 | // End: |
|---|
| 38 | // vim: filetype=c:expandtab:shiftwidth=4:tabstop=4:softtabstop=4 |
|---|
| 39 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.