source: rtems/cpukit/score/include/rtems/debug.h @ c39b35f

Last change on this file since c39b35f was c39b35f, checked in by Joel Sherrill <joel.sherrill@…>, on 09/04/03 at 18:55:06

2003-09-04 Joel Sherrill <joel@…>

  • include/rtems/bspIo.h, include/rtems/fs.h, include/rtems/userenv.h, score/include/rtems/debug.h, score/include/rtems/seterr.h, score/include/rtems/system.h, score/include/rtems/score/address.h, score/include/rtems/score/apiext.h, score/include/rtems/score/apimutex.h, score/include/rtems/score/bitfield.h, score/include/rtems/score/chain.h, score/include/rtems/score/context.h, score/include/rtems/score/copyrt.h, score/include/rtems/score/coremsg.h, score/include/rtems/score/coremutex.h, score/include/rtems/score/coresem.h, score/include/rtems/score/heap.h, score/include/rtems/score/interr.h, score/include/rtems/score/isr.h, score/include/rtems/score/mpci.h, score/include/rtems/score/mppkt.h, score/include/rtems/score/object.h, score/include/rtems/score/objectmp.h, score/include/rtems/score/priority.h, score/include/rtems/score/stack.h, score/include/rtems/score/states.h, score/include/rtems/score/sysstate.h, score/include/rtems/score/thread.h, score/include/rtems/score/threadmp.h, score/include/rtems/score/threadq.h, score/include/rtems/score/tod.h, score/include/rtems/score/tqdata.h, score/include/rtems/score/userext.h, score/include/rtems/score/watchdog.h, score/include/rtems/score/wkspace.h, score/inline/rtems/score/address.inl, score/inline/rtems/score/chain.inl, score/inline/rtems/score/coremsg.inl, score/inline/rtems/score/coremutex.inl, score/inline/rtems/score/coresem.inl, score/inline/rtems/score/heap.inl, score/inline/rtems/score/isr.inl, score/inline/rtems/score/mppkt.inl, score/inline/rtems/score/object.inl, score/inline/rtems/score/objectmp.inl, score/inline/rtems/score/priority.inl, score/inline/rtems/score/stack.inl, score/inline/rtems/score/states.inl, score/inline/rtems/score/sysstate.inl, score/inline/rtems/score/thread.inl, score/inline/rtems/score/threadmp.inl, score/inline/rtems/score/tod.inl, score/inline/rtems/score/tqdata.inl, score/inline/rtems/score/userext.inl, score/inline/rtems/score/watchdog.inl, score/inline/rtems/score/wkspace.inl, score/macros/rtems/score/address.inl, score/macros/rtems/score/chain.inl, score/macros/rtems/score/coremsg.inl, score/macros/rtems/score/coremutex.inl, score/macros/rtems/score/coresem.inl, score/macros/rtems/score/heap.inl, score/macros/rtems/score/isr.inl, score/macros/rtems/score/mppkt.inl, score/macros/rtems/score/object.inl, score/macros/rtems/score/objectmp.inl, score/macros/rtems/score/priority.inl, score/macros/rtems/score/stack.inl, score/macros/rtems/score/states.inl, score/macros/rtems/score/sysstate.inl, score/macros/rtems/score/thread.inl, score/macros/rtems/score/threadmp.inl, score/macros/rtems/score/tod.inl, score/macros/rtems/score/tqdata.inl, score/macros/rtems/score/userext.inl, score/macros/rtems/score/watchdog.inl, score/macros/rtems/score/wkspace.inl: URL for license changed.
  • Property mode set to 100644
File size: 1.7 KB
Line 
1/*  debug.h
2 *
3 *  This include file contains the information pertaining to the debug
4 *  support within RTEMS.  It is currently cast in the form of a
5 *  Manager since it is externally accessible.
6 *
7 *
8 *  COPYRIGHT (c) 1989-1999.
9 *  On-Line Applications Research Corporation (OAR).
10 *
11 *  The license and distribution terms for this file may be
12 *  found in the file LICENSE in this distribution or at
13 *  http://www.rtems.com/license/LICENSE.
14 *
15 *  $Id$
16 */
17
18#ifndef __RTEMS_DEBUG_h
19#define __RTEMS_DEBUG_h
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25/*
26 *  The following type is used to manage the debug mask.
27 */
28
29typedef unsigned32 rtems_debug_control;
30
31/*
32 *  These constants represent various classes of debugging.
33 */
34
35#define RTEMS_DEBUG_ALL_MASK 0xffffffff
36#define RTEMS_DEBUG_REGION   0x00000001
37
38/*
39 *  This variable contains the current debug level.
40 */
41
42SCORE_EXTERN rtems_debug_control _Debug_Level;
43
44/*
45 *  _Debug_Manager_initialization
46 *
47 *  DESCRIPTION:
48 *
49 *  This routine performs the initialization necessary for this manager.
50 */
51
52void _Debug_Manager_initialization( void );
53
54/*
55 *  rtems_debug_enable
56 *
57 *  DESCRIPTION:
58 *
59 *  This routine enables the specified types of debug checks.
60 */
61
62void rtems_debug_enable (
63  rtems_debug_control  to_be_enabled
64);
65
66/*
67 *  rtems_debug_disable
68 *
69 *  DESCRIPTION:
70 *
71 *  This routine disables the specified types of debug checks.
72 */
73 
74void rtems_debug_disable (
75  rtems_debug_control  to_be_disabled
76);
77 
78/*
79 *
80 *  _Debug_Is_enabled
81 *
82 *  DESCRIPTION:
83 *
84 *  This routine returns TRUE if the requested debug level is
85 *  enabled, and FALSE otherwise.
86 */
87
88boolean _Debug_Is_enabled(
89  rtems_debug_control  level
90);
91
92#ifdef __cplusplus
93}
94#endif
95
96#endif
97/* end of include file */
Note: See TracBrowser for help on using the repository browser.