00001 00013 #ifndef _KE_ENV_H_ 00014 #define _KE_ENV_H_ 00015 00026 /* 00027 * INCLUDE FILES 00028 **************************************************************************************** 00029 */ 00030 // for target dependent directives 00031 #include "rwnx_config.h" 00032 #include "ke_config.h" 00033 // for queues 00034 #include "co_list.h" 00035 00036 /* 00037 * DEFINES 00038 **************************************************************************************** 00039 */ 00040 // forward declaration 00041 struct mblock_free; 00042 00044 typedef uint32_t evt_field_t; 00045 00047 struct ke_env_tag 00048 { 00050 volatile evt_field_t evt_field; 00051 00053 struct co_list queue_sent; 00055 struct co_list queue_saved; 00057 struct co_list queue_timer; 00058 00059 #if KE_MEM_NX 00061 struct mblock_free * mblock_first; 00062 00063 #if KE_PROFILING 00064 uint32_t max_heap_used; 00065 #endif //KE_PROFILING 00066 #endif //KE_MEM_NX 00067 00068 }; 00069 00071 extern struct ke_env_tag ke_env; 00072 00074 00075 #endif // _KE_ENV_H_
1.6.1