source: rtems/testsuites/psxtests/psxmsgq02/system.h @ 9a4eca5

5
Last change on this file since 9a4eca5 was 698c2e50, checked in by Sebastian Huber <sebastian.huber@…>, on 03/25/14 at 07:06:16

tests/psxtests: Use <rtems/test.h>

  • 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/* functions */
15
16#include <pmacros.h>
17#include <unistd.h>
18#include <errno.h>
19#include <sched.h>
20#include <tmacros.h>
21
22void *POSIX_Init(
23  void *argument
24);
25
26/* configuration information */
27
28#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
29#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
30
31#define CONFIGURE_POSIX_INIT_THREAD_TABLE
32
33#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
34
35#define CONFIGURE_MAXIMUM_POSIX_THREADS         5
36#define CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES 10
37
38#define CONFIGURE_POSIX_INIT_THREAD_TABLE
39#define CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE \
40        (RTEMS_MINIMUM_STACK_SIZE * 10)
41
42#include <rtems/confdefs.h>
43
44/* global variables */
45
46TEST_EXTERN pthread_t        Init_id;
47TEST_EXTERN pthread_t        Task_id;
48
49#define MSGSIZE   9
50#define MAXMSG    4
51
52/* end of include file */
Note: See TracBrowser for help on using the repository browser.