URL
https://opencores.org/ocsvn/rio/rio/trunk
[/] [rio/] [trunk/] [sw/] [stack/] [rioconfig.h] - Blame information for rev 49
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
20 |
magro732 |
/*******************************************************************************
|
2 |
|
|
*
|
3 |
|
|
* RapidIO IP Library Core
|
4 |
|
|
*
|
5 |
|
|
* This file is part of the RapidIO IP library project
|
6 |
|
|
* http://www.opencores.org/cores/rio/
|
7 |
|
|
*
|
8 |
|
|
* Description:
|
9 |
|
|
* This file contains the implementation dependent information needed to build
|
10 |
|
|
* the riostack. Replace declarations and definitions in this file to customize
|
11 |
|
|
* for your own compiler environment.
|
12 |
|
|
*
|
13 |
49 |
magro732 |
* No copyright for this file since it has to be changed.
|
14 |
|
|
*
|
15 |
20 |
magro732 |
* To Do:
|
16 |
|
|
* -
|
17 |
|
|
*
|
18 |
|
|
* Author(s):
|
19 |
|
|
* - Magnus Rosenius, magro732@opencores.org
|
20 |
|
|
*
|
21 |
|
|
*******************************************************************************/
|
22 |
|
|
|
23 |
|
|
#ifndef __RIO_CONFIG
|
24 |
|
|
#define __RIO_CONFIG
|
25 |
|
|
|
26 |
|
|
/*******************************************************************************
|
27 |
|
|
* Includes
|
28 |
|
|
*******************************************************************************/
|
29 |
|
|
|
30 |
|
|
#include <stdint.h>
|
31 |
|
|
|
32 |
|
|
/*******************************************************************************
|
33 |
|
|
* Global typedefs
|
34 |
|
|
*******************************************************************************/
|
35 |
|
|
|
36 |
|
|
#ifndef ASSERT
|
37 |
|
|
#ifdef MODULE_TEST
|
38 |
|
|
#include <stdio.h>
|
39 |
|
|
#define ASSERT(c, s) (c)?:fprintf(stderr, s)
|
40 |
|
|
#endif
|
41 |
|
|
#endif
|
42 |
|
|
|
43 |
|
|
#ifndef ASSERT0
|
44 |
|
|
#ifdef MODULE_TEST
|
45 |
|
|
#include <stdio.h>
|
46 |
|
|
#define ASSERT0(s) fprintf(stderr, s)
|
47 |
|
|
#endif
|
48 |
|
|
#endif
|
49 |
|
|
|
50 |
|
|
#ifndef DEBUG_OUT
|
51 |
49 |
magro732 |
#define DEBUG_OUT(...) fprintf(stderr, __VA_ARGS__)
|
52 |
20 |
magro732 |
#endif
|
53 |
|
|
|
54 |
|
|
/*******************************************************************************
|
55 |
|
|
* Global declarations
|
56 |
|
|
*******************************************************************************/
|
57 |
|
|
|
58 |
|
|
/*******************************************************************************
|
59 |
|
|
* Global function prototypes
|
60 |
|
|
*******************************************************************************/
|
61 |
|
|
|
62 |
|
|
#endif // __RIO_CONFIG
|
63 |
|
|
|
64 |
|
|
/*************************** end of file **************************************/
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.