Files
rtems/c/src/lib/libcpu
Joel Sherrill 05a346681d Patch from Gunter Magin <magin@skil.camelot.de> where the type was
not large enough to support high baud rates.

  brg_spd[] is an array which stores the baud rates, for which one of the 4
  available BRG dividers has been set. The array is used for deciding if a
  BRG devider may be reused.

  > 1.  What baud_rate and divisor is causing this to fail?

  divisor is dependent on the system clock (Cpu_table.clock_speed), and gets
  calculated in m860_get_brg_cd.

  m860_get_brg_clk fails for any baudrates > (2^16-1), as those baudrates are
  truncated to 16 bit which is the size of a short. In fact, as it has been a
  short and not an unsigned short, it will fail at any baudrate >(2^15-1). In
  any case, it failed for my application, which required 250000 Baud.
2000-03-21 18:35:00 +00:00
..
1995-05-11 17:39:37 +00:00

#
#  $Id$
#

This is the README file for libcpu.

This directory contains reusable libraries which are CPU dependent but not
target board dependent.  For example, the HPPA has an on chip interval timer
which may be used by all HPPA bsp's.

Another example might be the Intel i960CA has on-chip DMA which could be
supported in a library and placed in lib/libcpu/i960.  This level of support
will make it easier for others developing embedded applications on a given
CPU.