source: rtems/c/src/lib/libbsp/powerpc/qemuppc/include/bsp.h @ d379a629

5
Last change on this file since d379a629 was d379a629, checked in by Joel Sherrill <joel@…>, on 03/30/16 at 19:04:23

powerpc/qemuppc/include/bsp.h: Do not include <rtems/iosupp.h>

  • Property mode set to 100644
File size: 897 bytes
Line 
1/*
2 *  This include file contains some definitions specific to the
3 *  qemu powerpc Prep simulator
4 */
5
6/*
7 *  COPYRIGHT (c) 1989-2014.
8 *  On-Line Applications Research Corporation (OAR).
9 *
10 *  The license and distribution terms for this file may be
11 *  found in the file LICENSE in this distribution or at
12 *  http://www.rtems.org/license/LICENSE.
13 */
14
15#ifndef LIBBSP_POWERPC_QEMUPPC_BSP_H
16#define LIBBSP_POWERPC_QEMUPPC_BSP_H
17
18#ifndef ASM
19
20#include <bspopts.h>
21#include <bsp/default-initial-extension.h>
22
23#include <rtems.h>
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
29/*
30 *  Convert decrementer value to tenths of microseconds (used by shared timer
31 *  driver).
32 */
33#define BSP_Convert_decrementer( _value ) \
34  ((int) (((_value) * 10) / bsp_clicks_per_usec))
35
36/*
37 * Prototypes for methods that are referenced from .S
38 */
39void cmain(void);
40
41#ifdef __cplusplus
42}
43#endif
44
45#endif /* !ASM */
46
47#endif
Note: See TracBrowser for help on using the repository browser.