forked from Imagelibrary/rtems
56 lines
1.1 KiB
C
56 lines
1.1 KiB
C
/* system.h
|
|
*
|
|
* This include file is used by all tests in the Time Suite.
|
|
*
|
|
* COPYRIGHT (c) 1989-1999.
|
|
* On-Line Applications Research Corporation (OAR).
|
|
*
|
|
* 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.
|
|
*/
|
|
|
|
|
|
#include <coverhd.h>
|
|
#include <tmacros.h>
|
|
|
|
/* functions */
|
|
|
|
rtems_task Init(
|
|
rtems_task_argument argument
|
|
);
|
|
|
|
rtems_timer_service_routine Timer_handler(
|
|
rtems_id argument
|
|
);
|
|
|
|
rtems_asr Isr_handler(
|
|
rtems_signal_set signals
|
|
);
|
|
|
|
rtems_asr Asr_handler(
|
|
rtems_signal_set signals
|
|
);
|
|
|
|
extern rtems_task task_func(void);
|
|
|
|
extern void null_func(void);
|
|
|
|
extern rtems_status_code Empty_directive(void);
|
|
|
|
#include <timesys.h>
|
|
|
|
/* configuration information */
|
|
|
|
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
|
|
#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
|
|
|
|
#define CONFIGURE_MAXIMUM_TASKS 2
|
|
#define CONFIGURE_TICKS_PER_TIMESLICE 0
|
|
|
|
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
|
|
|
#include <rtems/confdefs.h>
|
|
|
|
/* end of include file */
|