RTEMS
5.0.0
Main Page
Related Pages
Modules
+
Data Structures
Data Structures
Data Structure Index
+
Data Fields
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Variables
_
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
v
w
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
o
p
q
r
s
t
u
v
w
x
+
Enumerations
a
b
c
e
h
i
l
m
o
p
q
r
s
t
w
+
Enumerator
a
c
d
i
l
m
p
r
s
t
w
+
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
bsps
powerpc
qemuppc
include
bsp.h
Go to the documentation of this file.
1
9
/*
10
* This include file contains some definitions specific to the
11
* qemu powerpc Prep simulator
12
*/
13
14
/*
15
* COPYRIGHT (c) 1989-2014.
16
* On-Line Applications Research Corporation (OAR).
17
*
18
* The license and distribution terms for this file may be
19
* found in the file LICENSE in this distribution or at
20
* http://www.rtems.org/license/LICENSE.
21
*/
22
23
#ifndef LIBBSP_POWERPC_QEMUPPC_BSP_H
24
#define LIBBSP_POWERPC_QEMUPPC_BSP_H
25
36
#ifndef ASM
37
38
#include <bspopts.h>
39
#include <
bsp/default-initial-extension.h
>
40
41
#include <
rtems.h
>
42
43
#ifdef __cplusplus
44
extern
"C"
{
45
#endif
46
47
/*
48
* Convert decrementer value to tenths of microseconds (used by shared timer
49
* driver).
50
*/
51
#define BSP_Convert_decrementer( _value ) \
52
((int) (((_value) * 10) / bsp_clicks_per_usec))
53
54
/*
55
* Prototypes for methods that are referenced from .S
56
*/
57
void
cmain(
void
);
58
59
#ifdef __cplusplus
60
}
61
#endif
62
63
#endif
/* !ASM */
64
67
#endif
default-initial-extension.h
DEFAULT_INITIAL_EXTENSION Support.
rtems.h
Generated by
1.8.13