4.104.115
Last change
on this file since 1fbf17b6 was
1fbf17b6,
checked in by Joel Sherrill <joel.sherrill@…>, on 10/12/09 at 13:30:04
|
2009-10-12 Joel Sherrill <joel.sherrill@…>
- include/bsp.h: BSP has plenty of memory.
- startup/cmain.c: Comment out prints.
|
-
Property mode set to
100644
|
File size:
939 bytes
|
Rev | Line | |
---|
[9fd02e2] | 1 | /* |
---|
| 2 | * This include file contains some definitions specific to the |
---|
| 3 | * qemu powerpc Prep simulator |
---|
| 4 | * |
---|
| 5 | * COPYRIGHT (c) 1989-2009. |
---|
| 6 | * On-Line Applications Research Corporation (OAR). |
---|
| 7 | * |
---|
| 8 | * The license and distribution terms for this file may be |
---|
| 9 | * found in the file LICENSE in this distribution or at |
---|
| 10 | * http://www.rtems.com/license/LICENSE. |
---|
| 11 | * |
---|
| 12 | * $Id$ |
---|
| 13 | */ |
---|
| 14 | |
---|
| 15 | #ifndef _BSP_H |
---|
| 16 | #define _BSP_H |
---|
| 17 | |
---|
| 18 | #ifdef __cplusplus |
---|
| 19 | extern "C" { |
---|
| 20 | #endif |
---|
| 21 | |
---|
| 22 | #include <bspopts.h> |
---|
| 23 | |
---|
| 24 | #include <rtems.h> |
---|
| 25 | #include <rtems/iosupp.h> |
---|
| 26 | #include <rtems/console.h> |
---|
| 27 | #include <rtems/clockdrv.h> |
---|
| 28 | |
---|
[133bffb] | 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 | #if 0 |
---|
[9fd02e2] | 37 | /* support for simulated clock tick */ |
---|
| 38 | Thread clock_driver_sim_idle_body(uintptr_t); |
---|
| 39 | #define BSP_IDLE_TASK_BODY clock_driver_sim_idle_body |
---|
[133bffb] | 40 | #endif |
---|
[9fd02e2] | 41 | |
---|
| 42 | #ifdef __cplusplus |
---|
| 43 | } |
---|
| 44 | #endif |
---|
| 45 | |
---|
| 46 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.