source: rtems/cpukit/sapi/src/debug.c @ 8486081

4.104.114.84.95
Last change on this file since 8486081 was 8486081, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/16/04 at 11:54:29

Remove stray white spaces.

  • Property mode set to 100644
File size: 900 bytes
Line 
1/*
2 *  Debug Manager
3 *
4 *  COPYRIGHT (c) 1989-1999.
5 *  On-Line Applications Research Corporation (OAR).
6 *
7 *  The license and distribution terms for this file may be
8 *  found in the file LICENSE in this distribution or at
9 *  http://www.rtems.com/license/LICENSE.
10 *
11 *  $Id$
12 */
13
14#include <rtems/system.h>
15#include <rtems/debug.h>
16
17/*PAGE
18 *
19 *  _Debug_Manager_initialization
20 */
21
22void _Debug_Manager_initialization( void )
23{
24  rtems_debug_disable( RTEMS_DEBUG_ALL_MASK );
25}
26
27/*PAGE
28 *
29 *  rtems_debug_enable
30 */
31
32void rtems_debug_enable (
33  rtems_debug_control  to_be_enabled
34)
35{
36  _Debug_Level |= to_be_enabled;
37}
38
39/*PAGE
40 *
41 *  rtems_debug_disable
42 */
43
44void rtems_debug_disable (
45  rtems_debug_control  to_be_disabled
46)
47{
48  _Debug_Level &= ~to_be_disabled;
49}
50
51/*PAGE
52 *
53 *  _Debug_Is_enabled
54 */
55
56boolean _Debug_Is_enabled(
57  rtems_debug_control  level
58)
59{
60  return (_Debug_Level & level);
61}
Note: See TracBrowser for help on using the repository browser.