]> rtime.felk.cvut.cz Git - frescor/frsh-include.git/commitdiff
Some changes to be able to compile context_switch.c.
authortelleriam <telleriam@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Fri, 19 Jan 2007 09:12:40 +0000 (09:12 +0000)
committertelleriam <telleriam@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Fri, 19 Jan 2007 09:12:40 +0000 (09:12 +0000)
Move sizes.c from test to the src directory and added a target in the
Makefile.

git-svn-id: http://www.frescor.org/private/svn/frescor/frsh/trunk/include@273 35b4ef3e-fd22-0410-ab77-dab3279adceb

frsh.h
frsh_os_compatibility.h

diff --git a/frsh.h b/frsh.h
index 442549b21a30cfd29fb9154ef8d34292cbb51df5..fdaa20dad33a9201ba463b1b4722c1d367e01626 100644 (file)
--- a/frsh.h
+++ b/frsh.h
@@ -73,6 +73,7 @@
 #include "frsh_implementation_specific_types.h"
 
 #include "frsh_core.h"
+#include "frsh_implementation_specific.h"
 
 // Configure these modules by commenting out the appropiate lines
 
index bee770bc03177dd17205bd2b86c47b080e022396..b1f2c16207191c9b518f53a8818facba5cc01c4b 100644 (file)
@@ -123,6 +123,7 @@ frsh_priority_map (unsigned long plevel)
 
 #define frsh_printf  printf
 
+extern int   stop_scheduler; /* Defined at frsh_scheduler.h */
 //#define FINALIZATION_CODE { stop_scheduler=1; eat(1.0); return 0; }
 #define FINALIZATION_CODE { stop_scheduler=1; eat_cycles(1000000); return 0; }