forked from Imagelibrary/rtems
44 lines
1.1 KiB
C
44 lines
1.1 KiB
C
/*
|
|
* Copyright 2011, Alin Rus <alin.codejunkie@gmail.com>
|
|
*
|
|
* The license and distribution terms for this file may be
|
|
* found in the file LICENSE in this distribution or at
|
|
* http://www.rtems.org/license/LICENSE.
|
|
*
|
|
*/
|
|
|
|
/* functions */
|
|
|
|
#include <pmacros.h>
|
|
#include <pthread.h>
|
|
#include <errno.h>
|
|
#include <sched.h>
|
|
|
|
void *POSIX_Init (void *argument);
|
|
|
|
/* configuration information */
|
|
|
|
#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER
|
|
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
|
|
|
|
#define CONFIGURE_MAXIMUM_TASKS 10
|
|
#define CONFIGURE_MAXIMUM_SEMAPHORES 10
|
|
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 10
|
|
#define CONFIGURE_MAXIMUM_FILE_DESCRIPTORS 10
|
|
|
|
#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
|
|
|
|
#define CONFIGURE_MAXIMUM_POSIX_THREADS 10
|
|
#define CONFIGURE_MAXIMUM_POSIX_KEYS 10
|
|
|
|
#define CONFIGURE_POSIX_INIT_THREAD_TABLE
|
|
#define CONFIGURE_EXTRA_TASK_STACKS (5 * RTEMS_MINIMUM_STACK_SIZE)
|
|
#define CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE (5 * RTEMS_MINIMUM_STACK_SIZE)
|
|
|
|
#include <rtems/confdefs.h>
|
|
|
|
/* global variables */
|
|
TEST_EXTERN pthread_t Init_id;
|
|
|
|
/* end of include file */
|