POK
|
00001 /* 00002 * POK header 00003 * 00004 * The following file is a part of the POK project. Any modification should 00005 * made according to the POK licence. You CANNOT use this file or a part of 00006 * this file is this part of a file for your own project 00007 * 00008 * For more information on the POK licence, please see our LICENCE FILE 00009 * 00010 * Please follow the coding guidelines described in doc/CODING_GUIDELINES 00011 * 00012 * Copyright (c) 2007-2009 POK team 00013 * 00014 * Created by julien on Thu Jan 15 23:34:13 2009 00015 */ 00016 00017 #include <errno.h> 00018 00019 #ifdef POK_NEEDS_BLACKBOARDS 00020 #include <middleware/blackboard.h> 00021 pok_ret_t pok_blackboard_init (void); 00022 #endif 00023 00024 #ifdef POK_NEEDS_BUFFERS 00025 #include <middleware/buffer.h> 00026 pok_ret_t pok_buffer_init (void); 00027 #endif 00028 00029 int main(); 00030 00031 int __pok_partition_start () 00032 { 00033 #ifdef POK_NEEDS_MIDDLEWARE 00034 00035 #ifdef POK_NEEDS_BLACKBOARDS 00036 pok_blackboard_init (); 00037 #endif 00038 00039 #ifdef POK_NEEDS_BUFFERS 00040 pok_buffer_init (); 00041 #endif 00042 00043 #endif /* POK_NEEDS_MIDDLEWARE */ 00044 main(); /* main loop from user */ 00045 return (0); 00046 }