Switch to new kernel config files.
[bertos.git] / bertos / mware / event.h
index ab8afe039e0f05febe706ce95bf52d0bc99e7744..74a467937ae802b1cffdadf5eac0ce67ad2c93de 100644 (file)
 #define KERN_EVENT_H
 
 #include <cfg/compiler.h>
-#include "cfg/cfg_kern.h"
+#include "cfg/cfg_proc.h"
+#include "cfg/cfg_signal.h"
 
-#if CONFIG_KERNEL
+#if CONFIG_KERN
        #if defined(CONFIG_KERN_SIGNALS) && CONFIG_KERN_SIGNALS
                #include <kern/signal.h>
        #endif
@@ -109,10 +110,6 @@ INLINE Event event_createSoftint(Hook func, void *user_data)
        return e;
 }
 
-// OBSOLETE names
-#define event_createSoftInt event_createSoftint
-#define event_initSoftInt event_initSoftint
-
 #if defined(CONFIG_KERN_SIGNALS) && CONFIG_KERN_SIGNALS
 
 /** Initialize the event \a e with a signal (send signal \a s to process \a p) */