X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fkern%2Fsignal_test.c;h=f2a4acfc62d22fd098393fa98322b4cd24b97103;hb=e423e63cade618baf616a79b99aaab5de74ec76e;hp=ca63002b15c6c1ca4780a970a786f4c9bda6cfe2;hpb=d5403b5adfbe4ef86d77498932bbf514143bb842;p=bertos.git diff --git a/bertos/kern/signal_test.c b/bertos/kern/signal_test.c index ca63002b..f2a4acfc 100644 --- a/bertos/kern/signal_test.c +++ b/bertos/kern/signal_test.c @@ -35,9 +35,16 @@ * \version $Id$ * * \author Daniele Basile + * + * $test$: cp bertos/cfg/cfg_proc.h $cfgdir/ + * $test$: echo "#undef CONFIG_KERN" >> $cfgdir/cfg_proc.h + * $test$: echo "#define CONFIG_KERN 1" >> $cfgdir/cfg_proc.h + * $test$: cp bertos/cfg/cfg_signal.h $cfgdir/ + * $test$: echo "#undef CONFIG_KERN_SIGNALS" >> $cfgdir/cfg_signal.h + * $test$: echo "#define CONFIG_KERN_SIGNALS 1" >> $cfgdir/cfg_signal.h */ -#include +#include "cfg/cfg_timer.h" #include #include @@ -68,7 +75,8 @@ sigmask_t sig_to_slave; /* * These macros generate the code needed to create the test process functions. */ -#define PROC_TEST_SLAVE(index, signal) static void proc_test##index(void) \ +#define PROC_TEST_SLAVE(index, signal) \ +static void NORETURN proc_test##index(void) \ { \ for(;;) \ { \