mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-24 14:12:20 +08:00
2009-07-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/src/debug.c, score/include/rtems/debug.h: Rename _Debug_Is_enabled to rtems_is_debug_enabled.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2009-07-21 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* sapi/src/debug.c, score/include/rtems/debug.h: Rename
|
||||
_Debug_Is_enabled to rtems_is_debug_enabled.
|
||||
|
||||
2009-07-21 Roxana Leontie <roxana.leontie@gmail.com>
|
||||
|
||||
* libmisc/Makefile.am, libmisc/mw-fb/mw_fb.h: mw_fb.h eliminated the
|
||||
|
||||
+6
-12
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Debug Manager
|
||||
*
|
||||
* COPYRIGHT (c) 1989-1999.
|
||||
* COPYRIGHT (c) 1989-2009.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
*
|
||||
* The license and distribution terms for this file may be
|
||||
@@ -18,11 +18,10 @@
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/debug.h>
|
||||
|
||||
/*PAGE
|
||||
/*
|
||||
*
|
||||
* _Debug_Manager_initialization
|
||||
*/
|
||||
|
||||
void _Debug_Manager_initialization( void )
|
||||
{
|
||||
rtems_debug_disable( RTEMS_DEBUG_ALL_MASK );
|
||||
@@ -32,7 +31,6 @@ void _Debug_Manager_initialization( void )
|
||||
*
|
||||
* rtems_debug_enable
|
||||
*/
|
||||
|
||||
void rtems_debug_enable (
|
||||
rtems_debug_control to_be_enabled
|
||||
)
|
||||
@@ -40,11 +38,9 @@ void rtems_debug_enable (
|
||||
_Debug_Level |= to_be_enabled;
|
||||
}
|
||||
|
||||
/*PAGE
|
||||
*
|
||||
/*
|
||||
* rtems_debug_disable
|
||||
*/
|
||||
|
||||
void rtems_debug_disable (
|
||||
rtems_debug_control to_be_disabled
|
||||
)
|
||||
@@ -52,12 +48,10 @@ void rtems_debug_disable (
|
||||
_Debug_Level &= ~to_be_disabled;
|
||||
}
|
||||
|
||||
/*PAGE
|
||||
*
|
||||
* _Debug_Is_enabled
|
||||
/*
|
||||
* rtems_debug_is_enabled
|
||||
*/
|
||||
|
||||
bool _Debug_Is_enabled(
|
||||
bool rtems_debug_is_enabled(
|
||||
rtems_debug_control level
|
||||
)
|
||||
{
|
||||
|
||||
@@ -67,7 +67,7 @@ void rtems_debug_disable (
|
||||
* This routine returns TRUE if the requested debug level is
|
||||
* enabled, and FALSE otherwise.
|
||||
*/
|
||||
bool _Debug_Is_enabled(
|
||||
bool rtems_is_debug_enabled(
|
||||
rtems_debug_control level
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user