comparison src/gpf2/osl/os_tim_ir.c @ 502:b4dd8c7e84ce

OSL: os_tim_ir.c compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 24 Jun 2018 23:58:05 +0000
parents 91e8dac34ada
children
comparison
equal deleted inserted replaced
501:c4117b996197 502:b4dd8c7e84ce
6 * The original decompilation has been contributed by Das Signal. 6 * The original decompilation has been contributed by Das Signal.
7 */ 7 */
8 8
9 /* set of included headers from COFF symtab: */ 9 /* set of included headers from COFF symtab: */
10 #include <stdio.h> 10 #include <stdio.h>
11 #include "gpfconf.h" /* FreeCalypso addition */ 11 #include "nucleus.h"
12 #include "../../nucleus/nucleus.h"
13 #include "typedefs.h" 12 #include "typedefs.h"
14 #include "os.h" 13 #include "os.h"
15 #include "gdi.h" 14 #include "gdi.h"
16 #include "os_types.h" 15 #include "os_types.h"
17 #include "os_glob.h" 16 #include "os_glob.h"
29 extern int volatile t_list_access; 28 extern int volatile t_list_access;
30 extern int max_used_timers; 29 extern int max_used_timers;
31 extern NU_SEMAPHORE TimSemCB; 30 extern NU_SEMAPHORE TimSemCB;
32 extern NU_TIMER os_timer_cb; 31 extern NU_TIMER os_timer_cb;
33 32
33 #ifdef __GNUC__
34 #define BARRIER asm volatile ("": : :"memory") 34 #define BARRIER asm volatile ("": : :"memory")
35 #else
36 #define BARRIER /* prayer */
37 #endif
35 38
36 void 39 void
37 timer_error(int err) 40 timer_error(int err)
38 { 41 {
39 } 42 }