source: soft/giet_vm/libs/libsrl/srl_mwmr.h @ 255

Last change on this file since 255 was 228, checked in by meunier, 12 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: 516 bytes
Line 
1#ifndef SRL_MWMR_H_
2#define SRL_MWMR_H_
3
4#include "mwmr_channel.h"
5
6typedef  mwmr_channel_t * srl_mwmr_t;
7
8#define srl_mwmr_write(a, b, c) mwmr_write(a, (unsigned int *) b, (unsigned int) c)
9#define srl_mwmr_read(a, b, c) mwmr_read(a, (unsigned int *) b, (unsigned int) c)
10
11
12#endif //fin de SRL_MWMR_H_
13
14// Local Variables:
15// tab-width: 4
16// c-basic-offset: 4
17// c-file-offsets:((innamespace . 0)(inline-open . 0))
18// indent-tabs-mode: nil
19// End:
20// vim: filetype=c:expandtab:shiftwidth=4:tabstop=4:softtabstop=4
21
Note: See TracBrowser for help on using the repository browser.