GeMRTOS
grtos.h
Go to the documentation of this file.
1 
21 /******************************************************************************
22 * *
23 * License Agreement *
24 * Copyright (c) Ricardo L. Cayssials *
25 * All rights reserved. *
26 * *
27 ******************************************************************************/
28 
29 
30 #ifndef __GRTOS_H__
31 #define __GRTOS_H__
32 
33 #include <system.h>
34 #include <stddef.h>
35 
36 #include "sys/alt_alarm.h"
37 #include "sys/alt_warning.h"
38 
39 #include "os/alt_sem.h"
40 #include "os/alt_flag.h"
41 
42 
43 
44 
45 #ifdef __cplusplus
46 extern "C"
47 {
48 #endif /* __cplusplus */
49 
50 /*
51  * If the user wants all drivers to be small rather than fast then make sure
52  * this one is marked as needing to be small.
53  */
54 #if defined ALT_USE_SMALL_DRIVERS && !defined GRTOS_SMALL
55 #define GRTOS_SMALL
56 #endif
57 
58 /*
59 * Definition of GRTOS variables
60 */
61 // void *GRTOS_BASE;
62 // void *GRTOS_MONITOR_BASE;
63 
64 /*
65  * Macros used by alt_sys_init when the ALT file descriptor facility isn't used.
66  */
67 
68 
69 #define GRTOS_INIT(name, dev)
70 
71 #define GRTOS_INSTANCE(name, grtosstate)
72 
73 #ifdef __cplusplus
74 }
75 #endif /* __cplusplus */
76 
77 #endif /* __ALT_AVALON_JTAG_UART_H__ */