00001
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef _RTEMS_DEBUG_H
00021 #define _RTEMS_DEBUG_H
00022
00023 #ifdef __cplusplus
00024 extern "C" {
00025 #endif
00026
00030 typedef uint32_t rtems_debug_control;
00031
00032
00033
00034
00035
00037 #define RTEMS_DEBUG_ALL_MASK 0xffffffff
00038
00040 #define RTEMS_DEBUG_REGION 0x00000001
00041
00045 SCORE_EXTERN rtems_debug_control _Debug_Level;
00046
00050 void _Debug_Manager_initialization( void );
00051
00055 void rtems_debug_enable (
00056 rtems_debug_control to_be_enabled
00057 );
00058
00062 void rtems_debug_disable (
00063 rtems_debug_control to_be_disabled
00064 );
00065
00070 boolean _Debug_Is_enabled(
00071 rtems_debug_control level
00072 );
00073
00074 #ifdef __cplusplus
00075 }
00076 #endif
00077
00078 #endif
00079