source: rtems/cpukit/libmisc/stackchk/stackchk.h @ 3160ff6

4.104.114.84.95
Last change on this file since 3160ff6 was 3160ff6, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 4, 2003 at 6:54:19 PM

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

  • cpuuse/cpuuse.c, cpuuse/cpuuse.h, devnull/devnull.c, devnull/devnull.h, dummy/dummy.c, dumpbuf/dumpbuf.c, dumpbuf/dumpbuf.h, fsmount/fsmount.c, fsmount/fsmount.h, serdbg/serdbgio.c, serdbg/termios_printk.c, stackchk/check.c, stackchk/internal.h, stackchk/stackchk.h, untar/untar.c, untar/untar.h: URL for license changed.
  • Property mode set to 100644
File size: 1.6 KB
Line 
1/*  stackchk.h
2 *
3 *  This include file contains information necessary to utilize
4 *  and install the stack checker mechanism.
5 *
6 *  COPYRIGHT (c) 1989-1999.
7 *  On-Line Applications Research Corporation (OAR).
8 *
9 *  The license and distribution terms for this file may be
10 *  found in the file LICENSE in this distribution or at
11 *  http://www.rtems.com/license/LICENSE.
12 *
13 *  $Id$
14 */
15
16#ifndef __STACK_CHECK_h
17#define __STACK_CHECK_h
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23/*
24 *  Stack_check_Initialize
25 */
26
27void Stack_check_Initialize( void );
28
29/*
30 *  Stack_check_Dump_usage
31 */
32
33void Stack_check_Dump_usage( void );
34
35/*
36 *  Stack_check_Create_extension
37 */
38
39boolean Stack_check_Create_extension(
40  Thread_Control *running,
41  Thread_Control *the_thread
42);
43
44/*
45 *  Stack_check_Begin_extension
46 */
47
48void Stack_check_Begin_extension(
49  Thread_Control *the_thread
50);
51
52/*
53 *  Stack_check_Switch_extension
54 */
55
56void Stack_check_Switch_extension(
57  Thread_Control *running,
58  Thread_Control *heir
59);
60
61/*
62 *  Extension set definition
63 */
64
65#define STACK_CHECKER_EXTENSION \
66{ \
67  Stack_check_Create_extension,        /* rtems_task_create  */ \
68  0,                                   /* rtems_task_start   */ \
69  0,                                   /* rtems_task_restart */ \
70  0,                                   /* rtems_task_delete  */ \
71  Stack_check_Switch_extension,        /* task_switch  */ \
72  Stack_check_Begin_extension,         /* task_begin   */ \
73  0,                                   /* task_exitted */ \
74  0 /* Stack_check_Fatal_extension */, /* fatal        */ \
75}
76
77#ifdef __cplusplus
78}
79#endif
80
81#endif
82/* end of include file */
Note: See TracBrowser for help on using the repository browser.