source: rtems/testsuites/smptests/smp04/system.h @ e049eea

4.115
Last change on this file since e049eea was e049eea, checked in by Joel Sherrill <joel.sherrill@…>, on 06/28/11 at 21:08:48

2011-06-28 Joel Sherrill <joel.sherrill@…>

  • .configure.ac.swp, ChangeLog?, Makefile.am, README, config.h.in, configure.ac, smp01/.cvsignore, smp01/Makefile.am, smp01/init.c, smp01/smp01.doc, smp01/smp01.scn, smp01/system.h, smp01/tasks.c, smp02/.cvsignore, smp02/Makefile.am, smp02/init.c, smp02/smp02.doc, smp02/smp02.scn, smp02/system.h, smp02/tasks.c, smp03/.cvsignore, smp03/Makefile.am, smp03/init.c, smp03/smp03.doc, smp03/smp03.scn, smp03/system.h, smp03/tasks.c, smp04/.cvsignore, smp04/Makefile.am, smp04/init.c, smp04/smp04.doc, smp04/smp04.scn, smp04/system.h, smp04/tasks.c, smp05/.cvsignore, smp05/Makefile.am, smp05/init.c, smp05/smp05.doc, smp05/smp05.scn, smp06/.cvsignore, smp06/Makefile.am, smp06/init.c, smp06/smp06.doc, smp06/smp06.scn, smp07/.cvsignore, smp07/Makefile.am, smp07/init.c, smp07/smp07.doc, smp07/smp07.scn, smp08/.cvsignore, smp08/Makefile.am, smp08/init.c, smp08/smp08.doc, smp08/smp08.scn, smp08/system.h, smp08/tasks.c, smp09/.cvsignore, smp09/Makefile.am, smp09/init.c, smp09/smp09.doc, smp09/smp09.scn: New files.
  • Property mode set to 100644
File size: 1.5 KB
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.com/license/LICENSE.
8 *
9 *  $Id$
10 */
11
12#include "tmacros.h"
13#include "test_support.h"
14
15/* functions */
16
17rtems_task Init(
18  rtems_task_argument argument
19);
20
21rtems_task Test_task(
22  rtems_task_argument argument
23);
24
25/* configuration information */
26
27#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
28#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
29
30#define CONFIGURE_SMP_APPLICATION
31#define CONFIGURE_SMP_MAXIMUM_PROCESSORS   4
32
33#define CONFIGURE_MAXIMUM_TASKS            \
34    (1 + CONFIGURE_SMP_MAXIMUM_PROCESSORS)
35
36#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
37#define CONFIGURE_INIT_TASK_STACK_SIZE \
38    (3 * CONFIGURE_MINIMUM_TASK_STACK_SIZE)
39
40#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
41
42#define CONFIGURE_INIT_TASK_PRIORITY        5
43#define CONFIGURE_INIT_TASK_INITIAL_MODES   RTEMS_NO_PREEMPT
44
45#define CONFIGURE_MAXIMUM_SEMAPHORES          1
46
47#include <rtems/confdefs.h>
48
49
50/* global variables */
51
52/*
53 *  Keep the names and IDs in global variables so another task can use them.
54 */
55void Loop(void);
56void PrintTaskInfo(
57  const char *task_name
58);
59
60TEST_EXTERN volatile bool TaskRan[ CONFIGURE_SMP_MAXIMUM_PROCESSORS ];
61
62/*
63 *  Handy macros and static inline functions
64 */
65
66/*
67 *  Macro to hide the ugliness of printing the time.
68 */
69
70/* end of include file */
Note: See TracBrowser for help on using the repository browser.