source: rtems/testsuites/psxtests/psxfatal_support/system.h @ ae75429

4.115
Last change on this file since ae75429 was ae75429, checked in by Sebastian Huber <sebastian.huber@…>, on Aug 6, 2013 at 2:10:26 PM

PR766: Delete RTEMS_VIOLATE_KERNEL_VISIBILITY

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