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

4.104.11
Last change on this file since 1fbf17b was 1fbf17b, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 12, 2009 at 1:30:04 PM

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
Line 
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
19extern "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
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
37/* support for simulated clock tick */
38Thread clock_driver_sim_idle_body(uintptr_t);
39#define BSP_IDLE_TASK_BODY clock_driver_sim_idle_body
40#endif
41
42#ifdef __cplusplus
43}
44#endif
45
46#endif
Note: See TracBrowser for help on using the repository browser.