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:
Joel Sherrill
2009-07-21 19:27:44 +00:00
parent 99fbb6080c
commit 90e6d39f8e
3 changed files with 12 additions and 13 deletions
+5
View File
@@ -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
View File
@@ -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
)
{
+1 -1
View File
@@ -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
);