source: rtems/testsuites/tmtests/tm24/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: 1.9 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
37rtems_task Init(
38  rtems_task_argument argument
39);
40
[4b374f36]41#include <timesys.h>
[3a4ae6c]42
43/* configuration information */
[8f71a36]44
[c4b8b147]45#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER
[df49c60]46#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
[3a4ae6c]47
[e0f75b1]48#define CONFIGURE_MAXIMUM_TASKS              (2 + OPERATION_COUNT)
[8f71a36]49
[a96a713]50#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
51
[0eef698f]52#include <rtems/confdefs.h>
[3a4ae6c]53
54/* end of include file */
Note: See TracBrowser for help on using the repository browser.