source: rtems/testsuites/tmtests/tm09/system.h

Last change on this file was d62f299, checked in by Sebastian Huber <sebastian.huber@…>, on 03/20/24 at 07:12:38

Do not define CONFIGURE_TICKS_PER_TIMESLICE to 0

Unconditionally make a CONFIGURE_TICKS_PER_TIMESLICE value less than or equal
to zero an error.

Update #4986.

  • Property mode set to 100644
File size: 2.2 KB
RevLine 
[b331f40]1/* SPDX-License-Identifier: BSD-2-Clause */
2
[ac7d5ef0]3/*  system.h
4 *
5 *  This include file is used by all tests in the Time Suite.
6 *
[08311cc3]7 *  COPYRIGHT (c) 1989-1999.
[ac7d5ef0]8 *  On-Line Applications Research Corporation (OAR).
9 *
[b331f40]10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions
12 * are met:
13 * 1. Redistributions of source code must retain the above copyright
14 *    notice, this list of conditions and the following disclaimer.
15 * 2. Redistributions in binary form must reproduce the above copyright
16 *    notice, this list of conditions and the following disclaimer in the
17 *    documentation and/or other materials provided with the distribution.
18 *
19 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
23 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29 * POSSIBILITY OF SUCH DAMAGE.
[ac7d5ef0]30 */
31
32
[4b374f36]33#include <tmacros.h>
[ac7d5ef0]34
[3a4ae6c]35/* functions */
36
[8a335038]37#define MESSAGE_SIZE (sizeof(long) * 4)
38
[3a4ae6c]39rtems_task Init(
40  rtems_task_argument argument
41);
42
[4b374f36]43#include <timesys.h>
[3a4ae6c]44
[371f32f4]45rtems_id   Task_id[ OPERATION_COUNT+1 ];   /* array of task ids */
46
[3a4ae6c]47/* configuration information */
[8f71a36]48
[c4b8b147]49#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER
[df49c60]50#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
[3a4ae6c]51
[df49c60]52#define CONFIGURE_MAXIMUM_TASKS              2
[3a4ae6c]53#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES     1
[8a335038]54#define CONFIGURE_MESSAGE_BUFFER_MEMORY \
55  CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE(OPERATION_COUNT, MESSAGE_SIZE)
[8f71a36]56
[a96a713]57#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
58
[9a993ed5]59#define CONFIGURE_EXTRA_TASK_STACKS         (1 * RTEMS_MINIMUM_STACK_SIZE)
60
[0eef698f]61#include <rtems/confdefs.h>
[3a4ae6c]62
63/* end of include file */
Note: See TracBrowser for help on using the repository browser.