4.104.115
Last change
on this file since 609e0582 was
609e0582,
checked in by Joel Sherrill <joel.sherrill@…>, on 09/26/09 at 15:51:32
|
2009-09-26 Joel Sherrill <joel.sherrill@…>
- psxfatal_support/init.c, psxfatal_support/system.h: Eliminate use of
deprecated rtems_extension.
|
-
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 | * $Id$ |
---|
14 | */ |
---|
15 | |
---|
16 | /* |
---|
17 | * Some of the fatal error cases require the ability to peek inside RTEMS |
---|
18 | */ |
---|
19 | #define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ |
---|
20 | #include <rtems.h> |
---|
21 | #include <tmacros.h> |
---|
22 | |
---|
23 | /* functions */ |
---|
24 | |
---|
25 | void *POSIX_Init( |
---|
26 | void *argument |
---|
27 | ); |
---|
28 | |
---|
29 | void Fatal_extension( |
---|
30 | uint32_t source, |
---|
31 | bool is_internal, |
---|
32 | uint32_t error |
---|
33 | ); |
---|
34 | |
---|
35 | /* need prototypes */ |
---|
36 | |
---|
37 | #include "testcase.h" |
---|
38 | |
---|
39 | /* configuration information */ |
---|
40 | |
---|
41 | extern rtems_extensions_table initial_extensions; |
---|
42 | |
---|
43 | #define CONFIGURE_INITIAL_EXTENSIONS \ |
---|
44 | { \ |
---|
45 | NULL, /* create */ \ |
---|
46 | NULL, /* start */ \ |
---|
47 | NULL, /* restart */ \ |
---|
48 | NULL, /* delete */ \ |
---|
49 | NULL, /* switch */ \ |
---|
50 | NULL, /* begin */ \ |
---|
51 | NULL, /* exitted */ \ |
---|
52 | Fatal_extension /* fatal */ \ |
---|
53 | } |
---|
54 | |
---|
55 | /* extra parameters may be in testcase.h */ |
---|
56 | #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER |
---|
57 | #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER |
---|
58 | |
---|
59 | /* always need an Init task, some cases need more tasks */ |
---|
60 | #ifndef SPFATAL_TEST_CASE_EXTRA_THREADS |
---|
61 | #define SPFATAL_TEST_CASE_EXTRA_THREADS 0 |
---|
62 | #endif |
---|
63 | #define CONFIGURE_MAXIMUM_POSIX_THREADS \ |
---|
64 | (SPFATAL_TEST_CASE_EXTRA_THREADS + 1) |
---|
65 | |
---|
66 | #define CONFIGURE_POSIX_INIT_THREAD_TABLE |
---|
67 | |
---|
68 | #include <rtems/confdefs.h> |
---|
69 | |
---|
70 | /* global variables */ |
---|
71 | |
---|
72 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.