Last change
on this file since 449 was
449,
checked in by alain, 10 years ago
|
Introducing the CMA_RX, CMA_TX, NIC_RX, NIC_TX slots in the task context.
This allows an user task to have a private NIC channel and a private CMA channel.
|
File size:
922 bytes
|
Rev | Line | |
---|
[446] | 1 | /////////////////////////////////////////////////////////////////////////////////// |
---|
| 2 | // File : kernel_utils.h |
---|
| 3 | // Date : 01/11/2014 |
---|
| 4 | // Author : alain greiner |
---|
| 5 | // Copyright (c) UPMC-LIP6 |
---|
| 6 | /////////////////////////////////////////////////////////////////////////////////// |
---|
| 7 | // The kernel_utils.c and kernel_utils.h files are part of the GIET-VM nano-kernel. |
---|
| 8 | /////////////////////////////////////////////////////////////////////////////////// |
---|
| 9 | |
---|
| 10 | #ifndef _KERNEL_UTILS_H |
---|
| 11 | #define _KERNEL_UTILS_H |
---|
| 12 | |
---|
| 13 | ///////////////////////////////////////// |
---|
| 14 | extern void _printf( char* format, ... ); |
---|
| 15 | |
---|
[449] | 16 | /////////////////////////////////////////////////////////// |
---|
| 17 | extern unsigned int _atomic_increment( unsigned int* ptr ); |
---|
| 18 | |
---|
[446] | 19 | #endif |
---|
| 20 | |
---|
| 21 | // Local Variables: |
---|
| 22 | // tab-width: 4 |
---|
| 23 | // c-basic-offset: 4 |
---|
| 24 | // c-file-offsets:((innamespace . 0)(inline-open . 0)) |
---|
| 25 | // indent-tabs-mode: nil |
---|
| 26 | // End: |
---|
| 27 | // vim: filetype=c:expandtab:shiftwidth=4:tabstop=4:softtabstop=4 |
---|
| 28 | |
---|
Note: See
TracBrowser
for help on using the repository browser.