5
Last change
on this file since 6bc63df1 was
6bc63df1,
checked in by Sebastian Huber <sebastian.huber@…>, on 05/12/17 at 07:53:35
|
confdefs.h: Add SMP enabled field to configuration
Do not use the processor count to determine if SMP is enabled. Instead
use a dedicated configuration option. Enable SMP by default in SMP
configurations.
Add CONFIGURE_DISABLE_SMP_CONFIGURATION to all test which would fail
otherwise.
Update #3001.
|
-
Property mode set to
100644
|
File size:
896 bytes
|
Line | |
---|
1 | /* |
---|
2 | * COPYRIGHT (c) 1989-2011. |
---|
3 | * On-Line Applications Research Corporation (OAR). |
---|
4 | * |
---|
5 | * The license and distribution terms for this file may be |
---|
6 | * found in the file LICENSE in this distribution or at |
---|
7 | * http://www.rtems.org/license/LICENSE. |
---|
8 | */ |
---|
9 | |
---|
10 | #include <tmacros.h> |
---|
11 | |
---|
12 | /* functions */ |
---|
13 | |
---|
14 | rtems_task Init( |
---|
15 | rtems_task_argument argument |
---|
16 | ); |
---|
17 | |
---|
18 | rtems_task Task_1_through_3( |
---|
19 | rtems_task_argument argument |
---|
20 | ); |
---|
21 | |
---|
22 | /* configuration information */ |
---|
23 | |
---|
24 | #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER |
---|
25 | #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER |
---|
26 | |
---|
27 | #define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION |
---|
28 | |
---|
29 | #define CONFIGURE_RTEMS_INIT_TASKS_TABLE |
---|
30 | |
---|
31 | #define CONFIGURE_EXTRA_TASK_STACKS (4 * RTEMS_MINIMUM_STACK_SIZE) |
---|
32 | #define CONFIGURE_MAXIMUM_TASKS 4 |
---|
33 | |
---|
34 | #define CONFIGURE_DISABLE_SMP_CONFIGURATION |
---|
35 | |
---|
36 | #include <rtems/confdefs.h> |
---|
37 | |
---|
38 | /* global variables */ |
---|
39 | |
---|
40 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.