RTEMS
5.1
Main Page
Related Pages
Modules
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
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
h
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
include
libcpu
c_clock.h
1
/*
2
* Clock Tick Device Driver
3
*
4
* This routine utilizes the Decrementer Register common to the PPC family.
5
*
6
* The tick frequency is directly programmed to the configured number of
7
* microseconds per tick.
8
*
9
* COPYRIGHT (c) 1989-1997.
10
* On-Line Applications Research Corporation (OAR).
11
*
12
* The license and distribution terms for this file may in
13
* the file LICENSE in this distribution or at
14
* http://www.rtems.org/license/LICENSE.
15
*
16
* Modified to support the MPC750.
17
* Modifications Copyright (c) 1999 Eric Valette valette@crf.canon.fr
18
*/
19
20
#ifndef _LIBCPU_C_CLOCK_H
21
#define _LIBCPU_C_CLOCK_H
22
23
#include <
rtems.h
>
24
25
/*
26
* These functions and variables represent the API exported by the
27
* CPU to the BSP.
28
*/
29
30
extern
void
clockOff (
void
* unused);
31
extern
void
clockOn (
void
* unused);
32
extern
void
clockIsr (
void
* unused);
33
/* bookE decrementer is slightly different */
34
extern
void
clockIsrBookE (
void
*unused);
35
extern
int
clockIsOn (
void
* unused);
36
37
/*
38
* These functions and variables represent the assumptions of this
39
* driver on the BSP.
40
*/
41
42
extern
int
BSP_disconnect_clock_handler (
void
);
43
/*
44
* PCI Bus Frequency
45
*/
46
extern
unsigned
int
BSP_bus_frequency;
47
/*
48
* processor clock frequency
49
*/
50
extern
unsigned
int
BSP_processor_frequency;
51
/*
52
* Time base divisior (how many tick for 1 second).
53
*/
54
extern
unsigned
int
BSP_time_base_divisor;
55
56
#endif
rtems.h
Generated by
1.8.15