Commit Graph

3149 Commits

Author SHA1 Message Date
Joel Sherrill
73e1db9f2b Moved <sys/cdefs.h> to lib/include so non-networking applications could
include <sys/ioctl.h>.
2000-06-15 12:58:24 +00:00
Joel Sherrill
621db4d227 Moved <sys/cdefs.h> to lib/include/sys from libnetworking/sys so
non-networking applications could include <sys/ioctl.h>.
2000-06-15 12:57:50 +00:00
Joel Sherrill
219d59d17a Enable data cache as well. 2000-06-14 21:28:35 +00:00
Joel Sherrill
5847e8bc6e Use John Cotton's more permanent email address. 2000-06-14 21:14:06 +00:00
Joel Sherrill
730daa62bc Moved <sys/cdefs.h> from libnetworking to lib/include so non-networking
configurations could see it while including <sys/ioctl.h> and
<sys/ioccom.h>.
2000-06-14 21:13:20 +00:00
Joel Sherrill
b91b1cf1f7 Added Cache Manager and MBX8xx credits. 2000-06-14 20:33:58 +00:00
Joel Sherrill
5e77d12951 Patch from John Cotton <john.cotton@nrc.ca> to correct cache
routine naming to follow RTEMS package/object.method rule.
This patch also eliminated calls to the obsolete routine
m68k_enable_caching.
2000-06-14 20:32:44 +00:00
Joel Sherrill
9b05600b2c *** empty log message *** 2000-06-14 20:22:31 +00:00
Joel Sherrill
07f0442695 Added include of options.h since it was not being picked up
by the network build.
2000-06-14 20:21:51 +00:00
Joel Sherrill
05352c2455 Added .cvsignore files. 2000-06-14 20:21:18 +00:00
Joel Sherrill
8dacd03427 Conditionally do not assemble 403 code. 2000-06-14 19:56:07 +00:00
Joel Sherrill
f585287f21 Patch from Darlene A. Stewart <Darlene.Stewart@nrc.ca> to add missing
file to Makefile.am.
2000-06-14 17:43:04 +00:00
Joel Sherrill
32e2554f10 Patch rtems-4.5-beta3-mon.diff from Chris Johns <cjohns@cybertec.com.au>
to:

I have also added the ability to register and unregister commands. This
allows me to create a set of monitor commands for the network stack plus
basic memory dump/patch commands (needs a working probe interface). I
will also look at a basic ls/cd/rm/mv/cp command set at some stage.

I have been thinking about changing the monitor in the future to more
like a light weight RTEMS shell, `eshell' for embedded shell. This is a
story for another day but is a process or getting the commands to map to
the filesystem (eg, major=commands, minor=command) and supporting an
environment. The filesystem provide a structure for the commands.
2000-06-14 17:22:59 +00:00
Joel Sherrill
6f93bb49b4 Patch from Chris Johns <cjohns@cybertec.com.au> to enhance network
initialization.  This adds an interface which makes it easier to
control the BSD stack from user code. The BSD stack initialise uses
it. It is a sort of `function' interface for an ifconfig
command.

I also added support for attaching and removing interfaces. With hot
swap PCI comming online support for hot swap PCI will be an important
factor in "state of art" RTOS's. This is also part of a general move on
my part to allow RTEMS to be configured at runtime by calls rather than
table driven at initialisation.
2000-06-14 17:18:18 +00:00
Joel Sherrill
ac81543051 Patch rtems-rc-20000614-sh.tar.gz from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> that migrates the SH port to
multilib'ing.  This patch involved moving a number of
files in the CVS repository, adding new files, and
deleting files from their previous location.  Ralf
gave good instructions (not repeated here) and here
are his notes:

  Note 1: In this version, I did not change the installation points of
  the headers which are moved inside of the source-tree. This is a
  temporary hack for not breaking compatibility with 4.5 based BSPs,
  but will probably not last once having real multilibs (We would have
  include file conflicts when several BSPs/CPU_MODELS share a common
  installation prefix).

  Note 2: I hope not to have broken too much, but I would not be
  astonished if something goes wrong.

  Note 3: There are more patches to come :)
2000-06-14 17:07:54 +00:00
Joel Sherrill
61bd030179 Moved PowerPC cache management code to libcpu. Also compiled
mpc8xx libcpu support for the first time and remove includes
of bsp.h, references to BSP_Configuration, and Cpu_table.  All
of these can be obtained directly from RTEMS now.
2000-06-14 15:52:24 +00:00
Joel Sherrill
e4d7169f1c Must now pull in cache management code from libcpu. 2000-06-14 15:51:16 +00:00
Joel Sherrill
7ea5f34962 Removed alloc860.c and mmu.c from C_FILES since they are now in libcpu. 2000-06-14 15:48:51 +00:00
Joel Sherrill
14210f5279 Do not build if networking disabled. 2000-06-14 15:48:17 +00:00
Joel Sherrill
134b163f42 Removed building of libcpu.a. It is now the individual BSPs
responsibility to explicitly pick up the components they
require.  This makes it easier to override default implmentations.
2000-06-14 15:47:38 +00:00
Joel Sherrill
1188c0c692 Thread iterate not ready for submission -- removed. 2000-06-14 15:41:13 +00:00
Joel Sherrill
ddbaa1ef6e Moved to include subdirectory. 2000-06-14 15:39:53 +00:00
Joel Sherrill
0a18747e56 New files containing cache manager functionality stripped from
score/cpu/powerpc.
2000-06-14 15:39:31 +00:00
Joel Sherrill
18dbd6a6ed New file. 2000-06-14 15:39:00 +00:00
Joel Sherrill
abd9401a4a Functionality moved from directory above to accomodate building
shared source code.
2000-06-14 15:38:08 +00:00
Joel Sherrill
90ff45b78d Moved from score/cpu/PowerPC. 2000-06-14 15:37:30 +00:00
Joel Sherrill
fdcb2b52b7 Thread iterator and libgjc support submitted too early. 2000-06-14 13:38:47 +00:00
Joel Sherrill
caacc739ff Fix typo. 2000-06-14 13:08:41 +00:00
Joel Sherrill
afd63b7656 Added crude i960ka support. 2000-06-13 22:57:19 +00:00
Joel Sherrill
df01ecce97 Pickup console-polled.c from the libbsp/shared directory. 2000-06-13 22:52:26 +00:00
Joel Sherrill
98a45c063a Removing clock and timer since this BSP does not currently
have them.
2000-06-13 22:34:54 +00:00
Joel Sherrill
8358faa427 Prototypes for cache manager support functions now agree. 2000-06-13 22:25:28 +00:00
Joel Sherrill
7d52750d9c New file. 2000-06-13 22:14:16 +00:00
Joel Sherrill
cf1f72ea33 Moved i386 and m68k cache management code to libcpu. Everything
now is an implementation of the prototypes in rtems/rtems/cache.h.
The libcpu/i386/wrapup directory is no longer needed.
The PowerPC needs this done to it.
2000-06-13 21:53:38 +00:00
Joel Sherrill
f0b11d63bc Added .cvsignore. 2000-06-13 21:52:13 +00:00
Joel Sherrill
310a2ec478 Added .cvsignore. 2000-06-13 21:45:42 +00:00
Joel Sherrill
f94441ee91 Added .cvsignore files. 2000-06-13 21:45:04 +00:00
Joel Sherrill
d2803ea634 Accounted for 1 task used. 2000-06-13 21:44:57 +00:00
Joel Sherrill
c30f5e88ce Removed unused directories from Makefile.am and warnings
from cvs by adding .cvsignore files.
2000-06-13 21:44:09 +00:00
Joel Sherrill
80ad143b73 Temporary hack to compile. Need to probably address definition
of all FIO constants and conflict with libnetworking code.
2000-06-13 21:42:55 +00:00
Joel Sherrill
2adcb4dda6 Temporary hack to compile. 2000-06-13 21:41:45 +00:00
Joel Sherrill
3ab61f0a35 Patch from John Cotton <john.cotton@nrc.ca>, Charles-Antoine Gauthier
<charles.gauthier@iit.nrc.ca>, and Darlene A. Stewart
<Darlene.Stewart@nrc.ca> to add support for a number of very
significant things:

  + BSPs for many variations on the Motorola MBX8xx board series
  + Cache Manager including initial support for m68040
    and PowerPC
  + Rework of mpc8xx libcpu code so all mpc8xx CPUs now use
    same code base.
  + Rework of eth_comm BSP to utiltize above.

John reports this works on the 821 and 860.
2000-06-12 21:34:51 +00:00
Joel Sherrill
edc61d488b Fixed so hppa1.1 compiles with only problems in simhppa BSP. 2000-06-12 20:27:50 +00:00
Joel Sherrill
41ab696625 Patch from John Cotton <john.cotton@nrc.ca>, Charles-Antoine Gauthier
<charles.gauthier@iit.nrc.ca>, and Darlene A. Stewart
<Darlene.Stewart@nrc.ca> to add support for a number of very
significant things:

  + BSPs for many variations on the Motorola MBX8xx board series
  + Cache Manager including initial support for m68040
    and PowerPC
  + Rework of mpc8xx libcpu code so all mpc8xx CPUs now use
    same code base.
  + Rework of eth_comm BSP to utiltize above.

John reports this works on the 821 and 860
2000-06-12 20:06:59 +00:00
Joel Sherrill
8ef38186fa Patch from John Cotton <john.cotton@nrc.ca>, Charles-Antoine Gauthier
<charles.gauthier@iit.nrc.ca>, and Darlene A. Stewart
<Darlene.Stewart@nrc.ca> to add support for a number of very
significant things:

  + BSPs for many variations on the Motorola MBX8xx board series
  + Cache Manager including initial support for m68040
    and PowerPC
  + Rework of mpc8xx libcpu code so all mpc8xx CPUs now use
    same code base.
  + Rework of eth_comm BSP to utiltize above.

John reports this works on the 821 and 860
2000-06-12 19:57:02 +00:00
Joel Sherrill
f481c39c01 Ensure that when -msoft-float is specified for multilib builds, that
something indicates this.  Eventually this needs to be merged into
gcc.
2000-06-12 18:46:54 +00:00
Joel Sherrill
ce5b291fa4 Works on Solaris and Linux. 2000-06-12 18:45:54 +00:00
Joel Sherrill
12b64d7bff Removed references to printk as part of moving it to a more shareable
location in libc.
2000-06-12 16:44:11 +00:00
Joel Sherrill
1bce637587 Added printk as a generic, shared routine. 2000-06-12 16:37:04 +00:00
Joel Sherrill
1f5cb74eb0 New file. This is a simple termios console driver which is sufficient
to do polled IO on a single port with VERY little support code.
2000-06-12 16:36:25 +00:00