4.104.114.84.95
Last change
on this file since f817b02 was
f817b02,
checked in by Joel Sherrill <joel.sherrill@…>, on 11/04/99 at 18:05:09
|
The files in libcpu should not be directly dependent on any BSP. In
particular, using bsp.h, or getting information from the BSP which
should properly be obtained from RTEMS is forbidden. This is
necessary to strengthen the division between the BSP independent
parts of RTEMS and the BSPs themselves. This started after
comments and analysis by Ralf Corsepius <corsepiu@…>.
The changes primarily eliminated the need to include bsp.h and
peeking at BSP_Configuration. The use of Cpu_table in each
BSP needs to be eliminated.
|
-
Property mode set to
100644
|
File size:
834 bytes
|
Line | |
---|
1 | /* |
---|
2 | * Simple test program -- simplified version of sample test hello. |
---|
3 | * |
---|
4 | * COPYRIGHT (c) 1989-1998. |
---|
5 | * On-Line Applications Research Corporation (OAR). |
---|
6 | * Copyright assigned to U.S. Government, 1994. |
---|
7 | * |
---|
8 | * The license and distribution terms for this file may be |
---|
9 | * found in the file LICENSE in this distribution or at |
---|
10 | * http://www.OARcorp.com/rtems/license.html. |
---|
11 | * |
---|
12 | * $Id$ |
---|
13 | */ |
---|
14 | |
---|
15 | #define TEST_INIT |
---|
16 | |
---|
17 | #include <bsp.h> |
---|
18 | |
---|
19 | void test_main( void ); |
---|
20 | |
---|
21 | rtems_task Init( |
---|
22 | rtems_task_argument ignored |
---|
23 | ) |
---|
24 | { |
---|
25 | test_main(); |
---|
26 | exit( 0 ); |
---|
27 | } |
---|
28 | |
---|
29 | /* configuration information */ |
---|
30 | |
---|
31 | #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER |
---|
32 | #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER |
---|
33 | |
---|
34 | #define CONFIGURE_RTEMS_INIT_TASKS_TABLE |
---|
35 | #define CONFIGURE_INIT_TASK_STACK_SIZE (RTEMS_MINIMUM_STACK_SIZE * 2) |
---|
36 | |
---|
37 | |
---|
38 | #define CONFIGURE_INIT |
---|
39 | |
---|
40 | #include <confdefs.h> |
---|
41 | |
---|
42 | /* end of file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.