Initial (nonworking) draft of preemptive task switching
[bertos.git] / bertos / cfg / os.h
index c29bd59ea5df387b8ca6cc9a96c2ad872d26b6d9..41a1ef7a7be9ce6fd58e9cb435ffd123c2ce76ba 100644 (file)
 
        // FIXME: Maybe disable Win32 exceptions?
        typedef int cpuflags_t;
-       #define IRQ_DISABLE                /* FIXME */
-       #define IRQ_ENABLE                 /* FIXME */
-       #define IRQ_SAVE_DISABLE(old_sigs) /* FIXME */
-       #define IRQ_RESTORE(old_sigs)      /* FIXME */
+       #define IRQ_DISABLE                FIXME
+       #define IRQ_ENABLE                 FIXME
+       #define IRQ_SAVE_DISABLE(old_sigs) FIXME
+       #define IRQ_RESTORE(old_sigs)      FIXME
 
 #else
        #define OS_WIN32  0
        #define OS_DARWIN 0
 #endif
 
+
+#include <cfg/cfg_arch.h> /* For ARCH_QT */
+
 /*
  * We want Qt and other frameworks to look like OSes because you would
  * tipically want their portable abstractions if you're using one of these.