source: rtems/cpukit/libmisc/stackchk/stackchk.h @ 7ac4ae9

4.104.114.84.95
Last change on this file since 7ac4ae9 was 7ac4ae9, checked in by Joel Sherrill <joel.sherrill@…>, on 09/13/06 at 16:22:24

2006-09-13 Joel Sherrill <joel@…>

  • libmisc/stackchk/check.c, libmisc/stackchk/internal.h, libmisc/stackchk/stackchk.h: Move stack to first class citizen status. Include it in User Manual and rename to start with rtems_.
  • Property mode set to 100644
File size: 1.8 KB
RevLine 
[ac7d5ef0]1/*  stackchk.h
2 *
3 *  This include file contains information necessary to utilize
4 *  and install the stack checker mechanism.
5 *
[7ac4ae9]6 *  COPYRIGHT (c) 1989-2006.
[ac7d5ef0]7 *  On-Line Applications Research Corporation (OAR).
8 *
[98e4ebf5]9 *  The license and distribution terms for this file may be
10 *  found in the file LICENSE in this distribution or at
[3160ff6]11 *  http://www.rtems.com/license/LICENSE.
[ac7d5ef0]12 *
13 *  $Id$
14 */
15
[7ac4ae9]16#ifndef __RTEMS_STACK_CHECKER_h
17#define __RTEMS_STACK_CHECKER_h
[ac7d5ef0]18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23/*
[7ac4ae9]24 *  rtems_stack_checker_initialize
[ac7d5ef0]25 */
26
[7ac4ae9]27void rtems_stack_checker_initialize( void );
[ac7d5ef0]28
29/*
[7ac4ae9]30 *  rtems_stack_checker_Dump_usage
[ac7d5ef0]31 */
32
[7ac4ae9]33void rtems_stack_checker_dump_usage( void );
[ac7d5ef0]34
[71f4beb]35/*
[7ac4ae9]36 *  rtems_stack_checker_create_extension
[71f4beb]37 */
38
[7ac4ae9]39boolean rtems_stack_checker_create_extension(
[71f4beb]40  Thread_Control *running,
41  Thread_Control *the_thread
42);
43
44/*
[7ac4ae9]45 *  rtems_stack_checker_begin_extension
[71f4beb]46 */
47
[7ac4ae9]48void rtems_stack_checker_begin_extension(
[71f4beb]49  Thread_Control *the_thread
50);
51
52/*
[7ac4ae9]53 *  rtems_stack_checker_switch_extension
[71f4beb]54 */
55
[7ac4ae9]56void rtems_stack_checker_switch_extension(
[71f4beb]57  Thread_Control *running,
58  Thread_Control *heir
59);
60
61/*
62 *  Extension set definition
63 */
64
[7ac4ae9]65#define RTEMS_STACK_CHECKER_EXTENSION \
[71f4beb]66{ \
[7ac4ae9]67  rtems_stack_checker_create_extension,        /* rtems_task_create  */ \
68  0,                                           /* rtems_task_start   */ \
69  0,                                           /* rtems_task_restart */ \
70  0,                                           /* rtems_task_delete  */ \
71  rtems_stack_checker_switch_extension,        /* task_switch  */ \
72  rtems_stack_checker_begin_extension,         /* task_begin   */ \
73  0,                                           /* task_exitted */ \
74  0 /* rtems_stack_checker_fatal_extension */, /* fatal        */ \
[71f4beb]75}
76
[ac7d5ef0]77#ifdef __cplusplus
78}
79#endif
80
81#endif
82/* end of include file */
Note: See TracBrowser for help on using the repository browser.