source: rtems/testsuites/samples/cdtest/system.h @ 9de8d61

Last change on this file since 9de8d61 was 9de8d61, checked in by Sebastian Huber <sebastian.huber@…>, on 07/17/20 at 11:36:49

libtest: <rtems/test.h> to <rtems/test-info.h>

Rename this header file to later move <t.h> to <rtems/test.h>. The main
feature provided by <rtems/test-info.h> is the output of standard test
information which is consumed by the RTEMS Tester.

Update #3199.

  • Property mode set to 100644
File size: 1.2 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-1999.
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.org/license/LICENSE.
12 */
13
14#include <rtems.h>
15#include <rtems/test-info.h>
16
17/* functions */
18
19rtems_task main_task(
20  rtems_task_argument argument
21);
22
23/* configuration information */
24
25#include <bsp.h> /* for device driver prototypes */
26
27#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER
28#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
29
30#define CONFIGURE_MAXIMUM_TASKS           1
31#define CONFIGURE_MAXIMUM_SEMAPHORES      5
32
33#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
34#define CONFIGURE_INIT_TASK_ENTRY_POINT   main_task
35#define CONFIGURE_INIT_TASK_NAME          rtems_build_name( 'C', 'T', 'O', 'R' )
36#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
37
38/* On some platforms _Unwind_RaiseException() needs a lot of stack space */
39#define CONFIGURE_INIT_TASK_STACK_SIZE (4 * RTEMS_MINIMUM_STACK_SIZE)
40
41#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
42
43#include <rtems/confdefs.h>
44
45/* end of include file */
Note: See TracBrowser for help on using the repository browser.