source: rtems/bsps/moxie/moxiesim/include/bsp.h

Last change on this file was 78a6372, checked in by Joel Sherrill <joel@…>, on 07/11/22 at 22:24:40

bsps/moxie/moxiesim: Change license to BSD-2

Updates #3053.

  • Property mode set to 100644
File size: 2.1 KB
Line 
1/* SPDX-License-Identifier: BSD-2-Clause */
2
3/**
4 * @file
5 *
6 * @ingroup RTEMSBSPsMoxieMoxieSim
7 *
8 * @brief Global BSP definitions.
9 */
10
11/*
12 *  This include file contains some definitions specific to the
13 *  moxie simulator in gdb.
14 */
15
16/*
17 *  COPYRIGHT (c) 1989-1999, 2010, 2014.
18 *  On-Line Applications Research Corporation (OAR).
19 *
20 * Redistribution and use in source and binary forms, with or without
21 * modification, are permitted provided that the following conditions
22 * are met:
23 * 1. Redistributions of source code must retain the above copyright
24 *    notice, this list of conditions and the following disclaimer.
25 * 2. Redistributions in binary form must reproduce the above copyright
26 *    notice, this list of conditions and the following disclaimer in the
27 *    documentation and/or other materials provided with the distribution.
28 *
29 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
30 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
31 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
32 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
33 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
34 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
35 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
36 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
37 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
38 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
39 * POSSIBILITY OF SUCH DAMAGE.
40 */
41
42#ifndef LIBBSP_MOXIE_MOXIESIM_BSP_H
43#define LIBBSP_MOXIE_MOXIESIM_BSP_H
44
45/**
46 * @defgroup RTEMSBSPsMoxieMoxieSim Simulator
47 *
48 * @ingroup RTEMSBSPsMoxie
49 *
50 * @brief Simulator Board Support Package.
51 *
52 * @{
53 */
54
55#include <bspopts.h>
56
57#include <rtems.h>
58#include <bsp/default-initial-extension.h>
59
60#ifdef __cplusplus
61extern "C" {
62#endif
63
64/* support for simulated clock tick */
65void *clock_driver_sim_idle_body(uintptr_t);
66#define BSP_IDLE_TASK_BODY clock_driver_sim_idle_body
67
68#ifdef __cplusplus
69}
70#endif
71
72/** @} */
73
74#endif
Note: See TracBrowser for help on using the repository browser.