From f0ef873cca7d6cc07ad7b81a1459d64fae18c723 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 9 May 2001 13:12:23 +0000 Subject: 2001-05-09 Ralf Corsepius * scitab/.cvsignore: Add. * configure.in: Add --enable-console, CPU_CLOCK_RATE_HZ, autoheader bspopt.h. * include/bsp.h: Complete rewrite based on the AMOS-BSP. * README: Update. * bsp_specs: copy from gensh1 --- c/src/lib/libbsp/sh/shsim/README | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'c/src/lib/libbsp/sh/shsim/README') diff --git a/c/src/lib/libbsp/sh/shsim/README b/c/src/lib/libbsp/sh/shsim/README index 217db75fac..ffe63489ab 100644 --- a/c/src/lib/libbsp/sh/shsim/README +++ b/c/src/lib/libbsp/sh/shsim/README @@ -23,8 +23,8 @@ simulator better use gdb versions > 5.0. * gdb's simulator is not able to correctly emulate memory areas esp. shadowing and non-consecutive memory. I.e. access to memory areas besides area 0 will (bogusly) generate SIGBUS exceptions. This includes access to area 5 -(On-chip peripherials) and prevents simulation of configuration of -accesses to on-chip peripherials. +(On-chip peripherials) and prevents simulation of configuration and access +to on-chip peripherials. * Due to limitations of the simulator you will only be able to run applications which do not try to access any SH control registers. @@ -32,5 +32,15 @@ applications which do not try to access any SH control registers. Currently, this excludes all applications, which apply timers and serial devices, i.e. almost any real world application. -* The simulator currently uses gdb's trap34 interface for console I/O. This -could be replaced with polled sci1 I/O for SHes > SH1. +* This BSP supports 3 different console devices (cf. configure --help): +- trap34, an interface base on gdb's trap34 emulation. Known to work with + gdb-5.0. +- gdbsci1, a stripped down sci device driver adapted to apply gdb's sci1 +emulation. This is known to fail with gdb-5.0, because of a bug in gdb-5.0's +sh-sim, a patch is submitted, but .. ~== +- devnull, redirection of console io to /dev/null. Try to single step this, +if you want to understand the details on how SH-RTEMS console redirection +works. + +NOTE: the trap34 interface is incomplete and is temporarily disabled +inside of configure.in. -- cgit v1.2.3