source: rtems/testsuites/psxtests/psxmsgq02/system.h @ c499856

4.115
Last change on this file since c499856 was c499856, checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47

Change all references of rtems.com to rtems.org.

  • Property mode set to 100644
File size: 1.1 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_MAXIMUM_POSIX_THREADS         5
34#define CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES 10
35
36#define CONFIGURE_POSIX_INIT_THREAD_TABLE
37#define CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE \
38        (RTEMS_MINIMUM_STACK_SIZE * 10)
39
40#include <rtems/confdefs.h>
41
42/* global variables */
43
44TEST_EXTERN pthread_t        Init_id;
45TEST_EXTERN pthread_t        Task_id;
46
47#define MSGSIZE   9
48#define MAXMSG    4
49
50/* end of include file */
Note: See TracBrowser for help on using the repository browser.