source: rtems/testsuites/psxtests/psxfatal_support/system.h @ 9b4422a2

4.115
Last change on this file since 9b4422a2 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 1.7 KB
Line 
1/*  system.h
2 *
3 *  This include file contains information that is included in every
4 *  function in the test set.
5 *
6 *  COPYRIGHT (c) 1989-2009.
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
14/*
15 *  Some of the fatal error cases require the ability to peek inside RTEMS
16 */
17#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
18#include <rtems.h>
19#include <tmacros.h>
20
21/* functions */
22
23void *POSIX_Init(
24  void *argument
25);
26
27void Fatal_extension(
28  uint32_t   source,
29  bool    is_internal,
30  uint32_t   error
31);
32
33/* need prototypes */
34
35#include "testcase.h"
36
37/* configuration information */
38
39extern rtems_extensions_table initial_extensions;
40
41#define CONFIGURE_INITIAL_EXTENSIONS \
42  { \
43    NULL,                    /* create  */ \
44    NULL,                    /* start   */ \
45    NULL,                    /* restart */ \
46    NULL,                    /* delete  */ \
47    NULL,                    /* switch  */ \
48    NULL,                    /* begin   */ \
49    NULL,                    /* exitted */ \
50    Fatal_extension          /* fatal   */ \
51  }
52
53/* extra parameters may be in testcase.h */
54#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
55#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
56
57/* always need an Init task, some cases need more tasks */
58#ifndef SPFATAL_TEST_CASE_EXTRA_THREADS
59#define SPFATAL_TEST_CASE_EXTRA_THREADS 0
60#endif
61#define CONFIGURE_MAXIMUM_POSIX_THREADS \
62  (SPFATAL_TEST_CASE_EXTRA_THREADS + 1)
63
64#define CONFIGURE_POSIX_INIT_THREAD_TABLE
65
66#include <rtems/confdefs.h>
67
68/* global variables */
69
70/* end of include file */
Note: See TracBrowser for help on using the repository browser.