4.104.115
Last change
on this file since 2fbe159e was
2fbe159e,
checked in by Joel Sherrill <joel.sherrill@…>, on 09/19/08 at 15:49:28
|
2008-09-19 Joel Sherrill <joel.sherrill@…>
- Makefile.am, startup/bspstart.c: Split out bspstart contents. Move
cache code to libcpu.
- startup/bspgetcpuclockspeed.c: New file.
|
-
Property mode set to
100644
|
File size:
394 bytes
|
Line | |
---|
1 | /* |
---|
2 | * COPYRIGHT (c) 1989-2008. |
---|
3 | * On-Line Applications Research Corporation (OAR). |
---|
4 | * |
---|
5 | * The license and distribution terms for this file may be |
---|
6 | * found in the file LICENSE in this distribution or at |
---|
7 | * |
---|
8 | * http://www.rtems.com/license/LICENSE. |
---|
9 | * |
---|
10 | * $Id$ |
---|
11 | */ |
---|
12 | |
---|
13 | #include <bsp.h> |
---|
14 | |
---|
15 | extern char _CPUClockSpeed[]; |
---|
16 | |
---|
17 | uint32_t get_CPU_clock_speed(void) |
---|
18 | { |
---|
19 | return( (uint32_t)_CPUClockSpeed); |
---|
20 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.