source: rtems/c/src/lib/libbsp/v850/gdbv850sim/include/bsp.h @ 038e2f4a

4.115
Last change on this file since 038e2f4a was 2d7ae960, checked in by Joel Sherrill <joel.sherrill@…>, on 06/11/12 at 18:37:29

v850 port: Initial addition with BSP for simulator in GDB

Port

+ v850 does not have appear to have any optimized bit scan instructions
+ v850 does have single instructions for wap u16 and u32
+ Code path optimization preferences set
+ Add BSP variants for each GCC CPU model flag and a README

  • v850e1 variant does not work (fails during BSP initialization)

BSP for GDB v850 Simulator

+ linkcmds matches defaults in GDB simulator with RTEMS mods
+ crt1.c added from v850 newlib port for main()
+ BSP exits cleanly
+ printk and console I/O work
+ uses clock tick from IDLE task
+ Tests not requiring real clock ISR work

Documentation

+ CPU Supplment chapter for v850 added

  • Property mode set to 100644
File size: 720 bytes
Line 
1/*
2 *  This include file contains some definitions specific to the
3 *  GDB simulator in gdb.
4 */
5
6/*
7 *  COPYRIGHT (c) 1989-2012.
8 *  On-Line Applications Research Corporation (OAR).
9 *
10 *  The license and distribution terms for this file may be
11 *  found in the file LICENSE in this distribution or at
12 *  http://www.rtems.com/license/LICENSE.
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/* support for simulated clock tick */
30Thread clock_driver_sim_idle_body(uintptr_t);
31#define BSP_IDLE_TASK_BODY clock_driver_sim_idle_body
32
33#ifdef __cplusplus
34}
35#endif
36
37#endif
Note: See TracBrowser for help on using the repository browser.