5
Last change
on this file since 6fadb7af was
6fadb7af,
checked in by Sebastian Huber <sebastian.huber@…>, on 03/08/18 at 05:33:24
|
config: Use new scheduler configuration defines
Update #3325.
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | /* |
---|
2 | * Copyright (c) 2017 embedded brains GmbH. All rights reserved. |
---|
3 | * |
---|
4 | * embedded brains GmbH |
---|
5 | * Dornierstr. 4 |
---|
6 | * 82178 Puchheim |
---|
7 | * Germany |
---|
8 | * <rtems@embedded-brains.de> |
---|
9 | * |
---|
10 | * The license and distribution terms for this file may be |
---|
11 | * found in the file LICENSE in this distribution or at |
---|
12 | * http://www.rtems.org/license/LICENSE. |
---|
13 | */ |
---|
14 | |
---|
15 | #ifdef HAVE_CONFIG_H |
---|
16 | #include "config.h" |
---|
17 | #endif |
---|
18 | |
---|
19 | #include <rtems.h> |
---|
20 | #include <rtems/test.h> |
---|
21 | |
---|
22 | void Init(rtems_task_argument arg); |
---|
23 | |
---|
24 | const char rtems_test_name[] = "SMPSCHEDULER 7"; |
---|
25 | |
---|
26 | #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER |
---|
27 | #define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER |
---|
28 | |
---|
29 | #define CONFIGURE_MAXIMUM_PROCESSORS 1 |
---|
30 | |
---|
31 | #define CONFIGURE_SCHEDULER_EDF_SMP |
---|
32 | |
---|
33 | #include <rtems/scheduler.h> |
---|
34 | |
---|
35 | RTEMS_SCHEDULER_EDF_SMP(a, CONFIGURE_MAXIMUM_PROCESSORS); |
---|
36 | |
---|
37 | #define CONFIGURE_SCHEDULER_TABLE_ENTRIES \ |
---|
38 | RTEMS_SCHEDULER_TABLE_EDF_SMP( a, rtems_build_name('T', 'E', 'S', 'T')) |
---|
39 | |
---|
40 | #define CONFIGURE_SCHEDULER_ASSIGNMENTS \ |
---|
41 | RTEMS_SCHEDULER_ASSIGN(0, RTEMS_SCHEDULER_ASSIGN_PROCESSOR_MANDATORY) |
---|
42 | |
---|
43 | #define CONFIGURE_MAXIMUM_TASKS 3 |
---|
44 | |
---|
45 | #define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION |
---|
46 | |
---|
47 | #define CONFIGURE_RTEMS_INIT_TASKS_TABLE |
---|
48 | |
---|
49 | #define CONFIGURE_INIT |
---|
50 | |
---|
51 | #include <rtems/confdefs.h> |
---|
Note: See
TracBrowser
for help on using the repository browser.