Compare commits

..

1961 Commits
4.0.0 ... 4.5.0

Author SHA1 Message Date
cvs2git
14f1218480 This commit was manufactured by cvs2svn to create tag 'rtems-4-5-0'.
Sprout from rtems-4-5-branch 2000-07-24 17:58:24 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'changed version to 4.5.0'
Delete:
    automake/host.am
    automake/lib.am
    automake/local.am
    automake/subdirs.am
    c/src/lib/libbsp/mips/p4000/liblnk/.cvsignore
    c/src/librdbg/src/powerpc/new_exception_processing/.cvsignore
    doc/.cvsignore
2000-07-24 17:58:25 +00:00
Joel Sherrill
36f910cdbe changed version to 4.5.0 2000-07-24 17:58:24 +00:00
Joel Sherrill
cadf485057 changed version to 4.5.0 2000-07-17 01:06:22 +00:00
Joel Sherrill
2d722f996d changed version to 4.5.0 2000-07-14 19:37:39 +00:00
Joel Sherrill
356a74b69d changed version to 4.5.0 2000-07-14 19:30:07 +00:00
Joel Sherrill
3df0c1e9ff changed version to 4.5.0 2000-07-14 19:24:28 +00:00
Joel Sherrill
b167323ddb changed version to 4.5.0 2000-07-14 19:14:12 +00:00
Joel Sherrill
9717739f27 changed version to 4.5.0 2000-07-14 19:10:50 +00:00
Joel Sherrill
8465866651 changed version to 4.5.0 2000-07-14 19:05:23 +00:00
Joel Sherrill
a5c67bc66d Updated RTEMS version. 2000-07-14 19:04:42 +00:00
Joel Sherrill
a4c731f6aa Updated tool versions for gnat 3.12p RPM revision 5. 2000-07-14 19:04:13 +00:00
Joel Sherrill
c1956b5952 Changed name of static table versions to avoid conflict. 2000-07-14 18:53:21 +00:00
Joel Sherrill
21555cba2d Switch logical in conditional. 2000-07-13 16:17:23 +00:00
Joel Sherrill
822d6b4799 Patch rtems-rc-20000711-2-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that removes setting unused variables WORKSPACE_MB and HEAPSPACE_MB.
2000-07-11 15:33:40 +00:00
Joel Sherrill
6d19b7edd4 Fixed problem reported by Victor V. Vengerov <Victor.Vengerov@oktet.ru>
where alarm() did not correctly account for the watchdog start_time
and stop_time fields being based on ticks not seconds.  This resulted
in alarm() returning a bogus number of seconds remaining.
2000-07-07 19:31:28 +00:00
Joel Sherrill
7f51092d10 Patch from James Housley <jim@thehousleys.net> so application Makefiles
can find tools installed to $(prefix)/bin after installation.
2000-07-07 16:48:29 +00:00
Joel Sherrill
1d51c45deb Patch rtems-rc-20000705-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: 	c/src/tests/libtests/termios/init.c
CVS: ----------------------------------------------------------------------
2000-07-06 20:10:40 +00:00
Joel Sherrill
e734e57635 Patch rtems-rc-20000702-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that is a hack to workaround a switch generation compiler bug for the
SH2 and cleaned up some warnings.
CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: 	c/src/tests/libtests/termios/init.c
CVS: ----------------------------------------------------------------------
2000-07-03 20:48:00 +00:00
Joel Sherrill
0f4bfda992 Interrupt stack is allocated in _ISR_Handler_initialization not
_Interrupt_Manager_initialization.
2000-07-03 18:43:44 +00:00
Joel Sherrill
6d3279acea Patches from Eric Valette to address librdbg issues on SunRPC upgrade
and cleanup.
2000-06-29 16:22:13 +00:00
Joel Sherrill
5aac7bc83e Patch from Chris Johns <cjohns@cybertec.com.au> to make sure the
ttyHead back link is set.
2000-06-29 16:05:30 +00:00
Joel Sherrill
14b4125f3c Patch from Eric Valette <valette@crf.canon.fr> to make librdbg work
with the new RPC code.
2000-06-29 15:48:05 +00:00
Joel Sherrill
5f3ad6a89d Patch from Chris Johns <cjohns@cybertec.com.au> and
Jennifer Averett <jennifer.averett@oarcorp.com> to fix
appends (O_APPEND at open time) on in-memory files.

A call such as:

    fd = open (file, O_APPEND | O_WRONLY);

did not append to the end of the file.
2000-06-26 14:50:00 +00:00
Joel Sherrill
f782320813 Patch from Chris Johns <cjohns@cybertec.com.au> and
Jennifer Averett <jennifer.averett@oarcorp.com> to make sure
"/" is created with S_IFDIR set.
2000-06-26 14:46:47 +00:00
Joel Sherrill
0a8a4c128d Patch from James Housley <jim@thehousleys.net> to address FreeBSD 4.x
build issues.
2000-06-16 13:05:17 +00:00
Joel Sherrill
d33b901755 changed version to 4.5.0-beta3a 2000-06-12 20:55:36 +00:00
Joel Sherrill
1dc9286f8b changed version to 4.5.0-beta3a 2000-06-12 20:30:01 +00:00
Joel Sherrill
b96734cdd0 Fixed so hppa1.1 compiles with only problems in simhppa BSP. 2000-06-12 20:29:45 +00:00
Joel Sherrill
380b2231e0 Works on Solaris and Linux. 2000-06-12 18:46:11 +00:00
Joel Sherrill
c243c4923e Added i960KA support in anticipation is i960 gdb simulator BSP. 2000-06-12 15:56:32 +00:00
Joel Sherrill
19c6e495d3 changed version to 4.5.0-beta3a 2000-06-12 15:26:51 +00:00
Joel Sherrill
930c1c8dc9 Merging main trunk and 4.5 branch. These changes were in the
main trunk.
2000-06-12 15:24:34 +00:00
Joel Sherrill
6a62bceb23 changed version to 4.5.0-beta3a 2000-06-12 14:22:25 +00:00
Joel Sherrill
f18d2e7432 Updated a bit. 2000-06-12 14:19:35 +00:00
Joel Sherrill
531cbf9a4a Changed st_atime, st_ctime, and st_mtime for IMFS nodes to be
stat_ to avoid conflicts with macros on Solaris.
2000-06-12 14:09:52 +00:00
Joel Sherrill
f981326efc Updated version. 2000-06-12 14:07:19 +00:00
Joel Sherrill
e88f497884 Make sure Context_Control is large enough. 2000-06-10 18:37:21 +00:00
Joel Sherrill
98165e21b7 Check that context control overlay is big enough. 2000-06-10 18:36:48 +00:00
Joel Sherrill
c5fe7cf65c Patch rtems-rc-4.5.0-27-cvs from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to remove syntactically incorrect else code that was technically
unneeded anyway.
2000-06-09 18:45:23 +00:00
Joel Sherrill
c580598529 Configure a default interrupt stack size. 2000-06-08 01:37:04 +00:00
Joel Sherrill
8b9aa32d5b Added -DUSE_INIT_FINI so they should be able to run C++ tests. 2000-06-07 13:34:55 +00:00
Joel Sherrill
423fb5ac8c Changed patch version for newlib to include Ralf's fixes for
install shell script problems.
2000-06-07 13:31:52 +00:00
Joel Sherrill
b790e3990f Changed distribution version. 2000-06-07 13:31:22 +00:00
Joel Sherrill
b24ef52626 Do not include config.sub and config.guess in distribution. scripts
must be loaded as a subdirectory of an RTEMS release.
2000-06-07 13:31:06 +00:00
Joel Sherrill
68638f0519 Added attributes of allocatable and executable to .reset and .initial
sections so they are disassembled by objdump and loaded by gdb.
2000-06-07 13:29:46 +00:00
Joel Sherrill
1a632e8e73 -T linkcmds now part of %lib rule so %link rule can more easily honor
the CPU model library linking rules built into gcc.
2000-06-07 13:27:40 +00:00
Joel Sherrill
259397cc88 Added *spec.in since they are now automatically generated from the *.add
files.
2000-06-07 13:23:46 +00:00
Joel Sherrill
bdf9a99415 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
gccnewlib.add applies find -path=... which might cause files.gcc
  getting corrupted.

  This seems to be gnu-find specific and doesn't seem to be supported
  by Solaris find (/usr/bin/find). I didn't see this because I use
  gnu-find even under Solaris (/amd/bin/find under our Solaris
  installation).
  This causes the first call to find in gccnewlib.add to deliver
  incorrect results and may result into incorrectly setting up the
  files.* files, esp. files.gcc.
2000-06-06 13:44:18 +00:00
Joel Sherrill
19f4540ee5 Updated patch versions. 2000-06-02 20:13:51 +00:00
Joel Sherrill
fd16f5b587 Patch from Keith Outwater <vac4050@cae597.rsc.raytheon.com> to rename
webserver trace() routine to goahead_trace() to avoid name conflicts
with ncurses.
2000-06-01 21:50:37 +00:00
Joel Sherrill
e89694ee7e Distributed the preinstall of the header files to the directories
owning the header files.
2000-05-31 22:31:26 +00:00
Joel Sherrill
322c894c08 Patch to:
1. Fixes a typo in the code conditionalized by GEN68360_WITH_SRAM
  2. Mods the code to add support for an additional bank of SRAM (needed more RAM
     to run the web server!)

From <vac4050@cae597.rsc.raytheon.com> reviewed by Eric Norum <eric@cls.usask.ca>.
2000-05-31 15:27:40 +00:00
Joel Sherrill
3081446337 Patch rtems-rc-4.5.0-25.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
multilib handling issues.
2000-05-31 15:24:43 +00:00
Joel Sherrill
db07e68798 Update from John S. Gwynne <jsg@jsgpc.mrcday.com> that:
* updated README
     * improved misc script for running the RTEMS test programs
     * Updated 332 SIM configuration in start.c
     * C++ global constructor fix (USE_INIT_FINI)
     * change __end_of_ram to _RamEnd to match changes by others
2000-05-31 15:05:55 +00:00
Joel Sherrill
0adfb21347 Added -DUSE_INIT_FINI to all m68k and PowerPC BSPs. 2000-05-31 15:01:48 +00:00
Joel Sherrill
fe4edc8ccf Include clockdrv.h and console.h per Frank Szczerba <frank@wmi.com>. 2000-05-31 14:14:27 +00:00
Joel Sherrill
6a8700de5f Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to:
This is the diff to let gcc-target-default.cfg use LINK.c -Wl,-r
  instead of LD -r for building *.rels.

  BTW: gcc -r works but seems to be undocumented, however
       as gcc -r -v shows it seems to works. Now I am using -Wl,-r :-)
2000-05-31 13:35:08 +00:00
Joel Sherrill
75061954c1 Patch from Nick Simon <Nick.SIMON@syntegra.bt.co.uk> to make
error.h C++ safe.
2000-05-30 14:07:37 +00:00
Joel Sherrill
a3f5b6be31 Added a special CPU model of "rtems_multilib". This is the beginnings
of an experiment to determine what it will take to multilib most of
RTEMS per GNU multilib conventions.  It is thought that only
interrupt processing and IO are not multlib-able.  This means that
a BSP Kit should include IRQ processing from score/cpu, all peripheral
support (header files from score/cpu, libchip, and libcpu), and the
BSPs themselves.  The rest of RTEMS should be multlib-able.  But to do
this, all RTEMS CPU model feature flags must be derivable from gcc
cpp predefines.  By configuring the bare bsp with the rtems_multilib
CPU model, you can try any combination of CPU CFLAGS and see well how the
logic in that section of the <CPU>.h works.   Once all CPU multilib
variations can be built, then RTEMS proper can be multilib'ed and
separated from the BSPs.
2000-05-28 20:14:45 +00:00
Joel Sherrill
63cf252f31 Patch rtems-rc-4.5.0-21.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which splits the current monolithic specs files into a sequence of
subparts.  These can be concatenated togather to make a the whole .spec
file.  This cleans up the maintenance problem of having "all languages"
and a "C/C++ only" gccnewlib spec files.  Plus it should make it easier
to produce variants like the gdb-m68k-bdm which require special hackery. :)
Ralf's comments:

  It addresses the way *.spec.in get composed inside of the source
  tree.

  Changes:
    * Each spec.in is broken into several files (*.add), one *.add file
      per sub-package.
    * Each Makefile.am composes spec.ins from the *.add files
    * Removal of redundant automake support files.
    * Default value for BuildRoot changed to /tmp/<spec-file-name>
    * %clean stage added to *specs

  Advantages (IMHO).
    * The *.add files are easier to adminstrate and more flexible in
      comparison to the former *.specs.ins.
    * gccnewlib_c_only.spec.in now is composed from the same sources as
      gccnewlib.spec.in (less errors)
    * If using the default BuildRoot --clean now deletes all files that
      were generated while building.

  Notes:
    * rtems.spec.in has not yet been adapted to the scheme used for the
      other *spec.ins
    * Except for cosmetical changes the internals of the  *.spec files
      should not have changed.

  To Apply:
    cvs rm -f scripts/binutils/binutils.spec.in
    cvs rm -f scripts/gccnewlib/gccnewlib.spec.in
    cvs rm -f scripts/gccnewlib/gccnewlib_c_only.spec.in
    cvs rm -f scripts/gdb/gdb.spec.in
    cvs rm -f scripts/config.sub
    cvs rm -f scripts/config.guess
    cvs rm -f scripts/install-sh
    cvs rm -f scripts/mkinstalldirs
    cvs rm -f scripts/missing

    patch -p1 < rtems-rc-4.5.0-21.diff

    cvs add scripts/*/*.add
    cvs add scripts/*/README
2000-05-28 18:14:55 +00:00
cvs2git
22095e222d This commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'.
Cherrypick from master 2000-05-28 18:03:55 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'Added on 4.5 branch':
    scripts/binutils/base-binutils.add
    scripts/binutils/binutils.add
    scripts/binutils/target-binutils.add
    scripts/gccnewlib/base-chill.add
    scripts/gccnewlib/base-g77.add
    scripts/gccnewlib/base-gcc.add
    scripts/gccnewlib/base-gcj.add
    scripts/gccnewlib/gccnewlib.add
    scripts/gccnewlib/target-chill.add
    scripts/gccnewlib/target-g77.add
    scripts/gccnewlib/target-gcc.add
    scripts/gccnewlib/target-gcj.add
    scripts/gccnewlib/target-objc.add
    scripts/gdb/base-gdb.add
    scripts/gdb/gdb.add
    scripts/gdb/target-gdb.add
2000-05-28 18:03:56 +00:00
Joel Sherrill
559cf7684d Updated newlib version which bumped the gnatnewlib version. 2000-05-28 17:53:39 +00:00
Joel Sherrill
5bd07d40e3 Updated newlib, gdb, and gcc patch versions which bumped the RPM release
of gccnewlib and gdb.
2000-05-28 17:53:16 +00:00
Joel Sherrill
19de118930 New version number. 2000-05-28 17:52:48 +00:00
Joel Sherrill
d102375e79 Removed definition of PPC_ABI and PPC_ASM as there are now defaults
that reflect the GNU toolset.
2000-05-28 17:52:30 +00:00
Joel Sherrill
dd72009e4e Added casts to avoid warnings. 2000-05-28 17:49:21 +00:00
Joel Sherrill
1d89b75c96 Removed more warnings. In particular added ifdef's on IPV6 for
variables only used in IPV6.
2000-05-28 17:47:39 +00:00
Joel Sherrill
f8d3664510 Added prototype of fdopen() since it is not strict ANSI and not
having a prototype caused warnings.
2000-05-28 17:46:40 +00:00
Joel Sherrill
9c948846fa Added cast to remove warning. 2000-05-28 17:45:55 +00:00
Joel Sherrill
96efaf679b Renamed delay() to avoid conflicts since it is a common name that
was in particular used by the ttcp test.
2000-05-28 17:45:17 +00:00
Joel Sherrill
3704a9a149 Added defaults for PPC_ABI and PPC_ASM so every PowerPC does not
have to define them to their default value.  The default values
reflect the ABI and Assembly format of the current GNU tools.
2000-05-28 17:43:00 +00:00
Joel Sherrill
cfca5dba95 Removed warning by adding return NULL. 2000-05-28 17:42:03 +00:00
Joel Sherrill
9d05d68fe6 Changed sed command to avoid severe limitations in Solaris /bin/sed.
Detected by Joel after multiple reports on the rtems-users mailing
list.  Final fix from Ralf Corsepius.
2000-05-28 17:41:43 +00:00
Joel Sherrill
05ff78ab00 Added INSTALL_CHANGE and INSTALL_VARIANT information. 2000-05-26 17:49:52 +00:00
Joel Sherrill
09c16269d9 Significant updates. 2000-05-26 17:17:40 +00:00
Joel Sherrill
3050704fa5 Corrected old-style usage of TARGET_ARCH. 2000-05-26 17:16:37 +00:00
Joel Sherrill
fa9b9f512b Corrected resource requirements. 2000-05-25 19:49:34 +00:00
Joel Sherrill
a12793743a Removed warning. 2000-05-25 17:17:35 +00:00
Joel Sherrill
60a3213b13 Increased memory reserved for stack requirements. 2000-05-25 16:06:30 +00:00
Joel Sherrill
f3b1664f51 Increased resources configured. 2000-05-25 16:04:37 +00:00
Joel Sherrill
c94c2518de Update from Stephan Wilms <Stephan.Wilms@CWA.de> that adds autodetection.
What I implemented in this new driver version is, that the driver will
first probe for a DEC21140 card and use it if found. If not found it
will probe for a DEC21143 card and use that if found. This removes the
need for defining/undefining a macro (as was required with my previous
version). I tested the driver with my 21143 card using netdemo and it
apears to work just fine.

Here are some cases that I did not test, mainly because I do not have
the required testing hardware:
   - I did not enhance or test PPC support
   - I did not test DEC21140 support
   - I did not use other test software than netdemo
2000-05-25 13:42:00 +00:00
Joel Sherrill
64bddf48af Patch to remove warnings from Eric Norum <eric@cls.usask.ca>. 2000-05-25 13:19:49 +00:00
Joel Sherrill
646decbd61 Patch from Nick Simom (Nick.SIMON@syntegra.bt.co.uk) so eth_comm
can return to start code without faulting.
2000-05-24 17:11:24 +00:00
Joel Sherrill
09b6a0938e Significantly lowered the default memory requirements:
- CONFIGURE_RTEMS_INIT_TASKS_TABLE was 10 now 0
    - CONFIGURE_POSIX_INIT_THREAD_TABLE was 10 now 0
    - CONFIGURE_ITRON_INIT_TASK_TABLE was 10 now 0
    - CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS was 20 now 3
    - added CONFIGURE_NUMBER_OF_TERMIOS_PORTS and defaulted to 1
    - added CONFIGURE_TERMIOS_DISABLED defaulted to "enabled"
    - miniIMFS is now the default

Added configuration error checks that:
  + Ensure > 0 tasks/threads are configured
  + Ensure at least one inititalization task/thread is defined

bsp.h now defines these so BSP specific requirements
are accounted for.
  + CONFIGURE_NUMBER_OF_TERMIOS_PORTS
  + CONFIGURE_INTERRUPT_STACK_MEMORY

console_reserve_resources and rtems_termios_reserve_resources
are no longer required and considered obsolete.  Calls to
rtems_termios_reserve_resources have been eliminated although
the routine is still there and the body "if 0'ed".

We are very close to having NO reason to modify the
configuration tables in the BSP.  Be warned that eventually
we would like to see the need for BSP_Configuration
eliminated!
2000-05-24 17:06:54 +00:00
Joel Sherrill
9a03459c44 Significantly lowered the default memory requirements:
- CONFIGURE_RTEMS_INIT_TASKS_TABLE was 10 now 0
    - CONFIGURE_POSIX_INIT_THREAD_TABDE was 10 now 0
    - CONFIGURE_ITRON_INIT_TASK_TABLE was 10 now 0
    - CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS was 20 now 3
    - added CONFIGURE_NUMBER_OF_TERMIOS_PORTS and defaulted to 1
    - added CONFIGURE_TERMIOS_DISABLED defaulted to "enabled"
    - miniIMFS is now the default

Added configuration error checks that:
  + Ensure > 0 tasks/threads are configured
  + Ensure at least one inititalization task/thread is defined

bsp.h now defines these so BSP specific requirements
are accounted for.
  + CONFIGURE_NUMBER_OF_TERMIOS_PORTS
  + CONFIGURE_INTERRUPT_STACK_MEMORY

console_reserve_resources and rtems_termios_reserve_resources
are no longer required and considered obsolete.  Calls to
rtems_termios_reserve_resources have been eliminated although
the routine is still there and the body "if 0'ed".

We are very close to having NO reason to modify the
configuration tables in the BSP.  Be warned that eventually
we would like to see the need for BSP_Configuration
eliminated!
2000-05-24 17:06:37 +00:00
Joel Sherrill
d38427f158 Handle mp variants better. 2000-05-24 17:01:13 +00:00
Joel Sherrill
77989a586e Make sure debug variant output goes into a different log file. 2000-05-24 17:01:02 +00:00
Joel Sherrill
9cad6a0214 Now can bring up an idle initialization task. 2000-05-24 16:57:07 +00:00
Joel Sherrill
1296960168 Added screen contents. 2000-05-24 16:52:34 +00:00
cvs2git
978b21bd73 This commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'.
Cherrypick from master 2000-05-24 16:51:23 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'New file.':
    c/src/tests/libtests/malloctest/malloctest.scn
    scripts/config.guess
    scripts/config.sub
2000-05-24 16:51:24 +00:00
Joel Sherrill
d7bf62566d Increased task stack configured. 2000-05-24 16:50:26 +00:00
Joel Sherrill
95df6137e9 Added malloctest back in to set of tests to run. 2000-05-24 16:49:16 +00:00
Joel Sherrill
bef66a669f Fixed bug so debug variant of MP tests could be run. 2000-05-24 16:44:13 +00:00
Joel Sherrill
9b3cdfe85f Updated. 2000-05-24 15:56:20 +00:00
Joel Sherrill
70f1f1d971 Initial DEC 21143 support from Stephan Wilms <Stephan.Wilms@CWA.de>.
Comments follow:

 This support is (for now) only available for the __i386 target, because
 that's the only testing platform I have. It should to my best knowledge
 work in the same way for the "__PPC" target, but someone should test
 this first before it's put into the code. Thanks go to Andrew Klossner
 who provided the vital information about the Intel 21143 chip.

 (FWIW: my network card is a Kingston KNE100TX with 21143PD chip)
2000-05-24 15:55:00 +00:00
Joel Sherrill
2c8485b663 Eliminated printing from switch extension. 2000-05-24 15:37:32 +00:00
Joel Sherrill
2fbdbd4f14 Significantly lowered the default memory requirements:
- CONFIGURE_RTEMS_INIT_TASKS_TABLE was 10 now 0
    - CONFIGURE_POSIX_INIT_THREAD_TABLE was 10 now 0
    - CONFIGURE_ITRON_INIT_TASK_TABLE was 10 now 0
    - CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS was 20 now 3
    - added CONFIGURE_NUMBER_OF_TERMIOS_PORTS and defaulted to 1
    - added CONFIGURE_TERMIOS_DISABLED defaulted to "enabled"
    - miniIMFS is now the default

Added configuration error checks that:
  + Ensure > 0 tasks/threads are configured
  + Ensure at least one inititalization task/thread is defined


bsp.h now defines so BSP specific requirements are accounted for:
  + CONFIGURE_NUMBER_OF_TERMIOS_PORTS
  + CONFIGURE_INTERRUPT_STACK_MEMORY

console_reserve_resources and rtems_termios_reserve_resources
are no longer required and considered obsolete.  Calls to
rtems_termios_reserve_resources have been eliminated although
the routine is still there and the body "if 0'ed".

We are very close to having NO reason to modify the
configuration tables in the BSP.  Be warned that eventually
we would like to see the need for BSP_Configuration
eliminated!
2000-05-24 14:36:52 +00:00
Joel Sherrill
1a9006a68a Added a return to the bottom. 2000-05-24 14:23:34 +00:00
Joel Sherrill
8fe36e1c4d Removed some warnings. 2000-05-24 14:21:27 +00:00
Joel Sherrill
625f1a61a1 Remove NO_CPU reference. 2000-05-23 21:31:44 +00:00
Joel Sherrill
7c1a82facd Patch from Jennifer Averett <jennifer.averett@oarcorp.com> to make
this C++ safe.
2000-05-23 15:41:04 +00:00
Joel Sherrill
1b6969373d Added routines addr2ascii.c and ascii2addr.c even though they
are not reentrant.  Eric Norum <eric@cls.usask.ca> at
request of John Cotton <john.cotton@nrc.ca>.
2000-05-23 15:15:19 +00:00
Joel Sherrill
58271f676d Added code to determine RPM CPU type for the host OS. This is
needed to determine that on x86-linux, RPM builds "i386" RPMs
while on Sparc/Solaris, it builds "sparc" RPMs.  Since the
buildall script installs the binutils RPM to build the gccnewlib
RPM, it needs to know this.
2000-05-21 15:23:02 +00:00
Joel Sherrill
f9c0574793 This is an update of all Classic API Message Manager tests to
eliminate code which assumes that 4 * sizeof(unsigned32) == 16)
and that a 16 byte message can be assumed to be 4 unsigned32's.
These assumptions are invalid on target processors that are
not byte-addressable.
2000-05-19 19:13:09 +00:00
Joel Sherrill
9f2e6c6c7d Changed versions. 2000-05-19 19:07:04 +00:00
Joel Sherrill
e22e30858e Use minimum stack size. 2000-05-19 19:06:24 +00:00
Joel Sherrill
6174e27e89 Changed to use minimum stack size. 2000-05-19 19:04:45 +00:00
Joel Sherrill
ef0126bba2 Changed screen to have indeterminate addresses. 2000-05-19 19:04:28 +00:00
Joel Sherrill
9064ad45e1 Made note that Version, CPU, and BSP will vary. 2000-05-19 19:03:41 +00:00
Joel Sherrill
fb4541be87 Removed duplicated call to unmount filesystem. 2000-05-19 19:02:30 +00:00
Joel Sherrill
459d051bcf Corrected direction of comparison in sizeof context overlay. 2000-05-19 19:01:39 +00:00
Joel Sherrill
d88b46fe00 Removed HWAPI reference. 2000-05-17 13:59:36 +00:00
Joel Sherrill
00b772a3a1 Applied patch to wrong place in code. 2000-05-17 13:46:40 +00:00
Joel Sherrill
580c7a94f9 Adding code to test for maximum filesize and skip some tests. 2000-05-16 19:23:16 +00:00
Joel Sherrill
0632b75420 Initialize the variable. 2000-05-16 19:19:47 +00:00
Joel Sherrill
2936e9721f Use sizeof(unsigned32) not 4. 2000-05-16 19:19:18 +00:00
Joel Sherrill
a93350a415 Use CPU_ALIGNMENT not 4. 2000-05-16 19:18:03 +00:00
Joel Sherrill
f48cad9cec Constant of 4 for size is bad. 2000-05-16 19:16:39 +00:00
Joel Sherrill
250edf6f78 Modified to avoid copying too much data. 2000-05-16 19:15:25 +00:00
Joel Sherrill
8531dceb87 Updated to have better comments that can be searched and replaced. 2000-05-16 19:13:46 +00:00
Joel Sherrill
72988cd968 Changed RTEMS_MAXIMUM_NAME_LENGTH to ITRON_MAXIMUM_NAME_LENGTH. 2000-05-16 19:11:33 +00:00
Joel Sherrill
aaf44d495a Do not prototype fileno() if is is a macro. This was tripped on Solaris. 2000-05-16 19:07:19 +00:00
Joel Sherrill
055b7d5fe1 Corrected order of arguments to strncpy(). 2000-05-16 19:06:41 +00:00
Joel Sherrill
078280e025 Use CPU_HEAP_ALIGNMENT not CPU_ALIGNMENT. 2000-05-16 19:05:49 +00:00
Joel Sherrill
ba4b9ffe55 Changed <= to < to prevent overindexing array of file control blocks
(rtems_libio_iops).
2000-05-16 19:04:21 +00:00
Joel Sherrill
51e4268d73 Do not look for C++ compiler if C++ is disabled. 2000-05-16 18:58:58 +00:00
Joel Sherrill
017cb2be68 Do not dereference NULL per bug report from Victor V. Vengerov <vvv@oktet.ru>. 2000-05-16 18:58:18 +00:00
Joel Sherrill
01e0e43f7f Update from Eric Norum to fix dereference of zero and correct
test behavior.  Based on report from Victor V. Vengerov <vvv@oktet.ru>.
2000-05-16 18:44:03 +00:00
Joel Sherrill
405990a70c Added code to check for NULL pointer per bug report from
Victor V. Vengerov <vvv@oktet.ru>.
2000-05-16 18:43:00 +00:00
Joel Sherrill
b6206ccbad Modified to enable thread safe libraries. 2000-05-16 18:39:39 +00:00
Joel Sherrill
a4cb8f0d28 Patch from Eric Norum <eric@cls.usask.ca> to fix bug from
Alexey S. Fadeyev <alexey@vocord.com>.  Discussion follows:

    "Alexey S. Fadeyev" wrote:
    > So if I run this application it tell me :
    > > connect_task: Connection established
    > > accept somthing
    >
    > But if I try to connect to invalid port (3001 for example) it also tell me
    > that connection
    > established but bind_task did't accept it. So how I can find out in
    > connect_task does my connection realy
    > exist ? What type of socket is here? Blocking or non-blocking? I try used
    > select but it did't help - it
    > always tell me from connect_task that connection is valid.
    >

    Yep -- there was a problem alright.  The connect() routine wasn't
    returning an error indication when it should have.  Note that this
    problem was not limited to the loopback driver -- a refused connection
    from any server would return `success'.
2000-05-11 20:37:59 +00:00
Joel Sherrill
6c30cc6f4d changed version to 4.5.0-beta3 2000-05-10 14:48:45 +00:00
Joel Sherrill
3673fbd84f Updated. 2000-05-10 13:35:18 +00:00
Joel Sherrill
405543d683 Corrected to flag that this test is not implemented. 2000-05-10 13:34:15 +00:00
Joel Sherrill
a2a0c9eabd Updated to indicate that it has been tested and that the ulClock
parameter now supports overrides.
2000-05-08 21:50:20 +00:00
Joel Sherrill
b12d10b4e0 RTEMS specific thread support for G++. This implementation
includes RTEMS wrappers invoked by gcc.  The beauty of this
is that it puts the implementation in our hands. :)

It uses a mutex ( semaphore ), and task variables simulating
the "keys" for each task.

Thanks to Rosimildo da Silva <rdasilva@connectel.com> for
submitting this.
2000-05-08 21:21:29 +00:00
cvs2git
b76a825478 This commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'.
Cherrypick from master 2000-05-08 21:17:50 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'New file added on 4.5 branch':
    c/src/lib/libc/gxx_wrappers.c
2000-05-08 21:17:51 +00:00
Joel Sherrill
e612d75205 Modified license and copyright terms to be correct. 2000-05-08 20:56:07 +00:00
Joel Sherrill
0921e6917a New file on branch. 2000-05-08 20:38:19 +00:00
cvs2git
66d9d03690 This commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'.
Cherrypick from master 2000-05-08 20:36:59 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'New file added on 4.5 branch':
    c/src/lib/libbsp/m68k/mvme167/console/console-recording.c
2000-05-08 20:37:00 +00:00
Joel Sherrill
9d216de2ae Removed uses of RTEMS_ENABLE_HWAPI but left macro in aclocal. 2000-05-08 18:59:18 +00:00
Joel Sherrill
120adc209f Patch cd2401fix.diff from Charles-Antoine Gauthier <charles.gauthier@nrc.ca>
to address problems triggered when switching modes.  His ChangeLog:


  * c/src/lib/libbsp/m68k/mvme167/console/console-recording:
    New file. Console debug info recording functions.
  * c/src/lib/libbsp/m68k/mvme167/console/console.c:
    Try to eliminate garbled characters when the line characteristics are
    changed. Added debug info logging calls
  * c/src/tests/libtests/termios/init.c: Remove sleep calls.

His longer description :)

  This one was hard. I tried a number of approaches, and eventually came
  to the conclusion that one cannot tell when the output FIFO have drained
  completely. Consequently, the driver now includes delay loops that get
  executed when the line discipline is changed. Yuk. I had a look at the
  Linux and FreeBSD drivers; the FreeBSD driver uses delay loops while the
  Linux driver contain warnings about characters getting garbled when the
  line discipline is changed.

  The new driver only re-initializes the cd2401 if some registers need to
  change, otherwise, the chip is left alone. This is equivalent to caching
  the previous setting and only changing things if they need to be. The
  code is kind of ugly, but what can you do. The delay loops are only used
  if the chip must be re-initialized.

  Optional instrumentation that records what the driver is doing is
  provided. It should be obvious how to enable it and how to use it. It's
  not the best, but it got the job done.

  I ran the termios test. The delay loops I had introduced are no longer
  necessary, so I took them out. The patch includes that change. The test
  re-initializes the chip whenever the canonical input test (test 4) is
  run THE FIRST TIME OR AFTER THE LINE WAS RESET (test 1). The test did
  not garble any characters when the chip was re-initialized (or when it
  was not) while running at 9600 bsp. I therefore think that I have a
  solution.
2000-05-08 17:27:46 +00:00
Joel Sherrill
3a0218ed0b Update from John Cotton <john.cotton@nrc.ca> which includes
a number of short fixes pointed out by Eric Norum.
2000-05-08 17:22:38 +00:00
Joel Sherrill
57ca6d09f9 Changed XXX into comment. 2000-05-05 21:23:45 +00:00
Joel Sherrill
11a46a0dfd These tests should have been fairly clean examples. Instead they
showed their roots as tests and included numerous references to
test support routines.
2000-05-05 12:58:06 +00:00
Joel Sherrill
a1a19f6c40 Corrected typo (ifdef/define). Also spotted overnight by Ralf. :) 2000-05-05 12:57:14 +00:00
Joel Sherrill
c6883bda03 Added inet_netof.c per patch from Eric Norum <eric@cls.usask.ca> 2000-05-05 01:30:41 +00:00
Joel Sherrill
af9b39e269 Renamed the CONFIGURE_TEST_NEEDS configuration constants to
CONFIGURE_APPLICATION_NEEDS.
2000-05-04 20:49:22 +00:00
Joel Sherrill
f74de9c028 Removed references to CONFIGURE_SPTEST and CONFIGURE_TMTEST.
Renamed CONFIGURE_MPTEST to CONFIGURE_MP_APPLICATION to properly
reflect its usage.
2000-05-04 14:57:48 +00:00
Joel Sherrill
f747eca890 Added setup.cache. 2000-05-04 14:17:26 +00:00
Joel Sherrill
5a6d98e43b Made better package names. 2000-05-04 14:16:28 +00:00
Joel Sherrill
d123a04b09 Updated versions. 2000-05-04 14:16:20 +00:00
Joel Sherrill
de01ce7dea binutils subdirectory is currently ignored. binutils is built
as a subpackage of gnatnewlib.
2000-05-04 14:15:53 +00:00
Joel Sherrill
a4b7b82e8a Updated to new versions. 2000-05-04 14:15:15 +00:00
Joel Sherrill
45e8d6c1ad Better way to check which RTEMS RPMs are installed. 2000-05-04 14:15:07 +00:00
Joel Sherrill
4d42c4394f Significantly enhanced checks for CPU type and floating point format
supported.
2000-05-04 14:09:30 +00:00
Joel Sherrill
9c8d1edf6a Fixed typo. 2000-05-04 14:08:49 +00:00
Joel Sherrill
57b6590b1b Does not really support multiprocessing so do not even try to
build it.
2000-05-04 14:08:32 +00:00
Joel Sherrill
9fb78b8039 Update from Eric Norum <eric@cls.usask.ca>. 2000-05-03 14:12:51 +00:00
cvs2git
45e4cc77c6 This commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'.
Cherrypick from master 2000-05-03 13:55:42 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'Added on 4.5 branch.':
    c/src/librpc/src/rpc/rtems_portmapper.c
    c/src/librpc/src/rpc/rtems_rpc.c
2000-05-03 13:55:43 +00:00
Joel Sherrill
305f03339c Patch from Eric Norum <eric@cls.usask.ca> to make task variables maintain
a global and private version of each task variable.
2000-05-01 17:31:29 +00:00
Joel Sherrill
fee06c867b Patch rtems-4.5.0-rc-19.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that:


 This is the patch I had announced earlier today:

 It addresses:
    * make dist - support (In a configured build tree, cd .../librpc; make
       dist now packages a complete tarball)
    * man-pages - support
    * missing .cvsignores
    * missing Makefile.ams

 It does not address the portability issue I mentioned earlier.

 To apply the patch:
    cd rtems
    patch -p1 < rtems-4.5.0-rc-19.diff

    cvs add c/src/librpc/include/rpcsvc/Makefile.am
    cvs add c/src/librpc/include/rpcsvc/.cvsignore
    cvs add c/src/librpc/src/rpc/PSD.doc/Makefile.am
    cvs add c/src/librpc/src/rpc/PSD.doc/.cvsignore

    cd c/src/librpc
    ../../../bootstrap
2000-05-01 15:00:53 +00:00
cvs2git
180126d2fe This commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'.
Cherrypick from master 2000-05-01 14:57:46 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'Added on 4.5-branch':
    c/src/librpc/include/rpcsvc/.cvsignore
    c/src/librpc/include/rpcsvc/Makefile.am
    c/src/librpc/src/rpc/.cvsignore
    c/src/librpc/src/rpc/PSD.doc/.cvsignore
    c/src/librpc/src/rpc/PSD.doc/Makefile.am
    c/src/librpc/src/xdr/.cvsignore
2000-05-01 14:57:47 +00:00
Joel Sherrill
2033706715 Fixed weird compilation problem. Why was it including FLEEB. 2000-04-29 21:58:47 +00:00
Joel Sherrill
c7b43795b6 Uncommented line so libxdr is picked up. 2000-04-29 19:47:14 +00:00
Joel Sherrill
8e743b739b Significant update of librpc to include XDR and more RPC
functionality from FreeBSD.  This update is from Eric Norum
<eric@cls.usask.ca> and he reports that both his RPC netdemo
program and an HP Ethernet/GPIB adapter that makes heavy
use of RPC/XDR for its communication protocol is working with EPICS.
2000-04-29 19:39:09 +00:00
cvs2git
be363a2dd3 This commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'.
Cherrypick from master 2000-04-29 19:13:19 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'New files added as part of librpc upgrade.':
    c/src/librpc/README_RTEMS
    c/src/librpc/include/rpc/auth_des.h
    c/src/librpc/include/rpc/auth_unix.h
    c/src/librpc/include/rpc/des.h
    c/src/librpc/include/rpc/des_crypt.h
    c/src/librpc/include/rpc/pmap_clnt.h
    c/src/librpc/include/rpc/pmap_prot.h
    c/src/librpc/include/rpc/pmap_rmt.h
    c/src/librpc/include/rpc/rpc_com.h
    c/src/librpc/include/rpcsvc/bootparam_prot.x
    c/src/librpc/include/rpcsvc/crypt.x
    c/src/librpc/include/rpcsvc/key_prot.x
    c/src/librpc/include/rpcsvc/klm_prot.x
    c/src/librpc/include/rpcsvc/mount.x
    c/src/librpc/include/rpcsvc/nfs_prot.x
    c/src/librpc/include/rpcsvc/nis.x
    c/src/librpc/include/rpcsvc/nis_cache.x
    c/src/librpc/include/rpcsvc/nis_callback.x
    c/src/librpc/include/rpcsvc/nis_db.h
    c/src/librpc/include/rpcsvc/nis_object.x
    c/src/librpc/include/rpcsvc/nis_tags.h
    c/src/librpc/include/rpcsvc/nislib.h
    c/src/librpc/include/rpcsvc/nlm_prot.x
    c/src/librpc/include/rpcsvc/pmap_prot.x
    c/src/librpc/include/rpcsvc/rex.x
    c/src/librpc/include/rpcsvc/rnusers.x
    c/src/librpc/include/rpcsvc/rquota.x
    c/src/librpc/include/rpcsvc/rstat.x
    c/src/librpc/include/rpcsvc/rwall.x
    c/src/librpc/include/rpcsvc/sm_inter.x
    c/src/librpc/include/rpcsvc/spray.x
    c/src/librpc/include/rpcsvc/yp.x
    c/src/librpc/include/rpcsvc/yp_prot.h
    c/src/librpc/include/rpcsvc/ypclnt.h
    c/src/librpc/include/rpcsvc/yppasswd.x
    c/src/librpc/include/rpcsvc/ypupdate_prot.x
    c/src/librpc/include/rpcsvc/ypxfrd.x
    c/src/librpc/src/rpc/DISCLAIMER
    c/src/librpc/src/rpc/Makefile.am
    c/src/librpc/src/rpc/PSD.doc/nfs.rfc.ms
    c/src/librpc/src/rpc/PSD.doc/rpc.prog.ms
    c/src/librpc/src/rpc/PSD.doc/rpc.rfc.ms
    c/src/librpc/src/rpc/PSD.doc/rpcgen.ms
    c/src/librpc/src/rpc/PSD.doc/xdr.nts.ms
    c/src/librpc/src/rpc/PSD.doc/xdr.rfc.ms
    c/src/librpc/src/rpc/README
    c/src/librpc/src/rpc/auth_des.c
    c/src/librpc/src/rpc/auth_none.c
    c/src/librpc/src/rpc/auth_time.c
    c/src/librpc/src/rpc/auth_unix.c
    c/src/librpc/src/rpc/authdes_prot.c
    c/src/librpc/src/rpc/authunix_prot.c
    c/src/librpc/src/rpc/bindresvport.3
    c/src/librpc/src/rpc/bindresvport.c
    c/src/librpc/src/rpc/clnt_generic.c
    c/src/librpc/src/rpc/clnt_perror.c
    c/src/librpc/src/rpc/clnt_raw.c
    c/src/librpc/src/rpc/clnt_simple.c
    c/src/librpc/src/rpc/clnt_tcp.c
    c/src/librpc/src/rpc/clnt_udp.c
    c/src/librpc/src/rpc/clnt_unix.c
    c/src/librpc/src/rpc/crypt_client.c
    c/src/librpc/src/rpc/des_crypt.3
    c/src/librpc/src/rpc/des_crypt.c
    c/src/librpc/src/rpc/des_soft.c
    c/src/librpc/src/rpc/get_myaddress.c
    c/src/librpc/src/rpc/getpublickey.c
    c/src/librpc/src/rpc/getrpcent.3
    c/src/librpc/src/rpc/getrpcent.c
    c/src/librpc/src/rpc/getrpcport.3
    c/src/librpc/src/rpc/getrpcport.c
    c/src/librpc/src/rpc/key_call.c
    c/src/librpc/src/rpc/key_prot_xdr.c
    c/src/librpc/src/rpc/netname.c
    c/src/librpc/src/rpc/netnamer.c
    c/src/librpc/src/rpc/pmap_clnt.c
    c/src/librpc/src/rpc/pmap_getmaps.c
    c/src/librpc/src/rpc/pmap_getport.c
    c/src/librpc/src/rpc/pmap_prot.c
    c/src/librpc/src/rpc/pmap_prot2.c
    c/src/librpc/src/rpc/pmap_rmt.c
    c/src/librpc/src/rpc/publickey.3
    c/src/librpc/src/rpc/publickey.5
    c/src/librpc/src/rpc/rpc.3
    c/src/librpc/src/rpc/rpc.5
    c/src/librpc/src/rpc/rpc_callmsg.c
    c/src/librpc/src/rpc/rpc_commondata.c
    c/src/librpc/src/rpc/rpc_dtablesize.c
    c/src/librpc/src/rpc/rpc_prot.c
    c/src/librpc/src/rpc/rpc_secure.3
    c/src/librpc/src/rpc/rpcdname.c
    c/src/librpc/src/rpc/rstat.1
    c/src/librpc/src/rpc/rstat_svc.8
    c/src/librpc/src/rpc/rtime.3
    c/src/librpc/src/rpc/rtime.c
    c/src/librpc/src/rpc/svc.c
    c/src/librpc/src/rpc/svc_auth.c
    c/src/librpc/src/rpc/svc_auth_des.c
    c/src/librpc/src/rpc/svc_auth_unix.c
    c/src/librpc/src/rpc/svc_raw.c
    c/src/librpc/src/rpc/svc_run.c
    c/src/librpc/src/rpc/svc_simple.c
    c/src/librpc/src/rpc/svc_tcp.c
    c/src/librpc/src/rpc/svc_udp.c
    c/src/librpc/src/rpc/svc_unix.c
    c/src/librpc/src/xdr/Makefile.am
    c/src/librpc/src/xdr/xdr.3
    c/src/librpc/src/xdr/xdr.c
    c/src/librpc/src/xdr/xdr_array.c
    c/src/librpc/src/xdr/xdr_float.c
    c/src/librpc/src/xdr/xdr_mem.c
    c/src/librpc/src/xdr/xdr_rec.c
    c/src/librpc/src/xdr/xdr_reference.c
    c/src/librpc/src/xdr/xdr_sizeof.c
    c/src/librpc/src/xdr/xdr_stdio.c
2000-04-29 19:13:20 +00:00
Joel Sherrill
b797468c04 Removed as part of merging RPC/XDR upgrade from Eric Norum. 2000-04-29 19:09:48 +00:00
Joel Sherrill
cd7024d520 removed unused variables. 2000-04-29 14:59:31 +00:00
Joel Sherrill
d554ca0bf9 Patch from John M. Mills <jmills@tga.com> to do some cleanup and use
-O4 at both debug and optimized levels.  There is still a speed setting
problem but the sample tests run.
2000-04-28 19:51:00 +00:00
Joel Sherrill
a06c5f5b22 Temporarily disable libxdr until the complete patch is in. 2000-04-28 19:45:20 +00:00
Joel Sherrill
a974d6a0c9 Patch rtems-4.5-rc-18-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
The patch below is a work-around to the "make/gmake" problem.

  This only works if gmake-only users set MAKE=gmake at configuration time
  or explicitly set it from the environment at make-time.

  IIRC, this should be sufficient for ./bit users, because it explicitly
  exports MAKE.
2000-04-28 19:44:39 +00:00
Joel Sherrill
42b7ffaeb6 Updated to new versions. 2000-04-28 18:32:16 +00:00
Joel Sherrill
92bc357886 Modifed to properly support aliased that support multiprocessing. 2000-04-28 18:31:43 +00:00
Joel Sherrill
2f82b35cee New files from Eric Norum missed in previous commit. 2000-04-28 17:44:03 +00:00
cvs2git
6ff83a45b0 This commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'.
Cherrypick from master 2000-04-28 17:42:16 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'New files added on 4.5 branch.':
    c/src/libnetworking/memory.h
    c/src/libnetworking/sys/un.h
2000-04-28 17:42:17 +00:00
Joel Sherrill
ccbbfe3be2 Patch from "Alan Harry" <alan@crossware.com> to fix a problem where
the wrong variables were being cleared.
2000-04-27 20:11:05 +00:00
Joel Sherrill
fc1459f560 Patch from Eric Norum <eric@cls.usask.ca> to initiate upgrading
librpc to a more complete version.
2000-04-27 18:24:51 +00:00
Joel Sherrill
92ba047699 Patches rtems-rc-4.5.0-16-cvs.diff and rtems-rc-4.5.0-17-cvs.diff
from Ralf Corsepius <corsepiu@faw.uni-ulm.de> that address the following:

  * NoSource: 0, 1 in rpm-specs does not work anymore under SuSE-6.4
    (rpm-3.0.4), putting each NoSource: onto a separate line however seems
    to work. Unfortunately, I don't know the actual cause for this, esp. if
    SuSE broke it or if rpm-specs specification has changed (i.e.
    Redhat broke it up).
  * Add *.spec to several .cvsignores (Prevents cvs from complaining about
    <target>*.spec within the source-tree).
2000-04-18 13:18:34 +00:00
Joel Sherrill
8812023ee9 Patches rtems-rc-4.5.0-16-cvs.diff and rtems-rc-4.5.0-17-cvs.diff
from Ralf Corsepius <corsepiu@faw.uni-ulm.de> that address the following:

  * NoSource: 0, 1 in rpm-specs does not work anymore under SuSE-6.4
    (rpm-3.0.4), putting each NoSource: onto a separate line however seems
    to work. Unfortunately, I don't know the actual cause for this, esp. if
    SuSE broke it or if rpm-specs specification has changed (i.e.
    Redhat broke it up).
  * Add *.spec to several .cvsignores (Prevents cvs from complaining about
    <target>*.spec within the source-tree).
2000-04-18 13:10:39 +00:00
Joel Sherrill
8f5da34c1c Patch rtems-rc-4.5.0-15-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that addresses configuration issues for posix/linux under SuSE-6.4:

    Unbelievable as it is, SuSE has started to use i486-suse-linux as
    canonicalization triple which breaks out linux/posix/unix.
2000-04-18 13:00:20 +00:00
Joel Sherrill
a17495450f Avoid use of C++ keyword (or) as structure element name. 2000-04-18 12:57:47 +00:00
Joel Sherrill
97ad1a52e4 After investigating a problem reported by Franck Julien <FranckJ@cxr.fr>,
I discovered that when specifying -m68000 and -msoft-float to gcc 2.95.2,
it decides that the proper multilib variant is the default one which is
compiled for the m68020 and hardware floating point.  This appears to be
because there is no 68000/soft-float library variant.  This problem
applies to all m68000 class CPUs options including -m68302.
2000-04-16 17:14:36 +00:00
Joel Sherrill
dda3dc9ae7 Patch rtems-rc-4.5.0-14-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
which resolves a serious problem with the user-level RTEMS Makefiles
reported by Eric Norum <eric@cls.usask.ca>.
2000-04-16 17:04:17 +00:00
Joel Sherrill
fe8e18a98d Patch from Eric Norum <eric@cls.usask.ca> to modify the generic
m68k start code to setup the "environ" variable properly.  With
this patch, his EPICS application that runs on the gen68360
also runs on the mvmv167.
2000-04-16 17:01:18 +00:00
Joel Sherrill
e283b9098a changed version to 4.5.0-beta2 2000-04-13 16:51:12 +00:00
cvs2git
48e40a33a0 This commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'.
Cherrypick from master 2000-04-13 16:47:57 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'Patch rtems-rc-4.5.0-13-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.':
    .cvsignore
    c/.cvsignore
    c/make/.cvsignore
    c/src/.cvsignore
    c/src/exec/.cvsignore
    c/src/exec/itron/.cvsignore
    c/src/exec/itron/include/.cvsignore
    c/src/exec/itron/include/itronsys/.cvsignore
    c/src/exec/itron/include/rtems/.cvsignore
    c/src/exec/itron/include/rtems/itron/.cvsignore
    c/src/exec/itron/inline/.cvsignore
    c/src/exec/itron/inline/rtems/.cvsignore
    c/src/exec/itron/inline/rtems/itron/.cvsignore
    c/src/exec/itron/src/.cvsignore
    c/src/exec/posix/.cvsignore
    c/src/exec/posix/include/.cvsignore
    c/src/exec/posix/include/rtems/.cvsignore
    c/src/exec/posix/include/rtems/posix/.cvsignore
    c/src/exec/posix/include/sys/.cvsignore
    c/src/exec/posix/inline/.cvsignore
    c/src/exec/posix/inline/rtems/.cvsignore
    c/src/exec/posix/inline/rtems/posix/.cvsignore
    c/src/exec/posix/macros/.cvsignore
    c/src/exec/posix/macros/rtems/.cvsignore
    c/src/exec/posix/macros/rtems/posix/.cvsignore
    c/src/exec/posix/optman/.cvsignore
    c/src/exec/posix/src/.cvsignore
    c/src/exec/rtems/.cvsignore
    c/src/exec/rtems/include/.cvsignore
    c/src/exec/rtems/include/rtems/.cvsignore
    c/src/exec/rtems/include/rtems/rtems/.cvsignore
    c/src/exec/rtems/inline/.cvsignore
    c/src/exec/rtems/inline/rtems/.cvsignore
    c/src/exec/rtems/inline/rtems/rtems/.cvsignore
    c/src/exec/rtems/macros/.cvsignore
    c/src/exec/rtems/macros/rtems/.cvsignore
    c/src/exec/rtems/macros/rtems/rtems/.cvsignore
    c/src/exec/rtems/optman/.cvsignore
    c/src/exec/rtems/src/.cvsignore
    c/src/exec/sapi/.cvsignore
    c/src/exec/sapi/include/.cvsignore
    c/src/exec/sapi/include/rtems/.cvsignore
    c/src/exec/sapi/inline/.cvsignore
    c/src/exec/sapi/inline/rtems/.cvsignore
    c/src/exec/sapi/macros/.cvsignore
    c/src/exec/sapi/macros/rtems/.cvsignore
    c/src/exec/sapi/optman/.cvsignore
    c/src/exec/sapi/src/.cvsignore
    c/src/exec/score/.cvsignore
    c/src/exec/score/cpu/.cvsignore
    c/src/exec/score/cpu/a29k/.cvsignore
    c/src/exec/score/cpu/a29k/rtems/.cvsignore
    c/src/exec/score/cpu/a29k/rtems/score/.cvsignore
    c/src/exec/score/cpu/hppa1.1/.cvsignore
    c/src/exec/score/cpu/hppa1.1/rtems/.cvsignore
    c/src/exec/score/cpu/hppa1.1/rtems/score/.cvsignore
    c/src/exec/score/cpu/i386/.cvsignore
    c/src/exec/score/cpu/i386/rtems/.cvsignore
    c/src/exec/score/cpu/i386/rtems/score/.cvsignore
    c/src/exec/score/cpu/i960/.cvsignore
    c/src/exec/score/cpu/i960/rtems/.cvsignore
    c/src/exec/score/cpu/i960/rtems/score/.cvsignore
    c/src/exec/score/cpu/m68k/.cvsignore
    c/src/exec/score/cpu/m68k/rtems/.cvsignore
    c/src/exec/score/cpu/m68k/rtems/score/.cvsignore
    c/src/exec/score/cpu/mips64orion/.cvsignore
    c/src/exec/score/cpu/mips64orion/rtems/.cvsignore
    c/src/exec/score/cpu/mips64orion/rtems/score/.cvsignore
    c/src/exec/score/cpu/no_cpu/.cvsignore
    c/src/exec/score/cpu/no_cpu/rtems/.cvsignore
    c/src/exec/score/cpu/no_cpu/rtems/score/.cvsignore
    c/src/exec/score/cpu/powerpc/.cvsignore
    c/src/exec/score/cpu/powerpc/new_exception_processing/.cvsignore
    c/src/exec/score/cpu/powerpc/old_exception_processing/.cvsignore
    c/src/exec/score/cpu/powerpc/shared/.cvsignore
    c/src/exec/score/cpu/sh/.cvsignore
    c/src/exec/score/cpu/sh/rtems/.cvsignore
    c/src/exec/score/cpu/sh/rtems/score/.cvsignore
    c/src/exec/score/cpu/sparc/.cvsignore
    c/src/exec/score/cpu/sparc/rtems/.cvsignore
    c/src/exec/score/cpu/sparc/rtems/score/.cvsignore
    c/src/exec/score/cpu/unix/.cvsignore
    c/src/exec/score/cpu/unix/rtems/.cvsignore
    c/src/exec/score/cpu/unix/rtems/score/.cvsignore
    c/src/exec/score/include/.cvsignore
    c/src/exec/score/include/rtems/.cvsignore
    c/src/exec/score/include/rtems/score/.cvsignore
    c/src/exec/score/inline/.cvsignore
    c/src/exec/score/inline/rtems/.cvsignore
    c/src/exec/score/inline/rtems/score/.cvsignore
    c/src/exec/score/macros/.cvsignore
    c/src/exec/score/macros/rtems/.cvsignore
    c/src/exec/score/macros/rtems/score/.cvsignore
    c/src/exec/score/src/.cvsignore
    c/src/exec/wrapup/.cvsignore
    c/src/exec/wrapup/itron/.cvsignore
    c/src/exec/wrapup/posix/.cvsignore
    c/src/exec/wrapup/rtems/.cvsignore
    c/src/lib/.cvsignore
    c/src/lib/include/.cvsignore
    c/src/lib/include/motorola/.cvsignore
    c/src/lib/include/sys/.cvsignore
    c/src/lib/include/zilog/.cvsignore
    c/src/lib/libbsp/.cvsignore
    c/src/lib/libbsp/a29k/.cvsignore
    c/src/lib/libbsp/a29k/portsw/.cvsignore
    c/src/lib/libbsp/a29k/portsw/console/.cvsignore
    c/src/lib/libbsp/a29k/portsw/include/.cvsignore
    c/src/lib/libbsp/a29k/portsw/shmsupp/.cvsignore
    c/src/lib/libbsp/a29k/portsw/start/.cvsignore
    c/src/lib/libbsp/a29k/portsw/startup/.cvsignore
    c/src/lib/libbsp/a29k/portsw/wrapup/.cvsignore
    c/src/lib/libbsp/bare/.cvsignore
    c/src/lib/libbsp/bare/include/.cvsignore
    c/src/lib/libbsp/hppa1.1/.cvsignore
    c/src/lib/libbsp/hppa1.1/pxfl/.cvsignore
    c/src/lib/libbsp/hppa1.1/simhppa/.cvsignore
    c/src/lib/libbsp/hppa1.1/simhppa/include/.cvsignore
    c/src/lib/libbsp/hppa1.1/simhppa/shmsupp/.cvsignore
    c/src/lib/libbsp/hppa1.1/simhppa/start/.cvsignore
    c/src/lib/libbsp/hppa1.1/simhppa/startup/.cvsignore
    c/src/lib/libbsp/hppa1.1/simhppa/tools/.cvsignore
    c/src/lib/libbsp/hppa1.1/simhppa/tty/.cvsignore
    c/src/lib/libbsp/hppa1.1/simhppa/wrapup/.cvsignore
    c/src/lib/libbsp/i386/.cvsignore
    c/src/lib/libbsp/i386/i386ex/.cvsignore
    c/src/lib/libbsp/i386/i386ex/clock/.cvsignore
    c/src/lib/libbsp/i386/i386ex/console/.cvsignore
    c/src/lib/libbsp/i386/i386ex/include/.cvsignore
    c/src/lib/libbsp/i386/i386ex/network/.cvsignore
    c/src/lib/libbsp/i386/i386ex/start/.cvsignore
    c/src/lib/libbsp/i386/i386ex/startup/.cvsignore
    c/src/lib/libbsp/i386/i386ex/timer/.cvsignore
    c/src/lib/libbsp/i386/i386ex/wrapup/.cvsignore
    c/src/lib/libbsp/i386/pc386/.cvsignore
    c/src/lib/libbsp/i386/pc386/3c509/.cvsignore
    c/src/lib/libbsp/i386/pc386/clock/.cvsignore
    c/src/lib/libbsp/i386/pc386/console/.cvsignore
    c/src/lib/libbsp/i386/pc386/include/.cvsignore
    c/src/lib/libbsp/i386/pc386/ne2000/.cvsignore
    c/src/lib/libbsp/i386/pc386/start/.cvsignore
    c/src/lib/libbsp/i386/pc386/startup/.cvsignore
    c/src/lib/libbsp/i386/pc386/timer/.cvsignore
    c/src/lib/libbsp/i386/pc386/tools/.cvsignore
    c/src/lib/libbsp/i386/pc386/wd8003/.cvsignore
    c/src/lib/libbsp/i386/pc386/wrapup/.cvsignore
    c/src/lib/libbsp/i386/shared/.cvsignore
    c/src/lib/libbsp/i386/shared/comm/.cvsignore
    c/src/lib/libbsp/i386/shared/io/.cvsignore
    c/src/lib/libbsp/i386/shared/irq/.cvsignore
    c/src/lib/libbsp/i386/shared/pci/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/clock/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/console/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/include/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/network/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/start/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/startup/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/timer/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/tools/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/tools/debug_ada/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/tools/debug_c/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/tools/dos_sup/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/tools/network_ada/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/tools/network_ada/adasockets/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/tools/network_ada/listener/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/tools/network_ada/tcprelay/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/tools/ts_1325_ada/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/wrapup/.cvsignore
    c/src/lib/libbsp/i960/.cvsignore
    c/src/lib/libbsp/i960/cvme961/.cvsignore
    c/src/lib/libbsp/i960/cvme961/clock/.cvsignore
    c/src/lib/libbsp/i960/cvme961/console/.cvsignore
    c/src/lib/libbsp/i960/cvme961/include/.cvsignore
    c/src/lib/libbsp/i960/cvme961/shmsupp/.cvsignore
    c/src/lib/libbsp/i960/cvme961/start/.cvsignore
    c/src/lib/libbsp/i960/cvme961/startup/.cvsignore
    c/src/lib/libbsp/i960/cvme961/timer/.cvsignore
    c/src/lib/libbsp/i960/cvme961/wrapup/.cvsignore
    c/src/lib/libbsp/i960/rxgen960/.cvsignore
    c/src/lib/libbsp/i960/rxgen960/clock/.cvsignore
    c/src/lib/libbsp/i960/rxgen960/console/.cvsignore
    c/src/lib/libbsp/i960/rxgen960/include/.cvsignore
    c/src/lib/libbsp/i960/rxgen960/shmsupp/.cvsignore
    c/src/lib/libbsp/i960/rxgen960/startup/.cvsignore
    c/src/lib/libbsp/i960/rxgen960/timer/.cvsignore
    c/src/lib/libbsp/i960/rxgen960/wrapup/.cvsignore
    c/src/lib/libbsp/m68k/.cvsignore
    c/src/lib/libbsp/m68k/dmv152/.cvsignore
    c/src/lib/libbsp/m68k/dmv152/clock/.cvsignore
    c/src/lib/libbsp/m68k/dmv152/console/.cvsignore
    c/src/lib/libbsp/m68k/dmv152/include/.cvsignore
    c/src/lib/libbsp/m68k/dmv152/spurious/.cvsignore
    c/src/lib/libbsp/m68k/dmv152/start/.cvsignore
    c/src/lib/libbsp/m68k/dmv152/startup/.cvsignore
    c/src/lib/libbsp/m68k/dmv152/timer/.cvsignore
    c/src/lib/libbsp/m68k/dmv152/wrapup/.cvsignore
    c/src/lib/libbsp/m68k/efi332/.cvsignore
    c/src/lib/libbsp/m68k/efi332/clock/.cvsignore
    c/src/lib/libbsp/m68k/efi332/console/.cvsignore
    c/src/lib/libbsp/m68k/efi332/include/.cvsignore
    c/src/lib/libbsp/m68k/efi332/spurious/.cvsignore
    c/src/lib/libbsp/m68k/efi332/start/.cvsignore
    c/src/lib/libbsp/m68k/efi332/startup/.cvsignore
    c/src/lib/libbsp/m68k/efi332/timer/.cvsignore
    c/src/lib/libbsp/m68k/efi332/wrapup/.cvsignore
    c/src/lib/libbsp/m68k/efi68k/.cvsignore
    c/src/lib/libbsp/m68k/efi68k/clock/.cvsignore
    c/src/lib/libbsp/m68k/efi68k/console/.cvsignore
    c/src/lib/libbsp/m68k/efi68k/include/.cvsignore
    c/src/lib/libbsp/m68k/efi68k/spurious/.cvsignore
    c/src/lib/libbsp/m68k/efi68k/start/.cvsignore
    c/src/lib/libbsp/m68k/efi68k/startup/.cvsignore
    c/src/lib/libbsp/m68k/efi68k/timer/.cvsignore
    c/src/lib/libbsp/m68k/efi68k/wrapup/.cvsignore
    c/src/lib/libbsp/m68k/gen68302/.cvsignore
    c/src/lib/libbsp/m68k/gen68302/clock/.cvsignore
    c/src/lib/libbsp/m68k/gen68302/console/.cvsignore
    c/src/lib/libbsp/m68k/gen68302/include/.cvsignore
    c/src/lib/libbsp/m68k/gen68302/start/.cvsignore
    c/src/lib/libbsp/m68k/gen68302/startup/.cvsignore
    c/src/lib/libbsp/m68k/gen68302/timer/.cvsignore
    c/src/lib/libbsp/m68k/gen68302/wrapup/.cvsignore
    c/src/lib/libbsp/m68k/gen68340/.cvsignore
    c/src/lib/libbsp/m68k/gen68340/clock/.cvsignore
    c/src/lib/libbsp/m68k/gen68340/console/.cvsignore
    c/src/lib/libbsp/m68k/gen68340/include/.cvsignore
    c/src/lib/libbsp/m68k/gen68340/start/.cvsignore
    c/src/lib/libbsp/m68k/gen68340/startup/.cvsignore
    c/src/lib/libbsp/m68k/gen68340/timer/.cvsignore
    c/src/lib/libbsp/m68k/gen68340/wrapup/.cvsignore
    c/src/lib/libbsp/m68k/gen68360/.cvsignore
    c/src/lib/libbsp/m68k/gen68360/clock/.cvsignore
    c/src/lib/libbsp/m68k/gen68360/console/.cvsignore
    c/src/lib/libbsp/m68k/gen68360/include/.cvsignore
    c/src/lib/libbsp/m68k/gen68360/network/.cvsignore
    c/src/lib/libbsp/m68k/gen68360/start/.cvsignore
    c/src/lib/libbsp/m68k/gen68360/startup/.cvsignore
    c/src/lib/libbsp/m68k/gen68360/timer/.cvsignore
    c/src/lib/libbsp/m68k/gen68360/wrapup/.cvsignore
    c/src/lib/libbsp/m68k/idp/.cvsignore
    c/src/lib/libbsp/m68k/idp/clock/.cvsignore
    c/src/lib/libbsp/m68k/idp/console/.cvsignore
    c/src/lib/libbsp/m68k/idp/include/.cvsignore
    c/src/lib/libbsp/m68k/idp/start/.cvsignore
    c/src/lib/libbsp/m68k/idp/startup/.cvsignore
    c/src/lib/libbsp/m68k/idp/timer/.cvsignore
    c/src/lib/libbsp/m68k/idp/wrapup/.cvsignore
    c/src/lib/libbsp/m68k/mvme136/.cvsignore
    c/src/lib/libbsp/m68k/mvme136/clock/.cvsignore
    c/src/lib/libbsp/m68k/mvme136/console/.cvsignore
    c/src/lib/libbsp/m68k/mvme136/include/.cvsignore
    c/src/lib/libbsp/m68k/mvme136/shmsupp/.cvsignore
    c/src/lib/libbsp/m68k/mvme136/start/.cvsignore
    c/src/lib/libbsp/m68k/mvme136/startup/.cvsignore
    c/src/lib/libbsp/m68k/mvme136/timer/.cvsignore
    c/src/lib/libbsp/m68k/mvme136/wrapup/.cvsignore
    c/src/lib/libbsp/m68k/mvme147/.cvsignore
    c/src/lib/libbsp/m68k/mvme147/clock/.cvsignore
    c/src/lib/libbsp/m68k/mvme147/console/.cvsignore
    c/src/lib/libbsp/m68k/mvme147/include/.cvsignore
    c/src/lib/libbsp/m68k/mvme147/start/.cvsignore
    c/src/lib/libbsp/m68k/mvme147/startup/.cvsignore
    c/src/lib/libbsp/m68k/mvme147/timer/.cvsignore
    c/src/lib/libbsp/m68k/mvme147/wrapup/.cvsignore
    c/src/lib/libbsp/m68k/mvme147s/.cvsignore
    c/src/lib/libbsp/m68k/mvme147s/clock/.cvsignore
    c/src/lib/libbsp/m68k/mvme147s/console/.cvsignore
    c/src/lib/libbsp/m68k/mvme147s/include/.cvsignore
    c/src/lib/libbsp/m68k/mvme147s/shmsupp/.cvsignore
    c/src/lib/libbsp/m68k/mvme147s/start/.cvsignore
    c/src/lib/libbsp/m68k/mvme147s/startup/.cvsignore
    c/src/lib/libbsp/m68k/mvme147s/timer/.cvsignore
    c/src/lib/libbsp/m68k/mvme147s/wrapup/.cvsignore
    c/src/lib/libbsp/m68k/mvme162/.cvsignore
    c/src/lib/libbsp/m68k/mvme162/clock/.cvsignore
    c/src/lib/libbsp/m68k/mvme162/console/.cvsignore
    c/src/lib/libbsp/m68k/mvme162/consolex/.cvsignore
    c/src/lib/libbsp/m68k/mvme162/include/.cvsignore
    c/src/lib/libbsp/m68k/mvme162/start/.cvsignore
    c/src/lib/libbsp/m68k/mvme162/startup/.cvsignore
    c/src/lib/libbsp/m68k/mvme162/timer/.cvsignore
    c/src/lib/libbsp/m68k/mvme162/tod/.cvsignore
    c/src/lib/libbsp/m68k/mvme162/tools/.cvsignore
    c/src/lib/libbsp/m68k/mvme162/wrapup/.cvsignore
    c/src/lib/libbsp/m68k/mvme167/.cvsignore
    c/src/lib/libbsp/m68k/mvme167/clock/.cvsignore
    c/src/lib/libbsp/m68k/mvme167/console/.cvsignore
    c/src/lib/libbsp/m68k/mvme167/fatal/.cvsignore
    c/src/lib/libbsp/m68k/mvme167/include/.cvsignore
    c/src/lib/libbsp/m68k/mvme167/network/.cvsignore
    c/src/lib/libbsp/m68k/mvme167/start/.cvsignore
    c/src/lib/libbsp/m68k/mvme167/startup/.cvsignore
    c/src/lib/libbsp/m68k/mvme167/timer/.cvsignore
    c/src/lib/libbsp/m68k/mvme167/times
    c/src/lib/libbsp/m68k/mvme167/wrapup/.cvsignore
    c/src/lib/libbsp/m68k/ods68302/.cvsignore
    c/src/lib/libbsp/m68k/ods68302/clock/.cvsignore
    c/src/lib/libbsp/m68k/ods68302/console/.cvsignore
    c/src/lib/libbsp/m68k/ods68302/include/.cvsignore
    c/src/lib/libbsp/m68k/ods68302/start/.cvsignore
    c/src/lib/libbsp/m68k/ods68302/startup/.cvsignore
    c/src/lib/libbsp/m68k/ods68302/timer/.cvsignore
    c/src/lib/libbsp/m68k/ods68302/wrapup/.cvsignore
    c/src/lib/libbsp/m68k/shared/.cvsignore
    c/src/lib/libbsp/mips/p4000/liblnk/.cvsignore
    c/src/lib/libbsp/mips64orion/.cvsignore
    c/src/lib/libbsp/mips64orion/p4000/.cvsignore
    c/src/lib/libbsp/mips64orion/p4000/console/.cvsignore
    c/src/lib/libbsp/mips64orion/p4000/include/.cvsignore
    c/src/lib/libbsp/mips64orion/p4000/liblnk/.cvsignore
    c/src/lib/libbsp/mips64orion/p4000/start/.cvsignore
    c/src/lib/libbsp/mips64orion/p4000/startup/.cvsignore
    c/src/lib/libbsp/mips64orion/p4000/wrapup/.cvsignore
    c/src/lib/libbsp/no_cpu/.cvsignore
    c/src/lib/libbsp/no_cpu/no_bsp/.cvsignore
    c/src/lib/libbsp/no_cpu/no_bsp/clock/.cvsignore
    c/src/lib/libbsp/no_cpu/no_bsp/console/.cvsignore
    c/src/lib/libbsp/no_cpu/no_bsp/include/.cvsignore
    c/src/lib/libbsp/no_cpu/no_bsp/shmsupp/.cvsignore
    c/src/lib/libbsp/no_cpu/no_bsp/startup/.cvsignore
    c/src/lib/libbsp/no_cpu/no_bsp/timer/.cvsignore
    c/src/lib/libbsp/no_cpu/no_bsp/wrapup/.cvsignore
    c/src/lib/libbsp/powerpc/.cvsignore
    c/src/lib/libbsp/powerpc/dmv177/.cvsignore
    c/src/lib/libbsp/powerpc/dmv177/clock/.cvsignore
    c/src/lib/libbsp/powerpc/dmv177/console/.cvsignore
    c/src/lib/libbsp/powerpc/dmv177/include/.cvsignore
    c/src/lib/libbsp/powerpc/dmv177/scv64/.cvsignore
    c/src/lib/libbsp/powerpc/dmv177/sonic/.cvsignore
    c/src/lib/libbsp/powerpc/dmv177/start/.cvsignore
    c/src/lib/libbsp/powerpc/dmv177/startup/.cvsignore
    c/src/lib/libbsp/powerpc/dmv177/timer/.cvsignore
    c/src/lib/libbsp/powerpc/dmv177/tod/.cvsignore
    c/src/lib/libbsp/powerpc/dmv177/wrapup/.cvsignore
    c/src/lib/libbsp/powerpc/eth_comm/.cvsignore
    c/src/lib/libbsp/powerpc/eth_comm/canbus/.cvsignore
    c/src/lib/libbsp/powerpc/eth_comm/console/.cvsignore
    c/src/lib/libbsp/powerpc/eth_comm/include/.cvsignore
    c/src/lib/libbsp/powerpc/eth_comm/network/.cvsignore
    c/src/lib/libbsp/powerpc/eth_comm/start/.cvsignore
    c/src/lib/libbsp/powerpc/eth_comm/startup/.cvsignore
    c/src/lib/libbsp/powerpc/eth_comm/wrapup/.cvsignore
    c/src/lib/libbsp/powerpc/helas403/.cvsignore
    c/src/lib/libbsp/powerpc/helas403/dlentry/.cvsignore
    c/src/lib/libbsp/powerpc/helas403/flashentry/.cvsignore
    c/src/lib/libbsp/powerpc/helas403/include/.cvsignore
    c/src/lib/libbsp/powerpc/helas403/startup/.cvsignore
    c/src/lib/libbsp/powerpc/helas403/wrapup/.cvsignore
    c/src/lib/libbsp/powerpc/motorola_powerpc/.cvsignore
    c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/.cvsignore
    c/src/lib/libbsp/powerpc/motorola_powerpc/clock/.cvsignore
    c/src/lib/libbsp/powerpc/motorola_powerpc/console/.cvsignore
    c/src/lib/libbsp/powerpc/motorola_powerpc/include/.cvsignore
    c/src/lib/libbsp/powerpc/motorola_powerpc/irq/.cvsignore
    c/src/lib/libbsp/powerpc/motorola_powerpc/motorola/.cvsignore
    c/src/lib/libbsp/powerpc/motorola_powerpc/openpic/.cvsignore
    c/src/lib/libbsp/powerpc/motorola_powerpc/pci/.cvsignore
    c/src/lib/libbsp/powerpc/motorola_powerpc/residual/.cvsignore
    c/src/lib/libbsp/powerpc/motorola_powerpc/start/.cvsignore
    c/src/lib/libbsp/powerpc/motorola_powerpc/startup/.cvsignore
    c/src/lib/libbsp/powerpc/motorola_powerpc/vectors/.cvsignore
    c/src/lib/libbsp/powerpc/motorola_powerpc/wrapup/.cvsignore
    c/src/lib/libbsp/powerpc/papyrus/.cvsignore
    c/src/lib/libbsp/powerpc/papyrus/dlentry/.cvsignore
    c/src/lib/libbsp/powerpc/papyrus/flashentry/.cvsignore
    c/src/lib/libbsp/powerpc/papyrus/include/.cvsignore
    c/src/lib/libbsp/powerpc/papyrus/startup/.cvsignore
    c/src/lib/libbsp/powerpc/papyrus/wrapup/.cvsignore
    c/src/lib/libbsp/powerpc/ppcn_60x/.cvsignore
    c/src/lib/libbsp/powerpc/ppcn_60x/clock/.cvsignore
    c/src/lib/libbsp/powerpc/ppcn_60x/console/.cvsignore
    c/src/lib/libbsp/powerpc/ppcn_60x/include/.cvsignore
    c/src/lib/libbsp/powerpc/ppcn_60x/network/.cvsignore
    c/src/lib/libbsp/powerpc/ppcn_60x/nvram/.cvsignore
    c/src/lib/libbsp/powerpc/ppcn_60x/pci/.cvsignore
    c/src/lib/libbsp/powerpc/ppcn_60x/start/.cvsignore
    c/src/lib/libbsp/powerpc/ppcn_60x/startup/.cvsignore
    c/src/lib/libbsp/powerpc/ppcn_60x/timer/.cvsignore
    c/src/lib/libbsp/powerpc/ppcn_60x/tod/.cvsignore
    c/src/lib/libbsp/powerpc/ppcn_60x/universe/.cvsignore
    c/src/lib/libbsp/powerpc/ppcn_60x/vectors/.cvsignore
    c/src/lib/libbsp/powerpc/ppcn_60x/wrapup/.cvsignore
    c/src/lib/libbsp/powerpc/psim/.cvsignore
    c/src/lib/libbsp/powerpc/psim/clock/.cvsignore
    c/src/lib/libbsp/powerpc/psim/console/.cvsignore
    c/src/lib/libbsp/powerpc/psim/include/.cvsignore
    c/src/lib/libbsp/powerpc/psim/shmsupp/.cvsignore
    c/src/lib/libbsp/powerpc/psim/start/.cvsignore
    c/src/lib/libbsp/powerpc/psim/startup/.cvsignore
    c/src/lib/libbsp/powerpc/psim/timer/.cvsignore
    c/src/lib/libbsp/powerpc/psim/tools/.cvsignore
    c/src/lib/libbsp/powerpc/psim/vectors/.cvsignore
    c/src/lib/libbsp/powerpc/psim/wrapup/.cvsignore
    c/src/lib/libbsp/powerpc/score603e/.cvsignore
    c/src/lib/libbsp/powerpc/score603e/PCI_bus/.cvsignore
    c/src/lib/libbsp/powerpc/score603e/clock/.cvsignore
    c/src/lib/libbsp/powerpc/score603e/console/.cvsignore
    c/src/lib/libbsp/powerpc/score603e/include/.cvsignore
    c/src/lib/libbsp/powerpc/score603e/start/.cvsignore
    c/src/lib/libbsp/powerpc/score603e/startup/.cvsignore
    c/src/lib/libbsp/powerpc/score603e/timer/.cvsignore
    c/src/lib/libbsp/powerpc/score603e/tod/.cvsignore
    c/src/lib/libbsp/powerpc/score603e/vectors/.cvsignore
    c/src/lib/libbsp/powerpc/score603e/wrapup/.cvsignore
    c/src/lib/libbsp/powerpc/shared/.cvsignore
    c/src/lib/libbsp/powerpc/shared/bootloader/.cvsignore
    c/src/lib/libbsp/powerpc/shared/clock/.cvsignore
    c/src/lib/libbsp/powerpc/shared/console/.cvsignore
    c/src/lib/libbsp/powerpc/shared/include/.cvsignore
    c/src/lib/libbsp/powerpc/shared/irq/.cvsignore
    c/src/lib/libbsp/powerpc/shared/motorola/.cvsignore
    c/src/lib/libbsp/powerpc/shared/openpic/.cvsignore
    c/src/lib/libbsp/powerpc/shared/pci/.cvsignore
    c/src/lib/libbsp/powerpc/shared/residual/.cvsignore
    c/src/lib/libbsp/powerpc/shared/start/.cvsignore
    c/src/lib/libbsp/powerpc/shared/startup/.cvsignore
    c/src/lib/libbsp/powerpc/shared/vectors/.cvsignore
    c/src/lib/libbsp/sh/.cvsignore
    c/src/lib/libbsp/sh/gensh1/.cvsignore
    c/src/lib/libbsp/sh/gensh1/console/.cvsignore
    c/src/lib/libbsp/sh/gensh1/include/.cvsignore
    c/src/lib/libbsp/sh/gensh1/scitab/.cvsignore
    c/src/lib/libbsp/sh/gensh1/start/.cvsignore
    c/src/lib/libbsp/sh/gensh1/startup/.cvsignore
    c/src/lib/libbsp/sh/gensh1/wrapup/.cvsignore
    c/src/lib/libbsp/sh/gensh2/.cvsignore
    c/src/lib/libbsp/sh/gensh2/console/.cvsignore
    c/src/lib/libbsp/sh/gensh2/include/.cvsignore
    c/src/lib/libbsp/sh/gensh2/scitab/.cvsignore
    c/src/lib/libbsp/sh/gensh2/start/.cvsignore
    c/src/lib/libbsp/sh/gensh2/startup/.cvsignore
    c/src/lib/libbsp/sh/gensh2/wrapup/.cvsignore
    c/src/lib/libbsp/sh/shared/.cvsignore
    c/src/lib/libbsp/shmdr/.cvsignore
    c/src/lib/libbsp/sparc/.cvsignore
    c/src/lib/libbsp/sparc/erc32/.cvsignore
    c/src/lib/libbsp/sparc/erc32/clock/.cvsignore
    c/src/lib/libbsp/sparc/erc32/console/.cvsignore
    c/src/lib/libbsp/sparc/erc32/gnatsupp/.cvsignore
    c/src/lib/libbsp/sparc/erc32/include/.cvsignore
    c/src/lib/libbsp/sparc/erc32/start/.cvsignore
    c/src/lib/libbsp/sparc/erc32/startup/.cvsignore
    c/src/lib/libbsp/sparc/erc32/timer/.cvsignore
    c/src/lib/libbsp/sparc/erc32/tools/.cvsignore
    c/src/lib/libbsp/sparc/erc32/wrapup/.cvsignore
    c/src/lib/libbsp/unix/.cvsignore
    c/src/lib/libbsp/unix/posix/.cvsignore
    c/src/lib/libbsp/unix/posix/clock/.cvsignore
    c/src/lib/libbsp/unix/posix/console/.cvsignore
    c/src/lib/libbsp/unix/posix/include/.cvsignore
    c/src/lib/libbsp/unix/posix/shmsupp/.cvsignore
    c/src/lib/libbsp/unix/posix/startup/.cvsignore
    c/src/lib/libbsp/unix/posix/timer/.cvsignore
    c/src/lib/libbsp/unix/posix/tools/.cvsignore
    c/src/lib/libbsp/unix/posix/wrapup/.cvsignore
    c/src/lib/libc/.cvsignore
    c/src/lib/libcpu/.cvsignore
    c/src/lib/libcpu/a29k/.cvsignore
    c/src/lib/libcpu/a29k/clock/.cvsignore
    c/src/lib/libcpu/a29k/timer/.cvsignore
    c/src/lib/libcpu/hppa1.1/.cvsignore
    c/src/lib/libcpu/hppa1.1/clock/.cvsignore
    c/src/lib/libcpu/hppa1.1/include/.cvsignore
    c/src/lib/libcpu/hppa1.1/milli/.cvsignore
    c/src/lib/libcpu/hppa1.1/semaphore/.cvsignore
    c/src/lib/libcpu/hppa1.1/timer/.cvsignore
    c/src/lib/libcpu/i386/.cvsignore
    c/src/lib/libcpu/m68k/.cvsignore
    c/src/lib/libcpu/m68k/m68040/.cvsignore
    c/src/lib/libcpu/m68k/m68040/fpsp/.cvsignore
    c/src/lib/libcpu/mips64orion/.cvsignore
    c/src/lib/libcpu/mips64orion/clock/.cvsignore
    c/src/lib/libcpu/mips64orion/timer/.cvsignore
    c/src/lib/libcpu/powerpc/.cvsignore
    c/src/lib/libcpu/powerpc/mpc505/.cvsignore
    c/src/lib/libcpu/powerpc/mpc505/timer/.cvsignore
    c/src/lib/libcpu/powerpc/mpc505/vectors/.cvsignore
    c/src/lib/libcpu/powerpc/mpc6xx/.cvsignore
    c/src/lib/libcpu/powerpc/mpc6xx/clock/.cvsignore
    c/src/lib/libcpu/powerpc/mpc6xx/exceptions/.cvsignore
    c/src/lib/libcpu/powerpc/mpc6xx/mmu/.cvsignore
    c/src/lib/libcpu/powerpc/mpc6xx/timer/.cvsignore
    c/src/lib/libcpu/powerpc/mpc6xx/wrapup/.cvsignore
    c/src/lib/libcpu/powerpc/mpc821/.cvsignore
    c/src/lib/libcpu/powerpc/mpc821/clock/.cvsignore
    c/src/lib/libcpu/powerpc/mpc821/console-generic/.cvsignore
    c/src/lib/libcpu/powerpc/mpc821/include/.cvsignore
    c/src/lib/libcpu/powerpc/mpc821/timer/.cvsignore
    c/src/lib/libcpu/powerpc/mpc821/vectors/.cvsignore
    c/src/lib/libcpu/powerpc/mpc860/.cvsignore
    c/src/lib/libcpu/powerpc/mpc860/clock/.cvsignore
    c/src/lib/libcpu/powerpc/mpc860/console-generic/.cvsignore
    c/src/lib/libcpu/powerpc/mpc860/include/.cvsignore
    c/src/lib/libcpu/powerpc/mpc860/timer/.cvsignore
    c/src/lib/libcpu/powerpc/mpc860/vectors/.cvsignore
    c/src/lib/libcpu/powerpc/ppc403/.cvsignore
    c/src/lib/libcpu/powerpc/ppc403/clock/.cvsignore
    c/src/lib/libcpu/powerpc/ppc403/console/.cvsignore
    c/src/lib/libcpu/powerpc/ppc403/ictrl/.cvsignore
    c/src/lib/libcpu/powerpc/ppc403/timer/.cvsignore
    c/src/lib/libcpu/powerpc/ppc403/vectors/.cvsignore
    c/src/lib/libcpu/powerpc/shared/.cvsignore
    c/src/lib/libcpu/powerpc/wrapup/.cvsignore
    c/src/lib/libcpu/sh/.cvsignore
    c/src/lib/libcpu/sh/sh7032/.cvsignore
    c/src/lib/libcpu/sh/sh7032/clock/.cvsignore
    c/src/lib/libcpu/sh/sh7032/delay/.cvsignore
    c/src/lib/libcpu/sh/sh7032/include/.cvsignore
    c/src/lib/libcpu/sh/sh7032/null/.cvsignore
    c/src/lib/libcpu/sh/sh7032/sci/.cvsignore
    c/src/lib/libcpu/sh/sh7032/timer/.cvsignore
    c/src/lib/libcpu/sh/sh7045/.cvsignore
    c/src/lib/libcpu/sh/sh7045/clock/.cvsignore
    c/src/lib/libcpu/sh/sh7045/include/.cvsignore
    c/src/lib/libcpu/sh/sh7045/null/.cvsignore
    c/src/lib/libcpu/sh/sh7045/sci/.cvsignore
    c/src/lib/libcpu/sh/sh7045/timer/.cvsignore
    c/src/lib/libcpu/sparc/.cvsignore
    c/src/lib/libcpu/sparc/reg_win/.cvsignore
    c/src/lib/libcpu/sparc/syscall/.cvsignore
    c/src/libchip/.cvsignore
    c/src/libchip/network/.cvsignore
    c/src/libchip/rtc/.cvsignore
    c/src/libchip/serial/.cvsignore
    c/src/libmisc/.cvsignore
    c/src/libmisc/cpuuse/.cvsignore
    c/src/libmisc/dummy/.cvsignore
    c/src/libmisc/dumpbuf/.cvsignore
    c/src/libmisc/monitor/.cvsignore
    c/src/libmisc/rtmonuse/.cvsignore
    c/src/libmisc/stackchk/.cvsignore
    c/src/libmisc/untar/.cvsignore
    c/src/libmisc/wrapup/.cvsignore
    c/src/libnetworking/.cvsignore
    c/src/libnetworking/arpa/.cvsignore
    c/src/libnetworking/include/.cvsignore
    c/src/libnetworking/kern/.cvsignore
    c/src/libnetworking/lib/.cvsignore
    c/src/libnetworking/libc/.cvsignore
    c/src/libnetworking/machine/.cvsignore
    c/src/libnetworking/net/.cvsignore
    c/src/libnetworking/netinet/.cvsignore
    c/src/libnetworking/nfs/.cvsignore
    c/src/libnetworking/pppd/.cvsignore
    c/src/libnetworking/rtems/.cvsignore
    c/src/libnetworking/rtems_servers/.cvsignore
    c/src/libnetworking/rtems_webserver/.cvsignore
    c/src/libnetworking/sys/.cvsignore
    c/src/libnetworking/vm/.cvsignore
    c/src/libnetworking/wrapup/.cvsignore
    c/src/librdbg/.cvsignore
    c/src/librdbg/include/.cvsignore
    c/src/librdbg/include/rdbg/.cvsignore
    c/src/librdbg/include/rdbg/i386/.cvsignore
    c/src/librdbg/include/rdbg/powerpc/.cvsignore
    c/src/librdbg/src/.cvsignore
    c/src/librdbg/src/i386/.cvsignore
    c/src/librdbg/src/i386/any/.cvsignore
    c/src/librdbg/src/powerpc/.cvsignore
    c/src/librdbg/src/powerpc/mcp750/.cvsignore
    c/src/librdbg/src/powerpc/new_exception_processing/.cvsignore
    c/src/librpc/.cvsignore
    c/src/librpc/include/.cvsignore
    c/src/librpc/include/rpc/.cvsignore
    c/src/librpc/src/.cvsignore
    c/src/librtems++/.cvsignore
    c/src/librtems++/include/.cvsignore
    c/src/librtems++/include/rtems++/.cvsignore
    c/src/librtems++/src/.cvsignore
    c/src/make/.cvsignore
    c/src/make/compilers/.cvsignore
    c/src/make/custom/.cvsignore
    c/src/tests/.cvsignore
    c/src/tests/itrontests/.cvsignore
    c/src/tests/itrontests/itronhello/.cvsignore
    c/src/tests/itrontests/itronmbf01/.cvsignore
    c/src/tests/itrontests/itronmbox01/.cvsignore
    c/src/tests/itrontests/itronsem01/.cvsignore
    c/src/tests/itrontests/itrontask01/.cvsignore
    c/src/tests/itrontests/itrontask02/.cvsignore
    c/src/tests/itrontests/itrontask03/.cvsignore
    c/src/tests/itrontests/itrontask04/.cvsignore
    c/src/tests/itrontests/itrontime01/.cvsignore
    c/src/tests/libtests/.cvsignore
    c/src/tests/libtests/cpuuse/.cvsignore
    c/src/tests/libtests/malloctest/.cvsignore
    c/src/tests/libtests/monitor/.cvsignore
    c/src/tests/libtests/putenvtest/.cvsignore
    c/src/tests/libtests/rtems++/.cvsignore
    c/src/tests/libtests/rtmonuse/.cvsignore
    c/src/tests/libtests/stackchk/.cvsignore
    c/src/tests/libtests/termios/.cvsignore
    c/src/tests/mptests/.cvsignore
    c/src/tests/mptests/mp01/.cvsignore
    c/src/tests/mptests/mp01/node1/.cvsignore
    c/src/tests/mptests/mp01/node2/.cvsignore
    c/src/tests/mptests/mp02/.cvsignore
    c/src/tests/mptests/mp02/node1/.cvsignore
    c/src/tests/mptests/mp02/node2/.cvsignore
    c/src/tests/mptests/mp03/.cvsignore
    c/src/tests/mptests/mp03/node1/.cvsignore
    c/src/tests/mptests/mp03/node2/.cvsignore
    c/src/tests/mptests/mp04/.cvsignore
    c/src/tests/mptests/mp04/node1/.cvsignore
    c/src/tests/mptests/mp04/node2/.cvsignore
    c/src/tests/mptests/mp05/.cvsignore
    c/src/tests/mptests/mp05/node1/.cvsignore
    c/src/tests/mptests/mp05/node2/.cvsignore
    c/src/tests/mptests/mp06/.cvsignore
    c/src/tests/mptests/mp06/node1/.cvsignore
    c/src/tests/mptests/mp06/node2/.cvsignore
    c/src/tests/mptests/mp07/.cvsignore
    c/src/tests/mptests/mp07/node1/.cvsignore
    c/src/tests/mptests/mp07/node2/.cvsignore
    c/src/tests/mptests/mp08/.cvsignore
    c/src/tests/mptests/mp08/node1/.cvsignore
    c/src/tests/mptests/mp08/node2/.cvsignore
    c/src/tests/mptests/mp09/.cvsignore
    c/src/tests/mptests/mp09/node1/.cvsignore
    c/src/tests/mptests/mp09/node2/.cvsignore
    c/src/tests/mptests/mp10/.cvsignore
    c/src/tests/mptests/mp10/node1/.cvsignore
    c/src/tests/mptests/mp10/node2/.cvsignore
    c/src/tests/mptests/mp11/.cvsignore
    c/src/tests/mptests/mp11/node1/.cvsignore
    c/src/tests/mptests/mp11/node2/.cvsignore
    c/src/tests/mptests/mp12/.cvsignore
    c/src/tests/mptests/mp12/node1/.cvsignore
    c/src/tests/mptests/mp12/node2/.cvsignore
    c/src/tests/mptests/mp13/.cvsignore
    c/src/tests/mptests/mp13/node1/.cvsignore
    c/src/tests/mptests/mp13/node2/.cvsignore
    c/src/tests/mptests/mp14/.cvsignore
    c/src/tests/mptests/mp14/node1/.cvsignore
    c/src/tests/mptests/mp14/node2/.cvsignore
    c/src/tests/psxtests/.cvsignore
    c/src/tests/psxtests/include/.cvsignore
    c/src/tests/psxtests/psx01/.cvsignore
    c/src/tests/psxtests/psx02/.cvsignore
    c/src/tests/psxtests/psx03/.cvsignore
    c/src/tests/psxtests/psx04/.cvsignore
    c/src/tests/psxtests/psx05/.cvsignore
    c/src/tests/psxtests/psx06/.cvsignore
    c/src/tests/psxtests/psx07/.cvsignore
    c/src/tests/psxtests/psx08/.cvsignore
    c/src/tests/psxtests/psx09/.cvsignore
    c/src/tests/psxtests/psx10/.cvsignore
    c/src/tests/psxtests/psx11/.cvsignore
    c/src/tests/psxtests/psx12/.cvsignore
    c/src/tests/psxtests/psx13/.cvsignore
    c/src/tests/psxtests/psxcancel/.cvsignore
    c/src/tests/psxtests/psxfile01/.cvsignore
    c/src/tests/psxtests/psxhdrs/.cvsignore
    c/src/tests/psxtests/psxmount/.cvsignore
    c/src/tests/psxtests/psxmsgq01/.cvsignore
    c/src/tests/psxtests/psxreaddir/.cvsignore
    c/src/tests/psxtests/psxsem01/.cvsignore
    c/src/tests/psxtests/psxstat/.cvsignore
    c/src/tests/psxtests/psxtime/.cvsignore
    c/src/tests/psxtests/psxtimer/.cvsignore
    c/src/tests/samples/.cvsignore
    c/src/tests/samples/base_mp/.cvsignore
    c/src/tests/samples/base_mp/node1/.cvsignore
    c/src/tests/samples/base_mp/node2/.cvsignore
    c/src/tests/samples/base_sp/.cvsignore
    c/src/tests/samples/cdtest/.cvsignore
    c/src/tests/samples/hello/.cvsignore
    c/src/tests/samples/minimum/.cvsignore
    c/src/tests/samples/paranoia/.cvsignore
    c/src/tests/samples/ticker/.cvsignore
    c/src/tests/samples/unlimited/.cvsignore
    c/src/tests/sptests/.cvsignore
    c/src/tests/sptests/sp01/.cvsignore
    c/src/tests/sptests/sp02/.cvsignore
    c/src/tests/sptests/sp03/.cvsignore
    c/src/tests/sptests/sp04/.cvsignore
    c/src/tests/sptests/sp05/.cvsignore
    c/src/tests/sptests/sp06/.cvsignore
    c/src/tests/sptests/sp07/.cvsignore
    c/src/tests/sptests/sp08/.cvsignore
    c/src/tests/sptests/sp09/.cvsignore
    c/src/tests/sptests/sp11/.cvsignore
    c/src/tests/sptests/sp12/.cvsignore
    c/src/tests/sptests/sp13/.cvsignore
    c/src/tests/sptests/sp14/.cvsignore
    c/src/tests/sptests/sp15/.cvsignore
    c/src/tests/sptests/sp16/.cvsignore
    c/src/tests/sptests/sp17/.cvsignore
    c/src/tests/sptests/sp19/.cvsignore
    c/src/tests/sptests/sp20/.cvsignore
    c/src/tests/sptests/sp21/.cvsignore
    c/src/tests/sptests/sp22/.cvsignore
    c/src/tests/sptests/sp23/.cvsignore
    c/src/tests/sptests/sp24/.cvsignore
    c/src/tests/sptests/sp25/.cvsignore
    c/src/tests/sptests/sp26/.cvsignore
    c/src/tests/sptests/sp27/.cvsignore
    c/src/tests/sptests/sp28/.cvsignore
    c/src/tests/sptests/sp29/.cvsignore
    c/src/tests/sptests/spfatal/.cvsignore
    c/src/tests/sptests/spsize/.cvsignore
    c/src/tests/support/.cvsignore
    c/src/tests/support/include/.cvsignore
    c/src/tests/support/stubdr/.cvsignore
    c/src/tests/support/wrapup/.cvsignore
    c/src/tests/tmitrontests/.cvsignore
    c/src/tests/tmitrontests/include/.cvsignore
    c/src/tests/tmitrontests/tmitronsem01/.cvsignore
    c/src/tests/tmtests/.cvsignore
    c/src/tests/tmtests/include/.cvsignore
    c/src/tests/tmtests/tm01/.cvsignore
    c/src/tests/tmtests/tm02/.cvsignore
    c/src/tests/tmtests/tm03/.cvsignore
    c/src/tests/tmtests/tm04/.cvsignore
    c/src/tests/tmtests/tm05/.cvsignore
    c/src/tests/tmtests/tm06/.cvsignore
    c/src/tests/tmtests/tm07/.cvsignore
    c/src/tests/tmtests/tm08/.cvsignore
    c/src/tests/tmtests/tm09/.cvsignore
    c/src/tests/tmtests/tm10/.cvsignore
    c/src/tests/tmtests/tm11/.cvsignore
    c/src/tests/tmtests/tm12/.cvsignore
    c/src/tests/tmtests/tm13/.cvsignore
    c/src/tests/tmtests/tm14/.cvsignore
    c/src/tests/tmtests/tm15/.cvsignore
    c/src/tests/tmtests/tm16/.cvsignore
    c/src/tests/tmtests/tm17/.cvsignore
    c/src/tests/tmtests/tm18/.cvsignore
    c/src/tests/tmtests/tm19/.cvsignore
    c/src/tests/tmtests/tm20/.cvsignore
    c/src/tests/tmtests/tm21/.cvsignore
    c/src/tests/tmtests/tm22/.cvsignore
    c/src/tests/tmtests/tm23/.cvsignore
    c/src/tests/tmtests/tm24/.cvsignore
    c/src/tests/tmtests/tm25/.cvsignore
    c/src/tests/tmtests/tm26/.cvsignore
    c/src/tests/tmtests/tm27/.cvsignore
    c/src/tests/tmtests/tm28/.cvsignore
    c/src/tests/tmtests/tm29/.cvsignore
    c/src/tests/tmtests/tmck/.cvsignore
    c/src/tests/tmtests/tmoverhd/.cvsignore
    c/src/tests/tools/.cvsignore
    c/src/tests/tools/generic/.cvsignore
    c/src/wrapup/.cvsignore
    doc/.cvsignore
    make/.cvsignore
    make/Templates/.cvsignore
    make/compilers/.cvsignore
    make/custom/.cvsignore
    scripts-ada/.cvsignore
    scripts-ada/binutils/.cvsignore
    scripts-ada/gdb/.cvsignore
    scripts-ada/gnatnewlib/.cvsignore
    scripts/.cvsignore
    scripts/binutils/.cvsignore
    scripts/gccnewlib/.cvsignore
    scripts/gdb/.cvsignore
    scripts/rtems/.cvsignore
    tools/.cvsignore
    tools/build/.cvsignore
    tools/cpu/.cvsignore
    tools/cpu/generic/.cvsignore
    tools/cpu/hppa1.1/.cvsignore
    tools/cpu/sh/.cvsignore
    tools/cpu/unix/.cvsignore
    tools/update/.cvsignore
2000-04-13 16:47:58 +00:00
Joel Sherrill
0e136bed14 Patch rtems-rc-4.5.0-12-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
The patch contains two mid-severity bug fixes:

  - bootstrap: fix autoheader invocation
  - make/host.cfg.in: comment out RM, required by c/src/make/host.cfg.in,
    which is generated from make/host.cfg.in
2000-04-13 13:47:28 +00:00
Joel Sherrill
e0d1ba5fa5 Modified CVS Id. 2000-04-13 13:46:19 +00:00
Joel Sherrill
a7d5b16341 Modified Id. 2000-04-13 13:45:52 +00:00
Joel Sherrill
dddbc444a0 Renamed IMFS structure elements to avoid conflicts on Solaris host/target.
Reported by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
2000-04-13 13:40:20 +00:00
Joel Sherrill
6c48c6eec8 Modified to disable interrupts while checking signals. 2000-04-13 13:37:29 +00:00
Joel Sherrill
f3fea8685f M68k BSPs compile and link again after making Ramsize handling as
consistent as possible across all m68k BSPs.
2000-04-13 13:00:41 +00:00
Joel Sherrill
2e34e9f106 Added note indicating source of expected assertion. 2000-04-11 20:19:59 +00:00
Joel Sherrill
206ca3ae79 Honor no data cache macro setting. Problem reported by Wilfried Busalski
<fue@lancier.de>.
2000-04-07 19:39:27 +00:00
Joel Sherrill
09652b9ff2 Cleanup patch from John Cotton <John.Cotton@nrc.ca>. 2000-04-07 19:10:44 +00:00
Joel Sherrill
f50952c9d3 Patch from Charles-Antoine Gauthier <charles.gauthier@nrc.ca> after
feedback from Eric Norum <eric@skatter.usask.ca> on static and
dynamic RAM sizing issues while still having as much shared
code as possible across the m68k BSPs.
2000-04-07 19:04:12 +00:00
Joel Sherrill
cc655a57ef Patch from Eric Norum <eric@cls.usask.ca> to make the loopback interface
actually work.  This was tripped by EPICS.
2000-04-07 19:01:01 +00:00
Joel Sherrill
755c630210 Cleanup patch rtems-rc-4.5.0-11-cvs.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>.
2000-04-05 19:39:01 +00:00
Joel Sherrill
6e48c9b206 Cleanup patch from Ralf Corsepius. 2000-04-05 19:37:04 +00:00
Joel Sherrill
0315b79ba6 Added support for Cygwin. 2000-04-05 19:32:36 +00:00
Joel Sherrill
35ff211959 Now all m68k BSPs specify _RamBase. This is necessary for the shared
m68kbsppretaskinghook.c to work.
2000-04-05 19:09:06 +00:00
Joel Sherrill
bb734ccaa8 Patch from Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
to update the mvme167 BSP and account for the fact that RAM base
does not have to start at 0.
2000-04-05 18:24:48 +00:00
cvs2git
ce70a16674 This commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'.
Cherrypick from master 2000-04-05 13:27:52 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'New file.  Copied from i386ex BSP as missing from submission.':
    c/src/lib/libbsp/m68k/mvme167/network/Makefile.am
    c/src/lib/libbsp/m68k/mvme167/network/netexterns.h
    c/src/lib/libbsp/m68k/mvme167/network/network.c
    c/src/lib/libbsp/m68k/mvme167/network/uti596.h
    make/custom/Cygwin-posix.cfg
2000-04-05 13:27:53 +00:00
Joel Sherrill
cbbc442efc Added cygwin as simulator port. 2000-04-05 13:10:57 +00:00
Joel Sherrill
0c67e4aca6 Patch from Charles-Antoine Gauthier <charles.gauthier@nrc.ca> to go
along with the network driver.
2000-04-05 12:55:10 +00:00
Joel Sherrill
12edad69e3 Patch rtems-rc-4.5-10-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
Ralf's description of the patch follows:

  Now that make VARIANT=xxx has prooven not to be simple enough, I made up
  my mind to change again the internals of the mechanism being used to
  handle variants:

  With the patch below, I introduce the indirection step I had mentioned
  in one of my recent mails to translate settings of VARIANT.

  The trick is to use the contents of VARIANT as keyword to lookup another
  internal keyword (VARIANT_V), which then is used as keyword to lookup
  values for setting ARCH, LIB_VARIANT, LIBSUFFIX_VA and AM_CFLAGS from
  ARCH_$(VARIANT_V)_V etc. (cf automake/local.am).

  This means, at first to translate
    VARIANT=[optimize|OPTIMIZE] into VARIANT_V=OPTIMIZE
    VARIANT=[debug|DEBUG] into VARIANT_V=DEBUG
    VARIANT=[profile|PROFILE] into VARIANT_V=PROFILE
    VARIANT=<anything> into VARIANT_V=<anything>

  => perform keyword conversion to uppercase and reduction from 6 to 3+1
    internal keywords.

  $(VARIANT_V) then is used to lookup make variables from other tables
  (eg. CFLAGS_*_V).  Eg. ARCH is set up this way:

    ARCH_OPTIMIZE_V = o-optimize
    ARCH_DEBUG_V = o-debug
    ARCH_PROFILE_V = o-profile
    ARCH__V = $(ARCH_OPTIMIZE_V)
    ARCH = $(ARCH_$(VARIANT_V)_V)

  Note the ARCH__V variable. When VARIANT=<anything> is passed to make,
  VARIANT_V=<anything> will be set, resulting into ARCH =
  $(ARCH_$(<anything>)_V) = $(ARCH__V) = $(ARCH_OPTIMIZE_V), ie. falling
  back to OPTIMIZE.

  => o- or o-<anything> should never popup anymore.
2000-04-05 12:51:51 +00:00
Joel Sherrill
a899433e54 Patch rtems-rc-4.5.0-8-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
Fixes a problem related to an old bug in automake-1.4 which already had
broken other Makefile.ams in RTEMS (cf. ./c/src/lib/libbsp/bsp.am).
2000-04-04 19:04:33 +00:00
Joel Sherrill
ad3c8e860e Patch rtems-rc-4.5.0-8-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
The patch contains:

* make uninstall will only work if called from below
  <target_alias>/c/<BSP> of if all BSPs in RTEMS_BSP_LIST have been built
  previously (c/Makefile will choke otherwise). Not perfect but better
  than nothing.
2000-04-04 19:02:52 +00:00
Joel Sherrill
a7c46db906 Fixed typo. 2000-04-04 12:53:06 +00:00
Joel Sherrill
c34eb10f55 Patch rtems-rc-4.5.0-7-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
The patch contains:

  * Many small cleanups wrt. make VARIANT=[DEBUG|PROFILE] support
  * several modifications to make/custom/*.cfg
  * Merger with the mvme2307.cfg you had posted two weeks ago (Please
    check it, I did not check it against to version you posted today).
  * Added a check to the toplevel configure.in to refuse building inside
    of the source tree.
2000-04-03 20:01:31 +00:00
cvs2git
cc2ccd6e71 This commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'.
Cherrypick from master 2000-04-03 19:56:54 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'New file from Ralf Corsepius <corsepiu@faw.uni-ulm.de> as part of':
    c/src/make/leaf.cfg
2000-04-03 19:56:55 +00:00
Joel Sherrill
562f5c8591 Added cygwin as mapping to unix port. 2000-04-03 19:01:31 +00:00
Joel Sherrill
7f02ee73ff Patch from Eric Norum <eric@cls.usask.ca> to prevent leaking MT_SONAME
mbuf's in the network stack.
2000-04-03 17:30:31 +00:00
Joel Sherrill
33677ef548 Enhancements from Charles-Antoine Gauthier <charles.gauthier@nrc.ca>. 2000-04-03 15:31:17 +00:00
Joel Sherrill
effc2c4e6b Patch rtems-rc-4.5.0-6-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
The patch contains:

  * build variants support
  * Reworked make-exe custom/*.cfg for all targets (Should be
    self-explanatory, may still be incomplete)
  * Several fixes to custom/*.cfgs related to setting debug flags
  * Fixes to some bsp_specs for BSPs which apparently have never been
    build with debugging before ;)
  * pc386.cfg fix attempts (cf. my mail from earlier today)
  * Updated ampolish (No need to run it, the patch contains the result
    from having applied it)

Known bugs/deficiencies related to this work:

  * "make [clean|distclean]" support is still incomplete (e.g. "make
    clean" does not delete all Depends-o-*)
  * Completely untested for linux/posix and hppa.
  * Build failures of i960 BSPs (make VARIANT=DEBUG) - I guess, they are
    not related to this patch.
  * Successfully tested for all sh, sparc, i386, ppc, m68k BSPs (make
    VARIANT=DEBUG)
  * make VARIANT=PROFILE not supported by all BSPs (I don't care :)
  * make VARIANT=DEBUG failures below tests/ for some BSPs (e.g. gensh1),
    because of the tests's binaries being too large to fit into the target
    memory layout.
2000-04-03 14:44:39 +00:00
Joel Sherrill
0d744abbcc Patch from Jay Kulpinski <jskulpin@eng01.gdds.com> that makes
sure the mvme2307 BSP uses new exception processing.  Jay included
modifications to the make-exe rule to build bootable binary images
but I (being Joel) am unsure if the way they jump around the tree is
OK for both automake/autoconf and post-install usage.
2000-04-03 14:03:11 +00:00
Joel Sherrill
52448f35e9 Patch from Jay Kulpinski <jskulpin@eng01.gdds.com> that addresses
a floating point support problem discovered with the mvme2307 BSP.
A floating point not available exception would occur when trying
to switch to a new thread with the floating point attribute.
Floating point instructions were disabled, but floating point
loads and stores were needed to save and/or restore the context.
2000-04-03 13:57:34 +00:00
Joel Sherrill
d2d4372da0 Patch from Charles-Antoine Gauthier <charles.gauthier@nrc.ca> reviewed
by Eric Norum <eric@cls.usask.ca> to disable flow control at initialization.
2000-04-03 13:24:38 +00:00
Joel Sherrill
7ea9f1dc08 Patch from Eric Norum <eric@cls.usask.ca> so simple binary semaphores
can be deleted when held.
2000-04-03 13:10:50 +00:00
Joel Sherrill
969525fe2f Added missing include of <sys/types.h> required by added prototypes. 2000-03-23 13:57:13 +00:00
Joel Sherrill
94795bbda6 Patch rtems-rc-4.5.0-5-cvs.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> that allows bootstrap to be run
from subdirectories.
2000-03-22 14:04:02 +00:00
Joel Sherrill
96cf181204 Removed referecnes to BSP specific files. Other corrections
will likely be needed in the efi332 BSP.
2000-03-21 21:35:47 +00:00
Joel Sherrill
776d6963ae Corrected mpc505/mpc509 support based on patch from Wilfried Busalski
<fue@lancier.de>.
2000-03-21 21:33:38 +00:00
Joel Sherrill
af7a0ed984 Patch from Eric Norum <eric@cls.usask.ca> to correct calls to
memset().  The arguments for value and size were reversed everywhere.
2000-03-21 20:15:09 +00:00
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
Joel Sherrill
abbf55b924 Ran ampolish after getting new version from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>.
2000-03-21 18:05:29 +00:00
Joel Sherrill
6f921ba886 Ran ampolish after getting new version from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>.
2000-03-21 17:57:21 +00:00
Joel Sherrill
67077a1b46 Patches rtems-rc-4.5.0-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that addresses the following:

    * Duplicate variables in Makefiles (many Makefile.ams below c/src/test
      are affected systematically)
    * Erroniously using local.am instead of host.am in host-Makefile.am
      (Only host Makefile.ams should be affected; Erroniously using local.am
      in host-Makefiles doesn't desturb much)
    * use '.' instead of '$pwd' in ./bootstrap (using $pwd does not work if
      $pwd is a symlink on linux).
    * Broken CVS Ids somewhere
    * Removing redundant/obsolete make variables from *.cfg files.

  Except of the last item from the list above, most parts of this patch
  are fairly harmless, sometimes even cosmetical.

  As mentioned before, this patch also contains a new ampolish script.

  This script features:
    * Pretty printing of Makefile.ams (eg. removal of trailing spaces,
      removal of duplicate empty lines, pretty printing make variables, etc.).

    * Some syntactical checks on the contents of Makefiles.am
    * Proper handling of Automake conditionals

  FYI:
    * Applying tools/update/rtems-polish.sh -am completely reformats all
      Makefile.am resulting into a very large (~500k) diff.
    * Applying tools/update/rtems-polish.sh -am twice, finally does not
      reformat the Makefile.ams anymore.
    * Many parts of the patch above result from merging back issues which
      have shown when applying this new ampolish (i.e. partially result from
      extracting the essentials of reformating being proposed by applying it
      on Makefile.ams).

    Though this ampolish is a very nice tool, IMHO, I am hestitant if you
    should apply (i.e. run tools/update/rtems-polish.sh -am) it to the
    sources before the release, because
      * the resulting diff is fairly large
      * I am not 100% sure it doesn't break anything.

    However, applying it after the release would result into compatibility
    problems in applying patches ;)

    I would suggest that you might consider trying it locally, then to
    examine the diff and then to decide whether to apply it in general or
    not.

Joel's Comments:

As Ralf points out, this patch is problematic in that applying it before
a release could break things but applying it afterwards will result in
patches being unusable for Makefiles.  My inclination is to forge ahead
and apply it.
2000-03-21 17:11:40 +00:00
Joel Sherrill
15b6e46f70 Patch from Charles-Antoine Gauthier <charles.gauthier@nrc.ca>
to fix problem where wait() was in this file -- not waitpid().
2000-03-21 15:56:54 +00:00
Joel Sherrill
d56669456a After Charles-Antoine Gauthier <charles.gauthier@nrc.ca> spotted that the
prototype for tcsendbreak() was missing, Joel noticed that others were as
well and added them.
2000-03-21 15:36:48 +00:00
Joel Sherrill
d6b047703d Patch from Gunter Magin <magin@skil.camelot.de>.
It seems to me I have found a bug in m860_smc_initialize(). This
    function lives in
    c/src/lib/libcpu/powerpc/mpc860/console-generic/console-generic.c.

    The following lines are supposed to set the simode register with the
    baud rate generator index, which has been returned from m860_get_brg_clk().

    (line 386 of console-generic.c)
        /*
         * Put SMC in NMSI mode, connect SMC to BRG
         */
        m860.simode &= ~0x7000 << ((port-1) * 8);
        m860.simode |= brg << (12 + ((port-1) * 8));

    This works well for port == 1 (SMC1), however for SMC2 (port == 2) it
    fails. First, the simode register consists of 2 16bit parts (one for
    SMC1 and SMC2 respectively), hence the shift count is wrong. Second ~0x7000
    (which is 0xffff8fff is shifted left and pulls 0 from the right, which
    kills the SMC1 entries, when written back to the simode register.

    Substitute those lines by:

        m860.simode &= ~(0x7000 << ((port-1) * 16));
        m860.simode |= brg << (12 + ((port-1) * 16));

    I have checked snapshot 20000218a which still contains the bug.

    Also affected is libcpu/powerpc/mpc821/console_generic.c, which is a
    cut&paste&substitue decendant of the mpc860 console-generic.c.
CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS:  Tag: rtems-4-5-branch
CVS: 	console-generic.c
CVS: ----------------------------------------------------------------------
2000-03-21 15:06:04 +00:00
Joel Sherrill
218103dd35 Patch from Gunter Magin <magin@skil.camelot.de>.
It seems to me I have found a bug in m860_smc_initialize(). This
    function lives in
    c/src/lib/libcpu/powerpc/mpc860/console-generic/console-generic.c.

    The following lines are supposed to set the simode register with the
    baud rate generator index, which has been returned from m860_get_brg_clk().

    (line 386 of console-generic.c)
        /*
         * Put SMC in NMSI mode, connect SMC to BRG
         */
        m860.simode &= ~0x7000 << ((port-1) * 8);
        m860.simode |= brg << (12 + ((port-1) * 8));

    This works well for port == 1 (SMC1), however for SMC2 (port == 2) it
    fails. First, the simode register consists of 2 16bit parts (one for
    SMC1 and SMC2 respectively), hence the shift count is wrong. Second ~0x7000
    (which is 0xffff8fff is shifted left and pulls 0 from the right, which
    kills the SMC1 entries, when written back to the simode register.

    Substitute those lines by:

        m860.simode &= ~(0x7000 << ((port-1) * 16));
        m860.simode |= brg << (12 + ((port-1) * 16));

    I have checked snapshot 20000218a which still contains the bug.

    Also affected is libcpu/powerpc/mpc821/console_generic.c, which is a
    cut&paste&substitue decendant of the mpc860 console-generic.c.
2000-03-21 15:05:19 +00:00
Joel Sherrill
477f3471f8 Problem reported by Chris Johns <ccj@acm.org> that webcomp.c was being
built and included in the target code.  It is a host utility.
2000-03-21 14:46:40 +00:00
Joel Sherrill
89fbb94136 changed version to 4.5.0-beta1c 2000-02-29 14:19:26 +00:00
Joel Sherrill
ac11adeb5b Fixed one type and switched to including the correct Makefile support file. 2000-02-28 15:00:28 +00:00
Joel Sherrill
0ac819756c Patches rtems-rc-4.5.0-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that fixes numerous miscellaneous issues most related to the debug and
profile build stanzas:

  Fix for the "make debug" (1) issue and an analogous issue with "make
  profile" (untested).
    * Fixes to mcp750.cfg (make debug, directories) (2)
    * Updates/minor fixes for shgen (3)
    * Updates some custom/*.cfgs to use $(LINK.c) instead of  $(CC)
    * Leftovers from rtems-rc-4.5.0-[0|1].diff which somehow did not make it
      into cvs.
    * Cleanups to the perlscripts below tools/update/
    * Some unsorted minor fixes.

 Footnotes/Remarks:
    (1) Tested for all m68k, sh, sparc, unix and selected i386, ppc BSPs.

    Known problems: I can't build the debug variant for the m68k/mvme162 and
    m68k/mvme162lx (segmentation fault - signal 11 :)

    (2) Tested by building the BSP, but I doubt the debug-variant is
    functional. The flags used for the debug variant should be checked by
    knowledgeable persons and probably at runtime #:o)

    (3) I have updated shgen to use getopt_long (it should fall back to
    getopt if not available), enhanced the options, cleaned up some minor
    tweaks and added help2man support (rough automatic man-page generation).

  Technical notes:
    * make debug and make profile now work similar in target Makefile.ams as
    they did in old autoconf-Makefile.ins using leaf.cfg. Unlike the rules
    in leaf.cfg these Makefile.am also recurse once on themselves in
    directory Makefiles before or after recursing into subdirectories, not
    only in leaf-directories.
    To implement this behavior, I renamed the former automake/local.am into
    automake/host.am and extended local.am to provide this recursion.
    I.e. host.am implements the non-self-recursive variant, while local.am
    now implements the self-recursive behavior.
    => all Makefile.ams exploiting build-variants are supposed to include
    local.am
    => all Makefile.ams not exploiting build-variants should include host.am

    => Rules of thumb:
        - Only include one of both, either local.am or host.am into a
        Makefile.am.
        -Target-Makefile.ams should include local.am
        -Host-Makefile.ams should include host.am (Probably, you now understand
        the naming)
        - There are exceptions from these rules :)

    * Now, make debug|profile|all are independent of each other. However,
    each of them however triggers preinstall.

    * "make install" still decends into the subdirectories but does not
    trigger "all|profile|debug|preinstall" in target Makefile.am anymore.
    Besides triggering "install"-rules in some selected Makefile.ams, it
    only packs $(PROJECT_ROOT) into a tarballs and unpacks it to $(prefix).
    => "make install" alone is not enough to install RTEMS, now use
    make RTEMS_BSP=<bsps> [all] [debug] [profile]
    make RTEMS_BSP=<bsp> install

    I consider this to be a step back wrt. exploiting automake mechanisms,
    and expect this to be reverted if we abandon building target variants in
    favour of the standard convention of optionally overriding flags from
    the command line (i.e. instead of "make debug", GNU standards favor
    "make CFLAGS=<options> --prefix=<location>")
2000-02-25 18:50:47 +00:00
Joel Sherrill
02c31b9c10 Patches rtems-rc-4.5.0-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that fixes numerous miscellaneous issues most related to the debug and
profile build stanzas:

  Fix for the "make debug" (1) issue and an analogous issue with "make
  profile" (untested).
    * Fixes to mcp750.cfg (make debug, directories) (2)
    * Updates/minor fixes for shgen (3)
    * Updates some custom/*.cfgs to use $(LINK.c) instead of  $(CC)
    * Leftovers from rtems-rc-4.5.0-[0|1].diff which somehow did not make it
      into cvs.
    * Cleanups to the perlscripts below tools/update/
    * Some unsorted minor fixes.

 Footnotes/Remarks:
    (1) Tested for all m68k, sh, sparc, unix and selected i386, ppc BSPs.

    Known problems: I can't build the debug variant for the m68k/mvme162 and
    m68k/mvme162lx (segmentation fault - signal 11 :)

    (2) Tested by building the BSP, but I doubt the debug-variant is
    functional. The flags used for the debug variant should be checked by
    knowledgeable persons and probably at runtime #:o)

    (3) I have updated shgen to use getopt_long (it should fall back to
    getopt if not available), enhanced the options, cleaned up some minor
    tweaks and added help2man support (rough automatic man-page generation).

  Technical notes:
    * make debug and make profile now work similar in target Makefile.ams as
    they did in old autoconf-Makefile.ins using leaf.cfg. Unlike the rules
    in leaf.cfg these Makefile.am also recurse once on themselves in
    directory Makefiles before or after recursing into subdirectories, not
    only in leaf-directories.
    To implement this behavior, I renamed the former automake/local.am into
    automake/host.am and extended local.am to provide this recursion.
    I.e. host.am implements the non-self-recursive variant, while local.am
    now implements the self-recursive behavior.
    => all Makefile.ams exploiting build-variants are supposed to include
    local.am
    => all Makefile.ams not exploiting build-variants should include host.am

    => Rules of thumb:
        - Only include one of both, either local.am or host.am into a
        Makefile.am.
        -Target-Makefile.ams should include local.am
        -Host-Makefile.ams should include host.am (Probably, you now understand
        the naming)
        - There are exceptions from these rules :)

    * Now, make debug|profile|all are independent of each other. However,
    each of them however triggers preinstall.

    * "make install" still decends into the subdirectories but does not
    trigger "all|profile|debug|preinstall" in target Makefile.am anymore.
    Besides triggering "install"-rules in some selected Makefile.ams, it
    only packs $(PROJECT_ROOT) into a tarballs and unpacks it to $(prefix).
    => "make install" alone is not enough to install RTEMS, now use
    make RTEMS_BSP=<bsps> [all] [debug] [profile]
    make RTEMS_BSP=<bsp> install

    I consider this to be a step back wrt. exploiting automake mechanisms,
    and expect this to be reverted if we abandon building target variants in
    favour of the standard convention of optionally overriding flags from
    the command line (i.e. instead of "make debug", GNU standards favor
    "make CFLAGS=<options> --prefix=<location>")
2000-02-25 17:34:26 +00:00
Joel Sherrill
99eb5852f5 Patches rtems-rc-4.5.0-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that fixes numerous miscellaneous issues most related to the debug and
profile build stanzas:

  Fix for the "make debug" (1) issue and an analogous issue with "make
  profile" (untested).
    * Fixes to mcp750.cfg (make debug, directories) (2)
    * Updates/minor fixes for shgen (3)
    * Updates some custom/*.cfgs to use $(LINK.c) instead of  $(CC)
    * Leftovers from rtems-rc-4.5.0-[0|1].diff which somehow did not make it
      into cvs.
    * Cleanups to the perlscripts below tools/update/
    * Some unsorted minor fixes.

 Footnotes/Remarks:
    (1) Tested for all m68k, sh, sparc, unix and selected i386, ppc BSPs.

    Known problems: I can't build the debug variant for the m68k/mvme162 and
    m68k/mvme162lx (segmentation fault - signal 11 :)

    (2) Tested by building the BSP, but I doubt the debug-variant is
    functional. The flags used for the debug variant should be checked by
    knowledgeable persons and probably at runtime #:o)

    (3) I have updated shgen to use getopt_long (it should fall back to
    getopt if not available), enhanced the options, cleaned up some minor
    tweaks and added help2man support (rough automatic man-page generation).

  Technical notes:
    * make debug and make profile now work similar in target Makefile.ams as
    they did in old autoconf-Makefile.ins using leaf.cfg. Unlike the rules
    in leaf.cfg these Makefile.am also recurse once on themselves in
    directory Makefiles before or after recursing into subdirectories, not
    only in leaf-directories.
    To implement this behavior, I renamed the former automake/local.am into
    automake/host.am and extended local.am to provide this recursion.
    I.e. host.am implements the non-self-recursive variant, while local.am
    now implements the self-recursive behavior.
    => all Makefile.ams exploiting build-variants are supposed to include
    local.am
    => all Makefile.ams not exploiting build-variants should include host.am

    => Rules of thumb:
        - Only include one of both, either local.am or host.am into a
        Makefile.am.
        -Target-Makefile.ams should include local.am
        -Host-Makefile.ams should include host.am (Probably, you now understand
        the naming)
        - There are exceptions from these rules :)

    * Now, make debug|profile|all are independent of each other. However,
    each of them however triggers preinstall.

    * "make install" still decends into the subdirectories but does not
    trigger "all|profile|debug|preinstall" in target Makefile.am anymore.
    Besides triggering "install"-rules in some selected Makefile.ams, it
    only packs $(PROJECT_ROOT) into a tarballs and unpacks it to $(prefix).
    => "make install" alone is not enough to install RTEMS, now use
    make RTEMS_BSP=<bsps> [all] [debug] [profile]
    make RTEMS_BSP=<bsp> install

    I consider this to be a step back wrt. exploiting automake mechanisms,
    and expect this to be reverted if we abandon building target variants in
    favour of the standard convention of optionally overriding flags from
    the command line (i.e. instead of "make debug", GNU standards favor
    "make CFLAGS=<options> --prefix=<location>")
2000-02-25 15:03:10 +00:00
Joel Sherrill
77b2b0ec5b Patches rtems-rc-4.5.0-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that fixes numerous miscellaneous issues most related to the debug and
profile build stanzas:

  Fix for the "make debug" (1) issue and an analogous issue with "make
  profile" (untested).
    * Fixes to mcp750.cfg (make debug, directories) (2)
    * Updates/minor fixes for shgen (3)
    * Updates some custom/*.cfgs to use $(LINK.c) instead of  $(CC)
    * Leftovers from rtems-rc-4.5.0-[0|1].diff which somehow did not make it
      into cvs.
    * Cleanups to the perlscripts below tools/update/
    * Some unsorted minor fixes.

 Footnotes/Remarks:
    (1) Tested for all m68k, sh, sparc, unix and selected i386, ppc BSPs.

    Known problems: I can't build the debug variant for the m68k/mvme162 and
    m68k/mvme162lx (segmentation fault - signal 11 :)

    (2) Tested by building the BSP, but I doubt the debug-variant is
    functional. The flags used for the debug variant should be checked by
    knowledgeable persons and probably at runtime #:o)

    (3) I have updated shgen to use getopt_long (it should fall back to
    getopt if not available), enhanced the options, cleaned up some minor
    tweaks and added help2man support (rough automatic man-page generation).

  Technical notes:
    * make debug and make profile now work similar in target Makefile.ams as
    they did in old autoconf-Makefile.ins using leaf.cfg. Unlike the rules
    in leaf.cfg these Makefile.am also recurse once on themselves in
    directory Makefiles before or after recursing into subdirectories, not
    only in leaf-directories.
    To implement this behavior, I renamed the former automake/local.am into
    automake/host.am and extended local.am to provide this recursion.
    I.e. host.am implements the non-self-recursive variant, while local.am
    now implements the self-recursive behavior.
    => all Makefile.ams exploiting build-variants are supposed to include
    local.am
    => all Makefile.ams not exploiting build-variants should include host.am

    => Rules of thumb:
        - Only include one of both, either local.am or host.am into a
        Makefile.am.
        -Target-Makefile.ams should include local.am
        -Host-Makefile.ams should include host.am (Probably, you now understand
        the naming)
        - There are exceptions from these rules :)

    * Now, make debug|profile|all are independent of each other. However,
    each of them however triggers preinstall.

    * "make install" still decends into the subdirectories but does not
    trigger "all|profile|debug|preinstall" in target Makefile.am anymore.
    Besides triggering "install"-rules in some selected Makefile.ams, it
    only packs $(PROJECT_ROOT) into a tarballs and unpacks it to $(prefix).
    => "make install" alone is not enough to install RTEMS, now use
    make RTEMS_BSP=<bsps> [all] [debug] [profile]
    make RTEMS_BSP=<bsp> install

    I consider this to be a step back wrt. exploiting automake mechanisms,
    and expect this to be reverted if we abandon building target variants in
    favour of the standard convention of optionally overriding flags from
    the command line (i.e. instead of "make debug", GNU standards favor
    "make CFLAGS=<options> --prefix=<location>")
2000-02-25 14:51:28 +00:00
Joel Sherrill
06f190b9b6 Correcting them so they have a chance of working. They need to
at least include $(RTEMS_MAKEFILE_PATH)/Makefile.in before including
anything else.
2000-02-23 21:15:37 +00:00
Joel Sherrill
7209360a09 Fix based on report from Jake Janovetz <janovetz@tempest.ece.uiuc.edu>
that some files needed to be installed so you could build your own
version of the web server initialization code.
2000-02-23 16:01:11 +00:00
Joel Sherrill
f362fa7698 Fixed based on report from Peter Pointner <pr@schenk.isar.de> that
POSIX threads passed the incorrect pointer to a default name on
the stack.  POSIX threads did not need a name and neither did
ITRON tasks so this code was eliminated from both APIs.
2000-02-23 15:59:20 +00:00
Joel Sherrill
06383557e0 Patch rtems-rc-4.5.0-diff from Ralf Corsepius to address a problem
where user Makefiles where accidentally used when using the RTEMS
application Makefile scheme.
2000-02-19 15:46:40 +00:00
Joel Sherrill
2de8b1b2fa Small patch from Peter Pointner <pr@schenk.isar.de> to correct
invalid use of directive_failed macro.
2000-02-18 14:30:56 +00:00
Joel Sherrill
1509336283 Patch from Eric Norum <eric@cls.usask.ca> to address these issues:
1) Coalesce outgoing packet into a single mbuf when the packet is spread
      over more mbufs than configured transmit buffer descriptors.
   2) Add dianostic counters for successful and failed coalesce attempts.
   3) Add diagnostic counter for transmit retries.

NOTE: (1) lead to deadlock and the same design based on underlying
hardware characteristics is currently also in the Sonic and
i386ex/network driver.
2000-02-18 13:53:06 +00:00
Joel Sherrill
56616af310 Patch rtems-rc-4.5.0-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which contains a couple of minor bug fixes:

  Fixes:
    * Typos: Use LIB_VARIANT instead of LIBVARIANT
    * Fix pc386.cfg
2000-02-16 17:47:48 +00:00
Joel Sherrill
319d298851 Changed <= to < to prevent overindexing array of file control blocks
(rtems_libio_iops).
2000-02-15 21:01:27 +00:00
cvs2git
d5e3931159 This commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'.
Sprout from master 2000-02-11 15:54:47 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'Increased block size to 128 and added comments based on feedback from'
Delete:
    c/src/ada-tests/mptests/mp01/config.h
    c/src/ada-tests/mptests/mp01/mp01.adb
    c/src/ada-tests/mptests/mp01/mptest.adb
    c/src/ada-tests/mptests/mp01/mptest.ads
    c/src/ada-tests/mptests/mp01/node1/mp01.scn
    c/src/ada-tests/mptests/mp01/node1/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp01/node2/mp01.scn
    c/src/ada-tests/mptests/mp01/node2/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp02/mptest.adb
    c/src/ada-tests/mptests/mp02/mptest.ads
    c/src/ada-tests/mptests/mp02/node1/mp02.scn
    c/src/ada-tests/mptests/mp02/node1/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp02/node2/mp02.scn
    c/src/ada-tests/mptests/mp02/node2/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp03/mptest.adb
    c/src/ada-tests/mptests/mp03/mptest.ads
    c/src/ada-tests/mptests/mp03/node1/mp03.scn
    c/src/ada-tests/mptests/mp03/node1/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp03/node2/mp03.scn
    c/src/ada-tests/mptests/mp03/node2/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp04/mptest.adb
    c/src/ada-tests/mptests/mp04/mptest.ads
    c/src/ada-tests/mptests/mp04/node1/mp04.scn
    c/src/ada-tests/mptests/mp04/node1/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp04/node2/mp04.scn
    c/src/ada-tests/mptests/mp04/node2/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp05/mptest.adb
    c/src/ada-tests/mptests/mp05/mptest.ads
    c/src/ada-tests/mptests/mp05/node1/mp05.scn
    c/src/ada-tests/mptests/mp05/node1/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp05/node2/mp05.scn
    c/src/ada-tests/mptests/mp05/node2/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp06/mptest.adb
    c/src/ada-tests/mptests/mp06/mptest.ads
    c/src/ada-tests/mptests/mp06/node1/mp06.scn
    c/src/ada-tests/mptests/mp06/node1/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp06/node2/mp06.scn
    c/src/ada-tests/mptests/mp06/node2/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp07/mptest.adb
    c/src/ada-tests/mptests/mp07/mptest.ads
    c/src/ada-tests/mptests/mp07/node1/mp07.scn
    c/src/ada-tests/mptests/mp07/node1/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp07/node2/mp07.scn
    c/src/ada-tests/mptests/mp07/node2/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp08/mptest.adb
    c/src/ada-tests/mptests/mp08/mptest.ads
    c/src/ada-tests/mptests/mp08/node1/mp08.scn
    c/src/ada-tests/mptests/mp08/node1/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp08/node2/mp08.scn
    c/src/ada-tests/mptests/mp08/node2/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp09/mptest.adb
    c/src/ada-tests/mptests/mp09/mptest.ads
    c/src/ada-tests/mptests/mp09/node1/mp09.scn
    c/src/ada-tests/mptests/mp09/node1/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp09/node2/mp09.scn
    c/src/ada-tests/mptests/mp09/node2/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp10/mptest.adb
    c/src/ada-tests/mptests/mp10/mptest.ads
    c/src/ada-tests/mptests/mp10/node1/mp10.scn
    c/src/ada-tests/mptests/mp10/node1/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp10/node2/mp10.scn
    c/src/ada-tests/mptests/mp10/node2/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp11/mptest.adb
    c/src/ada-tests/mptests/mp11/mptest.ads
    c/src/ada-tests/mptests/mp11/node1/mp11.scn
    c/src/ada-tests/mptests/mp11/node1/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp11/node2/mp11.scn
    c/src/ada-tests/mptests/mp11/node2/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp12/mptest.adb
    c/src/ada-tests/mptests/mp12/mptest.ads
    c/src/ada-tests/mptests/mp12/node1/mp12.scn
    c/src/ada-tests/mptests/mp12/node1/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp12/node2/mp12.scn
    c/src/ada-tests/mptests/mp12/node2/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp13/mptest.adb
    c/src/ada-tests/mptests/mp13/mptest.ads
    c/src/ada-tests/mptests/mp13/node1/mp13.scn
    c/src/ada-tests/mptests/mp13/node1/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp13/node2/mp13.scn
    c/src/ada-tests/mptests/mp13/node2/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp14/mptest.adb
    c/src/ada-tests/mptests/mp14/mptest.ads
    c/src/ada-tests/mptests/mp14/node1/mp14.scn
    c/src/ada-tests/mptests/mp14/node1/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp14/node2/mp14.scn
    c/src/ada-tests/mptests/mp14/node2/mptest-per_node_configuration.adb
    c/src/ada-tests/samples/base_mp/mptest.adb
    c/src/ada-tests/samples/base_mp/mptest.ads
    c/src/ada-tests/samples/base_mp/node1/base_mp.scn
    c/src/ada-tests/samples/base_mp/node1/mptest-per_node_configuration.adb
    c/src/ada-tests/samples/base_mp/node2/base_mp.scn
    c/src/ada-tests/samples/base_mp/node2/mptest-per_node_configuration.adb
    c/src/ada-tests/samples/base_sp/base_sp.adb
    c/src/ada-tests/samples/base_sp/base_sp.scn
    c/src/ada-tests/samples/base_sp/config.h
    c/src/ada-tests/samples/base_sp/sptest.adb
    c/src/ada-tests/samples/base_sp/sptest.ads
    c/src/ada-tests/samples/hello/config.h
    c/src/ada-tests/samples/hello/hello.adb
    c/src/ada-tests/samples/hello/hello.scn
    c/src/ada-tests/samples/hello/sptest.adb
    c/src/ada-tests/samples/hello/sptest.ads
    c/src/ada-tests/samples/ticker/config.h
    c/src/ada-tests/samples/ticker/sptest.adb
    c/src/ada-tests/samples/ticker/sptest.ads
    c/src/ada-tests/samples/ticker/ticker.adb
    c/src/ada-tests/samples/ticker/ticker.scn
    c/src/ada-tests/sptests/sp01/config.h
    c/src/ada-tests/sptests/sp01/sp01.adb
    c/src/ada-tests/sptests/sp01/sp01.scn
    c/src/ada-tests/sptests/sp01/sptest.adb
    c/src/ada-tests/sptests/sp01/sptest.ads
    c/src/ada-tests/sptests/sp02/config.h
    c/src/ada-tests/sptests/sp02/sp02.adb
    c/src/ada-tests/sptests/sp02/sp02.scn
    c/src/ada-tests/sptests/sp02/sptest.adb
    c/src/ada-tests/sptests/sp02/sptest.ads
    c/src/ada-tests/sptests/sp03/config.h
    c/src/ada-tests/sptests/sp03/sp03.adb
    c/src/ada-tests/sptests/sp03/sp03.scn
    c/src/ada-tests/sptests/sp03/sptest.adb
    c/src/ada-tests/sptests/sp03/sptest.ads
    c/src/ada-tests/sptests/sp04/README
    c/src/ada-tests/sptests/sp04/config.h
    c/src/ada-tests/sptests/sp04/sp04.adb
    c/src/ada-tests/sptests/sp04/sp04.scn
    c/src/ada-tests/sptests/sp04/sptest.adb
    c/src/ada-tests/sptests/sp04/sptest.ads
    c/src/ada-tests/sptests/sp05/config.h
    c/src/ada-tests/sptests/sp05/sp05.adb
    c/src/ada-tests/sptests/sp05/sp05.scn
    c/src/ada-tests/sptests/sp05/sptest.adb
    c/src/ada-tests/sptests/sp05/sptest.ads
    c/src/ada-tests/sptests/sp06/config.h
    c/src/ada-tests/sptests/sp06/sp06.adb
    c/src/ada-tests/sptests/sp06/sp06.scn
    c/src/ada-tests/sptests/sp06/sptest.adb
    c/src/ada-tests/sptests/sp06/sptest.ads
    c/src/ada-tests/sptests/sp07/config.h
    c/src/ada-tests/sptests/sp07/sp07.adb
    c/src/ada-tests/sptests/sp07/sp07.scn
    c/src/ada-tests/sptests/sp07/sptest.adb
    c/src/ada-tests/sptests/sp07/sptest.ads
    c/src/ada-tests/sptests/sp08/config.h
    c/src/ada-tests/sptests/sp08/sp08.adb
    c/src/ada-tests/sptests/sp08/sp08.scn
    c/src/ada-tests/sptests/sp08/sptest.adb
    c/src/ada-tests/sptests/sp08/sptest.ads
    c/src/ada-tests/sptests/sp09/config.h
    c/src/ada-tests/sptests/sp09/sp09.adb
    c/src/ada-tests/sptests/sp09/sp09.scn
    c/src/ada-tests/sptests/sp09/sptest.adb
    c/src/ada-tests/sptests/sp09/sptest.ads
    c/src/ada-tests/sptests/sp11/config.h
    c/src/ada-tests/sptests/sp11/sp11.adb
    c/src/ada-tests/sptests/sp11/sp11.scn
    c/src/ada-tests/sptests/sp11/sptest.adb
    c/src/ada-tests/sptests/sp11/sptest.ads
    c/src/ada-tests/sptests/sp12/config.h
    c/src/ada-tests/sptests/sp12/sp12.adb
    c/src/ada-tests/sptests/sp12/sp12.scn
    c/src/ada-tests/sptests/sp12/sptest.adb
    c/src/ada-tests/sptests/sp12/sptest.ads
    c/src/ada-tests/sptests/sp13/config.h
    c/src/ada-tests/sptests/sp13/sp13.adb
    c/src/ada-tests/sptests/sp13/sp13.scn
    c/src/ada-tests/sptests/sp13/sptest.adb
    c/src/ada-tests/sptests/sp13/sptest.ads
    c/src/ada-tests/sptests/sp14/config.h
    c/src/ada-tests/sptests/sp14/sp14.adb
    c/src/ada-tests/sptests/sp14/sp14.scn
    c/src/ada-tests/sptests/sp14/sptest.adb
    c/src/ada-tests/sptests/sp14/sptest.ads
    c/src/ada-tests/sptests/sp15/config.h
    c/src/ada-tests/sptests/sp15/sp15.adb
    c/src/ada-tests/sptests/sp15/sp15.scn
    c/src/ada-tests/sptests/sp15/sptest.adb
    c/src/ada-tests/sptests/sp15/sptest.ads
    c/src/ada-tests/sptests/sp16/config.h
    c/src/ada-tests/sptests/sp16/sp16.adb
    c/src/ada-tests/sptests/sp16/sp16.scn
    c/src/ada-tests/sptests/sp16/sptest.adb
    c/src/ada-tests/sptests/sp16/sptest.ads
    c/src/ada-tests/sptests/sp17/config.h
    c/src/ada-tests/sptests/sp17/sp17.adb
    c/src/ada-tests/sptests/sp17/sp17.scn
    c/src/ada-tests/sptests/sp17/sptest.adb
    c/src/ada-tests/sptests/sp17/sptest.ads
    c/src/ada-tests/sptests/sp19/README
    c/src/ada-tests/sptests/sp19/config.h
    c/src/ada-tests/sptests/sp19/sp19.adb
    c/src/ada-tests/sptests/sp19/sp19.scn
    c/src/ada-tests/sptests/sp19/sptest.ads
    c/src/ada-tests/sptests/sp20/config.h
    c/src/ada-tests/sptests/sp20/sp20.adb
    c/src/ada-tests/sptests/sp20/sp20.scn
    c/src/ada-tests/sptests/sp20/sptest.adb
    c/src/ada-tests/sptests/sp20/sptest.ads
    c/src/ada-tests/sptests/sp21/config.h
    c/src/ada-tests/sptests/sp21/sp21.adb
    c/src/ada-tests/sptests/sp21/sp21.scn
    c/src/ada-tests/sptests/sp21/sptest.adb
    c/src/ada-tests/sptests/sp21/sptest.ads
    c/src/ada-tests/sptests/sp22/config.h
    c/src/ada-tests/sptests/sp22/sp22.adb
    c/src/ada-tests/sptests/sp22/sp22.scn
    c/src/ada-tests/sptests/sp22/sptest.adb
    c/src/ada-tests/sptests/sp22/sptest.ads
    c/src/ada-tests/sptests/sp23/config.h
    c/src/ada-tests/sptests/sp23/sp23.adb
    c/src/ada-tests/sptests/sp23/sp23.scn
    c/src/ada-tests/sptests/sp23/sptest.adb
    c/src/ada-tests/sptests/sp23/sptest.ads
    c/src/ada-tests/sptests/sp24/config.h
    c/src/ada-tests/sptests/sp24/sp24.adb
    c/src/ada-tests/sptests/sp24/sp24.scn
    c/src/ada-tests/sptests/sp24/sptest.adb
    c/src/ada-tests/sptests/sp24/sptest.ads
    c/src/ada-tests/sptests/sp25/config.h
    c/src/ada-tests/sptests/sp25/sp25.adb
    c/src/ada-tests/sptests/sp25/sp25.scn
    c/src/ada-tests/sptests/sp25/sptest.adb
    c/src/ada-tests/sptests/sp25/sptest.ads
    c/src/ada-tests/sptests/spsize/spsize.adb
    c/src/ada-tests/sptests/spsize/sptest.adb
    c/src/ada-tests/sptests/spsize/sptest.ads
    c/src/ada-tests/support/address_io.adb
    c/src/ada-tests/support/address_io.ads
    c/src/ada-tests/support/float_io.ads
    c/src/ada-tests/support/fp.inc
    c/src/ada-tests/support/init.c
    c/src/ada-tests/support/integer.inc
    c/src/ada-tests/support/rtems_calling_overhead.ads
    c/src/ada-tests/support/status_io.ads
    c/src/ada-tests/support/test_support.adb
    c/src/ada-tests/support/test_support.ads
    c/src/ada-tests/support/time_test_support.adb
    c/src/ada-tests/support/time_test_support.ads
    c/src/ada-tests/support/timer_driver.adb
    c/src/ada-tests/support/timer_driver.ads
    c/src/ada-tests/support/unsigned32_io.ads
    c/src/ada-tests/tmtests/tm01/config.h
    c/src/ada-tests/tmtests/tm01/tm01.adb
    c/src/ada-tests/tmtests/tm01/tmtest.adb
    c/src/ada-tests/tmtests/tm01/tmtest.ads
    c/src/ada-tests/tmtests/tm02/config.h
    c/src/ada-tests/tmtests/tm02/tm02.adb
    c/src/ada-tests/tmtests/tm02/tmtest.adb
    c/src/ada-tests/tmtests/tm02/tmtest.ads
    c/src/ada-tests/tmtests/tm03/config.h
    c/src/ada-tests/tmtests/tm03/tm03.adb
    c/src/ada-tests/tmtests/tm03/tmtest.adb
    c/src/ada-tests/tmtests/tm03/tmtest.ads
    c/src/ada-tests/tmtests/tm04/config.h
    c/src/ada-tests/tmtests/tm04/tm04.adb
    c/src/ada-tests/tmtests/tm04/tmtest.adb
    c/src/ada-tests/tmtests/tm04/tmtest.ads
    c/src/ada-tests/tmtests/tm05/config.h
    c/src/ada-tests/tmtests/tm05/tm05.adb
    c/src/ada-tests/tmtests/tm05/tmtest.adb
    c/src/ada-tests/tmtests/tm05/tmtest.ads
    c/src/ada-tests/tmtests/tm06/config.h
    c/src/ada-tests/tmtests/tm06/tm06.adb
    c/src/ada-tests/tmtests/tm06/tmtest.adb
    c/src/ada-tests/tmtests/tm06/tmtest.ads
    c/src/ada-tests/tmtests/tm07/config.h
    c/src/ada-tests/tmtests/tm07/tm07.adb
    c/src/ada-tests/tmtests/tm07/tmtest.adb
    c/src/ada-tests/tmtests/tm07/tmtest.ads
    c/src/ada-tests/tmtests/tm08/config.h
    c/src/ada-tests/tmtests/tm08/tm08.adb
    c/src/ada-tests/tmtests/tm08/tmtest.adb
    c/src/ada-tests/tmtests/tm08/tmtest.ads
    c/src/ada-tests/tmtests/tm09/config.h
    c/src/ada-tests/tmtests/tm09/tm09.adb
    c/src/ada-tests/tmtests/tm09/tmtest.adb
    c/src/ada-tests/tmtests/tm09/tmtest.ads
    c/src/ada-tests/tmtests/tm10/config.h
    c/src/ada-tests/tmtests/tm10/tm10.adb
    c/src/ada-tests/tmtests/tm10/tmtest.adb
    c/src/ada-tests/tmtests/tm10/tmtest.ads
    c/src/ada-tests/tmtests/tm11/config.h
    c/src/ada-tests/tmtests/tm11/tm11.adb
    c/src/ada-tests/tmtests/tm11/tmtest.adb
    c/src/ada-tests/tmtests/tm11/tmtest.ads
    c/src/ada-tests/tmtests/tm12/config.h
    c/src/ada-tests/tmtests/tm12/tm12.adb
    c/src/ada-tests/tmtests/tm12/tmtest.adb
    c/src/ada-tests/tmtests/tm12/tmtest.ads
    c/src/ada-tests/tmtests/tm13/config.h
    c/src/ada-tests/tmtests/tm13/tm13.adb
    c/src/ada-tests/tmtests/tm13/tmtest.adb
    c/src/ada-tests/tmtests/tm13/tmtest.ads
    c/src/ada-tests/tmtests/tm14/config.h
    c/src/ada-tests/tmtests/tm14/tm14.adb
    c/src/ada-tests/tmtests/tm14/tmtest.adb
    c/src/ada-tests/tmtests/tm14/tmtest.ads
    c/src/ada-tests/tmtests/tm15/config.h
    c/src/ada-tests/tmtests/tm15/tm15.adb
    c/src/ada-tests/tmtests/tm15/tmtest.adb
    c/src/ada-tests/tmtests/tm15/tmtest.ads
    c/src/ada-tests/tmtests/tm16/config.h
    c/src/ada-tests/tmtests/tm16/tm16.adb
    c/src/ada-tests/tmtests/tm16/tmtest.adb
    c/src/ada-tests/tmtests/tm16/tmtest.ads
    c/src/ada-tests/tmtests/tm17/config.h
    c/src/ada-tests/tmtests/tm17/tm17.adb
    c/src/ada-tests/tmtests/tm17/tmtest.adb
    c/src/ada-tests/tmtests/tm17/tmtest.ads
    c/src/ada-tests/tmtests/tm18/config.h
    c/src/ada-tests/tmtests/tm18/tm18.adb
    c/src/ada-tests/tmtests/tm18/tmtest.adb
    c/src/ada-tests/tmtests/tm18/tmtest.ads
    c/src/ada-tests/tmtests/tm19/config.h
    c/src/ada-tests/tmtests/tm19/tm19.adb
    c/src/ada-tests/tmtests/tm19/tmtest.adb
    c/src/ada-tests/tmtests/tm19/tmtest.ads
    c/src/ada-tests/tmtests/tm20/config.h
    c/src/ada-tests/tmtests/tm20/tm20.adb
    c/src/ada-tests/tmtests/tm20/tmtest.adb
    c/src/ada-tests/tmtests/tm20/tmtest.ads
    c/src/ada-tests/tmtests/tm21/config.h
    c/src/ada-tests/tmtests/tm21/tm21.adb
    c/src/ada-tests/tmtests/tm21/tmtest.adb
    c/src/ada-tests/tmtests/tm21/tmtest.ads
    c/src/ada-tests/tmtests/tm22/config.h
    c/src/ada-tests/tmtests/tm22/tm22.adb
    c/src/ada-tests/tmtests/tm22/tmtest.adb
    c/src/ada-tests/tmtests/tm22/tmtest.ads
    c/src/ada-tests/tmtests/tm23/config.h
    c/src/ada-tests/tmtests/tm23/tm23.adb
    c/src/ada-tests/tmtests/tm23/tmtest.adb
    c/src/ada-tests/tmtests/tm23/tmtest.ads
    c/src/ada-tests/tmtests/tm24/config.h
    c/src/ada-tests/tmtests/tm24/tm24.adb
    c/src/ada-tests/tmtests/tm24/tmtest.adb
    c/src/ada-tests/tmtests/tm24/tmtest.ads
    c/src/ada-tests/tmtests/tm25/config.h
    c/src/ada-tests/tmtests/tm25/tm25.adb
    c/src/ada-tests/tmtests/tm25/tmtest.adb
    c/src/ada-tests/tmtests/tm25/tmtest.ads
    c/src/ada-tests/tmtests/tm26/README
    c/src/ada-tests/tmtests/tm26/config.h
    c/src/ada-tests/tmtests/tm26/tm26.adb
    c/src/ada-tests/tmtests/tm26/tmtest.adp
    c/src/ada-tests/tmtests/tm26/tmtest.ads
    c/src/ada-tests/tmtests/tm27/README
    c/src/ada-tests/tmtests/tm27/config.h
    c/src/ada-tests/tmtests/tm27/tm27.adb
    c/src/ada-tests/tmtests/tm27/tmtest.adb
    c/src/ada-tests/tmtests/tm27/tmtest.ads
    c/src/ada-tests/tmtests/tm28/config.h
    c/src/ada-tests/tmtests/tm28/tm28.adb
    c/src/ada-tests/tmtests/tm28/tmtest.adb
    c/src/ada-tests/tmtests/tm28/tmtest.ads
    c/src/ada-tests/tmtests/tm29/config.h
    c/src/ada-tests/tmtests/tm29/tm29.adb
    c/src/ada-tests/tmtests/tm29/tmtest.adb
    c/src/ada-tests/tmtests/tm29/tmtest.ads
    c/src/ada-tests/tmtests/tmck/config.h
    c/src/ada-tests/tmtests/tmck/tmck.adb
    c/src/ada-tests/tmtests/tmck/tmtest.adb
    c/src/ada-tests/tmtests/tmck/tmtest.ads
    c/src/ada-tests/tmtests/tmoverhd/README
    c/src/ada-tests/tmtests/tmoverhd/config.h
    c/src/ada-tests/tmtests/tmoverhd/dummy_rtems.adb
    c/src/ada-tests/tmtests/tmoverhd/dummy_rtems.ads
    c/src/ada-tests/tmtests/tmoverhd/tmoverhd.adb
    c/src/ada-tests/tmtests/tmoverhd/tmtest.adb
    c/src/ada-tests/tmtests/tmoverhd/tmtest.ads
    c/src/ada/rtems.adb
    c/src/ada/rtems.ads
    c/src/exec/include/rtems/libio_.h
    c/src/exec/libcsupport/Makefile.am
    c/src/exec/libcsupport/include/chain.h
    c/src/exec/libcsupport/include/clockdrv.h
    c/src/exec/libcsupport/include/console.h
    c/src/exec/libcsupport/include/iosupp.h
    c/src/exec/libcsupport/include/motorola/mc68230.h
    c/src/exec/libcsupport/include/motorola/mc68681.h
    c/src/exec/libcsupport/include/ringbuf.h
    c/src/exec/libcsupport/include/rtems/assoc.h
    c/src/exec/libcsupport/include/rtems/error.h
    c/src/exec/libcsupport/include/rtems/libcsupport.h
    c/src/exec/libcsupport/include/rtems/libio.h
    c/src/exec/libcsupport/include/rtems/libio_.h
    c/src/exec/libcsupport/include/spurious.h
    c/src/exec/libcsupport/include/sys/filio.h
    c/src/exec/libcsupport/include/sys/ioctl.h
    c/src/exec/libcsupport/include/sys/sockio.h
    c/src/exec/libcsupport/include/sys/termios.h
    c/src/exec/libcsupport/include/sys/utime.h
    c/src/exec/libcsupport/include/sys/utsname.h
    c/src/exec/libcsupport/include/timerdrv.h
    c/src/exec/libcsupport/include/vmeintr.h
    c/src/exec/libcsupport/include/zilog/z8036.h
    c/src/exec/libcsupport/include/zilog/z8530.h
    c/src/exec/libcsupport/include/zilog/z8536.h
    c/src/exec/libcsupport/src/CASES
    c/src/exec/libcsupport/src/Makefile.am
    c/src/exec/libcsupport/src/README
    c/src/exec/libcsupport/src/TODO
    c/src/exec/libcsupport/src/__brk.c
    c/src/exec/libcsupport/src/__getpid.c
    c/src/exec/libcsupport/src/__gettod.c
    c/src/exec/libcsupport/src/__sbrk.c
    c/src/exec/libcsupport/src/__times.c
    c/src/exec/libcsupport/src/access.c
    c/src/exec/libcsupport/src/assoc.c
    c/src/exec/libcsupport/src/assocnamebad.c
    c/src/exec/libcsupport/src/base_fs.c
    c/src/exec/libcsupport/src/cfgetispeed.c
    c/src/exec/libcsupport/src/cfgetospeed.c
    c/src/exec/libcsupport/src/cfsetispeed.c
    c/src/exec/libcsupport/src/cfsetospeed.c
    c/src/exec/libcsupport/src/chdir.c
    c/src/exec/libcsupport/src/chmod.c
    c/src/exec/libcsupport/src/chown.c
    c/src/exec/libcsupport/src/close.c
    c/src/exec/libcsupport/src/closedir.c
    c/src/exec/libcsupport/src/creat.c
    c/src/exec/libcsupport/src/ctermid.c
    c/src/exec/libcsupport/src/dup.c
    c/src/exec/libcsupport/src/dup2.c
    c/src/exec/libcsupport/src/error.c
    c/src/exec/libcsupport/src/eval.c
    c/src/exec/libcsupport/src/fchmod.c
    c/src/exec/libcsupport/src/fcntl.c
    c/src/exec/libcsupport/src/fdatasync.c
    c/src/exec/libcsupport/src/fpathconf.c
    c/src/exec/libcsupport/src/fs_null_handlers.c
    c/src/exec/libcsupport/src/fstat.c
    c/src/exec/libcsupport/src/fsync.c
    c/src/exec/libcsupport/src/ftruncate.c
    c/src/exec/libcsupport/src/getcwd.c
    c/src/exec/libcsupport/src/getdents.c
    c/src/exec/libcsupport/src/getgrent.c
    c/src/exec/libcsupport/src/getpwent.c
    c/src/exec/libcsupport/src/hosterr.c
    c/src/exec/libcsupport/src/ioctl.c
    c/src/exec/libcsupport/src/isatty.c
    c/src/exec/libcsupport/src/libio.c
    c/src/exec/libcsupport/src/libio_sockets.c
    c/src/exec/libcsupport/src/link.c
    c/src/exec/libcsupport/src/lseek.c
    c/src/exec/libcsupport/src/lstat.c
    c/src/exec/libcsupport/src/malloc.c
    c/src/exec/libcsupport/src/mkdir.c
    c/src/exec/libcsupport/src/mkfifo.c
    c/src/exec/libcsupport/src/mknod.c
    c/src/exec/libcsupport/src/mount.c
    c/src/exec/libcsupport/src/newlibc.c
    c/src/exec/libcsupport/src/no_libc.c
    c/src/exec/libcsupport/src/no_posix.c
    c/src/exec/libcsupport/src/open.c
    c/src/exec/libcsupport/src/opendir.c
    c/src/exec/libcsupport/src/pathconf.c
    c/src/exec/libcsupport/src/pipe.c
    c/src/exec/libcsupport/src/read.c
    c/src/exec/libcsupport/src/readdir.c
    c/src/exec/libcsupport/src/readlink.c
    c/src/exec/libcsupport/src/rewinddir.c
    c/src/exec/libcsupport/src/rmdir.c
    c/src/exec/libcsupport/src/scandir.c
    c/src/exec/libcsupport/src/seekdir.c
    c/src/exec/libcsupport/src/stat.c
    c/src/exec/libcsupport/src/symlink.c
    c/src/exec/libcsupport/src/tcdrain.c
    c/src/exec/libcsupport/src/tcflow.c
    c/src/exec/libcsupport/src/tcflush.c
    c/src/exec/libcsupport/src/tcgetattr.c
    c/src/exec/libcsupport/src/tcgetprgrp.c
    c/src/exec/libcsupport/src/tcsendbreak.c
    c/src/exec/libcsupport/src/tcsetattr.c
    c/src/exec/libcsupport/src/tcsetpgrp.c
    c/src/exec/libcsupport/src/telldir.c
    c/src/exec/libcsupport/src/termios.c
    c/src/exec/libcsupport/src/termiosinitialize.c
    c/src/exec/libcsupport/src/termiosreserveresources.c
    c/src/exec/libcsupport/src/truncate.c
    c/src/exec/libcsupport/src/ttyname.c
    c/src/exec/libcsupport/src/ttyname_r.c
    c/src/exec/libcsupport/src/umask.c
    c/src/exec/libcsupport/src/unixlibc.c
    c/src/exec/libcsupport/src/unlink.c
    c/src/exec/libcsupport/src/unmount.c
    c/src/exec/libcsupport/src/utime.c
    c/src/exec/libcsupport/src/utsname.c
    c/src/exec/libcsupport/src/write.c
    c/src/exec/libfs/src/imfs/deviceio.c
    c/src/exec/libfs/src/imfs/imfs.h
    c/src/exec/libfs/src/imfs/imfs_chown.c
    c/src/exec/libfs/src/imfs/imfs_creat.c
    c/src/exec/libfs/src/imfs/imfs_debug.c
    c/src/exec/libfs/src/imfs/imfs_directory.c
    c/src/exec/libfs/src/imfs/imfs_eval.c
    c/src/exec/libfs/src/imfs/imfs_fchmod.c
    c/src/exec/libfs/src/imfs/imfs_fcntl.c
    c/src/exec/libfs/src/imfs/imfs_fdatasync.c
    c/src/exec/libfs/src/imfs/imfs_free.c
    c/src/exec/libfs/src/imfs/imfs_fsunmount.c
    c/src/exec/libfs/src/imfs/imfs_getchild.c
    c/src/exec/libfs/src/imfs/imfs_gtkn.c
    c/src/exec/libfs/src/imfs/imfs_handlers_device.c
    c/src/exec/libfs/src/imfs/imfs_handlers_directory.c
    c/src/exec/libfs/src/imfs/imfs_handlers_link.c
    c/src/exec/libfs/src/imfs/imfs_handlers_memfile.c
    c/src/exec/libfs/src/imfs/imfs_init.c
    c/src/exec/libfs/src/imfs/imfs_initsupp.c
    c/src/exec/libfs/src/imfs/imfs_link.c
    c/src/exec/libfs/src/imfs/imfs_mknod.c
    c/src/exec/libfs/src/imfs/imfs_mount.c
    c/src/exec/libfs/src/imfs/imfs_ntype.c
    c/src/exec/libfs/src/imfs/imfs_readlink.c
    c/src/exec/libfs/src/imfs/imfs_rmnod.c
    c/src/exec/libfs/src/imfs/imfs_stat.c
    c/src/exec/libfs/src/imfs/imfs_symlink.c
    c/src/exec/libfs/src/imfs/imfs_unixstub.c
    c/src/exec/libfs/src/imfs/imfs_unlink.c
    c/src/exec/libfs/src/imfs/imfs_unmount.c
    c/src/exec/libfs/src/imfs/imfs_utime.c
    c/src/exec/libfs/src/imfs/ioman.c
    c/src/exec/libfs/src/imfs/memfile.c
    c/src/exec/libfs/src/imfs/miniimfs_init.c
    c/src/exec/libnetworking/Makefile.am
    c/src/exec/libnetworking/README
    c/src/exec/libnetworking/arpa/Makefile.am
    c/src/exec/libnetworking/arpa/ftp.h
    c/src/exec/libnetworking/arpa/inet.h
    c/src/exec/libnetworking/arpa/nameser.h
    c/src/exec/libnetworking/arpa/nameser_compat.h
    c/src/exec/libnetworking/arpa/telnet.h
    c/src/exec/libnetworking/bpfilter.h
    c/src/exec/libnetworking/kern/Makefile.am
    c/src/exec/libnetworking/kern/kern_subr.c
    c/src/exec/libnetworking/kern/uipc_domain.c
    c/src/exec/libnetworking/kern/uipc_mbuf.c
    c/src/exec/libnetworking/kern/uipc_socket.c
    c/src/exec/libnetworking/kern/uipc_socket2.c
    c/src/exec/libnetworking/lib/Makefile.am
    c/src/exec/libnetworking/lib/README
    c/src/exec/libnetworking/lib/getprotoby.c
    c/src/exec/libnetworking/lib/rtems_bsdnet_ntp.c
    c/src/exec/libnetworking/lib/syslog.c
    c/src/exec/libnetworking/lib/tftpDriver.c
    c/src/exec/libnetworking/libc/Makefile.am
    c/src/exec/libnetworking/libc/addr2ascii.3
    c/src/exec/libnetworking/libc/addr2ascii.c
    c/src/exec/libnetworking/libc/ascii2addr.c
    c/src/exec/libnetworking/libc/base64.c
    c/src/exec/libnetworking/libc/byteorder.3
    c/src/exec/libnetworking/libc/ether_addr.c
    c/src/exec/libnetworking/libc/ethers.3
    c/src/exec/libnetworking/libc/gethostbydns.c
    c/src/exec/libnetworking/libc/gethostbyht.c
    c/src/exec/libnetworking/libc/gethostbyname.3
    c/src/exec/libnetworking/libc/gethostbynis.c
    c/src/exec/libnetworking/libc/gethostnamadr.c
    c/src/exec/libnetworking/libc/gethostname.c
    c/src/exec/libnetworking/libc/getnetbydns.c
    c/src/exec/libnetworking/libc/getnetbyht.c
    c/src/exec/libnetworking/libc/getnetbynis.c
    c/src/exec/libnetworking/libc/getnetent.3
    c/src/exec/libnetworking/libc/getnetnamadr.c
    c/src/exec/libnetworking/libc/getproto.c
    c/src/exec/libnetworking/libc/getprotoent.3
    c/src/exec/libnetworking/libc/getprotoent.c
    c/src/exec/libnetworking/libc/getprotoname.c
    c/src/exec/libnetworking/libc/getservbyname.c
    c/src/exec/libnetworking/libc/getservbyport.c
    c/src/exec/libnetworking/libc/getservent.3
    c/src/exec/libnetworking/libc/getservent.c
    c/src/exec/libnetworking/libc/herror.c
    c/src/exec/libnetworking/libc/inet.3
    c/src/exec/libnetworking/libc/inet_addr.c
    c/src/exec/libnetworking/libc/inet_lnaof.c
    c/src/exec/libnetworking/libc/inet_makeaddr.c
    c/src/exec/libnetworking/libc/inet_net_ntop.c
    c/src/exec/libnetworking/libc/inet_net_pton.c
    c/src/exec/libnetworking/libc/inet_neta.c
    c/src/exec/libnetworking/libc/inet_netof.c
    c/src/exec/libnetworking/libc/inet_network.c
    c/src/exec/libnetworking/libc/inet_ntoa.c
    c/src/exec/libnetworking/libc/inet_ntop.c
    c/src/exec/libnetworking/libc/inet_pton.c
    c/src/exec/libnetworking/libc/iso_addr.3
    c/src/exec/libnetworking/libc/iso_addr.c
    c/src/exec/libnetworking/libc/linkaddr.3
    c/src/exec/libnetworking/libc/linkaddr.c
    c/src/exec/libnetworking/libc/map_v4v6.c
    c/src/exec/libnetworking/libc/ns.3
    c/src/exec/libnetworking/libc/ns_addr.c
    c/src/exec/libnetworking/libc/ns_name.c
    c/src/exec/libnetworking/libc/ns_netint.c
    c/src/exec/libnetworking/libc/ns_ntoa.c
    c/src/exec/libnetworking/libc/ns_parse.c
    c/src/exec/libnetworking/libc/ns_print.c
    c/src/exec/libnetworking/libc/ns_ttl.c
    c/src/exec/libnetworking/libc/nsap_addr.c
    c/src/exec/libnetworking/libc/rcmd.3
    c/src/exec/libnetworking/libc/rcmd.c
    c/src/exec/libnetworking/libc/recv.c
    c/src/exec/libnetworking/libc/res_comp.c
    c/src/exec/libnetworking/libc/res_config.h
    c/src/exec/libnetworking/libc/res_data.c
    c/src/exec/libnetworking/libc/res_debug.c
    c/src/exec/libnetworking/libc/res_init.c
    c/src/exec/libnetworking/libc/res_mkquery.c
    c/src/exec/libnetworking/libc/res_mkupdate.c
    c/src/exec/libnetworking/libc/res_query.c
    c/src/exec/libnetworking/libc/res_send.c
    c/src/exec/libnetworking/libc/res_stubs.c
    c/src/exec/libnetworking/libc/res_update.c
    c/src/exec/libnetworking/libc/resolver.3
    c/src/exec/libnetworking/libc/send.c
    c/src/exec/libnetworking/libc/strsep.c
    c/src/exec/libnetworking/loop.h
    c/src/exec/libnetworking/machine/Makefile.am
    c/src/exec/libnetworking/machine/conf.h
    c/src/exec/libnetworking/machine/cpu.h
    c/src/exec/libnetworking/machine/cpufunc.h
    c/src/exec/libnetworking/machine/endian.h
    c/src/exec/libnetworking/machine/in_cksum.h
    c/src/exec/libnetworking/machine/limits.h
    c/src/exec/libnetworking/machine/param.h
    c/src/exec/libnetworking/machine/types.h
    c/src/exec/libnetworking/machine/vmparam.h
    c/src/exec/libnetworking/net/Makefile.am
    c/src/exec/libnetworking/net/bpf.h
    c/src/exec/libnetworking/net/ethernet.h
    c/src/exec/libnetworking/net/if.c
    c/src/exec/libnetworking/net/if.h
    c/src/exec/libnetworking/net/if_arp.h
    c/src/exec/libnetworking/net/if_dl.h
    c/src/exec/libnetworking/net/if_ethersubr.c
    c/src/exec/libnetworking/net/if_llc.h
    c/src/exec/libnetworking/net/if_loop.c
    c/src/exec/libnetworking/net/if_ppp.h
    c/src/exec/libnetworking/net/if_types.h
    c/src/exec/libnetworking/net/netisr.h
    c/src/exec/libnetworking/net/ppp-comp.h
    c/src/exec/libnetworking/net/ppp_defs.h
    c/src/exec/libnetworking/net/radix.c
    c/src/exec/libnetworking/net/radix.h
    c/src/exec/libnetworking/net/raw_cb.c
    c/src/exec/libnetworking/net/raw_cb.h
    c/src/exec/libnetworking/net/raw_usrreq.c
    c/src/exec/libnetworking/net/route.c
    c/src/exec/libnetworking/net/route.h
    c/src/exec/libnetworking/net/rtsock.c
    c/src/exec/libnetworking/netdb.h
    c/src/exec/libnetworking/netinet/Makefile.am
    c/src/exec/libnetworking/netinet/icmp_var.h
    c/src/exec/libnetworking/netinet/if_ether.c
    c/src/exec/libnetworking/netinet/if_ether.h
    c/src/exec/libnetworking/netinet/igmp.c
    c/src/exec/libnetworking/netinet/igmp.h
    c/src/exec/libnetworking/netinet/igmp_var.h
    c/src/exec/libnetworking/netinet/in.c
    c/src/exec/libnetworking/netinet/in.h
    c/src/exec/libnetworking/netinet/in_cksum.c
    c/src/exec/libnetworking/netinet/in_cksum_i386.c
    c/src/exec/libnetworking/netinet/in_cksum_m68k.c
    c/src/exec/libnetworking/netinet/in_cksum_powerpc.c
    c/src/exec/libnetworking/netinet/in_pcb.c
    c/src/exec/libnetworking/netinet/in_pcb.h
    c/src/exec/libnetworking/netinet/in_proto.c
    c/src/exec/libnetworking/netinet/in_rmx.c
    c/src/exec/libnetworking/netinet/in_systm.h
    c/src/exec/libnetworking/netinet/in_var.h
    c/src/exec/libnetworking/netinet/ip.h
    c/src/exec/libnetworking/netinet/ip_divert.c
    c/src/exec/libnetworking/netinet/ip_fw.c
    c/src/exec/libnetworking/netinet/ip_fw.h
    c/src/exec/libnetworking/netinet/ip_icmp.c
    c/src/exec/libnetworking/netinet/ip_icmp.h
    c/src/exec/libnetworking/netinet/ip_input.c
    c/src/exec/libnetworking/netinet/ip_mroute.c
    c/src/exec/libnetworking/netinet/ip_mroute.h
    c/src/exec/libnetworking/netinet/ip_output.c
    c/src/exec/libnetworking/netinet/ip_var.h
    c/src/exec/libnetworking/netinet/raw_ip.c
    c/src/exec/libnetworking/netinet/tcp.h
    c/src/exec/libnetworking/netinet/tcp_debug.c
    c/src/exec/libnetworking/netinet/tcp_debug.h
    c/src/exec/libnetworking/netinet/tcp_fsm.h
    c/src/exec/libnetworking/netinet/tcp_input.c
    c/src/exec/libnetworking/netinet/tcp_output.c
    c/src/exec/libnetworking/netinet/tcp_seq.h
    c/src/exec/libnetworking/netinet/tcp_subr.c
    c/src/exec/libnetworking/netinet/tcp_timer.c
    c/src/exec/libnetworking/netinet/tcp_timer.h
    c/src/exec/libnetworking/netinet/tcp_usrreq.c
    c/src/exec/libnetworking/netinet/tcp_var.h
    c/src/exec/libnetworking/netinet/tcpip.h
    c/src/exec/libnetworking/netinet/udp.h
    c/src/exec/libnetworking/netinet/udp_usrreq.c
    c/src/exec/libnetworking/netinet/udp_var.h
    c/src/exec/libnetworking/nfs/Makefile.am
    c/src/exec/libnetworking/nfs/bootp_subr.c
    c/src/exec/libnetworking/nfs/krpc.h
    c/src/exec/libnetworking/nfs/nfs.h
    c/src/exec/libnetworking/nfs/nfsdiskless.h
    c/src/exec/libnetworking/nfs/nfsproto.h
    c/src/exec/libnetworking/nfs/rpcv2.h
    c/src/exec/libnetworking/nfs/xdr_subs.h
    c/src/exec/libnetworking/opt_ipfw.h
    c/src/exec/libnetworking/opt_mrouting.h
    c/src/exec/libnetworking/opt_tcpdebug.h
    c/src/exec/libnetworking/poll.h
    c/src/exec/libnetworking/resolv.h
    c/src/exec/libnetworking/rtems/Makefile.am
    c/src/exec/libnetworking/rtems/issetugid.c
    c/src/exec/libnetworking/rtems/rtems_bootp.c
    c/src/exec/libnetworking/rtems/rtems_bsdnet.h
    c/src/exec/libnetworking/rtems/rtems_bsdnet_internal.h
    c/src/exec/libnetworking/rtems/rtems_glue.c
    c/src/exec/libnetworking/rtems/rtems_select.c
    c/src/exec/libnetworking/rtems/rtems_showicmpstat.c
    c/src/exec/libnetworking/rtems/rtems_showifstat.c
    c/src/exec/libnetworking/rtems/rtems_showipstat.c
    c/src/exec/libnetworking/rtems/rtems_showmbuf.c
    c/src/exec/libnetworking/rtems/rtems_showroute.c
    c/src/exec/libnetworking/rtems/rtems_showtcpstat.c
    c/src/exec/libnetworking/rtems/rtems_showudpstat.c
    c/src/exec/libnetworking/rtems/rtems_syscall.c
    c/src/exec/libnetworking/rtems/sghostname.c
    c/src/exec/libnetworking/rtems/tftp.h
    c/src/exec/libnetworking/sys/Makefile.am
    c/src/exec/libnetworking/sys/buf.h
    c/src/exec/libnetworking/sys/callout.h
    c/src/exec/libnetworking/sys/conf.h
    c/src/exec/libnetworking/sys/domain.h
    c/src/exec/libnetworking/sys/kernel.h
    c/src/exec/libnetworking/sys/libkern.h
    c/src/exec/libnetworking/sys/malloc.h
    c/src/exec/libnetworking/sys/mbuf.h
    c/src/exec/libnetworking/sys/mount.h
    c/src/exec/libnetworking/sys/param.h
    c/src/exec/libnetworking/sys/proc.h
    c/src/exec/libnetworking/sys/protosw.h
    c/src/exec/libnetworking/sys/queue.h
    c/src/exec/libnetworking/sys/reboot.h
    c/src/exec/libnetworking/sys/resourcevar.h
    c/src/exec/libnetworking/sys/rtprio.h
    c/src/exec/libnetworking/sys/select.h
    c/src/exec/libnetworking/sys/signalvar.h
    c/src/exec/libnetworking/sys/socket.h
    c/src/exec/libnetworking/sys/socketvar.h
    c/src/exec/libnetworking/sys/sysctl.h
    c/src/exec/libnetworking/sys/syslimits.h
    c/src/exec/libnetworking/sys/syslog.h
    c/src/exec/libnetworking/sys/systm.h
    c/src/exec/libnetworking/sys/ttydefaults.h
    c/src/exec/libnetworking/sys/ucred.h
    c/src/exec/libnetworking/sys/uio.h
    c/src/exec/libnetworking/syslog.h
    c/src/exec/libnetworking/vm/Makefile.am
    c/src/exec/libnetworking/vm/vm.h
    c/src/exec/libnetworking/vm/vm_extern.h
    c/src/exec/libnetworking/vm/vm_kern.h
    c/src/exec/libnetworking/vm/vm_param.h
    c/src/exec/libnetworking/wrapup/Makefile.am
    c/src/exec/librpc/Makefile.am
    c/src/exec/librpc/include/Makefile.am
    c/src/exec/librpc/include/rpc/Makefile.am
    c/src/exec/librpc/include/rpc/auth.h
    c/src/exec/librpc/include/rpc/clnt.h
    c/src/exec/librpc/include/rpc/rpc.h
    c/src/exec/librpc/include/rpc/rpc_msg.h
    c/src/exec/librpc/include/rpc/svc.h
    c/src/exec/librpc/include/rpc/svc_auth.h
    c/src/exec/librpc/include/rpc/types.h
    c/src/exec/librpc/include/rpc/xdr.h
    c/src/exec/librpc/src/Makefile.am
    c/src/exec/score/cpu/a29k/rtems/score/types.h
    c/src/exec/score/cpu/hppa1.1/rtems/score/types.h
    c/src/exec/score/cpu/i386/rtems/score/types.h
    c/src/exec/score/cpu/i960/rtems/score/types.h
    c/src/exec/score/cpu/m68k/rtems/score/types.h
    c/src/exec/score/cpu/mips/Makefile.am
    c/src/exec/score/cpu/mips/asm.h
    c/src/exec/score/cpu/mips/configure.in
    c/src/exec/score/cpu/mips/cpu.c
    c/src/exec/score/cpu/mips/cpu_asm.S
    c/src/exec/score/cpu/mips/cpu_asm.h
    c/src/exec/score/cpu/mips/idtcpu.h
    c/src/exec/score/cpu/mips/idtmon.h
    c/src/exec/score/cpu/mips/iregdef.h
    c/src/exec/score/cpu/mips/rtems.c
    c/src/exec/score/cpu/mips/rtems/Makefile.am
    c/src/exec/score/cpu/mips/rtems/score/Makefile.am
    c/src/exec/score/cpu/mips/rtems/score/cpu.h
    c/src/exec/score/cpu/mips/rtems/score/mips.h
    c/src/exec/score/cpu/mips/rtems/score/mips64orion.h
    c/src/exec/score/cpu/mips/rtems/score/mipstypes.h
    c/src/exec/score/cpu/mips/rtems/score/types.h
    c/src/exec/score/cpu/mips64orion/rtems/score/types.h
    c/src/exec/score/cpu/no_cpu/rtems/score/types.h
    c/src/exec/score/cpu/powerpc/asm.h
    c/src/exec/score/cpu/powerpc/rtems/score/ppc.h
    c/src/exec/score/cpu/powerpc/rtems/score/ppctypes.h
    c/src/exec/score/cpu/powerpc/rtems/score/types.h
    c/src/exec/score/cpu/sh/rtems/score/types.h
    c/src/exec/score/cpu/sparc/rtems/score/types.h
    c/src/exec/score/cpu/unix/rtems/score/types.h
    c/src/lib/include/rtems/assoc.h
    c/src/lib/include/rtems/error.h
    c/src/lib/include/rtems/libcsupport.h
    c/src/lib/include/rtems/libio.h
    c/src/lib/include/rtems/libio_.h
    c/src/lib/include/sys/filio.h
    c/src/lib/include/sys/ioctl.h
    c/src/lib/include/sys/sockio.h
    c/src/lib/include/sys/utsname.h
    c/src/lib/libbsp/i386/shared/irq/idt.c
    c/src/lib/libbsp/m68k/ods68302/startup/cpuboot.c
    c/src/lib/libbsp/mips/Makefile.am
    c/src/lib/libbsp/mips/README
    c/src/lib/libbsp/mips/configure.in
    c/src/lib/libbsp/mips/p4000/Makefile.am
    c/src/lib/libbsp/mips/p4000/README
    c/src/lib/libbsp/mips/p4000/bsp_specs
    c/src/lib/libbsp/mips/p4000/configure.in
    c/src/lib/libbsp/mips/p4000/console/Makefile.am
    c/src/lib/libbsp/mips/p4000/console/console.c
    c/src/lib/libbsp/mips/p4000/console/led.S
    c/src/lib/libbsp/mips/p4000/include/Makefile.am
    c/src/lib/libbsp/mips/p4000/include/bsp.h
    c/src/lib/libbsp/mips/p4000/include/coverhd.h
    c/src/lib/libbsp/mips/p4000/liblnk/Makefile.am
    c/src/lib/libbsp/mips/p4000/liblnk/lnklib.S
    c/src/lib/libbsp/mips/p4000/start/Makefile.am
    c/src/lib/libbsp/mips/p4000/start/start.S
    c/src/lib/libbsp/mips/p4000/startup/Makefile.am
    c/src/lib/libbsp/mips/p4000/startup/bspclean.c
    c/src/lib/libbsp/mips/p4000/startup/bspstart.c
    c/src/lib/libbsp/mips/p4000/startup/ghlinkcmds
    c/src/lib/libbsp/mips/p4000/startup/idtmem.S
    c/src/lib/libbsp/mips/p4000/startup/idttlb.S
    c/src/lib/libbsp/mips/p4000/startup/inittlb.c
    c/src/lib/libbsp/mips/p4000/startup/linkcmds
    c/src/lib/libbsp/mips/p4000/startup/setvec.c
    c/src/lib/libbsp/mips/p4000/times
    c/src/lib/libbsp/mips/p4000/wrapup/Makefile.am
    c/src/lib/libbsp/powerpc/support/new_exception_processing/Makefile.am
    c/src/lib/libbsp/powerpc/support/new_exception_processing/c_isr.inl
    c/src/lib/libbsp/powerpc/support/new_exception_processing/cpu.c
    c/src/lib/libbsp/powerpc/support/new_exception_processing/cpu.h
    c/src/lib/libbsp/powerpc/support/new_exception_processing/cpu_asm.S
    c/src/lib/libbsp/powerpc/support/old_exception_processing/Makefile.am
    c/src/lib/libbsp/powerpc/support/old_exception_processing/README
    c/src/lib/libbsp/powerpc/support/old_exception_processing/TODO
    c/src/lib/libbsp/powerpc/support/old_exception_processing/c_isr.inl
    c/src/lib/libbsp/powerpc/support/old_exception_processing/cpu.c
    c/src/lib/libbsp/powerpc/support/old_exception_processing/cpu.h
    c/src/lib/libbsp/powerpc/support/old_exception_processing/cpu_asm.S
    c/src/lib/libbsp/powerpc/support/old_exception_processing/irq_stub.S
    c/src/lib/libbsp/powerpc/support/old_exception_processing/ppccache.c
    c/src/lib/libbsp/powerpc/support/old_exception_processing/rtems.S
    c/src/lib/libc/utsname.c
    c/src/lib/libcpu/i386/idt.c
    c/src/lib/libcpu/m68k/shared/misc/memcpy.c
    c/src/lib/libcpu/mips/Makefile.am
    c/src/lib/libcpu/mips/clock/Makefile.am
    c/src/lib/libcpu/mips/clock/ckinit.c
    c/src/lib/libcpu/mips/clock/clock.S
    c/src/lib/libcpu/mips/clock/clock.h
    c/src/lib/libcpu/mips/configure.in
    c/src/lib/libcpu/mips/timer/Makefile.am
    c/src/lib/libcpu/mips/timer/gettime.S
    c/src/lib/libcpu/mips/timer/timer.c
    c/src/lib/libcpu/powerpc/new-exceptions/cpu.c
    c/src/lib/libcpu/powerpc/new-exceptions/cpu_asm.S
    c/src/lib/libcpu/powerpc/new_exception_processing/Makefile.am
    c/src/lib/libcpu/powerpc/new_exception_processing/c_isr.inl
    c/src/lib/libcpu/powerpc/new_exception_processing/cpu.c
    c/src/lib/libcpu/powerpc/new_exception_processing/cpu.h
    c/src/lib/libcpu/powerpc/new_exception_processing/cpu_asm.S
    c/src/lib/libcpu/powerpc/old-exceptions/README
    c/src/lib/libcpu/powerpc/old-exceptions/TODO
    c/src/lib/libcpu/powerpc/old-exceptions/cpu.c
    c/src/lib/libcpu/powerpc/old-exceptions/cpu_asm.S
    c/src/lib/libcpu/powerpc/old-exceptions/irq_stub.S
    c/src/lib/libcpu/powerpc/old-exceptions/ppccache.c
    c/src/lib/libcpu/powerpc/old_exception_processing/Makefile.am
    c/src/lib/libcpu/powerpc/old_exception_processing/README
    c/src/lib/libcpu/powerpc/old_exception_processing/TODO
    c/src/lib/libcpu/powerpc/old_exception_processing/c_isr.inl
    c/src/lib/libcpu/powerpc/old_exception_processing/cpu.c
    c/src/lib/libcpu/powerpc/old_exception_processing/cpu.h
    c/src/lib/libcpu/powerpc/old_exception_processing/cpu_asm.S
    c/src/lib/libcpu/powerpc/old_exception_processing/irq_stub.S
    c/src/lib/libcpu/powerpc/old_exception_processing/rtems.S
    c/src/lib/libcpu/sh/sh7032/include/iosh7032.h
    c/src/lib/libcpu/sh/sh7032/include/ispsh7032.h
    c/src/lib/libcpu/sh/sh7032/score/cpu_asm.c
    c/src/lib/libcpu/sh/sh7032/score/ispsh7032.c
    c/src/lib/libcpu/sh/sh7045/include/io_types.h
    c/src/lib/libcpu/sh/sh7045/include/iosh7045.h
    c/src/lib/libcpu/sh/sh7045/include/ispsh7045.h
    c/src/lib/libcpu/sh/sh7045/score/cpu_asm.c
    c/src/lib/libcpu/sh/sh7045/score/ispsh7045.c
    c/src/lib/libcpu/sparc/include/erc32.h
    c/src/libchip/shmdr/README
    c/src/libchip/shmdr/addlq.c
    c/src/libchip/shmdr/cnvpkt.c
    c/src/libchip/shmdr/dump.c
    c/src/libchip/shmdr/fatal.c
    c/src/libchip/shmdr/getlq.c
    c/src/libchip/shmdr/getpkt.c
    c/src/libchip/shmdr/init.c
    c/src/libchip/shmdr/initlq.c
    c/src/libchip/shmdr/intr.c
    c/src/libchip/shmdr/mpci.h
    c/src/libchip/shmdr/mpisr.c
    c/src/libchip/shmdr/poll.c
    c/src/libchip/shmdr/receive.c
    c/src/libchip/shmdr/retpkt.c
    c/src/libchip/shmdr/send.c
    c/src/libchip/shmdr/setckvec.c
    c/src/libchip/shmdr/shm_driver.h
    c/src/libfs/src/imfs/deviceio.c
    c/src/libfs/src/imfs/imfs.h
    c/src/libfs/src/imfs/imfs_chown.c
    c/src/libfs/src/imfs/imfs_creat.c
    c/src/libfs/src/imfs/imfs_debug.c
    c/src/libfs/src/imfs/imfs_directory.c
    c/src/libfs/src/imfs/imfs_eval.c
    c/src/libfs/src/imfs/imfs_fchmod.c
    c/src/libfs/src/imfs/imfs_fcntl.c
    c/src/libfs/src/imfs/imfs_fdatasync.c
    c/src/libfs/src/imfs/imfs_free.c
    c/src/libfs/src/imfs/imfs_fsunmount.c
    c/src/libfs/src/imfs/imfs_getchild.c
    c/src/libfs/src/imfs/imfs_gtkn.c
    c/src/libfs/src/imfs/imfs_handlers_device.c
    c/src/libfs/src/imfs/imfs_handlers_directory.c
    c/src/libfs/src/imfs/imfs_handlers_link.c
    c/src/libfs/src/imfs/imfs_handlers_memfile.c
    c/src/libfs/src/imfs/imfs_init.c
    c/src/libfs/src/imfs/imfs_initsupp.c
    c/src/libfs/src/imfs/imfs_link.c
    c/src/libfs/src/imfs/imfs_mknod.c
    c/src/libfs/src/imfs/imfs_mount.c
    c/src/libfs/src/imfs/imfs_ntype.c
    c/src/libfs/src/imfs/imfs_readlink.c
    c/src/libfs/src/imfs/imfs_rmnod.c
    c/src/libfs/src/imfs/imfs_stat.c
    c/src/libfs/src/imfs/imfs_symlink.c
    c/src/libfs/src/imfs/imfs_unixstub.c
    c/src/libfs/src/imfs/imfs_unlink.c
    c/src/libfs/src/imfs/imfs_unmount.c
    c/src/libfs/src/imfs/imfs_utime.c
    c/src/libfs/src/imfs/ioman.c
    c/src/libfs/src/imfs/memfile.c
    c/src/libfs/src/imfs/miniimfs_init.c
    c/src/librdbg/src/powerpc/new_exception_processing/Makefile.am
    c/src/librdbg/src/powerpc/new_exception_processing/remdeb.h
    c/src/librdbg/src/powerpc/new_exception_processing/remdeb_f.x
    c/src/librdbg/src/powerpc/new_exception_processing/remdeb_svc.c
    c/src/librdbg/src/powerpc/new_exception_processing/remdeb_xdr.c
    c/src/make/README
    c/src/make/compilers/gcc-target-default.cfg
    c/src/make/directory.cfg
    c/src/make/host.cfg.in
    c/src/make/lib.cfg
    c/src/optman/rtems/Makefile.am
    c/src/optman/rtems/no-dpmem.c
    c/src/optman/rtems/no-event.c
    c/src/optman/rtems/no-mp.c
    c/src/optman/rtems/no-msg.c
    c/src/optman/rtems/no-part.c
    c/src/optman/rtems/no-region.c
    c/src/optman/rtems/no-rtmon.c
    c/src/optman/rtems/no-sem.c
    c/src/optman/rtems/no-signal.c
    c/src/optman/rtems/no-timer.c
    c/src/optman/sapi/Makefile.am
    c/src/optman/sapi/no-ext.c
    c/src/optman/sapi/no-io.c
    cpukit/Makefile.am
    cpukit/ada/rtems.adb
    cpukit/ada/rtems.ads
    cpukit/ftpd/Makefile.am
    cpukit/ftpd/ftpd.c
    cpukit/ftpd/ftpd.h
    cpukit/httpd/Makefile.am
    cpukit/httpd/asp.c
    cpukit/httpd/balloc.c
    cpukit/httpd/default.c
    cpukit/httpd/ej.h
    cpukit/httpd/ejlex.c
    cpukit/httpd/ejparse.c
    cpukit/httpd/form.c
    cpukit/httpd/h.c
    cpukit/httpd/handler.c
    cpukit/httpd/mime.c
    cpukit/httpd/misc.c
    cpukit/httpd/ringq.c
    cpukit/httpd/rom.c
    cpukit/httpd/rtems_webserver.h
    cpukit/httpd/security.c
    cpukit/httpd/socket.c
    cpukit/httpd/sym.c
    cpukit/httpd/uemf.c
    cpukit/httpd/uemf.h
    cpukit/httpd/url.c
    cpukit/httpd/value.c
    cpukit/httpd/wbase64.c
    cpukit/httpd/webcomp.c
    cpukit/httpd/webmain.c
    cpukit/httpd/webpage.c
    cpukit/httpd/webrom.c
    cpukit/httpd/webs.c
    cpukit/httpd/webs.h
    cpukit/httpd/websuemf.c
    cpukit/httpd/wsIntrn.h
    cpukit/include/rtems/libio_.h
    cpukit/itron/Makefile.am
    cpukit/itron/include/Makefile.am
    cpukit/itron/include/itron.h
    cpukit/itron/include/itronsys/README
    cpukit/itron/include/itronsys/eventflags.h
    cpukit/itron/include/itronsys/fmempool.h
    cpukit/itron/include/itronsys/intr.h
    cpukit/itron/include/itronsys/mbox.h
    cpukit/itron/include/itronsys/msgbuffer.h
    cpukit/itron/include/itronsys/network.h
    cpukit/itron/include/itronsys/port.h
    cpukit/itron/include/itronsys/semaphore.h
    cpukit/itron/include/itronsys/status.h
    cpukit/itron/include/itronsys/sysmgmt.h
    cpukit/itron/include/itronsys/task.h
    cpukit/itron/include/itronsys/time.h
    cpukit/itron/include/itronsys/types.h
    cpukit/itron/include/itronsys/vmempool.h
    cpukit/itron/include/rtems/itron/README
    cpukit/itron/include/rtems/itron/config.h
    cpukit/itron/include/rtems/itron/eventflags.h
    cpukit/itron/include/rtems/itron/fmempool.h
    cpukit/itron/include/rtems/itron/intr.h
    cpukit/itron/include/rtems/itron/itronapi.h
    cpukit/itron/include/rtems/itron/mbox.h
    cpukit/itron/include/rtems/itron/msgbuffer.h
    cpukit/itron/include/rtems/itron/network.h
    cpukit/itron/include/rtems/itron/object.h
    cpukit/itron/include/rtems/itron/port.h
    cpukit/itron/include/rtems/itron/semaphore.h
    cpukit/itron/include/rtems/itron/sysmgmt.h
    cpukit/itron/include/rtems/itron/task.h
    cpukit/itron/include/rtems/itron/time.h
    cpukit/itron/include/rtems/itron/vmempool.h
    cpukit/itron/inline/Makefile.am
    cpukit/itron/inline/rtems/itron/eventflags.inl
    cpukit/itron/inline/rtems/itron/fmempool.inl
    cpukit/itron/inline/rtems/itron/intr.inl
    cpukit/itron/inline/rtems/itron/mbox.inl
    cpukit/itron/inline/rtems/itron/msgbuffer.inl
    cpukit/itron/inline/rtems/itron/network.inl
    cpukit/itron/inline/rtems/itron/port.inl
    cpukit/itron/inline/rtems/itron/semaphore.inl
    cpukit/itron/inline/rtems/itron/sysmgmt.inl
    cpukit/itron/inline/rtems/itron/task.inl
    cpukit/itron/inline/rtems/itron/time.inl
    cpukit/itron/inline/rtems/itron/vmempool.inl
    cpukit/itron/src/Makefile.am
    cpukit/itron/src/TODO
    cpukit/itron/src/can_wup.c
    cpukit/itron/src/chg_pri.c
    cpukit/itron/src/cre_mbf.c
    cpukit/itron/src/cre_mbx.c
    cpukit/itron/src/cre_sem.c
    cpukit/itron/src/cre_tsk.c
    cpukit/itron/src/del_mbf.c
    cpukit/itron/src/del_mbx.c
    cpukit/itron/src/del_sem.c
    cpukit/itron/src/del_tsk.c
    cpukit/itron/src/dis_dsp.c
    cpukit/itron/src/ena_dsp.c
    cpukit/itron/src/eventflags.c
    cpukit/itron/src/exd_tsk.c
    cpukit/itron/src/ext_tsk.c
    cpukit/itron/src/fmempool.c
    cpukit/itron/src/frsm_tsk.c
    cpukit/itron/src/get_tid.c
    cpukit/itron/src/itronintr.c
    cpukit/itron/src/itronsem.c
    cpukit/itron/src/itrontime.c
    cpukit/itron/src/mbox.c
    cpukit/itron/src/mboxtranslatereturncode.c
    cpukit/itron/src/msgbuffer.c
    cpukit/itron/src/msgbuffertranslatereturncode.c
    cpukit/itron/src/network.c
    cpukit/itron/src/port.c
    cpukit/itron/src/prcv_mbf.c
    cpukit/itron/src/prcv_mbx.c
    cpukit/itron/src/preq_sem.c
    cpukit/itron/src/psnd_mbf.c
    cpukit/itron/src/rcv_mbf.c
    cpukit/itron/src/rcv_mbx.c
    cpukit/itron/src/ref_mbf.c
    cpukit/itron/src/ref_mbx.c
    cpukit/itron/src/ref_sem.c
    cpukit/itron/src/ref_tsk.c
    cpukit/itron/src/rel_wai.c
    cpukit/itron/src/rot_rdq.c
    cpukit/itron/src/rsm_tsk.c
    cpukit/itron/src/sig_sem.c
    cpukit/itron/src/slp_tsk.c
    cpukit/itron/src/snd_mbf.c
    cpukit/itron/src/snd_mbx.c
    cpukit/itron/src/sta_tsk.c
    cpukit/itron/src/sus_tsk.c
    cpukit/itron/src/sysmgmt.c
    cpukit/itron/src/task.c
    cpukit/itron/src/ter_tsk.c
    cpukit/itron/src/trcv_mbf.c
    cpukit/itron/src/trcv_mbx.c
    cpukit/itron/src/tslp_tsk.c
    cpukit/itron/src/tsnd_mbf.c
    cpukit/itron/src/twai_sem.c
    cpukit/itron/src/vmempool.c
    cpukit/itron/src/wai_sem.c
    cpukit/itron/src/wup_tsk.c
    cpukit/libcsupport/Makefile.am
    cpukit/libcsupport/include/chain.h
    cpukit/libcsupport/include/clockdrv.h
    cpukit/libcsupport/include/console.h
    cpukit/libcsupport/include/iosupp.h
    cpukit/libcsupport/include/motorola/mc68230.h
    cpukit/libcsupport/include/motorola/mc68681.h
    cpukit/libcsupport/include/ringbuf.h
    cpukit/libcsupport/include/rtems/assoc.h
    cpukit/libcsupport/include/rtems/error.h
    cpukit/libcsupport/include/rtems/libcsupport.h
    cpukit/libcsupport/include/rtems/libio.h
    cpukit/libcsupport/include/rtems/libio_.h
    cpukit/libcsupport/include/spurious.h
    cpukit/libcsupport/include/sys/filio.h
    cpukit/libcsupport/include/sys/ioctl.h
    cpukit/libcsupport/include/sys/sockio.h
    cpukit/libcsupport/include/sys/termios.h
    cpukit/libcsupport/include/sys/utime.h
    cpukit/libcsupport/include/sys/utsname.h
    cpukit/libcsupport/include/timerdrv.h
    cpukit/libcsupport/include/vmeintr.h
    cpukit/libcsupport/include/zilog/z8036.h
    cpukit/libcsupport/include/zilog/z8530.h
    cpukit/libcsupport/include/zilog/z8536.h
    cpukit/libcsupport/src/CASES
    cpukit/libcsupport/src/README
    cpukit/libcsupport/src/TODO
    cpukit/libcsupport/src/__brk.c
    cpukit/libcsupport/src/__getpid.c
    cpukit/libcsupport/src/__gettod.c
    cpukit/libcsupport/src/__sbrk.c
    cpukit/libcsupport/src/__times.c
    cpukit/libcsupport/src/access.c
    cpukit/libcsupport/src/assoc.c
    cpukit/libcsupport/src/assocnamebad.c
    cpukit/libcsupport/src/base_fs.c
    cpukit/libcsupport/src/cfgetispeed.c
    cpukit/libcsupport/src/cfgetospeed.c
    cpukit/libcsupport/src/cfsetispeed.c
    cpukit/libcsupport/src/cfsetospeed.c
    cpukit/libcsupport/src/chdir.c
    cpukit/libcsupport/src/chmod.c
    cpukit/libcsupport/src/chown.c
    cpukit/libcsupport/src/close.c
    cpukit/libcsupport/src/closedir.c
    cpukit/libcsupport/src/creat.c
    cpukit/libcsupport/src/ctermid.c
    cpukit/libcsupport/src/dup.c
    cpukit/libcsupport/src/dup2.c
    cpukit/libcsupport/src/error.c
    cpukit/libcsupport/src/eval.c
    cpukit/libcsupport/src/fchmod.c
    cpukit/libcsupport/src/fcntl.c
    cpukit/libcsupport/src/fdatasync.c
    cpukit/libcsupport/src/fpathconf.c
    cpukit/libcsupport/src/fs_null_handlers.c
    cpukit/libcsupport/src/fstat.c
    cpukit/libcsupport/src/fsync.c
    cpukit/libcsupport/src/ftruncate.c
    cpukit/libcsupport/src/getcwd.c
    cpukit/libcsupport/src/getdents.c
    cpukit/libcsupport/src/getgrent.c
    cpukit/libcsupport/src/getpwent.c
    cpukit/libcsupport/src/hosterr.c
    cpukit/libcsupport/src/ioctl.c
    cpukit/libcsupport/src/isatty.c
    cpukit/libcsupport/src/libio.c
    cpukit/libcsupport/src/libio_sockets.c
    cpukit/libcsupport/src/link.c
    cpukit/libcsupport/src/lseek.c
    cpukit/libcsupport/src/lstat.c
    cpukit/libcsupport/src/malloc.c
    cpukit/libcsupport/src/mkdir.c
    cpukit/libcsupport/src/mkfifo.c
    cpukit/libcsupport/src/mknod.c
    cpukit/libcsupport/src/mount.c
    cpukit/libcsupport/src/newlibc.c
    cpukit/libcsupport/src/no_libc.c
    cpukit/libcsupport/src/no_posix.c
    cpukit/libcsupport/src/open.c
    cpukit/libcsupport/src/opendir.c
    cpukit/libcsupport/src/pathconf.c
    cpukit/libcsupport/src/pipe.c
    cpukit/libcsupport/src/read.c
    cpukit/libcsupport/src/readdir.c
    cpukit/libcsupport/src/readlink.c
    cpukit/libcsupport/src/rewinddir.c
    cpukit/libcsupport/src/rmdir.c
    cpukit/libcsupport/src/scandir.c
    cpukit/libcsupport/src/seekdir.c
    cpukit/libcsupport/src/stat.c
    cpukit/libcsupport/src/symlink.c
    cpukit/libcsupport/src/tcdrain.c
    cpukit/libcsupport/src/tcflow.c
    cpukit/libcsupport/src/tcflush.c
    cpukit/libcsupport/src/tcgetattr.c
    cpukit/libcsupport/src/tcgetprgrp.c
    cpukit/libcsupport/src/tcsendbreak.c
    cpukit/libcsupport/src/tcsetattr.c
    cpukit/libcsupport/src/tcsetpgrp.c
    cpukit/libcsupport/src/telldir.c
    cpukit/libcsupport/src/termios.c
    cpukit/libcsupport/src/termiosinitialize.c
    cpukit/libcsupport/src/termiosreserveresources.c
    cpukit/libcsupport/src/truncate.c
    cpukit/libcsupport/src/ttyname.c
    cpukit/libcsupport/src/ttyname_r.c
    cpukit/libcsupport/src/umask.c
    cpukit/libcsupport/src/unixlibc.c
    cpukit/libcsupport/src/unlink.c
    cpukit/libcsupport/src/unmount.c
    cpukit/libcsupport/src/utime.c
    cpukit/libcsupport/src/utsname.c
    cpukit/libcsupport/src/write.c
    cpukit/libfs/src/imfs/deviceio.c
    cpukit/libfs/src/imfs/imfs.h
    cpukit/libfs/src/imfs/imfs_chown.c
    cpukit/libfs/src/imfs/imfs_creat.c
    cpukit/libfs/src/imfs/imfs_debug.c
    cpukit/libfs/src/imfs/imfs_directory.c
    cpukit/libfs/src/imfs/imfs_eval.c
    cpukit/libfs/src/imfs/imfs_fchmod.c
    cpukit/libfs/src/imfs/imfs_fcntl.c
    cpukit/libfs/src/imfs/imfs_fdatasync.c
    cpukit/libfs/src/imfs/imfs_free.c
    cpukit/libfs/src/imfs/imfs_fsunmount.c
    cpukit/libfs/src/imfs/imfs_getchild.c
    cpukit/libfs/src/imfs/imfs_gtkn.c
    cpukit/libfs/src/imfs/imfs_handlers_device.c
    cpukit/libfs/src/imfs/imfs_handlers_directory.c
    cpukit/libfs/src/imfs/imfs_handlers_link.c
    cpukit/libfs/src/imfs/imfs_handlers_memfile.c
    cpukit/libfs/src/imfs/imfs_init.c
    cpukit/libfs/src/imfs/imfs_initsupp.c
    cpukit/libfs/src/imfs/imfs_link.c
    cpukit/libfs/src/imfs/imfs_mknod.c
    cpukit/libfs/src/imfs/imfs_mount.c
    cpukit/libfs/src/imfs/imfs_ntype.c
    cpukit/libfs/src/imfs/imfs_readlink.c
    cpukit/libfs/src/imfs/imfs_rmnod.c
    cpukit/libfs/src/imfs/imfs_stat.c
    cpukit/libfs/src/imfs/imfs_symlink.c
    cpukit/libfs/src/imfs/imfs_unixstub.c
    cpukit/libfs/src/imfs/imfs_unlink.c
    cpukit/libfs/src/imfs/imfs_unmount.c
    cpukit/libfs/src/imfs/imfs_utime.c
    cpukit/libfs/src/imfs/ioman.c
    cpukit/libfs/src/imfs/memfile.c
    cpukit/libfs/src/imfs/miniimfs_init.c
    cpukit/libmisc/Makefile.am
    cpukit/libmisc/README
    cpukit/libmisc/cpuuse/Makefile.am
    cpukit/libmisc/cpuuse/README
    cpukit/libmisc/cpuuse/cpuuse.c
    cpukit/libmisc/cpuuse/cpuuse.h
    cpukit/libmisc/dummy/Makefile.am
    cpukit/libmisc/dummy/README
    cpukit/libmisc/dummy/dummy.c
    cpukit/libmisc/dumpbuf/Makefile.am
    cpukit/libmisc/dumpbuf/dumpbuf.c
    cpukit/libmisc/dumpbuf/dumpbuf.h
    cpukit/libmisc/monitor/Makefile.am
    cpukit/libmisc/monitor/README
    cpukit/libmisc/monitor/mon-command.c
    cpukit/libmisc/monitor/mon-config.c
    cpukit/libmisc/monitor/mon-dname.c
    cpukit/libmisc/monitor/mon-driver.c
    cpukit/libmisc/monitor/mon-extension.c
    cpukit/libmisc/monitor/mon-itask.c
    cpukit/libmisc/monitor/mon-manager.c
    cpukit/libmisc/monitor/mon-monitor.c
    cpukit/libmisc/monitor/mon-mpci.c
    cpukit/libmisc/monitor/mon-object.c
    cpukit/libmisc/monitor/mon-prmisc.c
    cpukit/libmisc/monitor/mon-queue.c
    cpukit/libmisc/monitor/mon-server.c
    cpukit/libmisc/monitor/mon-symbols.c
    cpukit/libmisc/monitor/mon-task.c
    cpukit/libmisc/monitor/monitor.h
    cpukit/libmisc/monitor/symbols.h
    cpukit/libmisc/rtmonuse/Makefile.am
    cpukit/libmisc/rtmonuse/rtmonuse.c
    cpukit/libmisc/rtmonuse/rtmonuse.h
    cpukit/libmisc/stackchk/Makefile.am
    cpukit/libmisc/stackchk/README
    cpukit/libmisc/stackchk/check.c
    cpukit/libmisc/stackchk/internal.h
    cpukit/libmisc/stackchk/stackchk.h
    cpukit/libmisc/untar/Makefile.am
    cpukit/libmisc/untar/README
    cpukit/libmisc/untar/untar.c
    cpukit/libmisc/untar/untar.h
    cpukit/libmisc/wrapup/Makefile.am
    cpukit/libnetworking/Makefile.am
    cpukit/libnetworking/README
    cpukit/libnetworking/arpa/Makefile.am
    cpukit/libnetworking/arpa/ftp.h
    cpukit/libnetworking/arpa/inet.h
    cpukit/libnetworking/arpa/nameser.h
    cpukit/libnetworking/arpa/nameser_compat.h
    cpukit/libnetworking/arpa/telnet.h
    cpukit/libnetworking/bpfilter.h
    cpukit/libnetworking/kern/Makefile.am
    cpukit/libnetworking/kern/kern_subr.c
    cpukit/libnetworking/kern/uipc_domain.c
    cpukit/libnetworking/kern/uipc_mbuf.c
    cpukit/libnetworking/kern/uipc_socket.c
    cpukit/libnetworking/kern/uipc_socket2.c
    cpukit/libnetworking/lib/Makefile.am
    cpukit/libnetworking/lib/README
    cpukit/libnetworking/lib/getprotoby.c
    cpukit/libnetworking/lib/rtems_bsdnet_ntp.c
    cpukit/libnetworking/lib/syslog.c
    cpukit/libnetworking/lib/tftpDriver.c
    cpukit/libnetworking/libc/Makefile.am
    cpukit/libnetworking/libc/addr2ascii.3
    cpukit/libnetworking/libc/addr2ascii.c
    cpukit/libnetworking/libc/ascii2addr.c
    cpukit/libnetworking/libc/base64.c
    cpukit/libnetworking/libc/byteorder.3
    cpukit/libnetworking/libc/ether_addr.c
    cpukit/libnetworking/libc/ethers.3
    cpukit/libnetworking/libc/gethostbydns.c
    cpukit/libnetworking/libc/gethostbyht.c
    cpukit/libnetworking/libc/gethostbyname.3
    cpukit/libnetworking/libc/gethostbynis.c
    cpukit/libnetworking/libc/gethostnamadr.c
    cpukit/libnetworking/libc/gethostname.c
    cpukit/libnetworking/libc/getnetbydns.c
    cpukit/libnetworking/libc/getnetbyht.c
    cpukit/libnetworking/libc/getnetbynis.c
    cpukit/libnetworking/libc/getnetent.3
    cpukit/libnetworking/libc/getnetnamadr.c
    cpukit/libnetworking/libc/getproto.c
    cpukit/libnetworking/libc/getprotoent.3
    cpukit/libnetworking/libc/getprotoent.c
    cpukit/libnetworking/libc/getprotoname.c
    cpukit/libnetworking/libc/getservbyname.c
    cpukit/libnetworking/libc/getservbyport.c
    cpukit/libnetworking/libc/getservent.3
    cpukit/libnetworking/libc/getservent.c
    cpukit/libnetworking/libc/herror.c
    cpukit/libnetworking/libc/inet.3
    cpukit/libnetworking/libc/inet_addr.c
    cpukit/libnetworking/libc/inet_lnaof.c
    cpukit/libnetworking/libc/inet_makeaddr.c
    cpukit/libnetworking/libc/inet_net_ntop.c
    cpukit/libnetworking/libc/inet_net_pton.c
    cpukit/libnetworking/libc/inet_neta.c
    cpukit/libnetworking/libc/inet_netof.c
    cpukit/libnetworking/libc/inet_network.c
    cpukit/libnetworking/libc/inet_ntoa.c
    cpukit/libnetworking/libc/inet_ntop.c
    cpukit/libnetworking/libc/inet_pton.c
    cpukit/libnetworking/libc/iso_addr.3
    cpukit/libnetworking/libc/iso_addr.c
    cpukit/libnetworking/libc/linkaddr.3
    cpukit/libnetworking/libc/linkaddr.c
    cpukit/libnetworking/libc/map_v4v6.c
    cpukit/libnetworking/libc/ns.3
    cpukit/libnetworking/libc/ns_addr.c
    cpukit/libnetworking/libc/ns_name.c
    cpukit/libnetworking/libc/ns_netint.c
    cpukit/libnetworking/libc/ns_ntoa.c
    cpukit/libnetworking/libc/ns_parse.c
    cpukit/libnetworking/libc/ns_print.c
    cpukit/libnetworking/libc/ns_ttl.c
    cpukit/libnetworking/libc/nsap_addr.c
    cpukit/libnetworking/libc/rcmd.3
    cpukit/libnetworking/libc/rcmd.c
    cpukit/libnetworking/libc/recv.c
    cpukit/libnetworking/libc/res_comp.c
    cpukit/libnetworking/libc/res_config.h
    cpukit/libnetworking/libc/res_data.c
    cpukit/libnetworking/libc/res_debug.c
    cpukit/libnetworking/libc/res_init.c
    cpukit/libnetworking/libc/res_mkquery.c
    cpukit/libnetworking/libc/res_mkupdate.c
    cpukit/libnetworking/libc/res_query.c
    cpukit/libnetworking/libc/res_send.c
    cpukit/libnetworking/libc/res_stubs.c
    cpukit/libnetworking/libc/res_update.c
    cpukit/libnetworking/libc/resolver.3
    cpukit/libnetworking/libc/send.c
    cpukit/libnetworking/libc/strsep.c
    cpukit/libnetworking/loop.h
    cpukit/libnetworking/machine/Makefile.am
    cpukit/libnetworking/machine/conf.h
    cpukit/libnetworking/machine/cpu.h
    cpukit/libnetworking/machine/cpufunc.h
    cpukit/libnetworking/machine/endian.h
    cpukit/libnetworking/machine/in_cksum.h
    cpukit/libnetworking/machine/limits.h
    cpukit/libnetworking/machine/param.h
    cpukit/libnetworking/machine/types.h
    cpukit/libnetworking/machine/vmparam.h
    cpukit/libnetworking/net/Makefile.am
    cpukit/libnetworking/net/bpf.h
    cpukit/libnetworking/net/ethernet.h
    cpukit/libnetworking/net/if.c
    cpukit/libnetworking/net/if.h
    cpukit/libnetworking/net/if_arp.h
    cpukit/libnetworking/net/if_dl.h
    cpukit/libnetworking/net/if_ethersubr.c
    cpukit/libnetworking/net/if_llc.h
    cpukit/libnetworking/net/if_loop.c
    cpukit/libnetworking/net/if_ppp.h
    cpukit/libnetworking/net/if_types.h
    cpukit/libnetworking/net/netisr.h
    cpukit/libnetworking/net/ppp-comp.h
    cpukit/libnetworking/net/ppp_defs.h
    cpukit/libnetworking/net/radix.c
    cpukit/libnetworking/net/radix.h
    cpukit/libnetworking/net/raw_cb.c
    cpukit/libnetworking/net/raw_cb.h
    cpukit/libnetworking/net/raw_usrreq.c
    cpukit/libnetworking/net/route.c
    cpukit/libnetworking/net/route.h
    cpukit/libnetworking/net/rtsock.c
    cpukit/libnetworking/netdb.h
    cpukit/libnetworking/netinet/Makefile.am
    cpukit/libnetworking/netinet/icmp_var.h
    cpukit/libnetworking/netinet/if_ether.c
    cpukit/libnetworking/netinet/if_ether.h
    cpukit/libnetworking/netinet/igmp.c
    cpukit/libnetworking/netinet/igmp.h
    cpukit/libnetworking/netinet/igmp_var.h
    cpukit/libnetworking/netinet/in.c
    cpukit/libnetworking/netinet/in.h
    cpukit/libnetworking/netinet/in_cksum.c
    cpukit/libnetworking/netinet/in_cksum_i386.c
    cpukit/libnetworking/netinet/in_cksum_i386.h
    cpukit/libnetworking/netinet/in_cksum_m68k.c
    cpukit/libnetworking/netinet/in_cksum_m68k.h
    cpukit/libnetworking/netinet/in_cksum_powerpc.c
    cpukit/libnetworking/netinet/in_cksum_powerpc.h
    cpukit/libnetworking/netinet/in_pcb.c
    cpukit/libnetworking/netinet/in_pcb.h
    cpukit/libnetworking/netinet/in_proto.c
    cpukit/libnetworking/netinet/in_rmx.c
    cpukit/libnetworking/netinet/in_systm.h
    cpukit/libnetworking/netinet/in_var.h
    cpukit/libnetworking/netinet/ip.h
    cpukit/libnetworking/netinet/ip_divert.c
    cpukit/libnetworking/netinet/ip_fw.c
    cpukit/libnetworking/netinet/ip_fw.h
    cpukit/libnetworking/netinet/ip_icmp.c
    cpukit/libnetworking/netinet/ip_icmp.h
    cpukit/libnetworking/netinet/ip_input.c
    cpukit/libnetworking/netinet/ip_mroute.c
    cpukit/libnetworking/netinet/ip_mroute.h
    cpukit/libnetworking/netinet/ip_output.c
    cpukit/libnetworking/netinet/ip_var.h
    cpukit/libnetworking/netinet/raw_ip.c
    cpukit/libnetworking/netinet/tcp.h
    cpukit/libnetworking/netinet/tcp_debug.c
    cpukit/libnetworking/netinet/tcp_debug.h
    cpukit/libnetworking/netinet/tcp_fsm.h
    cpukit/libnetworking/netinet/tcp_input.c
    cpukit/libnetworking/netinet/tcp_output.c
    cpukit/libnetworking/netinet/tcp_seq.h
    cpukit/libnetworking/netinet/tcp_subr.c
    cpukit/libnetworking/netinet/tcp_timer.c
    cpukit/libnetworking/netinet/tcp_timer.h
    cpukit/libnetworking/netinet/tcp_usrreq.c
    cpukit/libnetworking/netinet/tcp_var.h
    cpukit/libnetworking/netinet/tcpip.h
    cpukit/libnetworking/netinet/udp.h
    cpukit/libnetworking/netinet/udp_usrreq.c
    cpukit/libnetworking/netinet/udp_var.h
    cpukit/libnetworking/nfs/Makefile.am
    cpukit/libnetworking/nfs/bootp_subr.c
    cpukit/libnetworking/nfs/krpc.h
    cpukit/libnetworking/nfs/nfs.h
    cpukit/libnetworking/nfs/nfsdiskless.h
    cpukit/libnetworking/nfs/nfsproto.h
    cpukit/libnetworking/nfs/rpcv2.h
    cpukit/libnetworking/nfs/xdr_subs.h
    cpukit/libnetworking/opt_ipfw.h
    cpukit/libnetworking/opt_mrouting.h
    cpukit/libnetworking/opt_tcpdebug.h
    cpukit/libnetworking/poll.h
    cpukit/libnetworking/resolv.h
    cpukit/libnetworking/rtems/Makefile.am
    cpukit/libnetworking/rtems/issetugid.c
    cpukit/libnetworking/rtems/rtems_bootp.c
    cpukit/libnetworking/rtems/rtems_bsdnet.h
    cpukit/libnetworking/rtems/rtems_bsdnet_internal.h
    cpukit/libnetworking/rtems/rtems_glue.c
    cpukit/libnetworking/rtems/rtems_select.c
    cpukit/libnetworking/rtems/rtems_showicmpstat.c
    cpukit/libnetworking/rtems/rtems_showifstat.c
    cpukit/libnetworking/rtems/rtems_showipstat.c
    cpukit/libnetworking/rtems/rtems_showmbuf.c
    cpukit/libnetworking/rtems/rtems_showroute.c
    cpukit/libnetworking/rtems/rtems_showtcpstat.c
    cpukit/libnetworking/rtems/rtems_showudpstat.c
    cpukit/libnetworking/rtems/rtems_syscall.c
    cpukit/libnetworking/rtems/sghostname.c
    cpukit/libnetworking/rtems/tftp.h
    cpukit/libnetworking/sys/Makefile.am
    cpukit/libnetworking/sys/buf.h
    cpukit/libnetworking/sys/callout.h
    cpukit/libnetworking/sys/conf.h
    cpukit/libnetworking/sys/domain.h
    cpukit/libnetworking/sys/kernel.h
    cpukit/libnetworking/sys/libkern.h
    cpukit/libnetworking/sys/malloc.h
    cpukit/libnetworking/sys/mbuf.h
    cpukit/libnetworking/sys/mount.h
    cpukit/libnetworking/sys/param.h
    cpukit/libnetworking/sys/proc.h
    cpukit/libnetworking/sys/protosw.h
    cpukit/libnetworking/sys/queue.h
    cpukit/libnetworking/sys/reboot.h
    cpukit/libnetworking/sys/resourcevar.h
    cpukit/libnetworking/sys/rtprio.h
    cpukit/libnetworking/sys/select.h
    cpukit/libnetworking/sys/signalvar.h
    cpukit/libnetworking/sys/socket.h
    cpukit/libnetworking/sys/socketvar.h
    cpukit/libnetworking/sys/sysctl.h
    cpukit/libnetworking/sys/syslimits.h
    cpukit/libnetworking/sys/syslog.h
    cpukit/libnetworking/sys/systm.h
    cpukit/libnetworking/sys/ttydefaults.h
    cpukit/libnetworking/sys/ucred.h
    cpukit/libnetworking/sys/uio.h
    cpukit/libnetworking/syslog.h
    cpukit/libnetworking/vm/Makefile.am
    cpukit/libnetworking/vm/vm.h
    cpukit/libnetworking/vm/vm_extern.h
    cpukit/libnetworking/vm/vm_kern.h
    cpukit/libnetworking/vm/vm_param.h
    cpukit/libnetworking/wrapup/Makefile.am
    cpukit/librpc/Makefile.am
    cpukit/librpc/include/Makefile.am
    cpukit/librpc/include/rpc/Makefile.am
    cpukit/librpc/include/rpc/auth.h
    cpukit/librpc/include/rpc/clnt.h
    cpukit/librpc/include/rpc/rpc.h
    cpukit/librpc/include/rpc/rpc_msg.h
    cpukit/librpc/include/rpc/svc.h
    cpukit/librpc/include/rpc/svc_auth.h
    cpukit/librpc/include/rpc/types.h
    cpukit/librpc/include/rpc/xdr.h
    cpukit/librpc/src/Makefile.am
    cpukit/posix/Makefile.am
    cpukit/posix/include/Makefile.am
    cpukit/posix/include/aio.h
    cpukit/posix/include/devctl.h
    cpukit/posix/include/intr.h
    cpukit/posix/include/mqueue.h
    cpukit/posix/include/rtems/posix/cancel.h
    cpukit/posix/include/rtems/posix/cond.h
    cpukit/posix/include/rtems/posix/condmp.h
    cpukit/posix/include/rtems/posix/config.h
    cpukit/posix/include/rtems/posix/intr.h
    cpukit/posix/include/rtems/posix/key.h
    cpukit/posix/include/rtems/posix/mqueue.h
    cpukit/posix/include/rtems/posix/mqueuemp.h
    cpukit/posix/include/rtems/posix/mutex.h
    cpukit/posix/include/rtems/posix/mutexmp.h
    cpukit/posix/include/rtems/posix/posixapi.h
    cpukit/posix/include/rtems/posix/priority.h
    cpukit/posix/include/rtems/posix/psignal.h
    cpukit/posix/include/rtems/posix/pthread.h
    cpukit/posix/include/rtems/posix/pthreadmp.h
    cpukit/posix/include/rtems/posix/ptimer.h
    cpukit/posix/include/rtems/posix/semaphore.h
    cpukit/posix/include/rtems/posix/semaphoremp.h
    cpukit/posix/include/rtems/posix/threadsup.h
    cpukit/posix/include/rtems/posix/time.h
    cpukit/posix/include/rtems/posix/timer.h
    cpukit/posix/include/sched.h
    cpukit/posix/include/semaphore.h
    cpukit/posix/inline/Makefile.am
    cpukit/posix/inline/rtems/posix/cond.inl
    cpukit/posix/inline/rtems/posix/intr.inl
    cpukit/posix/inline/rtems/posix/key.inl
    cpukit/posix/inline/rtems/posix/mqueue.inl
    cpukit/posix/inline/rtems/posix/mutex.inl
    cpukit/posix/inline/rtems/posix/priority.inl
    cpukit/posix/inline/rtems/posix/pthread.inl
    cpukit/posix/inline/rtems/posix/semaphore.inl
    cpukit/posix/macros/Makefile.am
    cpukit/posix/src/Makefile.am
    cpukit/posix/src/README.mqueue
    cpukit/posix/src/adasupp.c
    cpukit/posix/src/aio.c
    cpukit/posix/src/alarm.c
    cpukit/posix/src/cancel.c
    cpukit/posix/src/cancelrun.c
    cpukit/posix/src/cleanuppop.c
    cpukit/posix/src/cleanuppush.c
    cpukit/posix/src/clockgetcpuclockid.c
    cpukit/posix/src/clockgetenableattr.c
    cpukit/posix/src/clockgetres.c
    cpukit/posix/src/clockgettime.c
    cpukit/posix/src/clocksetenableattr.c
    cpukit/posix/src/clocksettime.c
    cpukit/posix/src/cond.c
    cpukit/posix/src/condattrdestroy.c
    cpukit/posix/src/condattrgetpshared.c
    cpukit/posix/src/condattrinit.c
    cpukit/posix/src/condattrsetpshared.c
    cpukit/posix/src/condbroadcast.c
    cpukit/posix/src/conddefaultattributes.c
    cpukit/posix/src/conddestroy.c
    cpukit/posix/src/condinit.c
    cpukit/posix/src/condmp.c
    cpukit/posix/src/condsignal.c
    cpukit/posix/src/condsignalsupp.c
    cpukit/posix/src/condtimedwait.c
    cpukit/posix/src/condwait.c
    cpukit/posix/src/condwaitsupp.c
    cpukit/posix/src/devctl.c
    cpukit/posix/src/execl.c
    cpukit/posix/src/execle.c
    cpukit/posix/src/execlp.c
    cpukit/posix/src/execv.c
    cpukit/posix/src/execve.c
    cpukit/posix/src/execvp.c
    cpukit/posix/src/fork.c
    cpukit/posix/src/getegid.c
    cpukit/posix/src/geteuid.c
    cpukit/posix/src/getgid.c
    cpukit/posix/src/getgroups.c
    cpukit/posix/src/getlogin.c
    cpukit/posix/src/getpgrp.c
    cpukit/posix/src/getpid.c
    cpukit/posix/src/getppid.c
    cpukit/posix/src/getuid.c
    cpukit/posix/src/intr.c
    cpukit/posix/src/key.c
    cpukit/posix/src/keycreate.c
    cpukit/posix/src/keydelete.c
    cpukit/posix/src/keygetspecific.c
    cpukit/posix/src/keyrundestructors.c
    cpukit/posix/src/keysetspecific.c
    cpukit/posix/src/kill.c
    cpukit/posix/src/killinfo.c
    cpukit/posix/src/mqueue.c
    cpukit/posix/src/mqueueclose.c
    cpukit/posix/src/mqueuecreatesupp.c
    cpukit/posix/src/mqueuedeletesupp.c
    cpukit/posix/src/mqueuegetattr.c
    cpukit/posix/src/mqueuenametoid.c
    cpukit/posix/src/mqueuenotify.c
    cpukit/posix/src/mqueueopen.c
    cpukit/posix/src/mqueuereceive.c
    cpukit/posix/src/mqueuerecvsupp.c
    cpukit/posix/src/mqueuesend.c
    cpukit/posix/src/mqueuesendsupp.c
    cpukit/posix/src/mqueuesetattr.c
    cpukit/posix/src/mqueuetimedreceive.c
    cpukit/posix/src/mqueuetimedsend.c
    cpukit/posix/src/mqueuetranslatereturncode.c
    cpukit/posix/src/mqueueunlink.c
    cpukit/posix/src/mutex.c
    cpukit/posix/src/mutexattrdestroy.c
    cpukit/posix/src/mutexattrgetprioceiling.c
    cpukit/posix/src/mutexattrgetprotocol.c
    cpukit/posix/src/mutexattrgetpshared.c
    cpukit/posix/src/mutexattrinit.c
    cpukit/posix/src/mutexattrsetprioceiling.c
    cpukit/posix/src/mutexattrsetprotocol.c
    cpukit/posix/src/mutexattrsetpshared.c
    cpukit/posix/src/mutexdefaultattributes.c
    cpukit/posix/src/mutexdestroy.c
    cpukit/posix/src/mutexfromcorestatus.c
    cpukit/posix/src/mutexgetprioceiling.c
    cpukit/posix/src/mutexinit.c
    cpukit/posix/src/mutexlock.c
    cpukit/posix/src/mutexlocksupp.c
    cpukit/posix/src/mutexmp.c
    cpukit/posix/src/mutexsetprioceiling.c
    cpukit/posix/src/mutextimedlock.c
    cpukit/posix/src/mutextrylock.c
    cpukit/posix/src/mutexunlock.c
    cpukit/posix/src/nanosleep.c
    cpukit/posix/src/pause.c
    cpukit/posix/src/posixintervaltotimespec.c
    cpukit/posix/src/posixtimespecsubtract.c
    cpukit/posix/src/posixtimespectointerval.c
    cpukit/posix/src/psignal.c
    cpukit/posix/src/psignalchecksignal.c
    cpukit/posix/src/psignalclearprocesssignals.c
    cpukit/posix/src/psignalclearsignals.c
    cpukit/posix/src/psignalsetprocesssignals.c
    cpukit/posix/src/psignalunblockthread.c
    cpukit/posix/src/pthread.c
    cpukit/posix/src/pthreadatfork.c
    cpukit/posix/src/pthreadattrdestroy.c
    cpukit/posix/src/pthreadattrgetdetachstate.c
    cpukit/posix/src/pthreadattrgetinheritsched.c
    cpukit/posix/src/pthreadattrgetschedparam.c
    cpukit/posix/src/pthreadattrgetschedpolicy.c
    cpukit/posix/src/pthreadattrgetscope.c
    cpukit/posix/src/pthreadattrgetstackaddr.c
    cpukit/posix/src/pthreadattrgetstacksize.c
    cpukit/posix/src/pthreadattrinit.c
    cpukit/posix/src/pthreadattrsetdetachstate.c
    cpukit/posix/src/pthreadattrsetinheritsched.c
    cpukit/posix/src/pthreadattrsetschedparam.c
    cpukit/posix/src/pthreadattrsetschedpolicy.c
    cpukit/posix/src/pthreadattrsetscope.c
    cpukit/posix/src/pthreadattrsetstackaddr.c
    cpukit/posix/src/pthreadattrsetstacksize.c
    cpukit/posix/src/pthreadcreate.c
    cpukit/posix/src/pthreaddetach.c
    cpukit/posix/src/pthreadequal.c
    cpukit/posix/src/pthreadexit.c
    cpukit/posix/src/pthreadgetcpuclockid.c
    cpukit/posix/src/pthreadgetcputime.c
    cpukit/posix/src/pthreadgetschedparam.c
    cpukit/posix/src/pthreadjoin.c
    cpukit/posix/src/pthreadkill.c
    cpukit/posix/src/pthreadonce.c
    cpukit/posix/src/pthreadself.c
    cpukit/posix/src/pthreadsetcputime.c
    cpukit/posix/src/pthreadsetschedparam.c
    cpukit/posix/src/pthreadsigmask.c
    cpukit/posix/src/ptimer.c
    cpukit/posix/src/ptimer1.c
    cpukit/posix/src/sched.c
    cpukit/posix/src/semaphore.c
    cpukit/posix/src/semaphorecreatesupp.c
    cpukit/posix/src/semaphoredeletesupp.c
    cpukit/posix/src/semaphoremp.c
    cpukit/posix/src/semaphorenametoid.c
    cpukit/posix/src/semaphorewaitsupp.c
    cpukit/posix/src/semclose.c
    cpukit/posix/src/semdestroy.c
    cpukit/posix/src/semgetvalue.c
    cpukit/posix/src/seminit.c
    cpukit/posix/src/semopen.c
    cpukit/posix/src/sempost.c
    cpukit/posix/src/semtimedwait.c
    cpukit/posix/src/semtrywait.c
    cpukit/posix/src/semunlink.c
    cpukit/posix/src/semwait.c
    cpukit/posix/src/setcancelstate.c
    cpukit/posix/src/setcanceltype.c
    cpukit/posix/src/setpgid.c
    cpukit/posix/src/setsid.c
    cpukit/posix/src/sigaction.c
    cpukit/posix/src/sigaddset.c
    cpukit/posix/src/sigdelset.c
    cpukit/posix/src/sigemptyset.c
    cpukit/posix/src/sigfillset.c
    cpukit/posix/src/sigismember.c
    cpukit/posix/src/signal_2.c
    cpukit/posix/src/sigpending.c
    cpukit/posix/src/sigprocmask.c
    cpukit/posix/src/sigqueue.c
    cpukit/posix/src/sigsuspend.c
    cpukit/posix/src/sigtimedwait.c
    cpukit/posix/src/sigwait.c
    cpukit/posix/src/sigwaitinfo.c
    cpukit/posix/src/sleep.c
    cpukit/posix/src/sysconf.c
    cpukit/posix/src/testcancel.c
    cpukit/posix/src/time.c
    cpukit/posix/src/types.c
    cpukit/posix/src/wait.c
    cpukit/posix/src/waitpid.c
    cpukit/pppd/Makefile.am
    cpukit/pppd/README
    cpukit/pppd/STATUS
    cpukit/pppd/auth.c
    cpukit/pppd/cbcp.c
    cpukit/pppd/cbcp.h
    cpukit/pppd/ccp.c
    cpukit/pppd/ccp.h
    cpukit/pppd/chap.c
    cpukit/pppd/chap.h
    cpukit/pppd/chap_ms.c
    cpukit/pppd/chap_ms.h
    cpukit/pppd/chat.c
    cpukit/pppd/demand.c
    cpukit/pppd/fsm.c
    cpukit/pppd/fsm.h
    cpukit/pppd/ipcp.c
    cpukit/pppd/ipcp.h
    cpukit/pppd/ipxcp.c
    cpukit/pppd/ipxcp.h
    cpukit/pppd/lcp.c
    cpukit/pppd/lcp.h
    cpukit/pppd/magic.c
    cpukit/pppd/magic.h
    cpukit/pppd/md4.c
    cpukit/pppd/md4.h
    cpukit/pppd/md5.c
    cpukit/pppd/md5.h
    cpukit/pppd/options.c
    cpukit/pppd/patchlevel.h
    cpukit/pppd/pathnames.h
    cpukit/pppd/pppd.h
    cpukit/pppd/upap.c
    cpukit/pppd/upap.h
    cpukit/rtems/Makefile.am
    cpukit/rtems/include/Makefile.am
    cpukit/rtems/include/rtems.h
    cpukit/rtems/include/rtems/rtems/asr.h
    cpukit/rtems/include/rtems/rtems/attr.h
    cpukit/rtems/include/rtems/rtems/clock.h
    cpukit/rtems/include/rtems/rtems/config.h
    cpukit/rtems/include/rtems/rtems/dpmem.h
    cpukit/rtems/include/rtems/rtems/event.h
    cpukit/rtems/include/rtems/rtems/eventmp.h
    cpukit/rtems/include/rtems/rtems/eventset.h
    cpukit/rtems/include/rtems/rtems/intr.h
    cpukit/rtems/include/rtems/rtems/message.h
    cpukit/rtems/include/rtems/rtems/modes.h
    cpukit/rtems/include/rtems/rtems/mp.h
    cpukit/rtems/include/rtems/rtems/msgmp.h
    cpukit/rtems/include/rtems/rtems/options.h
    cpukit/rtems/include/rtems/rtems/part.h
    cpukit/rtems/include/rtems/rtems/partmp.h
    cpukit/rtems/include/rtems/rtems/ratemon.h
    cpukit/rtems/include/rtems/rtems/region.h
    cpukit/rtems/include/rtems/rtems/regionmp.h
    cpukit/rtems/include/rtems/rtems/rtemsapi.h
    cpukit/rtems/include/rtems/rtems/sem.h
    cpukit/rtems/include/rtems/rtems/semmp.h
    cpukit/rtems/include/rtems/rtems/signal.h
    cpukit/rtems/include/rtems/rtems/signalmp.h
    cpukit/rtems/include/rtems/rtems/status.h
    cpukit/rtems/include/rtems/rtems/support.h
    cpukit/rtems/include/rtems/rtems/taskmp.h
    cpukit/rtems/include/rtems/rtems/tasks.h
    cpukit/rtems/include/rtems/rtems/timer.h
    cpukit/rtems/include/rtems/rtems/types.h
    cpukit/rtems/inline/Makefile.am
    cpukit/rtems/inline/rtems/rtems/asr.inl
    cpukit/rtems/inline/rtems/rtems/attr.inl
    cpukit/rtems/inline/rtems/rtems/dpmem.inl
    cpukit/rtems/inline/rtems/rtems/event.inl
    cpukit/rtems/inline/rtems/rtems/eventset.inl
    cpukit/rtems/inline/rtems/rtems/message.inl
    cpukit/rtems/inline/rtems/rtems/modes.inl
    cpukit/rtems/inline/rtems/rtems/options.inl
    cpukit/rtems/inline/rtems/rtems/part.inl
    cpukit/rtems/inline/rtems/rtems/ratemon.inl
    cpukit/rtems/inline/rtems/rtems/region.inl
    cpukit/rtems/inline/rtems/rtems/sem.inl
    cpukit/rtems/inline/rtems/rtems/status.inl
    cpukit/rtems/inline/rtems/rtems/support.inl
    cpukit/rtems/inline/rtems/rtems/tasks.inl
    cpukit/rtems/inline/rtems/rtems/timer.inl
    cpukit/rtems/macros/Makefile.am
    cpukit/rtems/macros/rtems/rtems/asr.inl
    cpukit/rtems/macros/rtems/rtems/attr.inl
    cpukit/rtems/macros/rtems/rtems/dpmem.inl
    cpukit/rtems/macros/rtems/rtems/event.inl
    cpukit/rtems/macros/rtems/rtems/eventset.inl
    cpukit/rtems/macros/rtems/rtems/message.inl
    cpukit/rtems/macros/rtems/rtems/modes.inl
    cpukit/rtems/macros/rtems/rtems/options.inl
    cpukit/rtems/macros/rtems/rtems/part.inl
    cpukit/rtems/macros/rtems/rtems/ratemon.inl
    cpukit/rtems/macros/rtems/rtems/region.inl
    cpukit/rtems/macros/rtems/rtems/sem.inl
    cpukit/rtems/macros/rtems/rtems/status.inl
    cpukit/rtems/macros/rtems/rtems/support.inl
    cpukit/rtems/macros/rtems/rtems/tasks.inl
    cpukit/rtems/macros/rtems/rtems/timer.inl
    cpukit/rtems/src/Makefile.am
    cpukit/rtems/src/attr.c
    cpukit/rtems/src/clockget.c
    cpukit/rtems/src/clockset.c
    cpukit/rtems/src/clocktick.c
    cpukit/rtems/src/clocktodtoseconds.c
    cpukit/rtems/src/clocktodvalidate.c
    cpukit/rtems/src/dpmem.c
    cpukit/rtems/src/dpmemcreate.c
    cpukit/rtems/src/dpmemdelete.c
    cpukit/rtems/src/dpmemexternal2internal.c
    cpukit/rtems/src/dpmemident.c
    cpukit/rtems/src/dpmeminternal2external.c
    cpukit/rtems/src/event.c
    cpukit/rtems/src/eventmp.c
    cpukit/rtems/src/eventreceive.c
    cpukit/rtems/src/eventseize.c
    cpukit/rtems/src/eventsend.c
    cpukit/rtems/src/eventsurrender.c
    cpukit/rtems/src/eventtimeout.c
    cpukit/rtems/src/intr.c
    cpukit/rtems/src/intrbody.c
    cpukit/rtems/src/intrcatch.c
    cpukit/rtems/src/mp.c
    cpukit/rtems/src/msg.c
    cpukit/rtems/src/msgmp.c
    cpukit/rtems/src/msgqallocate.c
    cpukit/rtems/src/msgqbroadcast.c
    cpukit/rtems/src/msgqcreate.c
    cpukit/rtems/src/msgqdelete.c
    cpukit/rtems/src/msgqflush.c
    cpukit/rtems/src/msgqgetnumberpending.c
    cpukit/rtems/src/msgqident.c
    cpukit/rtems/src/msgqreceive.c
    cpukit/rtems/src/msgqsend.c
    cpukit/rtems/src/msgqsubmit.c
    cpukit/rtems/src/msgqtranslatereturncode.c
    cpukit/rtems/src/msgqurgent.c
    cpukit/rtems/src/part.c
    cpukit/rtems/src/partcreate.c
    cpukit/rtems/src/partdelete.c
    cpukit/rtems/src/partgetbuffer.c
    cpukit/rtems/src/partident.c
    cpukit/rtems/src/partmp.c
    cpukit/rtems/src/partreturnbuffer.c
    cpukit/rtems/src/ratemon.c
    cpukit/rtems/src/ratemoncancel.c
    cpukit/rtems/src/ratemoncreate.c
    cpukit/rtems/src/ratemondelete.c
    cpukit/rtems/src/ratemongetstatus.c
    cpukit/rtems/src/ratemonident.c
    cpukit/rtems/src/ratemonperiod.c
    cpukit/rtems/src/ratemontimeout.c
    cpukit/rtems/src/region.c
    cpukit/rtems/src/regioncreate.c
    cpukit/rtems/src/regiondelete.c
    cpukit/rtems/src/regionextend.c
    cpukit/rtems/src/regiongetsegment.c
    cpukit/rtems/src/regiongetsegmentsize.c
    cpukit/rtems/src/regionident.c
    cpukit/rtems/src/regionmp.c
    cpukit/rtems/src/regionreturnsegment.c
    cpukit/rtems/src/rtclock.c
    cpukit/rtems/src/rtemstimer.c
    cpukit/rtems/src/sem.c
    cpukit/rtems/src/semcreate.c
    cpukit/rtems/src/semdelete.c
    cpukit/rtems/src/semflush.c
    cpukit/rtems/src/semident.c
    cpukit/rtems/src/semmp.c
    cpukit/rtems/src/semobtain.c
    cpukit/rtems/src/semrelease.c
    cpukit/rtems/src/semtranslatereturncode.c
    cpukit/rtems/src/signal.c
    cpukit/rtems/src/signalcatch.c
    cpukit/rtems/src/signalmp.c
    cpukit/rtems/src/signalsend.c
    cpukit/rtems/src/taskcreate.c
    cpukit/rtems/src/taskdelete.c
    cpukit/rtems/src/taskgetnote.c
    cpukit/rtems/src/taskident.c
    cpukit/rtems/src/taskinitusers.c
    cpukit/rtems/src/taskissuspended.c
    cpukit/rtems/src/taskmode.c
    cpukit/rtems/src/taskmp.c
    cpukit/rtems/src/taskrestart.c
    cpukit/rtems/src/taskresume.c
    cpukit/rtems/src/tasks.c
    cpukit/rtems/src/tasksetnote.c
    cpukit/rtems/src/tasksetpriority.c
    cpukit/rtems/src/taskstart.c
    cpukit/rtems/src/tasksuspend.c
    cpukit/rtems/src/taskvariableadd.c
    cpukit/rtems/src/taskvariabledelete.c
    cpukit/rtems/src/taskvariableget.c
    cpukit/rtems/src/taskwakeafter.c
    cpukit/rtems/src/taskwakewhen.c
    cpukit/rtems/src/timercancel.c
    cpukit/rtems/src/timercreate.c
    cpukit/rtems/src/timerdelete.c
    cpukit/rtems/src/timerfireafter.c
    cpukit/rtems/src/timerfirewhen.c
    cpukit/rtems/src/timerident.c
    cpukit/rtems/src/timerreset.c
    cpukit/sapi/Makefile.am
    cpukit/sapi/include/Makefile.am
    cpukit/sapi/include/confdefs.h
    cpukit/sapi/include/rtems/README
    cpukit/sapi/include/rtems/config.h
    cpukit/sapi/include/rtems/extension.h
    cpukit/sapi/include/rtems/fatal.h
    cpukit/sapi/include/rtems/init.h
    cpukit/sapi/include/rtems/io.h
    cpukit/sapi/include/rtems/mptables.h
    cpukit/sapi/include/rtems/sptables.h.in
    cpukit/sapi/inline/Makefile.am
    cpukit/sapi/inline/rtems/extension.inl
    cpukit/sapi/macros/Makefile.am
    cpukit/sapi/macros/rtems/extension.inl
    cpukit/sapi/src/Makefile.am
    cpukit/sapi/src/debug.c
    cpukit/sapi/src/exinit.c
    cpukit/sapi/src/extension.c
    cpukit/sapi/src/fatal.c
    cpukit/sapi/src/io.c
    cpukit/sapi/src/itronapi.c
    cpukit/sapi/src/posixapi.c
    cpukit/sapi/src/rtemsapi.c
    cpukit/score/Makefile.am
    cpukit/score/cpu/Makefile.am
    cpukit/score/cpu/a29k/Makefile.am
    cpukit/score/cpu/a29k/amd.ah
    cpukit/score/cpu/a29k/asm.h
    cpukit/score/cpu/a29k/cpu.c
    cpukit/score/cpu/a29k/cpu_asm.S
    cpukit/score/cpu/a29k/pswmacro.ah
    cpukit/score/cpu/a29k/register.ah
    cpukit/score/cpu/a29k/rtems/score/a29k.h
    cpukit/score/cpu/a29k/rtems/score/cpu.h
    cpukit/score/cpu/a29k/rtems/score/cpu_asm.h
    cpukit/score/cpu/a29k/rtems/score/types.h
    cpukit/score/cpu/a29k/sig.S
    cpukit/score/cpu/hppa1.1/Makefile.am
    cpukit/score/cpu/hppa1.1/cpu.c
    cpukit/score/cpu/hppa1.1/cpu_asm.S
    cpukit/score/cpu/hppa1.1/rtems/score/cpu.h
    cpukit/score/cpu/hppa1.1/rtems/score/cpu_asm.h
    cpukit/score/cpu/hppa1.1/rtems/score/hppa.h
    cpukit/score/cpu/hppa1.1/rtems/score/types.h
    cpukit/score/cpu/i386/Makefile.am
    cpukit/score/cpu/i386/asm.h
    cpukit/score/cpu/i386/cpu.c
    cpukit/score/cpu/i386/cpu_asm.S
    cpukit/score/cpu/i386/rtems/asm.h
    cpukit/score/cpu/i386/rtems/score/cpu.h
    cpukit/score/cpu/i386/rtems/score/i386.h
    cpukit/score/cpu/i386/rtems/score/types.h
    cpukit/score/cpu/i960/Makefile.am
    cpukit/score/cpu/i960/asm.h
    cpukit/score/cpu/i960/cpu.c
    cpukit/score/cpu/i960/cpu_asm.S
    cpukit/score/cpu/i960/rtems/score/cpu.h
    cpukit/score/cpu/i960/rtems/score/i960.h
    cpukit/score/cpu/i960/rtems/score/types.h
    cpukit/score/cpu/m68k/Makefile.am
    cpukit/score/cpu/m68k/asm.h
    cpukit/score/cpu/m68k/cpu.c
    cpukit/score/cpu/m68k/cpu_asm.S
    cpukit/score/cpu/m68k/m68302.h
    cpukit/score/cpu/m68k/m68360.h
    cpukit/score/cpu/m68k/memcpy.c
    cpukit/score/cpu/m68k/qsm.h
    cpukit/score/cpu/m68k/rtems/asm.h
    cpukit/score/cpu/m68k/rtems/m68k/m68302.h
    cpukit/score/cpu/m68k/rtems/m68k/m68360.h
    cpukit/score/cpu/m68k/rtems/m68k/qsm.h
    cpukit/score/cpu/m68k/rtems/m68k/sim.h
    cpukit/score/cpu/m68k/rtems/score/cpu.h
    cpukit/score/cpu/m68k/rtems/score/m68k.h
    cpukit/score/cpu/m68k/rtems/score/types.h
    cpukit/score/cpu/m68k/sim.h
    cpukit/score/cpu/mips/Makefile.am
    cpukit/score/cpu/mips/asm.h
    cpukit/score/cpu/mips/cpu.c
    cpukit/score/cpu/mips/cpu_asm.S
    cpukit/score/cpu/mips/idtcpu.h
    cpukit/score/cpu/mips/iregdef.h
    cpukit/score/cpu/mips/rtems/asm.h
    cpukit/score/cpu/mips/rtems/mips/idtcpu.h
    cpukit/score/cpu/mips/rtems/mips/iregdef.h
    cpukit/score/cpu/mips/rtems/score/cpu.h
    cpukit/score/cpu/mips/rtems/score/mips.h
    cpukit/score/cpu/mips/rtems/score/types.h
    cpukit/score/cpu/mips64orion/Makefile.am
    cpukit/score/cpu/mips64orion/asm.h
    cpukit/score/cpu/mips64orion/cpu.c
    cpukit/score/cpu/mips64orion/cpu_asm.S
    cpukit/score/cpu/mips64orion/cpu_asm.h
    cpukit/score/cpu/mips64orion/idtcpu.h
    cpukit/score/cpu/mips64orion/idtmon.h
    cpukit/score/cpu/mips64orion/iregdef.h
    cpukit/score/cpu/mips64orion/rtems/score/cpu.h
    cpukit/score/cpu/mips64orion/rtems/score/mips64orion.h
    cpukit/score/cpu/mips64orion/rtems/score/types.h
    cpukit/score/cpu/no_cpu/Makefile.am
    cpukit/score/cpu/no_cpu/asm.h
    cpukit/score/cpu/no_cpu/cpu.c
    cpukit/score/cpu/no_cpu/cpu_asm.c
    cpukit/score/cpu/no_cpu/rtems/asm.h
    cpukit/score/cpu/no_cpu/rtems/score/cpu.h
    cpukit/score/cpu/no_cpu/rtems/score/cpu_asm.h
    cpukit/score/cpu/no_cpu/rtems/score/no_cpu.h
    cpukit/score/cpu/no_cpu/rtems/score/types.h
    cpukit/score/cpu/powerpc/Makefile.am
    cpukit/score/cpu/powerpc/asm.h
    cpukit/score/cpu/powerpc/rtems/asm.h
    cpukit/score/cpu/powerpc/rtems/score/ppc.h
    cpukit/score/cpu/powerpc/rtems/score/types.h
    cpukit/score/cpu/sh/Makefile.am
    cpukit/score/cpu/sh/asm.h
    cpukit/score/cpu/sh/cpu.c
    cpukit/score/cpu/sh/rtems/asm.h
    cpukit/score/cpu/sh/rtems/score/cpu.h
    cpukit/score/cpu/sh/rtems/score/sh.h
    cpukit/score/cpu/sh/rtems/score/sh_io.h
    cpukit/score/cpu/sh/rtems/score/types.h
    cpukit/score/cpu/sparc/Makefile.am
    cpukit/score/cpu/sparc/README
    cpukit/score/cpu/sparc/asm.h
    cpukit/score/cpu/sparc/cpu.c
    cpukit/score/cpu/sparc/cpu_asm.S
    cpukit/score/cpu/sparc/rtems/asm.h
    cpukit/score/cpu/sparc/rtems/score/cpu.h
    cpukit/score/cpu/sparc/rtems/score/sparc.h
    cpukit/score/cpu/sparc/rtems/score/types.h
    cpukit/score/cpu/unix/Makefile.am
    cpukit/score/cpu/unix/cpu.c
    cpukit/score/cpu/unix/rtems/score/cpu.h
    cpukit/score/cpu/unix/rtems/score/types.h
    cpukit/score/cpu/unix/rtems/score/unix.h
    cpukit/score/include/Makefile.am
    cpukit/score/include/rtems/debug.h
    cpukit/score/include/rtems/score/address.h
    cpukit/score/include/rtems/score/apiext.h
    cpukit/score/include/rtems/score/bitfield.h
    cpukit/score/include/rtems/score/chain.h
    cpukit/score/include/rtems/score/context.h
    cpukit/score/include/rtems/score/copyrt.h
    cpukit/score/include/rtems/score/coremsg.h
    cpukit/score/include/rtems/score/coremutex.h
    cpukit/score/include/rtems/score/coresem.h
    cpukit/score/include/rtems/score/heap.h
    cpukit/score/include/rtems/score/interr.h
    cpukit/score/include/rtems/score/isr.h
    cpukit/score/include/rtems/score/mpci.h
    cpukit/score/include/rtems/score/mppkt.h
    cpukit/score/include/rtems/score/object.h
    cpukit/score/include/rtems/score/objectmp.h
    cpukit/score/include/rtems/score/priority.h
    cpukit/score/include/rtems/score/stack.h
    cpukit/score/include/rtems/score/states.h
    cpukit/score/include/rtems/score/sysstate.h
    cpukit/score/include/rtems/score/thread.h
    cpukit/score/include/rtems/score/threadmp.h
    cpukit/score/include/rtems/score/threadq.h
    cpukit/score/include/rtems/score/tod.h
    cpukit/score/include/rtems/score/tqdata.h
    cpukit/score/include/rtems/score/userext.h
    cpukit/score/include/rtems/score/watchdog.h
    cpukit/score/include/rtems/score/wkspace.h
    cpukit/score/include/rtems/system.h
    cpukit/score/inline/Makefile.am
    cpukit/score/inline/rtems/score/address.inl
    cpukit/score/inline/rtems/score/chain.inl
    cpukit/score/inline/rtems/score/coremsg.inl
    cpukit/score/inline/rtems/score/coremutex.inl
    cpukit/score/inline/rtems/score/coresem.inl
    cpukit/score/inline/rtems/score/heap.inl
    cpukit/score/inline/rtems/score/isr.inl
    cpukit/score/inline/rtems/score/mppkt.inl
    cpukit/score/inline/rtems/score/object.inl
    cpukit/score/inline/rtems/score/objectmp.inl
    cpukit/score/inline/rtems/score/priority.inl
    cpukit/score/inline/rtems/score/stack.inl
    cpukit/score/inline/rtems/score/states.inl
    cpukit/score/inline/rtems/score/sysstate.inl
    cpukit/score/inline/rtems/score/thread.inl
    cpukit/score/inline/rtems/score/threadmp.inl
    cpukit/score/inline/rtems/score/tod.inl
    cpukit/score/inline/rtems/score/tqdata.inl
    cpukit/score/inline/rtems/score/userext.inl
    cpukit/score/inline/rtems/score/watchdog.inl
    cpukit/score/inline/rtems/score/wkspace.inl
    cpukit/score/macros/Makefile.am
    cpukit/score/macros/README
    cpukit/score/macros/rtems/score/README
    cpukit/score/macros/rtems/score/address.inl
    cpukit/score/macros/rtems/score/chain.inl
    cpukit/score/macros/rtems/score/coremsg.inl
    cpukit/score/macros/rtems/score/coremutex.inl
    cpukit/score/macros/rtems/score/coresem.inl
    cpukit/score/macros/rtems/score/heap.inl
    cpukit/score/macros/rtems/score/isr.inl
    cpukit/score/macros/rtems/score/mppkt.inl
    cpukit/score/macros/rtems/score/object.inl
    cpukit/score/macros/rtems/score/objectmp.inl
    cpukit/score/macros/rtems/score/priority.inl
    cpukit/score/macros/rtems/score/stack.inl
    cpukit/score/macros/rtems/score/states.inl
    cpukit/score/macros/rtems/score/sysstate.inl
    cpukit/score/macros/rtems/score/thread.inl
    cpukit/score/macros/rtems/score/threadmp.inl
    cpukit/score/macros/rtems/score/tod.inl
    cpukit/score/macros/rtems/score/tqdata.inl
    cpukit/score/macros/rtems/score/userext.inl
    cpukit/score/macros/rtems/score/watchdog.inl
    cpukit/score/macros/rtems/score/wkspace.inl
    cpukit/score/src/Makefile.am
    cpukit/score/src/Unlimited.txt
    cpukit/score/src/apiext.c
    cpukit/score/src/chain.c
    cpukit/score/src/coremsg.c
    cpukit/score/src/coremsgbroadcast.c
    cpukit/score/src/coremsgclose.c
    cpukit/score/src/coremsgflush.c
    cpukit/score/src/coremsgflushsupp.c
    cpukit/score/src/coremsgflushwait.c
    cpukit/score/src/coremsginsert.c
    cpukit/score/src/coremsgseize.c
    cpukit/score/src/coremsgsubmit.c
    cpukit/score/src/coremutex.c
    cpukit/score/src/coremutexflush.c
    cpukit/score/src/coremutexseize.c
    cpukit/score/src/coremutexsurrender.c
    cpukit/score/src/coresem.c
    cpukit/score/src/coresemflush.c
    cpukit/score/src/coresemseize.c
    cpukit/score/src/coresemsurrender.c
    cpukit/score/src/coretod.c
    cpukit/score/src/coretodset.c
    cpukit/score/src/coretodtickle.c
    cpukit/score/src/coretodtoseconds.c
    cpukit/score/src/coretodvalidate.c
    cpukit/score/src/heap.c
    cpukit/score/src/heapallocate.c
    cpukit/score/src/heapextend.c
    cpukit/score/src/heapfree.c
    cpukit/score/src/heapsizeofuserarea.c
    cpukit/score/src/heapwalk.c
    cpukit/score/src/interr.c
    cpukit/score/src/isr.c
    cpukit/score/src/mpci.c
    cpukit/score/src/object.c
    cpukit/score/src/objectallocate.c
    cpukit/score/src/objectallocatebyindex.c
    cpukit/score/src/objectclearname.c
    cpukit/score/src/objectcomparenameraw.c
    cpukit/score/src/objectcomparenamestring.c
    cpukit/score/src/objectcopynameraw.c
    cpukit/score/src/objectcopynamestring.c
    cpukit/score/src/objectextendinformation.c
    cpukit/score/src/objectfree.c
    cpukit/score/src/objectget.c
    cpukit/score/src/objectgetbyindex.c
    cpukit/score/src/objectgetnext.c
    cpukit/score/src/objectinitializeinformation.c
    cpukit/score/src/objectmp.c
    cpukit/score/src/objectnametoid.c
    cpukit/score/src/objectshrinkinformation.c
    cpukit/score/src/thread.c
    cpukit/score/src/threadchangepriority.c
    cpukit/score/src/threadclearstate.c
    cpukit/score/src/threadclose.c
    cpukit/score/src/threadcreateidle.c
    cpukit/score/src/threaddelayended.c
    cpukit/score/src/threaddispatch.c
    cpukit/score/src/threadevaluatemode.c
    cpukit/score/src/threadget.c
    cpukit/score/src/threadhandler.c
    cpukit/score/src/threadidlebody.c
    cpukit/score/src/threadinitialize.c
    cpukit/score/src/threadloadenv.c
    cpukit/score/src/threadmp.c
    cpukit/score/src/threadq.c
    cpukit/score/src/threadqdequeue.c
    cpukit/score/src/threadqdequeuefifo.c
    cpukit/score/src/threadqdequeuepriority.c
    cpukit/score/src/threadqenqueue.c
    cpukit/score/src/threadqenqueuefifo.c
    cpukit/score/src/threadqenqueuepriority.c
    cpukit/score/src/threadqextract.c
    cpukit/score/src/threadqextractfifo.c
    cpukit/score/src/threadqextractpriority.c
    cpukit/score/src/threadqextractwithproxy.c
    cpukit/score/src/threadqfirst.c
    cpukit/score/src/threadqfirstfifo.c
    cpukit/score/src/threadqfirstpriority.c
    cpukit/score/src/threadqflush.c
    cpukit/score/src/threadqtimeout.c
    cpukit/score/src/threadready.c
    cpukit/score/src/threadreset.c
    cpukit/score/src/threadresettimeslice.c
    cpukit/score/src/threadrestart.c
    cpukit/score/src/threadresume.c
    cpukit/score/src/threadrotatequeue.c
    cpukit/score/src/threadsetpriority.c
    cpukit/score/src/threadsetstate.c
    cpukit/score/src/threadsettransient.c
    cpukit/score/src/threadstackallocate.c
    cpukit/score/src/threadstackfree.c
    cpukit/score/src/threadstart.c
    cpukit/score/src/threadstartmultitasking.c
    cpukit/score/src/threadsuspend.c
    cpukit/score/src/threadtickletimeslice.c
    cpukit/score/src/threadyieldprocessor.c
    cpukit/score/src/userext.c
    cpukit/score/src/watchdog.c
    cpukit/score/src/watchdogadjust.c
    cpukit/score/src/watchdoginsert.c
    cpukit/score/src/watchdogremove.c
    cpukit/score/src/watchdogtickle.c
    cpukit/score/src/wkspace.c
    cpukit/wrapup/Makefile.am
    cpukit/zlib/doc/rfc1950.txt
    cpukit/zlib/doc/rfc1951.txt
    cpukit/zlib/doc/rfc1952.txt
    doc/BAD.html
    doc/FAQ/FAQ.texi
    doc/FAQ/Makefile
    doc/FAQ/basic.t
    doc/FAQ/bsp.t
    doc/FAQ/concepts.t
    doc/FAQ/debug.t
    doc/FAQ/embeddedinfo.t
    doc/FAQ/endoftime.t
    doc/FAQ/entry
    doc/FAQ/freesw.t
    doc/FAQ/hwdebugaids.t
    doc/FAQ/projects.t
    doc/FAQ/tools.t
    doc/HELP.html
    doc/Make.config
    doc/Makefile
    doc/README
    doc/TODO
    doc/VERSION
    doc/ada_user/Makefile
    doc/ada_user/ada_user.texi
    doc/ada_user/example.texi
    doc/archgrey.gif
    doc/bsp_howto/Makefile
    doc/bsp_howto/adaintr.t
    doc/bsp_howto/analog.t
    doc/bsp_howto/bsp_howto.texi
    doc/bsp_howto/clock.t
    doc/bsp_howto/console.t
    doc/bsp_howto/discrete.t
    doc/bsp_howto/init.t
    doc/bsp_howto/intro.t
    doc/bsp_howto/linkcmds.t
    doc/bsp_howto/makefiles.t
    doc/bsp_howto/nvmem.t
    doc/bsp_howto/rtc.t
    doc/bsp_howto/shmsupp.t
    doc/bsp_howto/support.t
    doc/bsp_howto/target.t
    doc/bsp_howto/timer.t
    doc/common/cpright.texi
    doc/common/dvi.gif
    doc/common/oaronly.jpg
    doc/common/pdf.gif
    doc/common/pdf1.gif
    doc/common/ps.gif
    doc/common/setup.texi
    doc/common/timemac.texi
    doc/common/timetbl.t
    doc/common/timing.t
    doc/common/treedef.tex
    doc/common/up-arrow.gif
    doc/common/wksheets.t
    doc/develenv/Makefile
    doc/develenv/compile.texi
    doc/develenv/develenv.texi
    doc/develenv/direct.texi
    doc/develenv/intro.texi
    doc/develenv/sample.texi
    doc/develenv/utils.texi
    doc/do_docs
    doc/filesystem/Makefile
    doc/filesystem/filesystem.texi
    doc/filesystem/fsrequirements.t
    doc/filesystem/imfs.t
    doc/filesystem/init.t
    doc/filesystem/miniimfs.t
    doc/filesystem/mounting.t
    doc/filesystem/patheval.t
    doc/filesystem/preface.texi
    doc/filesystem/syscalls.t
    doc/filesystem/tftp.t
    doc/gnu_docs/Tool_Doc_Instructions
    doc/gnu_docs/gen_docs
    doc/gnu_docs/gnu_footer.html
    doc/gnu_docs/gnu_header.html
    doc/gnu_docs/index.html
    doc/gnu_docs/mk_install_dir
    doc/gnu_docs/refcard.html
    doc/gnu_docs/rtems_tools_index.html
    doc/index.html
    doc/itron3.0/Makefile
    doc/itron3.0/config.t
    doc/itron3.0/eventflags.t
    doc/itron3.0/fixedblock.t
    doc/itron3.0/gen_all
    doc/itron3.0/gen_section
    doc/itron3.0/gen_status_shell
    doc/itron3.0/interrupt.t
    doc/itron3.0/itron.texi
    doc/itron3.0/mailbox.t
    doc/itron3.0/memorypool.t
    doc/itron3.0/msgbuffer.t
    doc/itron3.0/network.t
    doc/itron3.0/preface.texi
    doc/itron3.0/rendezvous.t
    doc/itron3.0/semaphore.t
    doc/itron3.0/status.t
    doc/itron3.0/task.t
    doc/itron3.0/tasksync.t
    doc/itron3.0/time.t
    doc/networking/Makefile
    doc/networking/PCIreg.eps
    doc/networking/PCIreg.jpg
    doc/networking/PCIreg.pdf
    doc/networking/decdriver.t
    doc/networking/driver.t
    doc/networking/networkapp.t
    doc/networking/networkflow.eps
    doc/networking/networkflow.jpg
    doc/networking/networkflow.pdf
    doc/networking/networkflow.png
    doc/networking/networking.texi
    doc/networking/networktasks.t
    doc/networking/preface.texi
    doc/networking/recvbd.eps
    doc/networking/recvbd.jpg
    doc/networking/recvbd.pdf
    doc/networking/servers.t
    doc/networking/testing.t
    doc/new_chapters/Makefile
    doc/new_chapters/STATUS
    doc/new_chapters/TODO
    doc/new_chapters/adminiface.t
    doc/new_chapters/base.t
    doc/new_chapters/confspace.t
    doc/new_chapters/cpuuse.t
    doc/new_chapters/dumpcontrol.t
    doc/new_chapters/error.t
    doc/new_chapters/eventlog.t
    doc/new_chapters/gen_section
    doc/new_chapters/monitor.t
    doc/new_chapters/new_chapters.texi
    doc/new_chapters/rtmonuse.t
    doc/new_chapters/stackchk.t
    doc/oaronly.jpg
    doc/porting/Makefile
    doc/porting/codetuning.t
    doc/porting/cpuinit.t
    doc/porting/cpumodels.t
    doc/porting/developtools.t
    doc/porting/idlethread.t
    doc/porting/interrupts.t
    doc/porting/miscellaneous.t
    doc/porting/porting.texi
    doc/porting/preface.texi
    doc/porting/prioritybitmap.t
    doc/porting/sourcecode.t
    doc/porting/taskcontext.t
    doc/posix1003.1/Makefile
    doc/posix1003.1/ch01.t
    doc/posix1003.1/ch02.t
    doc/posix1003.1/ch03.t
    doc/posix1003.1/ch04.t
    doc/posix1003.1/ch05.t
    doc/posix1003.1/ch06.t
    doc/posix1003.1/ch07.t
    doc/posix1003.1/ch08.t
    doc/posix1003.1/ch09.t
    doc/posix1003.1/ch10.t
    doc/posix1003.1/ch11.t
    doc/posix1003.1/ch12.t
    doc/posix1003.1/ch13.t
    doc/posix1003.1/ch14.t
    doc/posix1003.1/ch15.t
    doc/posix1003.1/ch16.t
    doc/posix1003.1/ch17.t
    doc/posix1003.1/ch18.t
    doc/posix1003.1/posix1003_1.texi
    doc/posix1003.1/preface.texi
    doc/posix1003.1/summarize
    doc/posix_users/Makefile
    doc/posix_users/cancel.t
    doc/posix_users/clock.t
    doc/posix_users/cond.t
    doc/posix_users/cspecific.t
    doc/posix_users/device.t
    doc/posix_users/files.t
    doc/posix_users/gen_size_report
    doc/posix_users/io.t
    doc/posix_users/key.t
    doc/posix_users/libc.t
    doc/posix_users/libm.t
    doc/posix_users/memorymgmt.t
    doc/posix_users/message.t
    doc/posix_users/mutex.t
    doc/posix_users/posix_users.texi
    doc/posix_users/preface.texi
    doc/posix_users/procenv.t
    doc/posix_users/process.t
    doc/posix_users/sched.t
    doc/posix_users/semaphores.t
    doc/posix_users/signal.t
    doc/posix_users/status.t
    doc/posix_users/systemdb.t
    doc/posix_users/thread.t
    doc/posix_users/timer.t
    doc/relnotes/Makefile
    doc/relnotes/install.texi
    doc/relnotes/intro.texi
    doc/relnotes/probrep.texi
    doc/relnotes/relnotes.texi
    doc/relnotes/status.texi
    doc/rgdb_specs/Makefile
    doc/rgdb_specs/comm.t
    doc/rgdb_specs/conclusion.t
    doc/rgdb_specs/daemon.t
    doc/rgdb_specs/garde.eps
    doc/rgdb_specs/garde.pdf
    doc/rgdb_specs/gdbinternals.t
    doc/rgdb_specs/interfacing.t
    doc/rgdb_specs/intro.t
    doc/rgdb_specs/layers.eps
    doc/rgdb_specs/layers.jpg
    doc/rgdb_specs/layers.pdf
    doc/rgdb_specs/objectives.t
    doc/rgdb_specs/process.eps
    doc/rgdb_specs/process.jpg
    doc/rgdb_specs/process.pdf
    doc/rgdb_specs/revision.t
    doc/rgdb_specs/rgdb_specs.texi
    doc/rgdb_specs/seqbreak.eps
    doc/rgdb_specs/seqbreak.jpg
    doc/rgdb_specs/seqbreak.pdf
    doc/rgdb_specs/seqdetach.eps
    doc/rgdb_specs/seqdetach.jpg
    doc/rgdb_specs/seqdetach.pdf
    doc/rgdb_specs/seqinit.eps
    doc/rgdb_specs/seqinit.jpg
    doc/rgdb_specs/seqinit.pdf
    doc/rtems_footer.html
    doc/rtems_gdb/Makefile
    doc/rtems_gdb/commands.t
    doc/rtems_gdb/example.t
    doc/rtems_gdb/intro.t
    doc/rtems_gdb/rtems_gdb.texi
    doc/rtems_gdb/started.t
    doc/rtems_gdb/swarch.t
    doc/rtems_gdb/trouble.t
    doc/rtems_header.html
    doc/rtems_support.html
    doc/src2html/Makefile
    doc/src2html/RTEMS.test
    doc/started/Makefile
    doc/started/buildc.t
    doc/started/buildrt.t
    doc/started/gdb.t
    doc/started/intro.t
    doc/started/nt.t
    doc/started/pictures/bit_ada.jpg
    doc/started/pictures/bit_ada.vsd
    doc/started/pictures/bit_c.jpg
    doc/started/pictures/bit_c.vsd
    doc/started/pictures/scfile10.jpg
    doc/started/pictures/scfile10.vsd
    doc/started/pictures/scfile11.jpg
    doc/started/pictures/scfile11.vsd
    doc/started/pictures/scfile12.jpg
    doc/started/pictures/scfile12.vsd
    doc/started/pictures/scfile13.jpg
    doc/started/pictures/scfile13.vsd
    doc/started/pictures/scsfile1.jpg
    doc/started/pictures/scsfile1.vsd
    doc/started/pictures/scsfile2.jpg
    doc/started/pictures/scsfile2.vsd
    doc/started/pictures/scsfile3.jpg
    doc/started/pictures/scsfile3.vsd
    doc/started/pictures/scsfile4.jpg
    doc/started/pictures/scsfile4.vsd
    doc/started/pictures/scsfile5.jpg
    doc/started/pictures/scsfile5.vsd
    doc/started/pictures/scsfile6.jpg
    doc/started/pictures/scsfile6.vsd
    doc/started/pictures/scsfile7.jpg
    doc/started/pictures/scsfile7.vsd
    doc/started/pictures/scsfile8.jpg
    doc/started/pictures/scsfile8.vsd
    doc/started/pictures/scsfile9.jpg
    doc/started/pictures/scsfile9.vsd
    doc/started/pictures/sfile12c.jpg
    doc/started/pictures/sfile12c.vsd
    doc/started/require.t
    doc/started/sample.t
    doc/started/started.texi
    doc/started/versions.texi
    doc/started_ada/Makefile
    doc/started_ada/buildada.t
    doc/started_ada/buildrt.t
    doc/started_ada/gdb.t
    doc/started_ada/intro.t
    doc/started_ada/require.t
    doc/started_ada/sample.t
    doc/started_ada/started_ada.texi
    doc/started_ada/versions.texi
    doc/supplements/hppa1_1/Makefile
    doc/supplements/hppa1_1/SIMHPPA_TIMES
    doc/supplements/hppa1_1/bsp.t
    doc/supplements/hppa1_1/callconv.t
    doc/supplements/hppa1_1/cpumodel.t
    doc/supplements/hppa1_1/cputable.t
    doc/supplements/hppa1_1/fatalerr.t
    doc/supplements/hppa1_1/hppa1_1.texi
    doc/supplements/hppa1_1/intr_NOTIMES.t
    doc/supplements/hppa1_1/memmodel.t
    doc/supplements/hppa1_1/preface.texi
    doc/supplements/hppa1_1/timeSIMHPPA.t
    doc/supplements/i386/FORCE386_TIMES
    doc/supplements/i386/Makefile
    doc/supplements/i386/bsp.t
    doc/supplements/i386/callconv.t
    doc/supplements/i386/cpumodel.t
    doc/supplements/i386/cputable.t
    doc/supplements/i386/fatalerr.t
    doc/supplements/i386/i386.texi
    doc/supplements/i386/intr_NOTIMES.t
    doc/supplements/i386/memmodel.t
    doc/supplements/i386/preface.texi
    doc/supplements/i386/timeFORCE386.t
    doc/supplements/i960/CVME961_TIMES
    doc/supplements/i960/Makefile
    doc/supplements/i960/bsp.t
    doc/supplements/i960/callconv.t
    doc/supplements/i960/cpumodel.t
    doc/supplements/i960/cputable.t
    doc/supplements/i960/fatalerr.t
    doc/supplements/i960/i960.texi
    doc/supplements/i960/intr_NOTIMES.t
    doc/supplements/i960/memmodel.t
    doc/supplements/i960/preface.texi
    doc/supplements/i960/timeCVME961.t
    doc/supplements/m68k/MVME136_TIMES
    doc/supplements/m68k/Makefile
    doc/supplements/m68k/bsp.t
    doc/supplements/m68k/callconv.t
    doc/supplements/m68k/cpumodel.t
    doc/supplements/m68k/cputable.t
    doc/supplements/m68k/fatalerr.t
    doc/supplements/m68k/intr_NOTIMES.t
    doc/supplements/m68k/m68k.texi
    doc/supplements/m68k/memmodel.t
    doc/supplements/m68k/preface.texi
    doc/supplements/m68k/timeMVME136.t
    doc/supplements/m68k/timedata.t
    doc/supplements/mips64orion/BSP_TIMES
    doc/supplements/mips64orion/Makefile
    doc/supplements/mips64orion/bsp.t
    doc/supplements/mips64orion/callconv.t
    doc/supplements/mips64orion/cpumodel.t
    doc/supplements/mips64orion/cputable.t
    doc/supplements/mips64orion/fatalerr.t
    doc/supplements/mips64orion/intr_NOTIMES.t
    doc/supplements/mips64orion/memmodel.t
    doc/supplements/mips64orion/mips64orion.texi
    doc/supplements/mips64orion/preface.texi
    doc/supplements/mips64orion/timeBSP.t
    doc/supplements/powerpc/DMV177_TIMES
    doc/supplements/powerpc/Makefile
    doc/supplements/powerpc/PSIM_TIMES
    doc/supplements/powerpc/bsp.t
    doc/supplements/powerpc/callconv.t
    doc/supplements/powerpc/cpumodel.t
    doc/supplements/powerpc/cputable.t
    doc/supplements/powerpc/fatalerr.t
    doc/supplements/powerpc/intr_NOTIMES.t
    doc/supplements/powerpc/memmodel.t
    doc/supplements/powerpc/powerpc.texi
    doc/supplements/powerpc/preface.texi
    doc/supplements/powerpc/timeDMV177.t
    doc/supplements/powerpc/timePSIM.t
    doc/supplements/sh/BSP_TIMES
    doc/supplements/sh/Makefile
    doc/supplements/sh/bsp.t
    doc/supplements/sh/callconv.t
    doc/supplements/sh/cpumodel.t
    doc/supplements/sh/cputable.t
    doc/supplements/sh/fatalerr.t
    doc/supplements/sh/intr_NOTIMES.t
    doc/supplements/sh/memmodel.t
    doc/supplements/sh/preface.texi
    doc/supplements/sh/sh.texi
    doc/supplements/sh/timeBSP.t
    doc/supplements/sparc/ERC32_TIMES
    doc/supplements/sparc/Makefile
    doc/supplements/sparc/bsp.t
    doc/supplements/sparc/callconv.t
    doc/supplements/sparc/cpumodel.t
    doc/supplements/sparc/cputable.t
    doc/supplements/sparc/fatalerr.t
    doc/supplements/sparc/intr_NOTIMES.t
    doc/supplements/sparc/memmodel.t
    doc/supplements/sparc/preface.texi
    doc/supplements/sparc/sparc.texi
    doc/supplements/sparc/timeERC32.t
    doc/supplements/template/BSP_TIMES
    doc/supplements/template/Makefile
    doc/supplements/template/bsp.t
    doc/supplements/template/callconv.t
    doc/supplements/template/cpumodel.t
    doc/supplements/template/cputable.t
    doc/supplements/template/fatalerr.t
    doc/supplements/template/intr_NOTIMES.t
    doc/supplements/template/memmodel.t
    doc/supplements/template/preface.texi
    doc/supplements/template/template.texi
    doc/supplements/template/timeBSP.t
    doc/texinfo/texinfo.tex
    doc/tools/bmenu/Makefile
    doc/tools/bmenu/address.h
    doc/tools/bmenu/address.inl
    doc/tools/bmenu/base.h
    doc/tools/bmenu/chain.c
    doc/tools/bmenu/chain.h
    doc/tools/bmenu/chain.inl
    doc/tools/bmenu/isr.h
    doc/tools/bmenu/main.c
    doc/tools/bmenu/system.h
    doc/tools/pdl2texi/Makefile
    doc/tools/pdl2texi/address.h
    doc/tools/pdl2texi/address.inl
    doc/tools/pdl2texi/base.h
    doc/tools/pdl2texi/chain.c
    doc/tools/pdl2texi/chain.h
    doc/tools/pdl2texi/chain.inl
    doc/tools/pdl2texi/isr.h
    doc/tools/pdl2texi/main.c
    doc/tools/pdl2texi/s.d
    doc/tools/pdl2texi/sample.d
    doc/tools/pdl2texi/system.h
    doc/tools/pdl2texi/test_cases/enum.d
    doc/tools/pdl2texi/test_cases/enumbad.d
    doc/tools/pdl2texi/test_cases/table.d
    doc/tools/src2html/Makefile
    doc/tools/src2html1.4a/Ctags/C.c
    doc/tools/src2html1.4a/Ctags/Makefile
    doc/tools/src2html1.4a/Ctags/ctags.1
    doc/tools/src2html1.4a/Ctags/ctags.c
    doc/tools/src2html1.4a/Ctags/ctags.h
    doc/tools/src2html1.4a/Ctags/fortran.c
    doc/tools/src2html1.4a/Ctags/lisp.c
    doc/tools/src2html1.4a/Ctags/print.c
    doc/tools/src2html1.4a/Ctags/strerror.c
    doc/tools/src2html1.4a/Ctags/tree.c
    doc/tools/src2html1.4a/Ctags/yacc.c
    doc/tools/src2html1.4a/Ctags/z.c
    doc/tools/src2html1.4a/FreeBSD/FreeBSD.hdr
    doc/tools/src2html1.4a/FreeBSD/FreeBSD.s2h
    doc/tools/src2html1.4a/FreeBSD/conf.hdr
    doc/tools/src2html1.4a/FreeBSD/ddb.hdr
    doc/tools/src2html1.4a/FreeBSD/i386.i386.hdr
    doc/tools/src2html1.4a/FreeBSD/i386.include.hdr
    doc/tools/src2html1.4a/FreeBSD/i386.isa.hdr
    doc/tools/src2html1.4a/FreeBSD/i386.stand.hdr
    doc/tools/src2html1.4a/FreeBSD/kern.hdr
    doc/tools/src2html1.4a/FreeBSD/net.hdr
    doc/tools/src2html1.4a/FreeBSD/netinet.hdr
    doc/tools/src2html1.4a/FreeBSD/nfs.hdr
    doc/tools/src2html1.4a/FreeBSD/stand.hdr
    doc/tools/src2html1.4a/FreeBSD/sys.hdr
    doc/tools/src2html1.4a/FreeBSD/ufs.hdr
    doc/tools/src2html1.4a/FreeBSD/vm.hdr
    doc/tools/src2html1.4a/Readme
    doc/tools/src2html1.4a/ctags-emacs/README
    doc/tools/src2html1.4a/ctags-emacs/ctags
    doc/tools/src2html1.4a/ctags-emacs/etags.c-ada-patch
    doc/tools/src2html1.4a/ctags-wr
    doc/tools/src2html1.4a/src2html
    doc/tools/src2html1.4a/src2html.1
    doc/tools/src2html1.4a/src2html.cgi
    doc/tools/texi2www/Makefile
    doc/tools/texi2www/archive/texi2www-960103.tgz
    doc/tools/texi2www/dir-arrow.gif
    doc/tools/texi2www/missing-arrow.gif
    doc/tools/texi2www/next-arrow.gif
    doc/tools/texi2www/prev-arrow.gif
    doc/tools/texi2www/texi2dvi
    doc/tools/texi2www/texi2www
    doc/tools/texi2www/texi2www.texi
    doc/tools/texi2www/up-arrow.gif
    doc/tools/update
    doc/tools/word-replace
    doc/user/Makefile
    doc/user/bsp.t
    doc/user/c_user.texi
    doc/user/clock.t
    doc/user/concepts.t
    doc/user/conf.t
    doc/user/dirstat.texi
    doc/user/dpmem.t
    doc/user/event.t
    doc/user/example.texi
    doc/user/fatal.t
    doc/user/glossary.texi
    doc/user/init.t
    doc/user/intr.t
    doc/user/io.t
    doc/user/mp.t
    doc/user/msg.t
    doc/user/overview.t
    doc/user/part.t
    doc/user/preface.texi
    doc/user/region.t
    doc/user/rtemsarc.gif
    doc/user/rtemsarc.png
    doc/user/rtemspie.eps
    doc/user/rtemspie.gif
    doc/user/rtemspie.pdf
    doc/user/rtemspie.png
    doc/user/rtmon.t
    doc/user/schedule.t
    doc/user/sem.t
    doc/user/signal.t
    doc/user/states.eps
    doc/user/states.gif
    doc/user/states.pdf
    doc/user/states.png
    doc/user/task.t
    doc/user/timer.t
    doc/user/userext.t
    testsuites/Makefile.am
    testsuites/PROBLEMS
    testsuites/README
    testsuites/itrontests/Makefile.am
    testsuites/itrontests/README
    testsuites/itrontests/itronhello/Makefile.am
    testsuites/itrontests/itronhello/init.c
    testsuites/itrontests/itronhello/itronhello.doc
    testsuites/itrontests/itronhello/itronhello.scn
    testsuites/itrontests/itronhello/system.h
    testsuites/itrontests/itronmbf01/Makefile.am
    testsuites/itrontests/itronmbf01/init.c
    testsuites/itrontests/itronmbf01/itronmbf01.doc
    testsuites/itrontests/itronmbf01/itronmbf01.scn
    testsuites/itrontests/itronmbf01/system.h
    testsuites/itrontests/itronmbox01/Makefile.am
    testsuites/itrontests/itronmbox01/init.c
    testsuites/itrontests/itronmbox01/itronmbox01.doc
    testsuites/itrontests/itronmbox01/itronmbox01.scn
    testsuites/itrontests/itronmbox01/system.h
    testsuites/itrontests/itronsem01/Makefile.am
    testsuites/itrontests/itronsem01/init.c
    testsuites/itrontests/itronsem01/itronsem01.doc
    testsuites/itrontests/itronsem01/itronsem01.scn
    testsuites/itrontests/itronsem01/system.h
    testsuites/itrontests/itrontask01/Makefile.am
    testsuites/itrontests/itrontask01/init.c
    testsuites/itrontests/itrontask01/itrontask01.doc
    testsuites/itrontests/itrontask01/itrontask01.scn
    testsuites/itrontests/itrontask01/system.h
    testsuites/itrontests/itrontask01/task1.c
    testsuites/itrontests/itrontask02/Makefile.am
    testsuites/itrontests/itrontask02/dormant.c
    testsuites/itrontests/itrontask02/init.c
    testsuites/itrontests/itrontask02/itrontask02.doc
    testsuites/itrontests/itrontask02/itrontask02.scn
    testsuites/itrontests/itrontask02/system.h
    testsuites/itrontests/itrontask03/Makefile.am
    testsuites/itrontests/itrontask03/init.c
    testsuites/itrontests/itrontask03/itrontask03.doc
    testsuites/itrontests/itrontask03/itrontask03.scn
    testsuites/itrontests/itrontask03/preempt.c
    testsuites/itrontests/itrontask03/system.h
    testsuites/itrontests/itrontask03/task1.c
    testsuites/itrontests/itrontask03/task2.c
    testsuites/itrontests/itrontask03/task3.c
    testsuites/itrontests/itrontask04/Makefile.am
    testsuites/itrontests/itrontask04/init.c
    testsuites/itrontests/itrontask04/itrontask04.doc
    testsuites/itrontests/itrontask04/itrontask04.scn
    testsuites/itrontests/itrontask04/system.h
    testsuites/itrontests/itrontask04/task1.c
    testsuites/itrontests/itrontask04/task2.c
    testsuites/itrontests/itrontask04/task3.c
    testsuites/itrontests/itrontests.am
    testsuites/itrontests/itrontime01/Makefile.am
    testsuites/itrontests/itrontime01/init.c
    testsuites/itrontests/itrontime01/itrontime01.doc
    testsuites/itrontests/itrontime01/itrontime01.scn
    testsuites/itrontests/itrontime01/system.h
    testsuites/libtests/Makefile.am
    testsuites/libtests/README
    testsuites/libtests/cpuuse/Makefile.am
    testsuites/libtests/cpuuse/cpuuse.scn
    testsuites/libtests/cpuuse/init.c
    testsuites/libtests/cpuuse/system.h
    testsuites/libtests/cpuuse/task1.c
    testsuites/libtests/cpuuse/task2.c
    testsuites/libtests/cpuuse/task3.c
    testsuites/libtests/cpuuse/tswitch.c
    testsuites/libtests/libtests.am
    testsuites/libtests/malloctest/Makefile.am
    testsuites/libtests/malloctest/init.c
    testsuites/libtests/malloctest/system.h
    testsuites/libtests/malloctest/task1.c
    testsuites/libtests/monitor/Makefile.am
    testsuites/libtests/monitor/init.c
    testsuites/libtests/monitor/system.h
    testsuites/libtests/putenvtest/Makefile.am
    testsuites/libtests/putenvtest/init.c
    testsuites/libtests/rtems++/Init.cc
    testsuites/libtests/rtems++/Makefile.am
    testsuites/libtests/rtems++/System.h
    testsuites/libtests/rtems++/Task1.cc
    testsuites/libtests/rtems++/Task2.cc
    testsuites/libtests/rtems++/Task3.cc
    testsuites/libtests/rtems++/rtems++.doc
    testsuites/libtests/rtems++/rtems++.scn
    testsuites/libtests/rtmonuse/Makefile.am
    testsuites/libtests/rtmonuse/getall.c
    testsuites/libtests/rtmonuse/init.c
    testsuites/libtests/rtmonuse/rtmonuse.scn
    testsuites/libtests/rtmonuse/system.h
    testsuites/libtests/rtmonuse/task1.c
    testsuites/libtests/stackchk/Makefile.am
    testsuites/libtests/stackchk/blow.c
    testsuites/libtests/stackchk/init.c
    testsuites/libtests/stackchk/stackchk.scn
    testsuites/libtests/stackchk/system.h
    testsuites/libtests/stackchk/task1.c
    testsuites/libtests/termios/Makefile.am
    testsuites/libtests/termios/README
    testsuites/libtests/termios/init.c
    testsuites/mptests/Makefile.am
    testsuites/mptests/README
    testsuites/mptests/mp01/Makefile.am
    testsuites/mptests/mp01/init.c
    testsuites/mptests/mp01/node1/Makefile.am
    testsuites/mptests/mp01/node1/mp01.doc
    testsuites/mptests/mp01/node1/mp01.scn
    testsuites/mptests/mp01/node2/Makefile.am
    testsuites/mptests/mp01/node2/mp01.doc
    testsuites/mptests/mp01/node2/mp01.scn
    testsuites/mptests/mp01/system.h
    testsuites/mptests/mp01/task1.c
    testsuites/mptests/mp02/Makefile.am
    testsuites/mptests/mp02/init.c
    testsuites/mptests/mp02/node1/Makefile.am
    testsuites/mptests/mp02/node1/mp02.doc
    testsuites/mptests/mp02/node1/mp02.scn
    testsuites/mptests/mp02/node2/Makefile.am
    testsuites/mptests/mp02/node2/mp02.doc
    testsuites/mptests/mp02/node2/mp02.scn
    testsuites/mptests/mp02/system.h
    testsuites/mptests/mp02/task1.c
    testsuites/mptests/mp03/Makefile.am
    testsuites/mptests/mp03/delay.c
    testsuites/mptests/mp03/init.c
    testsuites/mptests/mp03/node1/Makefile.am
    testsuites/mptests/mp03/node1/mp03.doc
    testsuites/mptests/mp03/node1/mp03.scn
    testsuites/mptests/mp03/node2/Makefile.am
    testsuites/mptests/mp03/node2/mp03.doc
    testsuites/mptests/mp03/node2/mp03.scn
    testsuites/mptests/mp03/system.h
    testsuites/mptests/mp03/task1.c
    testsuites/mptests/mp04/Makefile.am
    testsuites/mptests/mp04/init.c
    testsuites/mptests/mp04/node1/Makefile.am
    testsuites/mptests/mp04/node1/mp04.doc
    testsuites/mptests/mp04/node1/mp04.scn
    testsuites/mptests/mp04/node2/Makefile.am
    testsuites/mptests/mp04/node2/mp04.doc
    testsuites/mptests/mp04/node2/mp04.scn
    testsuites/mptests/mp04/system.h
    testsuites/mptests/mp04/task1.c
    testsuites/mptests/mp05/Makefile.am
    testsuites/mptests/mp05/asr.c
    testsuites/mptests/mp05/init.c
    testsuites/mptests/mp05/node1/Makefile.am
    testsuites/mptests/mp05/node1/mp05.doc
    testsuites/mptests/mp05/node1/mp05.scn
    testsuites/mptests/mp05/node2/Makefile.am
    testsuites/mptests/mp05/node2/mp05.doc
    testsuites/mptests/mp05/node2/mp05.scn
    testsuites/mptests/mp05/system.h
    testsuites/mptests/mp05/task1.c
    testsuites/mptests/mp06/Makefile.am
    testsuites/mptests/mp06/init.c
    testsuites/mptests/mp06/node1/Makefile.am
    testsuites/mptests/mp06/node1/mp06.doc
    testsuites/mptests/mp06/node1/mp06.scn
    testsuites/mptests/mp06/node2/Makefile.am
    testsuites/mptests/mp06/node2/mp06.doc
    testsuites/mptests/mp06/node2/mp06.scn
    testsuites/mptests/mp06/system.h
    testsuites/mptests/mp06/task1.c
    testsuites/mptests/mp07/Makefile.am
    testsuites/mptests/mp07/init.c
    testsuites/mptests/mp07/node1/Makefile.am
    testsuites/mptests/mp07/node1/mp07.doc
    testsuites/mptests/mp07/node1/mp07.scn
    testsuites/mptests/mp07/node2/Makefile.am
    testsuites/mptests/mp07/node2/mp07.doc
    testsuites/mptests/mp07/node2/mp07.scn
    testsuites/mptests/mp07/system.h
    testsuites/mptests/mp07/task1.c
    testsuites/mptests/mp08/Makefile.am
    testsuites/mptests/mp08/init.c
    testsuites/mptests/mp08/node1/Makefile.am
    testsuites/mptests/mp08/node1/mp08.doc
    testsuites/mptests/mp08/node1/mp08.scn
    testsuites/mptests/mp08/node2/Makefile.am
    testsuites/mptests/mp08/node2/mp08.doc
    testsuites/mptests/mp08/node2/mp08.scn
    testsuites/mptests/mp08/system.h
    testsuites/mptests/mp08/task1.c
    testsuites/mptests/mp09/Makefile.am
    testsuites/mptests/mp09/init.c
    testsuites/mptests/mp09/node1/Makefile.am
    testsuites/mptests/mp09/node1/mp09.doc
    testsuites/mptests/mp09/node1/mp09.scn
    testsuites/mptests/mp09/node2/Makefile.am
    testsuites/mptests/mp09/node2/mp09.doc
    testsuites/mptests/mp09/node2/mp09.scn
    testsuites/mptests/mp09/recvmsg.c
    testsuites/mptests/mp09/sendmsg.c
    testsuites/mptests/mp09/system.h
    testsuites/mptests/mp09/task1.c
    testsuites/mptests/mp10/Makefile.am
    testsuites/mptests/mp10/init.c
    testsuites/mptests/mp10/node1/Makefile.am
    testsuites/mptests/mp10/node1/mp10.doc
    testsuites/mptests/mp10/node1/mp10.scn
    testsuites/mptests/mp10/node2/Makefile.am
    testsuites/mptests/mp10/node2/mp10.doc
    testsuites/mptests/mp10/node2/mp10.scn
    testsuites/mptests/mp10/system.h
    testsuites/mptests/mp10/task1.c
    testsuites/mptests/mp10/task2.c
    testsuites/mptests/mp10/task3.c
    testsuites/mptests/mp11/Makefile.am
    testsuites/mptests/mp11/init.c
    testsuites/mptests/mp11/node1/Makefile.am
    testsuites/mptests/mp11/node1/mp11.doc
    testsuites/mptests/mp11/node1/mp11.scn
    testsuites/mptests/mp11/node2/Makefile.am
    testsuites/mptests/mp11/node2/mp11.doc
    testsuites/mptests/mp11/node2/mp11.scn
    testsuites/mptests/mp11/system.h
    testsuites/mptests/mp12/Makefile.am
    testsuites/mptests/mp12/init.c
    testsuites/mptests/mp12/node1/Makefile.am
    testsuites/mptests/mp12/node1/mp12.doc
    testsuites/mptests/mp12/node1/mp12.scn
    testsuites/mptests/mp12/node2/Makefile.am
    testsuites/mptests/mp12/node2/mp12.doc
    testsuites/mptests/mp12/node2/mp12.scn
    testsuites/mptests/mp12/system.h
    testsuites/mptests/mp13/Makefile.am
    testsuites/mptests/mp13/init.c
    testsuites/mptests/mp13/node1/Makefile.am
    testsuites/mptests/mp13/node1/mp13.doc
    testsuites/mptests/mp13/node1/mp13.scn
    testsuites/mptests/mp13/node2/Makefile.am
    testsuites/mptests/mp13/node2/mp13.doc
    testsuites/mptests/mp13/node2/mp13.scn
    testsuites/mptests/mp13/system.h
    testsuites/mptests/mp13/task1.c
    testsuites/mptests/mp13/task2.c
    testsuites/mptests/mp14/Makefile.am
    testsuites/mptests/mp14/delay.c
    testsuites/mptests/mp14/evtask1.c
    testsuites/mptests/mp14/evtmtask.c
    testsuites/mptests/mp14/exit.c
    testsuites/mptests/mp14/init.c
    testsuites/mptests/mp14/msgtask1.c
    testsuites/mptests/mp14/node1/Makefile.am
    testsuites/mptests/mp14/node1/mp14.doc
    testsuites/mptests/mp14/node1/mp14.scn
    testsuites/mptests/mp14/node2/Makefile.am
    testsuites/mptests/mp14/node2/mp14.doc
    testsuites/mptests/mp14/node2/mp14.scn
    testsuites/mptests/mp14/pttask1.c
    testsuites/mptests/mp14/smtask1.c
    testsuites/mptests/mp14/system.h
    testsuites/mptests/mptests.am
    testsuites/psxtests/Makefile.am
    testsuites/psxtests/include/Makefile.am
    testsuites/psxtests/include/pmacros.h
    testsuites/psxtests/psx01/Makefile.am
    testsuites/psxtests/psx01/init.c
    testsuites/psxtests/psx01/psx01.scn
    testsuites/psxtests/psx01/system.h
    testsuites/psxtests/psx01/task.c
    testsuites/psxtests/psx02/Makefile.am
    testsuites/psxtests/psx02/init.c
    testsuites/psxtests/psx02/psx02.scn
    testsuites/psxtests/psx02/system.h
    testsuites/psxtests/psx02/task.c
    testsuites/psxtests/psx03/Makefile.am
    testsuites/psxtests/psx03/init.c
    testsuites/psxtests/psx03/psx03.scn
    testsuites/psxtests/psx03/system.h
    testsuites/psxtests/psx03/task.c
    testsuites/psxtests/psx04/Makefile.am
    testsuites/psxtests/psx04/init.c
    testsuites/psxtests/psx04/psx04.scn
    testsuites/psxtests/psx04/system.h
    testsuites/psxtests/psx04/task1.c
    testsuites/psxtests/psx04/task2.c
    testsuites/psxtests/psx04/task3.c
    testsuites/psxtests/psx05/Makefile.am
    testsuites/psxtests/psx05/init.c
    testsuites/psxtests/psx05/psx05.scn
    testsuites/psxtests/psx05/system.h
    testsuites/psxtests/psx05/task.c
    testsuites/psxtests/psx05/task2.c
    testsuites/psxtests/psx05/task3.c
    testsuites/psxtests/psx06/Makefile.am
    testsuites/psxtests/psx06/init.c
    testsuites/psxtests/psx06/psx06.scn
    testsuites/psxtests/psx06/system.h
    testsuites/psxtests/psx06/task.c
    testsuites/psxtests/psx06/task2.c
    testsuites/psxtests/psx07/Makefile.am
    testsuites/psxtests/psx07/init.c
    testsuites/psxtests/psx07/psx07.scn
    testsuites/psxtests/psx07/system.h
    testsuites/psxtests/psx07/task.c
    testsuites/psxtests/psx08/Makefile.am
    testsuites/psxtests/psx08/init.c
    testsuites/psxtests/psx08/psx08.scn
    testsuites/psxtests/psx08/system.h
    testsuites/psxtests/psx08/task1.c
    testsuites/psxtests/psx08/task2.c
    testsuites/psxtests/psx08/task3.c
    testsuites/psxtests/psx09/Makefile.am
    testsuites/psxtests/psx09/init.c
    testsuites/psxtests/psx09/psx09.scn
    testsuites/psxtests/psx09/system.h
    testsuites/psxtests/psx10/Makefile.am
    testsuites/psxtests/psx10/init.c
    testsuites/psxtests/psx10/psx10.scn
    testsuites/psxtests/psx10/system.h
    testsuites/psxtests/psx10/task.c
    testsuites/psxtests/psx10/task2.c
    testsuites/psxtests/psx10/task3.c
    testsuites/psxtests/psx11/Makefile.am
    testsuites/psxtests/psx11/init.c
    testsuites/psxtests/psx11/psx11.scn
    testsuites/psxtests/psx11/system.h
    testsuites/psxtests/psx11/task.c
    testsuites/psxtests/psx12/Makefile.am
    testsuites/psxtests/psx12/init.c
    testsuites/psxtests/psx12/psx12.scn
    testsuites/psxtests/psx12/system.h
    testsuites/psxtests/psx12/task.c
    testsuites/psxtests/psx13/Makefile.am
    testsuites/psxtests/psx13/main.c
    testsuites/psxtests/psx13/psx13.scn
    testsuites/psxtests/psx13/test.c
    testsuites/psxtests/psxcancel/Makefile.am
    testsuites/psxtests/psxcancel/init.c
    testsuites/psxtests/psxcancel/psxcancel.scn
    testsuites/psxtests/psxfile01/Makefile.am
    testsuites/psxtests/psxfile01/main.c
    testsuites/psxtests/psxfile01/psxfile01.scn
    testsuites/psxtests/psxfile01/test.c
    testsuites/psxtests/psxfile01/test_cat.c
    testsuites/psxtests/psxfile01/test_extend.c
    testsuites/psxtests/psxfile01/test_write.c
    testsuites/psxtests/psxhdrs/Makefile.am
    testsuites/psxtests/psxhdrs/clock01.c
    testsuites/psxtests/psxhdrs/clock02.c
    testsuites/psxtests/psxhdrs/clock03.c
    testsuites/psxtests/psxhdrs/clock04.c
    testsuites/psxtests/psxhdrs/clock05.c
    testsuites/psxtests/psxhdrs/clock06.c
    testsuites/psxtests/psxhdrs/cond01.c
    testsuites/psxtests/psxhdrs/cond02.c
    testsuites/psxtests/psxhdrs/cond03.c
    testsuites/psxtests/psxhdrs/cond04.c
    testsuites/psxtests/psxhdrs/cond05.c
    testsuites/psxtests/psxhdrs/cond06.c
    testsuites/psxtests/psxhdrs/cond07.c
    testsuites/psxtests/psxhdrs/cond08.c
    testsuites/psxtests/psxhdrs/cond09.c
    testsuites/psxtests/psxhdrs/cond10.c
    testsuites/psxtests/psxhdrs/key01.c
    testsuites/psxtests/psxhdrs/key02.c
    testsuites/psxtests/psxhdrs/key03.c
    testsuites/psxtests/psxhdrs/key04.c
    testsuites/psxtests/psxhdrs/mutex01.c
    testsuites/psxtests/psxhdrs/mutex02.c
    testsuites/psxtests/psxhdrs/mutex03.c
    testsuites/psxtests/psxhdrs/mutex04.c
    testsuites/psxtests/psxhdrs/mutex05.c
    testsuites/psxtests/psxhdrs/mutex06.c
    testsuites/psxtests/psxhdrs/mutex07.c
    testsuites/psxtests/psxhdrs/mutex08.c
    testsuites/psxtests/psxhdrs/mutex09.c
    testsuites/psxtests/psxhdrs/mutex10.c
    testsuites/psxtests/psxhdrs/mutex11.c
    testsuites/psxtests/psxhdrs/mutex12.c
    testsuites/psxtests/psxhdrs/mutex13.c
    testsuites/psxtests/psxhdrs/mutex14.c
    testsuites/psxtests/psxhdrs/mutex15.c
    testsuites/psxtests/psxhdrs/mutex16.c
    testsuites/psxtests/psxhdrs/proc01.c
    testsuites/psxtests/psxhdrs/proc02.c
    testsuites/psxtests/psxhdrs/proc03.c
    testsuites/psxtests/psxhdrs/proc04.c
    testsuites/psxtests/psxhdrs/proc05.c
    testsuites/psxtests/psxhdrs/proc06.c
    testsuites/psxtests/psxhdrs/proc07.c
    testsuites/psxtests/psxhdrs/proc08.c
    testsuites/psxtests/psxhdrs/proc09.c
    testsuites/psxtests/psxhdrs/proc10.c
    testsuites/psxtests/psxhdrs/proc11.c
    testsuites/psxtests/psxhdrs/proc12.c
    testsuites/psxtests/psxhdrs/proc13.c
    testsuites/psxtests/psxhdrs/proc14.c
    testsuites/psxtests/psxhdrs/pthread01.c
    testsuites/psxtests/psxhdrs/pthread02.c
    testsuites/psxtests/psxhdrs/pthread03.c
    testsuites/psxtests/psxhdrs/pthread04.c
    testsuites/psxtests/psxhdrs/pthread05.c
    testsuites/psxtests/psxhdrs/pthread06.c
    testsuites/psxtests/psxhdrs/pthread07.c
    testsuites/psxtests/psxhdrs/pthread08.c
    testsuites/psxtests/psxhdrs/pthread09.c
    testsuites/psxtests/psxhdrs/pthread10.c
    testsuites/psxtests/psxhdrs/pthread11.c
    testsuites/psxtests/psxhdrs/pthread12.c
    testsuites/psxtests/psxhdrs/pthread13.c
    testsuites/psxtests/psxhdrs/pthread14.c
    testsuites/psxtests/psxhdrs/pthread15.c
    testsuites/psxtests/psxhdrs/pthread16.c
    testsuites/psxtests/psxhdrs/pthread17.c
    testsuites/psxtests/psxhdrs/pthread18.c
    testsuites/psxtests/psxhdrs/pthread19.c
    testsuites/psxtests/psxhdrs/pthread20.c
    testsuites/psxtests/psxhdrs/pthread21.c
    testsuites/psxtests/psxhdrs/pthread22.c
    testsuites/psxtests/psxhdrs/pthread23.c
    testsuites/psxtests/psxhdrs/pthread24.c
    testsuites/psxtests/psxhdrs/pthread25.c
    testsuites/psxtests/psxhdrs/pthread26.c
    testsuites/psxtests/psxhdrs/pthread27.c
    testsuites/psxtests/psxhdrs/pthread28.c
    testsuites/psxtests/psxhdrs/pthread29.c
    testsuites/psxtests/psxhdrs/pthread30.c
    testsuites/psxtests/psxhdrs/pthread31.c
    testsuites/psxtests/psxhdrs/pthread32.c
    testsuites/psxtests/psxhdrs/pthread33.c
    testsuites/psxtests/psxhdrs/pthread34.c
    testsuites/psxtests/psxhdrs/pthread35.c
    testsuites/psxtests/psxhdrs/pthread36.c
    testsuites/psxtests/psxhdrs/sched01.c
    testsuites/psxtests/psxhdrs/sched02.c
    testsuites/psxtests/psxhdrs/sched03.c
    testsuites/psxtests/psxhdrs/sched04.c
    testsuites/psxtests/psxhdrs/sched05.c
    testsuites/psxtests/psxhdrs/sched06.c
    testsuites/psxtests/psxhdrs/sched07.c
    testsuites/psxtests/psxhdrs/sched08.c
    testsuites/psxtests/psxhdrs/signal01.c
    testsuites/psxtests/psxhdrs/signal02.c
    testsuites/psxtests/psxhdrs/signal03.c
    testsuites/psxtests/psxhdrs/signal04.c
    testsuites/psxtests/psxhdrs/signal05.c
    testsuites/psxtests/psxhdrs/signal06.c
    testsuites/psxtests/psxhdrs/signal07.c
    testsuites/psxtests/psxhdrs/signal08.c
    testsuites/psxtests/psxhdrs/signal09.c
    testsuites/psxtests/psxhdrs/signal10.c
    testsuites/psxtests/psxhdrs/signal11.c
    testsuites/psxtests/psxhdrs/signal12.c
    testsuites/psxtests/psxhdrs/signal13.c
    testsuites/psxtests/psxhdrs/signal14.c
    testsuites/psxtests/psxhdrs/signal15.c
    testsuites/psxtests/psxhdrs/signal16.c
    testsuites/psxtests/psxhdrs/signal17.c
    testsuites/psxtests/psxhdrs/signal18.c
    testsuites/psxtests/psxhdrs/signal19.c
    testsuites/psxtests/psxhdrs/signal20.c
    testsuites/psxtests/psxhdrs/signal21.c
    testsuites/psxtests/psxhdrs/signal22.c
    testsuites/psxtests/psxhdrs/time01.c
    testsuites/psxtests/psxhdrs/time02.c
    testsuites/psxtests/psxhdrs/time03.c
    testsuites/psxtests/psxhdrs/time04.c
    testsuites/psxtests/psxhdrs/time05.c
    testsuites/psxtests/psxhdrs/time06.c
    testsuites/psxtests/psxhdrs/time07.c
    testsuites/psxtests/psxhdrs/time08.c
    testsuites/psxtests/psxhdrs/time09.c
    testsuites/psxtests/psxhdrs/time10.c
    testsuites/psxtests/psxhdrs/time11.c
    testsuites/psxtests/psxhdrs/time12.c
    testsuites/psxtests/psxhdrs/time13.c
    testsuites/psxtests/psxhdrs/timer01.c
    testsuites/psxtests/psxhdrs/timer02.c
    testsuites/psxtests/psxhdrs/timer03.c
    testsuites/psxtests/psxhdrs/timer04.c
    testsuites/psxtests/psxhdrs/timer05.c
    testsuites/psxtests/psxhdrs/timer06.c
    testsuites/psxtests/psxmount/Makefile.am
    testsuites/psxtests/psxmount/main.c
    testsuites/psxtests/psxmount/psxmount.scn
    testsuites/psxtests/psxmount/test.c
    testsuites/psxtests/psxmsgq01/Makefile.am
    testsuites/psxtests/psxmsgq01/init.c
    testsuites/psxtests/psxmsgq01/psxmsgq01.scn
    testsuites/psxtests/psxmsgq01/system.h
    testsuites/psxtests/psxreaddir/Makefile.am
    testsuites/psxtests/psxreaddir/main.c
    testsuites/psxtests/psxreaddir/psxreaddir.scn
    testsuites/psxtests/psxreaddir/test.c
    testsuites/psxtests/psxsem01/Makefile.am
    testsuites/psxtests/psxsem01/init.c
    testsuites/psxtests/psxsem01/psxsem01.scn
    testsuites/psxtests/psxsem01/system.h
    testsuites/psxtests/psxstat/Makefile.am
    testsuites/psxtests/psxstat/main.c
    testsuites/psxtests/psxstat/psxstat.scn
    testsuites/psxtests/psxstat/test.c
    testsuites/psxtests/psxtests.am
    testsuites/psxtests/psxtime/Makefile.am
    testsuites/psxtests/psxtime/main.c
    testsuites/psxtests/psxtime/psxtime.scn
    testsuites/psxtests/psxtime/test.c
    testsuites/psxtests/psxtimer/Makefile.am
    testsuites/psxtests/psxtimer/psxtimer.c
    testsuites/psxtests/psxtimer/psxtimer.scn
    testsuites/psxtests/psxtimer/system.h
    testsuites/samples/Makefile.am
    testsuites/samples/README
    testsuites/samples/base_mp/Makefile.am
    testsuites/samples/base_mp/apptask.c
    testsuites/samples/base_mp/init.c
    testsuites/samples/base_mp/node1/Makefile.am
    testsuites/samples/base_mp/node1/base_mp.doc
    testsuites/samples/base_mp/node1/base_mp.scn
    testsuites/samples/base_mp/node2/Makefile.am
    testsuites/samples/base_mp/node2/base_mp.doc
    testsuites/samples/base_mp/node2/base_mp.scn
    testsuites/samples/base_mp/system.h
    testsuites/samples/base_sp/Makefile.am
    testsuites/samples/base_sp/apptask.c
    testsuites/samples/base_sp/base_sp.doc
    testsuites/samples/base_sp/base_sp.scn
    testsuites/samples/base_sp/init.c
    testsuites/samples/base_sp/system.h
    testsuites/samples/cdtest/Makefile.am
    testsuites/samples/cdtest/cdtest.scn
    testsuites/samples/cdtest/init.c
    testsuites/samples/cdtest/main.cc
    testsuites/samples/cdtest/system.h
    testsuites/samples/hello/Makefile.am
    testsuites/samples/hello/hello.doc
    testsuites/samples/hello/hello.scn
    testsuites/samples/hello/init.c
    testsuites/samples/hello/system.h
    testsuites/samples/minimum/Makefile.am
    testsuites/samples/minimum/init.c
    testsuites/samples/minimum/minimum.doc
    testsuites/samples/minimum/minimum.scn
    testsuites/samples/paranoia/Makefile.am
    testsuites/samples/paranoia/init.c
    testsuites/samples/paranoia/paranoia.c
    testsuites/samples/paranoia/paranoia.doc
    testsuites/samples/paranoia/system.h
    testsuites/samples/sample.am
    testsuites/samples/ticker/Makefile.am
    testsuites/samples/ticker/init.c
    testsuites/samples/ticker/system.h
    testsuites/samples/ticker/tasks.c
    testsuites/samples/ticker/ticker.doc
    testsuites/samples/ticker/ticker.scn
    testsuites/samples/unlimited/Makefile.am
    testsuites/samples/unlimited/init.c
    testsuites/samples/unlimited/system.h
    testsuites/samples/unlimited/test1.c
    testsuites/samples/unlimited/test2.c
    testsuites/samples/unlimited/test3.c
    testsuites/samples/unlimited/unlimited.doc
    testsuites/samples/unlimited/unlimited.scn
    testsuites/sptests/Makefile.am
    testsuites/sptests/README
    testsuites/sptests/sp01/Makefile.am
    testsuites/sptests/sp01/init.c
    testsuites/sptests/sp01/sp01.doc
    testsuites/sptests/sp01/sp01.scn
    testsuites/sptests/sp01/system.h
    testsuites/sptests/sp01/task1.c
    testsuites/sptests/sp02/Makefile.am
    testsuites/sptests/sp02/init.c
    testsuites/sptests/sp02/preempt.c
    testsuites/sptests/sp02/sp02.doc
    testsuites/sptests/sp02/sp02.scn
    testsuites/sptests/sp02/system.h
    testsuites/sptests/sp02/task1.c
    testsuites/sptests/sp02/task2.c
    testsuites/sptests/sp02/task3.c
    testsuites/sptests/sp03/Makefile.am
    testsuites/sptests/sp03/init.c
    testsuites/sptests/sp03/sp03.doc
    testsuites/sptests/sp03/sp03.scn
    testsuites/sptests/sp03/system.h
    testsuites/sptests/sp03/task1.c
    testsuites/sptests/sp03/task2.c
    testsuites/sptests/sp04/Makefile.am
    testsuites/sptests/sp04/init.c
    testsuites/sptests/sp04/sp04.doc
    testsuites/sptests/sp04/sp04.scn
    testsuites/sptests/sp04/system.h
    testsuites/sptests/sp04/task1.c
    testsuites/sptests/sp04/task2.c
    testsuites/sptests/sp04/task3.c
    testsuites/sptests/sp04/tswitch.c
    testsuites/sptests/sp05/Makefile.am
    testsuites/sptests/sp05/init.c
    testsuites/sptests/sp05/sp05.doc
    testsuites/sptests/sp05/sp05.scn
    testsuites/sptests/sp05/system.h
    testsuites/sptests/sp05/task1.c
    testsuites/sptests/sp05/task2.c
    testsuites/sptests/sp05/task3.c
    testsuites/sptests/sp06/Makefile.am
    testsuites/sptests/sp06/init.c
    testsuites/sptests/sp06/sp06.doc
    testsuites/sptests/sp06/sp06.scn
    testsuites/sptests/sp06/system.h
    testsuites/sptests/sp06/task1.c
    testsuites/sptests/sp06/task2.c
    testsuites/sptests/sp06/task3.c
    testsuites/sptests/sp07/Makefile.am
    testsuites/sptests/sp07/init.c
    testsuites/sptests/sp07/sp07.doc
    testsuites/sptests/sp07/sp07.scn
    testsuites/sptests/sp07/system.h
    testsuites/sptests/sp07/task1.c
    testsuites/sptests/sp07/task2.c
    testsuites/sptests/sp07/task3.c
    testsuites/sptests/sp07/task4.c
    testsuites/sptests/sp07/taskexit.c
    testsuites/sptests/sp07/tcreate.c
    testsuites/sptests/sp07/tdelete.c
    testsuites/sptests/sp07/trestart.c
    testsuites/sptests/sp07/tstart.c
    testsuites/sptests/sp08/Makefile.am
    testsuites/sptests/sp08/init.c
    testsuites/sptests/sp08/sp08.doc
    testsuites/sptests/sp08/sp08.scn
    testsuites/sptests/sp08/system.h
    testsuites/sptests/sp08/task1.c
    testsuites/sptests/sp09/Makefile.am
    testsuites/sptests/sp09/delay.c
    testsuites/sptests/sp09/init.c
    testsuites/sptests/sp09/isr.c
    testsuites/sptests/sp09/screen01.c
    testsuites/sptests/sp09/screen02.c
    testsuites/sptests/sp09/screen03.c
    testsuites/sptests/sp09/screen04.c
    testsuites/sptests/sp09/screen05.c
    testsuites/sptests/sp09/screen06.c
    testsuites/sptests/sp09/screen07.c
    testsuites/sptests/sp09/screen08.c
    testsuites/sptests/sp09/screen09.c
    testsuites/sptests/sp09/screen10.c
    testsuites/sptests/sp09/screen11.c
    testsuites/sptests/sp09/screen12.c
    testsuites/sptests/sp09/screen13.c
    testsuites/sptests/sp09/screen14.c
    testsuites/sptests/sp09/sp09.doc
    testsuites/sptests/sp09/sp09.scn
    testsuites/sptests/sp09/system.h
    testsuites/sptests/sp09/task1.c
    testsuites/sptests/sp09/task2.c
    testsuites/sptests/sp09/task3.c
    testsuites/sptests/sp09/task4.c
    testsuites/sptests/sp11/Makefile.am
    testsuites/sptests/sp11/init.c
    testsuites/sptests/sp11/sp11.doc
    testsuites/sptests/sp11/sp11.scn
    testsuites/sptests/sp11/system.h
    testsuites/sptests/sp11/task1.c
    testsuites/sptests/sp11/task2.c
    testsuites/sptests/sp11/timer.c
    testsuites/sptests/sp12/Makefile.am
    testsuites/sptests/sp12/init.c
    testsuites/sptests/sp12/pridrv.c
    testsuites/sptests/sp12/pritask.c
    testsuites/sptests/sp12/sp12.doc
    testsuites/sptests/sp12/sp12.scn
    testsuites/sptests/sp12/system.h
    testsuites/sptests/sp12/task1.c
    testsuites/sptests/sp12/task2.c
    testsuites/sptests/sp12/task3.c
    testsuites/sptests/sp12/task4.c
    testsuites/sptests/sp12/task5.c
    testsuites/sptests/sp13/Makefile.am
    testsuites/sptests/sp13/fillbuff.c
    testsuites/sptests/sp13/init.c
    testsuites/sptests/sp13/putbuff.c
    testsuites/sptests/sp13/sp13.doc
    testsuites/sptests/sp13/sp13.scn
    testsuites/sptests/sp13/system.h
    testsuites/sptests/sp13/task1.c
    testsuites/sptests/sp13/task2.c
    testsuites/sptests/sp13/task3.c
    testsuites/sptests/sp14/Makefile.am
    testsuites/sptests/sp14/asr.c
    testsuites/sptests/sp14/init.c
    testsuites/sptests/sp14/sp14.doc
    testsuites/sptests/sp14/sp14.scn
    testsuites/sptests/sp14/system.h
    testsuites/sptests/sp14/task1.c
    testsuites/sptests/sp14/task2.c
    testsuites/sptests/sp15/Makefile.am
    testsuites/sptests/sp15/init.c
    testsuites/sptests/sp15/sp15.doc
    testsuites/sptests/sp15/sp15.scn
    testsuites/sptests/sp15/system.h
    testsuites/sptests/sp15/task1.c
    testsuites/sptests/sp16/Makefile.am
    testsuites/sptests/sp16/init.c
    testsuites/sptests/sp16/sp16.doc
    testsuites/sptests/sp16/sp16.scn
    testsuites/sptests/sp16/system.h
    testsuites/sptests/sp16/task1.c
    testsuites/sptests/sp16/task2.c
    testsuites/sptests/sp16/task3.c
    testsuites/sptests/sp16/task4.c
    testsuites/sptests/sp16/task5.c
    testsuites/sptests/sp17/Makefile.am
    testsuites/sptests/sp17/asr.c
    testsuites/sptests/sp17/init.c
    testsuites/sptests/sp17/sp17.doc
    testsuites/sptests/sp17/sp17.scn
    testsuites/sptests/sp17/system.h
    testsuites/sptests/sp17/task1.c
    testsuites/sptests/sp17/task2.c
    testsuites/sptests/sp19/Makefile.am
    testsuites/sptests/sp19/first.c
    testsuites/sptests/sp19/fptask.c
    testsuites/sptests/sp19/fptest.h
    testsuites/sptests/sp19/init.c
    testsuites/sptests/sp19/inttest.h
    testsuites/sptests/sp19/sp19.doc
    testsuites/sptests/sp19/sp19.scn
    testsuites/sptests/sp19/system.h
    testsuites/sptests/sp19/task1.c
    testsuites/sptests/sp20/Makefile.am
    testsuites/sptests/sp20/getall.c
    testsuites/sptests/sp20/init.c
    testsuites/sptests/sp20/sp20.doc
    testsuites/sptests/sp20/sp20.scn
    testsuites/sptests/sp20/system.h
    testsuites/sptests/sp20/task1.c
    testsuites/sptests/sp21/Makefile.am
    testsuites/sptests/sp21/init.c
    testsuites/sptests/sp21/sp21.doc
    testsuites/sptests/sp21/sp21.scn
    testsuites/sptests/sp21/system.h
    testsuites/sptests/sp21/task1.c
    testsuites/sptests/sp22/Makefile.am
    testsuites/sptests/sp22/delay.c
    testsuites/sptests/sp22/init.c
    testsuites/sptests/sp22/prtime.c
    testsuites/sptests/sp22/sp22.doc
    testsuites/sptests/sp22/sp22.scn
    testsuites/sptests/sp22/system.h
    testsuites/sptests/sp22/task1.c
    testsuites/sptests/sp23/Makefile.am
    testsuites/sptests/sp23/init.c
    testsuites/sptests/sp23/sp23.doc
    testsuites/sptests/sp23/sp23.scn
    testsuites/sptests/sp23/system.h
    testsuites/sptests/sp23/task1.c
    testsuites/sptests/sp24/Makefile.am
    testsuites/sptests/sp24/init.c
    testsuites/sptests/sp24/resume.c
    testsuites/sptests/sp24/sp24.doc
    testsuites/sptests/sp24/sp24.scn
    testsuites/sptests/sp24/system.h
    testsuites/sptests/sp24/task1.c
    testsuites/sptests/sp25/Makefile.am
    testsuites/sptests/sp25/init.c
    testsuites/sptests/sp25/sp25.doc
    testsuites/sptests/sp25/sp25.scn
    testsuites/sptests/sp25/system.h
    testsuites/sptests/sp25/task1.c
    testsuites/sptests/sp26/Makefile.am
    testsuites/sptests/sp26/init.c
    testsuites/sptests/sp26/sp26.doc
    testsuites/sptests/sp26/sp26.scn
    testsuites/sptests/sp26/system.h
    testsuites/sptests/sp26/task1.c
    testsuites/sptests/sp27/Makefile.am
    testsuites/sptests/sp27/init.c
    testsuites/sptests/sp27/sp27.doc
    testsuites/sptests/sp27/sp27.scn
    testsuites/sptests/sp28/Makefile.am
    testsuites/sptests/sp28/init.c
    testsuites/sptests/sp28/sp28.doc
    testsuites/sptests/sp28/sp28.scn
    testsuites/sptests/sp29/Makefile.am
    testsuites/sptests/sp29/init.c
    testsuites/sptests/sp29/sp29.doc
    testsuites/sptests/sp29/sp29.scn
    testsuites/sptests/spfatal/Makefile.am
    testsuites/sptests/spfatal/README
    testsuites/sptests/spfatal/fatal.c
    testsuites/sptests/spfatal/init.c
    testsuites/sptests/spfatal/puterr.c
    testsuites/sptests/spfatal/spfatal.doc
    testsuites/sptests/spfatal/spfatal.scn
    testsuites/sptests/spfatal/system.h
    testsuites/sptests/spfatal/task1.c
    testsuites/sptests/spsize/Makefile.am
    testsuites/sptests/spsize/getint.c
    testsuites/sptests/spsize/init.c
    testsuites/sptests/spsize/size.c
    testsuites/sptests/spsize/size.scn
    testsuites/sptests/spsize/system.h
    testsuites/sptests/sptests.am
    testsuites/support/Makefile.am
    testsuites/support/include/tmacros.h
    testsuites/tmitrontests/Makefile.am
    testsuites/tmitrontests/README
    testsuites/tmitrontests/include/Makefile.am
    testsuites/tmitrontests/include/timesys.h
    testsuites/tmitrontests/tmitronsem01/Makefile.am
    testsuites/tmitrontests/tmitronsem01/init.c
    testsuites/tmitrontests/tmitronsem01/system.h
    testsuites/tmitrontests/tmitronsem01/tmitronsem01.doc
    testsuites/tmitrontests/tmitrontests.am
    testsuites/tmtests/Makefile.am
    testsuites/tmtests/README
    testsuites/tmtests/include/Makefile.am
    testsuites/tmtests/include/timesys.h
    testsuites/tmtests/tm01/Makefile.am
    testsuites/tmtests/tm01/system.h
    testsuites/tmtests/tm01/task1.c
    testsuites/tmtests/tm01/tm01.doc
    testsuites/tmtests/tm02/Makefile.am
    testsuites/tmtests/tm02/system.h
    testsuites/tmtests/tm02/task1.c
    testsuites/tmtests/tm02/tm02.doc
    testsuites/tmtests/tm03/Makefile.am
    testsuites/tmtests/tm03/system.h
    testsuites/tmtests/tm03/task1.c
    testsuites/tmtests/tm03/tm03.doc
    testsuites/tmtests/tm04/Makefile.am
    testsuites/tmtests/tm04/system.h
    testsuites/tmtests/tm04/task1.c
    testsuites/tmtests/tm04/tm04.doc
    testsuites/tmtests/tm05/Makefile.am
    testsuites/tmtests/tm05/system.h
    testsuites/tmtests/tm05/task1.c
    testsuites/tmtests/tm05/tm05.doc
    testsuites/tmtests/tm06/Makefile.am
    testsuites/tmtests/tm06/system.h
    testsuites/tmtests/tm06/task1.c
    testsuites/tmtests/tm06/tm06.doc
    testsuites/tmtests/tm07/Makefile.am
    testsuites/tmtests/tm07/system.h
    testsuites/tmtests/tm07/task1.c
    testsuites/tmtests/tm07/tm07.doc
    testsuites/tmtests/tm08/Makefile.am
    testsuites/tmtests/tm08/system.h
    testsuites/tmtests/tm08/task1.c
    testsuites/tmtests/tm08/tm08.doc
    testsuites/tmtests/tm09/Makefile.am
    testsuites/tmtests/tm09/system.h
    testsuites/tmtests/tm09/task1.c
    testsuites/tmtests/tm09/tm09.doc
    testsuites/tmtests/tm10/Makefile.am
    testsuites/tmtests/tm10/system.h
    testsuites/tmtests/tm10/task1.c
    testsuites/tmtests/tm10/tm10.doc
    testsuites/tmtests/tm11/Makefile.am
    testsuites/tmtests/tm11/system.h
    testsuites/tmtests/tm11/task1.c
    testsuites/tmtests/tm11/tm11.doc
    testsuites/tmtests/tm12/Makefile.am
    testsuites/tmtests/tm12/system.h
    testsuites/tmtests/tm12/task1.c
    testsuites/tmtests/tm12/tm12.doc
    testsuites/tmtests/tm13/Makefile.am
    testsuites/tmtests/tm13/system.h
    testsuites/tmtests/tm13/task1.c
    testsuites/tmtests/tm13/tm13.doc
    testsuites/tmtests/tm14/Makefile.am
    testsuites/tmtests/tm14/system.h
    testsuites/tmtests/tm14/task1.c
    testsuites/tmtests/tm14/tm14.doc
    testsuites/tmtests/tm15/Makefile.am
    testsuites/tmtests/tm15/system.h
    testsuites/tmtests/tm15/task1.c
    testsuites/tmtests/tm15/tm15.doc
    testsuites/tmtests/tm16/Makefile.am
    testsuites/tmtests/tm16/system.h
    testsuites/tmtests/tm16/task1.c
    testsuites/tmtests/tm16/tm16.doc
    testsuites/tmtests/tm17/Makefile.am
    testsuites/tmtests/tm17/system.h
    testsuites/tmtests/tm17/task1.c
    testsuites/tmtests/tm17/tm17.doc
    testsuites/tmtests/tm18/Makefile.am
    testsuites/tmtests/tm18/system.h
    testsuites/tmtests/tm18/task1.c
    testsuites/tmtests/tm18/tm18.doc
    testsuites/tmtests/tm19/Makefile.am
    testsuites/tmtests/tm19/system.h
    testsuites/tmtests/tm19/task1.c
    testsuites/tmtests/tm19/tm19.doc
    testsuites/tmtests/tm20/Makefile.am
    testsuites/tmtests/tm20/system.h
    testsuites/tmtests/tm20/task1.c
    testsuites/tmtests/tm20/tm20.doc
    testsuites/tmtests/tm21/Makefile.am
    testsuites/tmtests/tm21/system.h
    testsuites/tmtests/tm21/task1.c
    testsuites/tmtests/tm21/tm21.doc
    testsuites/tmtests/tm22/Makefile.am
    testsuites/tmtests/tm22/system.h
    testsuites/tmtests/tm22/task1.c
    testsuites/tmtests/tm22/tm22.doc
    testsuites/tmtests/tm23/Makefile.am
    testsuites/tmtests/tm23/system.h
    testsuites/tmtests/tm23/task1.c
    testsuites/tmtests/tm23/tm23.doc
    testsuites/tmtests/tm24/Makefile.am
    testsuites/tmtests/tm24/system.h
    testsuites/tmtests/tm24/task1.c
    testsuites/tmtests/tm24/tm24.doc
    testsuites/tmtests/tm25/Makefile.am
    testsuites/tmtests/tm25/system.h
    testsuites/tmtests/tm25/task1.c
    testsuites/tmtests/tm25/tm25.doc
    testsuites/tmtests/tm26/Makefile.am
    testsuites/tmtests/tm26/fptest.h
    testsuites/tmtests/tm26/system.h
    testsuites/tmtests/tm26/task1.c
    testsuites/tmtests/tm26/tm26.doc
    testsuites/tmtests/tm27/Makefile.am
    testsuites/tmtests/tm27/system.h
    testsuites/tmtests/tm27/task1.c
    testsuites/tmtests/tm27/tm27.doc
    testsuites/tmtests/tm28/Makefile.am
    testsuites/tmtests/tm28/system.h
    testsuites/tmtests/tm28/task1.c
    testsuites/tmtests/tm28/tm28.doc
    testsuites/tmtests/tm29/Makefile.am
    testsuites/tmtests/tm29/system.h
    testsuites/tmtests/tm29/task1.c
    testsuites/tmtests/tm29/tm29.doc
    testsuites/tmtests/tmck/Makefile.am
    testsuites/tmtests/tmck/system.h
    testsuites/tmtests/tmck/task1.c
    testsuites/tmtests/tmck/tmck.doc
    testsuites/tmtests/tmoverhd/Makefile.am
    testsuites/tmtests/tmoverhd/dumrtems.h
    testsuites/tmtests/tmoverhd/empty.c
    testsuites/tmtests/tmoverhd/system.h
    testsuites/tmtests/tmoverhd/testtask.c
    testsuites/tmtests/tmoverhd/tmoverhd.doc
    testsuites/tmtests/tmtests.am
    testsuites/tools/Makefile.am
    testsuites/tools/generic/Makefile.am
    testsuites/tools/generic/difftest.in
    testsuites/tools/generic/sorttimes.in
2000-02-11 15:54:48 +00:00
Joel Sherrill
562e7ed1ed Increased block size to 128 and added comments based on feedback from
Java folks including Oscar Martinez de la Torre <omt@wm.estec.esa.nl>.
2000-02-11 15:54:47 +00:00
Joel Sherrill
35ece2ecb2 Patch from Eric Norum <eric@cls.usask.ca> based on working with
Bob Wisdon <bobwis@ascweb.co.uk> and Chris Johns <ccj@acm.org>
to resolve a random network lockup problem.

    ckinit.c:
        Occasional network lockups have been noted when the PIT has a higher
        interrupt request level than the CPM.  The SCC1 bit in the CISR is set
        even though the SCC1 interrupt handler is not active.  This blocks
        interrupts from SCC1 (and all other CPM sources) and locks up the
        system.  It has not been determined whether the error is within the
        68360 or in the RTEMS interrupt support assembler code.  The solution,
        for now, is to set both PIT and CPM interrupt request levels to the same
        value (4).

    network.c:
        Set CPM transmitter buffer pointer (_tbptr) to beginning of frame
        before restarting transmitter.  Don't retire transmitter buffer
        descriptors belonging to the restarted frame.
2000-02-11 15:21:40 +00:00
Joel Sherrill
1249edfa3a Fixed typos introduced in last modification. Spotted by
Erwin Rol <erwin@muffin.org>.
2000-02-11 14:12:03 +00:00
Joel Sherrill
fb196c3c72 changed version to 4.5.0-beta1a 2000-02-08 22:35:00 +00:00
Joel Sherrill
70810dcd89 Patches rtems-rc-20000204-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that contains:

* Removes remaining (now illegal) references to $(SRC) from a couple of
  Makefile.ams
* Removes duplicate AC_CONFIG_SUBDIRS macro from c/configure.in
* Moves ENABLE_LIBCDIR into RTEMS_PROG_C[C|XX]_FOR_TARGET (hides LIBCDIR
  from most configure scripts, i.e. LIBCDIR becomes less visible)
* Adds RTEMS_PROG_C[C|XX]_FOR_TARGET and RTEMS_CANONICALIZE_TOOLS to
  libbsp/*/configure.ins (A minor bug in previous implementations, which
  only has an impact when switching to GNU/Cygnus canonicalization)
* Cleans up several bogus comments.
* Removes MKLIB
* Switches the version number to 4.5.0 (for testing version number
  handling)
2000-02-08 22:33:25 +00:00
Joel Sherrill
a976681e47 changed version to 4.5.0-beta1 2000-02-08 19:00:58 +00:00
Joel Sherrill
e06d5aed9a Fixed typo. 2000-02-08 18:38:00 +00:00
Joel Sherrill
70d27f9c89 Updated. 2000-02-08 18:36:21 +00:00
Joel Sherrill
a9d04b1cfa Patch from Eric Norum <eric@cls.usask.ca> to remove race conditions
when setting up receive buffer descriptors and when unmasking interrupts.
2000-02-08 18:26:40 +00:00
Joel Sherrill
b33ab2b2b3 Patch from David Fiddes <D.J.Fiddes@hw.ac.uk> to match his Cygwin
for RTEMS toolkit.
2000-02-08 15:24:16 +00:00
Joel Sherrill
c5206d0843 Updated version numbers. 2000-02-08 14:01:31 +00:00
Joel Sherrill
ee3c9e5eb1 Removed references to INSTALL_VARIANT. 2000-02-08 14:00:45 +00:00
Joel Sherrill
857761b134 Removed obsolete files from list. 2000-02-07 13:56:43 +00:00
Joel Sherrill
95d90725e9 Obsolete files. Removed per recommendation from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>.
2000-02-04 19:25:57 +00:00
Joel Sherrill
bf2447953c Incorrect error status returned. Noted by Andrew Klossner
<andrew@pogo.wv.tek.com>.
2000-02-04 16:32:38 +00:00
Joel Sherrill
edb2176cd5 Incorrect error status returned. Noted by Andrew Klossner
<andrew@pogo.wv.tek.com>.
2000-02-04 16:09:38 +00:00
Joel Sherrill
5da4d24392 changed version to 20000204 2000-02-04 14:58:17 +00:00
Joel Sherrill
3eb64109ad changed version to 20000204 2000-02-04 14:01:57 +00:00
Joel Sherrill
9d457f5a56 changed version to 20000118a 2000-02-04 14:00:43 +00:00
Joel Sherrill
b452a4023c Changed behavior to match that expected by EPICS test code. Reported by
Eric Norum <eric@cls.usask.ca>.
2000-02-03 22:20:41 +00:00
Joel Sherrill
4bf1801d0d Patches rtems-rc-20000118-7.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that contains the automake files for libnetworking plus a couple of
minor fixes.  [Now only one unused/unsupported Makefile.in remains
(./c/src/lib/libbsp/hppa1.1/pxfl/Makefile.in).]

    To apply:
        patch -p1 < rtems-rc-20000118-7.diff
        /bin/sh rtems-rc-20000118-7.rm
        /bin/sh rtems-rc-20000118-7.add
        ./bootstrap

    Notes:
    * I have tested this one by building all BSPs for m68k, powerpc, sh and
      unix with toolchains built since last weekend.
    * I did not touch libnetworking's directory layout.
2000-02-03 13:21:38 +00:00
Joel Sherrill
1382cea3b1 Fixed spelling errors. 2000-02-03 13:18:21 +00:00
Joel Sherrill
399432faac Patch rtems-rc-20000118-6.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that contains:

    The workarounds related to the issues with
    ppc/helas403 (triggers a nasty bug in automake-2.14) and mcp750.cfg
    (Which is basically broken)

    To apply:
        patch -p1 < rtems-rc-20000118-6.diff
        ./bootstrap

    Note:
        * Though this patch is small, ./bootstrap is absolutely necessary.
        * Now your CVS source tree is identical to my local CVS.
2000-02-02 15:26:41 +00:00
Joel Sherrill
847dbbe6c7 Patches rtems-rc-20000118-5.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that contains:

    * The fix for the gen68360/network/Makefile.am
    * automatically set permissions to 755 to scripts/buildall and
      scripts-ada/buildall (I remembered a trick to achieve this :).
    * automake support for libbsp/* and libcpu/* (Attn: This part will
      finally break old-style configuration for all non-public cpus)

    NOTES:
    * This patch has only been tested for a random selection of BSPs (I
      haven't rebuilt all toolchains yet).
    * This patch is against rtem-cvs as of this morning (MET).

    To apply:
        patch -p1 <rtems-rc-20000118-5.diff
        cvs rm -f ./c/src/lib/libbsp/Makefile.in
        cvs rm -f ./c/src/lib/libbsp/shmdr/Makefile.in
        cvs rm -f ./c/src/lib/libcpu/Makefile.in
        cvs add ./c/src/lib/libbsp/Makefile.am
        cvs add ./c/src/lib/libbsp/shmdr/Makefile.am
        cvs add ./c/src/lib/libcpu/Makefile.am
        ./bootstrap
2000-02-01 13:41:54 +00:00
Joel Sherrill
8505e9b387 Removed references to non-existent include files. 2000-01-31 22:34:11 +00:00
Joel Sherrill
543452de5a Changed versions of newlib patch. 2000-01-31 20:48:14 +00:00
Joel Sherrill
819c7da851 Spelling corrected. 2000-01-31 19:28:39 +00:00
Joel Sherrill
bb18b95612 Spelling corrected. 2000-01-31 19:28:18 +00:00
Joel Sherrill
4e36a2f133 Patches rtems-rc-20000118-3.diff and rtems-rc-20000118-4.diff from
Ralf Corsepius <corsepiu@faw.uni-ulm.de> that contain:

    * Modifications, (minor) corrections, cleanups to most existing
      Makefile.ams
    * Adds automake support to all remaining BSPs which have not yet been
      converted to automake.
    * Makefile.am for all remaining wrapup/Makefile.ams
2000-01-31 15:27:02 +00:00
Joel Sherrill
8fbdf07b62 Patch rtems-rc-20000118-2.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that contains cosmetical changes to the Makefile.ams below tests (removes
old, now invalid comments from these Makefile.ams).
2000-01-31 15:22:23 +00:00
Joel Sherrill
d7269fbaec Ralf Corsepius <corsepiu@faw.uni-ulm.de> caught some files in CVS
that should not have been.
2000-01-31 15:18:38 +00:00
Joel Sherrill
4c46630639 Patch rtems-rc-20000118-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that contains:

  * cleanups to configuration files
  * A reworked gccnewlib.spec.in: I have reformated it for enhanced
    readability and added more rtems-base packages. It now should be free of
    any installation conflicts (If there still remain some, they should be
    regarded as bugs).
  * A fix to the bin2boot RTEMS_BSP issue (make RTEMS_BSP="pc386 pc486"
    now works).
  * removes libbsp/bare/wrapup
  * Further cleanups
2000-01-31 15:15:10 +00:00
Joel Sherrill
d2bc265b66 Successfully built some RPMs. There is still a lot of work to do. 2000-01-31 14:47:03 +00:00
Joel Sherrill
8030d8a7ca Updated versions. 2000-01-31 14:46:38 +00:00
Joel Sherrill
0261887260 Modifications from Ralf to be more like other custom files. There
is no way to build this target.
2000-01-31 14:46:23 +00:00
Joel Sherrill
2fabda6ea1 Modification to properly support BSP aliases (pc[456]86). 2000-01-31 14:45:43 +00:00
Joel Sherrill
71aeab4de4 Suggested modification from Rosimildo da Silva <rdasilva@connecttel.com>
to make the BSP boot on netboot.
2000-01-31 14:45:27 +00:00
Joel Sherrill
49440a6e87 Added AC_SUBST(RTEMS_BSP) so the makefiles properly honor the
BSP alias on the tools.
2000-01-31 14:43:38 +00:00
Joel Sherrill
8be7befaf4 BSP now links although this change is untested. 2000-01-31 14:42:18 +00:00
Joel Sherrill
c01ba672eb Patch from John M. Mills <jmills@tga.com> to include more
information on hardware settings.
2000-01-28 15:27:58 +00:00
Joel Sherrill
9789cb8981 Put Ada scripts in group gnatrtems. 2000-01-28 00:02:09 +00:00
Joel Sherrill
42ec72d35c Removed gnat and made final cleanup. 2000-01-27 23:49:44 +00:00
Joel Sherrill
f82fee97bb Patch rtems-rc-20000118-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the a29k to automake.

    This patch contains
    * An initial merger of the libcpu/a29k stuff you sent yesterday. AFAIS,
      most code inside them seems to be empty stubs. One file even contains a
      function called mips_*** which might indicate that this part might
      contain mips code or the code the initial porter used as template for
      porting. Unfortunately, I don't know anything about the a29k so I can't
      comment on the details.
    * A dummy bsp_specs to libbsp/29k/portsw
    * An update to the automake files related to the a29k.

    Note:
    * This patch is completely untested, because I don't have a toolchain
      for it.
    * The files in libcpu/a29k include bsp.h => The libbsp vs. libcpu-issue
      hits again.
2000-01-27 23:48:50 +00:00
Joel Sherrill
7150605481 GNAT/RTEMS RPMs have built for the binutils/gnat/gcc combination
and appear to be close for gdb.
2000-01-27 23:48:28 +00:00
Joel Sherrill
1b2b923432 Patch to fix typo from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. 2000-01-27 17:06:49 +00:00
Joel Sherrill
e26ce9342d Added note from Ian Lance Taylor <ian@zembu.com>. 2000-01-27 14:40:00 +00:00
Joel Sherrill
318f591241 Added after report from Quality Quorum <qqi@world.std.com> that
pc686.cfg was not present.
2000-01-27 14:37:17 +00:00
Joel Sherrill
0610a988e3 First attempt at debugging. 2000-01-26 20:50:23 +00:00
Joel Sherrill
64ab2e9eeb First cut at adding RPM scripts for building GNAT/RTEMS RPMs. 2000-01-26 19:56:54 +00:00
Joel Sherrill
a1f89b42a8 No longer incorrectly references mips. 2000-01-26 14:22:34 +00:00
Joel Sherrill
21677c0e66 Patch rtems-rc-20000118-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the a29k to automake.

    This patch contains
    * An initial merger of the libcpu/a29k stuff you sent yesterday. AFAIS,
      most code inside them seems to be empty stubs. One file even contains a
      function called mips_*** which might indicate that this part might
      contain mips code or the code the initial porter used as template for
      porting. Unfortunately, I don't know anything about the a29k so I can't
      comment on the details.
    * A dummy bsp_specs to libbsp/29k/portsw
    * An update to the automake files related to the a29k.

    Note:
    * This patch is completely untested, because I don't have a toolchain
      for it.
    * The files in libcpu/a29k include bsp.h => The libbsp vs. libcpu-issue
      hits again.
2000-01-26 14:20:08 +00:00
Joel Sherrill
5eac93c7cc Now binutils, gcc, and gdb build into a "base" package that is shared
by all targets and one or more target specific RPMs.  This significantly
reduces the conflicts between the RPMs whether installing one or multiple
targets.
2000-01-25 19:47:32 +00:00
Joel Sherrill
9ce6414850 Attempting to split binutils and gcc into base/shared and CPU specific
packages.
2000-01-24 23:50:28 +00:00
Joel Sherrill
0c602f0474 Patch from David Fiddes <D.J@fiddes.surfaid.org> which adds basic
Cygwin support to the RPM scripts.  The patch from David did not
apply cleanly and Joel ended up making all the modifications
plus some it should have included for consistency by hand.  His comments:

    I've included a diff against the last (19991203) snapshot RPM scripts that
    adds what I think is required for Cygwin support. Basically all this boils
    down to is adding EXE extension support. I've added the AC_EXEEXT rule to
    conifgure.in (requires a valid 'cc' to work - this is not available in the
    standard Cygwin distro). Each of the *.spec.in have @exe_ext@ includes in
    them for each program that results in an EXE. The only odity here is that
    the chill driver program is a shell script and thus does not require .exe to
    be added... The mk*.in have all been updated to process the new exe_ext
    rule.
2000-01-23 19:20:02 +00:00
Joel Sherrill
8d37343a5d Directive rtems_task_variable_get() added by Eric Norum. 2000-01-23 19:07:02 +00:00
Joel Sherrill
b5a31d4479 Added rtems_task_variable_get from Eric Norum. 2000-01-23 19:06:09 +00:00
Joel Sherrill
a690050805 Updated to reflect changing to void * on task variables by
Eric Norum <eric@cls.usask.ca>.
2000-01-23 18:59:17 +00:00
Joel Sherrill
41b27b94b8 Wrong BSP referenced. 2000-01-23 18:29:45 +00:00
Joel Sherrill
f13b1c4e4a Removing unused file accidentally left in CVS. Discovered by
Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
2000-01-23 18:22:02 +00:00
Joel Sherrill
d7f33012cf Documentation to reflect patch from Eric Norum <eric@cls.usask.ca> to
the network initialization enhancement request by Jake Janovetz
<janovetz@tempest.ece.uiuc.edu>.
2000-01-21 15:15:53 +00:00
Joel Sherrill
4a9b897304 Patch from Eric Norum <eric@cls.usask.ca> at the request of Jake
Janovetz <janovetz@tempest.ece.uiuc.edu> to return a status from
network initialization rather than panic'ing.  It changes a bunch
of rtems_panics to printfs and returns a status from
rtems_bsdnet_initialize_network().
2000-01-21 15:11:40 +00:00
Joel Sherrill
c941a980cc Patch from Eric Norum <eric@cls.usask.ca> to implement this:
I'd like to propose a change to RTEMS task variables that I think would
    make them more useful.  I think that it is early enough in their
    existence to still make changes to their API.

    1) Change type from `int' to `void *'.
    2) Add extra argument to task_variable_add -- if non-NULL, a pointer to
    a `destructor' function to be called when the task exits.  This function
    would be called with that task's value of the task variable as its
    argument.  In many cases, the `dtor' function could be `free'.

    rtems_status_code rtems_task_variable_add (
      rtems_id tid, void **ptr, void (*dtor)(void *));
    rtems_status_code rtems_task_variable_delete (rtems_id tid, void **ptr);

    This would be all we'd need to cleanly and efficiently support C++
    per-thread exception information without dragging in all that POSIX API
    stuff.
2000-01-21 15:07:55 +00:00
Joel Sherrill
e570c7617d Patch from Eric Norum <eric@cls.usask.ca> to remove warnings. 2000-01-21 14:49:31 +00:00
Joel Sherrill
b9478fc658 Patch from Eric Norum <eric@cls.usask.ca>:
Some excellent sleuthing by Bob Wisdom <bobwis@ascweb.co.uk> revealed
    that an empty mbuf at the end of a packet chain would cause the `retire'
    function to blow up.  Moving the line of code which bumps the transmit
    buffer descriptor pointer fixes the problem.  Some additional cleanup of
    the sendpacket function was also completed.
2000-01-21 01:47:22 +00:00
Joel Sherrill
54b99a25ae changed version to 20000118a 2000-01-19 19:39:41 +00:00
Joel Sherrill
1c62aa218b changed version to 20000118 2000-01-18 16:06:15 +00:00
Joel Sherrill
1bbcbd922e changed version to 20000114 2000-01-14 22:33:02 +00:00
Joel Sherrill
f8e2a94792 Updated to reflect final test output. 2000-01-14 19:26:23 +00:00
Joel Sherrill
ff70333657 Updated screen to reflect final test output. 2000-01-14 19:26:05 +00:00
Joel Sherrill
94a51f8bba Added -U__STRICT_ANSI__ to remove MANY warnings since the BSD code
is not strict ANSI.
2000-01-14 18:50:19 +00:00
Joel Sherrill
e49ebbfa1d Removed unused variable warning. 2000-01-14 18:37:59 +00:00
Joel Sherrill
4d1af2095e Removed no prototype of kill() warning. 2000-01-14 18:37:30 +00:00
Joel Sherrill
318e23baae Updated versions. 2000-01-14 17:41:57 +00:00
Joel Sherrill
1cb2f89a82 Updated list of targets to build. 2000-01-14 17:41:45 +00:00
Joel Sherrill
20eb69db13 Now ignores minimum and does not run it. 2000-01-14 17:41:20 +00:00
Joel Sherrill
512a536570 Now using Makefile.am to generate this file. 2000-01-14 17:40:49 +00:00
Joel Sherrill
95f5adbffd Warning corrections per feedback from Emmanuel Raguet <raguet@crf.canon.fr>. 2000-01-14 15:34:47 +00:00
Joel Sherrill
752badac5a Removed warning. 2000-01-14 14:55:37 +00:00
Joel Sherrill
c819ea440d Removed numerous warnings. 2000-01-14 14:44:11 +00:00
Joel Sherrill
58909199a2 Updated files missed in earlier batch from Eric Norum. 2000-01-13 22:11:35 +00:00
Joel Sherrill
49fa9bc005 Fixed warnings. 2000-01-13 22:08:29 +00:00
Joel Sherrill
4c3ab84636 Patch rtems-rc-20000104-17.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that addresses the librdbg/rpcgen related problems:

    Changes:
        * All rpcgen generated files are now kept inside of the source tree
        * Fix librdbg/configure to correctly detect presence of rpcgen and awk
        * Use rpcgen -m to generated remdeb_svc.c
        * Remove msgout/_msgout from awk.svc
        * minor cleanups to librdbg/configure.in

    ATTENTION --- IMPORTANT:

        * With keeping rpc-generated files pre-build inside of the source tree,
          you as the packager of RTEMS have to ensure that timestamps are
          correctly set up: The generated files must not be older than the *.x
          files.
        * This is extraordinarily important when
            - putting the package on read-only media
            - after checking out from CVS
            - after modifications to the *.x files
        * If one of the *.x files is modified you have to either
            - build for i386/pc386 and powerpc/mcp750
            - or to invoke the same rpcgen calls as the
              librdbg/src/<cpu>/<bsp>/Makefile.am do manually
              before checking-in the files to CVS.

    Proposal:

    We could add something to bootstrap for touching the rpcgen-generated
    sources and/or to manually regenerate them.

    NOTE FROM JOEL:

    Ralf proposed modifying bootstrap to handle rpcgen.  I think this
    is the best solution as it is something already done in the
    snapshot procedure.
2000-01-13 21:07:22 +00:00
Joel Sherrill
b8c9883755 All m68k BSPs now build with new ELF style linkcmds. 2000-01-13 20:45:07 +00:00
Joel Sherrill
11944b9bc3 POSIX message queues now include complete functionality including
blocking sends when the queue is full.  The SuperCore was enhanced
to support blocking on send.  The existing POSIX API was debugged
and numerous test cases were added to psxmsgq01 by Jennifer Averett.
SuperCore enhancements and resulting modifications to other APIs
were done by Joel.

There is one significant point of interpretation for the POSIX API.
What happens to threads already blocked on a message queue when the
mode of that same message queue is changed from blocking to non-blocking?
We decided to unblock all waiting tasks with an EAGAIN error just
as if a non-blocking version of the same operation had returned
unsatisfied.  This case is not discussed in the POSIX standard and
other implementations may have chosen differently.
2000-01-13 19:32:50 +00:00
Joel Sherrill
3e7a0fd4e3 Added test case for broadcast to queue with messages pending. 2000-01-13 19:27:33 +00:00
Joel Sherrill
85d62357bb Changed error checking macros for POSIX. 2000-01-13 19:26:38 +00:00
Joel Sherrill
53fb837afc POSIX message queues now include complete functionality including
blocking sends when the queue is full.  The SuperCore was enhanced
to support blocking on send.  The existing POSIX API was debugged
and numerous test cases were added to psxmsgq01 by Jennifer Averett.
SuperCore enhancements and resulting modifications to other APIs
were done by Joel.

There is one significant point of interpretation for the POSIX API.
What happens to threads already blocked on a message queue when the
mode of that same message queue is changed from blocking to non-blocking?
We decided to unblock all waiting tasks with an EAGAIN error just
as if a non-blocking version of the same operation had returned
unsatisfied.  This case is not discussed in the POSIX standard and
other implementations may have chosen differently.
2000-01-13 19:25:15 +00:00
Joel Sherrill
ee4ddd8361 Missed removing this file in an earlier commit. This is removed
because of the conversion to automake and replaced by a Makefile.am.
2000-01-13 19:23:59 +00:00
Joel Sherrill
2cef9771fb Added POSIX interpretation subsection and updated status.
The message queue manager chapter needs to be updated to reflect
completion of the implementation.
2000-01-13 19:20:17 +00:00
Jennifer Averett
9c1c778d56 + Added comments 2000-01-13 18:32:38 +00:00
Jennifer Averett
d65c376845 + Added and yellow line tested _CORE_message_queue_Flush_waiting_threads
and _CORE_message_queue_Insert_message for posix message queues.
+ Yellow line tested new source
2000-01-13 18:32:09 +00:00
Jennifer Averett
e7d76dc8a9 Added comment. 2000-01-13 18:23:42 +00:00
Jennifer Averett
d78c6fe3d3 + Comment cleanup 2000-01-13 18:22:32 +00:00
Jennifer Averett
661ff9a7f6 Removed referance to rtems error.
Added correct include file.
2000-01-13 18:22:09 +00:00
Jennifer Averett
b0461cd4b4 Added comment to indicate this path does not occur. 2000-01-13 17:13:12 +00:00
Jennifer Averett
0724b658a7 Added start and end herald. 2000-01-13 17:01:35 +00:00
Joel Sherrill
9b2c969369 Made sweep of changes to get all BSPs to the same point on the linkcmds
and memory layout.  Next step is to share the same bsp_pretasking_hook.
2000-01-13 15:07:03 +00:00
Joel Sherrill
c0ebf023b7 New patch from Eric Norum plus some minor mods by Joel. 2000-01-13 15:06:24 +00:00
Joel Sherrill
e60d75dfbe Fixed spacing. 2000-01-13 14:28:10 +00:00
Joel Sherrill
bd9e482a35 Made _clear_end a "PROVIDE." 2000-01-13 14:05:11 +00:00
Jennifer Averett
ea2c1d6301 + Added code for waiting send
+ Yellow lined tested routine with Posix message queue test (01)
2000-01-12 20:22:04 +00:00
Jennifer Averett
e38cb52d2d Debugged and yellow line tested routines. 2000-01-12 18:47:22 +00:00
Jennifer Averett
68b0569430 + Modified return codes
+ Added messsage size check
+ Debugged and yellowed out routine
2000-01-12 18:46:54 +00:00
Jennifer Averett
bcbc50a81c + Added signal processing.
+ Yellow line tested source.
2000-01-12 18:44:19 +00:00
Jennifer Averett
352d01e0d3 + Modified to correct return codes.
+ Removed extra flag attribute from message queue structure.
+ Yellow-lined all posix message queue routines.
2000-01-12 18:43:21 +00:00
Jennifer Averett
70329c80ea + Changed call from core flush to core close routine. This flushes waiting
queues as well as the messages.
2000-01-12 18:41:14 +00:00
Jennifer Averett
399ba0690c + Removed name validation code (this was already done in nametoid. 2000-01-12 18:40:18 +00:00
Joel Sherrill
c1d2cc9ee7 Patch rtems-rc-20000104-16.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the libbsp/i386 subdirectory to full automake.
2000-01-12 17:58:34 +00:00
Joel Sherrill
b2b4835718 Eric Norum <eric@cls.usask.ca> submitted linker script and bsp_specs
for the gen68360 that let it work with ELF and C++ exceptions.  This
was used as the basis for changes to EVERY m68k bsp_specs and linkcmds.
Before this modification is over, the layout of the starting stack,
heap, and workspace will likely be modified for every m68k BSP. Then
they will all be very similar.
2000-01-12 16:38:57 +00:00
Joel Sherrill
69537ca9ec Patch rtems-rc-20000104-16.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the libbsp/i386 subdirectory to full automake.
2000-01-12 16:38:56 +00:00
Joel Sherrill
1e1941129e Called symbol table ".nm" not .num like every other BSP. 2000-01-12 16:08:57 +00:00
Joel Sherrill
737a5992a3 Patch rtems-rc-20000104-15.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that fixes the following problems:

  1. Removing bogus ';' in some configure.in (cosmetical fix)
  2. Moves GAS_CODE16 checks to libbsp/i386/*/configure.in (essential fix)

  #2 was responsible for the gcc/binutils-2.9.5 choking while building for
  the pc386.
2000-01-12 16:05:58 +00:00
Joel Sherrill
76c2b3546c File removed as it was not being used. 2000-01-11 19:09:24 +00:00
Joel Sherrill
0dd1d44582 Removed old hack of using Configuration Table entry ticks_per_timeslice
being set to 0 to indicate that there should be no Clock Tick.  This
was used by the Timing Tests to avoid clock tick overhead perturbing
execution times.  Now the Timing Tests simply leave the Clock Tick
Driver out of the Device Driver Table.
2000-01-11 17:34:20 +00:00
Joel Sherrill
bdb289988a Patch from Emmanuel Raguet <raguet@crf.canon.fr> to correct macro
expansion.  These macros were modified to correct warnings and
obviously needed more parentheses to expand correctly.
2000-01-11 16:41:57 +00:00
Joel Sherrill
75582835c7 Fixed spacing. 2000-01-11 15:43:16 +00:00
Joel Sherrill
e0c01614d9 This test was enhanced to test for the case in sigtimedwait() where it
must deal with a pending process oriented signal.  Prior to the addition
of this testcase, sigtimedwait() did not return properly when a process
oriented signal was pending.  The problem was reported by Wayne
Bullaughey <wayneb@cacdsp.com>.
2000-01-11 15:43:00 +00:00
Joel Sherrill
4fa5eaee52 This code did not return properly when a process oriented signal
was pending.  Reported by Wayne Bullaughey <wayneb@cacdsp.com>.
2000-01-11 15:42:05 +00:00
Joel Sherrill
86c9eb0e28 Bug fix from Wayne Bullaughey <wayneb@cacdsp.com> to use the complement
of the mask when disabling the interrupt.
2000-01-11 14:57:41 +00:00
Joel Sherrill
0f59d63f27 Now automake generated. 2000-01-10 21:38:43 +00:00
Joel Sherrill
710f76a831 Added mpc6xx/timer/Makefile. 2000-01-10 21:37:57 +00:00
Joel Sherrill
01ab701910 Accidentally deleted. 2000-01-10 21:36:34 +00:00
Joel Sherrill
19642e2cab Removed definition of USHRT_MAX to remove lots of redefinition warnings. 2000-01-10 21:22:23 +00:00
Joel Sherrill
6d3ab0ffdc Added pc486 and pc586 as aliases of pc386 with proper cpu flags. 2000-01-10 20:56:35 +00:00
Joel Sherrill
119204d80f Removed warning by changing %eax -> %ax as source of move to segment
registers.
2000-01-10 20:40:41 +00:00
Joel Sherrill
c084f11df8 Added pc486 and pc586 to list. 2000-01-10 20:38:04 +00:00
Joel Sherrill
f9bcb58da3 Corrected compilation problem in lgdt instruction. 2000-01-10 20:12:11 +00:00
Joel Sherrill
f4d21dde83 Added include of <bsp/irq.h> per Jay Kulpinski <jskulpin@eng01.gdds.com>. 2000-01-10 19:07:40 +00:00
Joel Sherrill
aa1d76ed8d Missed cleanup from Ralf Corsepius. 2000-01-10 18:56:10 +00:00
Joel Sherrill
70af0ea116 Don't look at the object information structure for threads/tasks
for APIs that are not configured.  This resulted in weird behavior
when ITRON was disabled on some targets.
2000-01-10 18:47:58 +00:00
Joel Sherrill
f983d571ab Patch rtems-rc-20000104-14.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which fixes some PowerPC specific bugs.
2000-01-10 18:16:59 +00:00
Joel Sherrill
89703c313a Patch from Jay Kulpinski <jskulpin@eng01.gdds.com> to make sure
RTEMS_TM27 is defined before the bsp.h is included.
2000-01-10 18:16:22 +00:00
Joel Sherrill
362ec23ed7 Patch rtems-rc-20000104-12.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which converts the PowerPC BSPs to configuration and more automake.

    * Besides adding partial automake support, rsp converting all powerpc
      BSPs to make them compliant to the new configuration scheme, this patch
      attempts to fix several configuration bugs in powerpc related Makefiles.
2000-01-10 18:10:59 +00:00
Joel Sherrill
f9b48de90e Removed reference to Radstone PPCN. 2000-01-10 18:07:51 +00:00
Joel Sherrill
23527262bd Fixed comment. 2000-01-10 18:07:15 +00:00
Joel Sherrill
94a86c40e2 Per suggestions of Eric Valette <valette@crf.canon.fr> and Jay
Kulpinski <jskulpin@eng01.gdds.com>, the bsp_specs now defines
USE_ENHANCED_INTR_API and powerpc/shared/include/bsp.h uses that
to enable its tm27 support.
2000-01-10 15:18:20 +00:00
Joel Sherrill
6e7b6cab8d Fixed unterminated comment spotted by eagle eye Ralf Corsepius
<corsepiu@faw.uni-ulm.de>.
2000-01-10 15:03:28 +00:00
Joel Sherrill
bc2f04f8a8 Patch rtems-rc-20000104-13.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which does the following:

  * some cleanups, fixes, addtions to the libbsp automake transition
    patches
  * The missing Automake transistion patches all libcpu/<cpu>/<variant>/*
    previously not yet been converted to automake (libcpu/powerpc,
    libcpu/hppa1.1, libcpu/mips64orion, libcpu/sparc)

  => With this patch, libcpu/*/* is under full automake control.

  NOTES:
  * This patch is tested by building for random set of bsps affected by
    this patch, but not tested for all BSPs.
  * The parts of this patch related to libcpu/powerpc fix many small bugs
    inside of those Makefiles.
  * Have a look into libcpu/powerpc/mpc6xx/, which is in rather bad shape,
    IMO. Obviously most subdirectories seem to be build but are not included
    into libcpu.a by wrapup/Makefile. Addtionally, no actual BSP uses this
    cpu-variant subdirectory. Furthermore libcpu/powerpc/mpc6xx has a
    different directory layout than all other powerpc/<variant>/
    directories.

    Joel's note:  I agree but the issue is that there is a conflict between
    including timer or clock in libcpu/XXX/wrapup/Makefile.* and letting
    a BSP specifically decide to pick it up.  There is no clear solution
    to this at the moment.
2000-01-10 14:50:45 +00:00
Joel Sherrill
5fa147949d Patch rtems-rc-20000104-11.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the i386 directory to automake.

NOTE: Ralf is unable to build any i386 BSPs.  This was true before and
after this patch and appears (to Joel) to be a tool issue unrelated since
others can build i386 BSPs.
2000-01-10 14:31:16 +00:00
Joel Sherrill
7068e2465b Patch rtems-rc-20000104-10.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the m68k directory to automake.

    NOTE: This one is fully tested by building *all* bsps with
        ../../rtems-rc-20000104/configure \
            --target=m68k-rtems \
            --prefix=/tmp/rtems \
            --enable-cxx \
            --disable-posix \
            --enable-rdbg \
            --disable-networking \
            --enable-maintainer-mode \
            --enable-multiprocessing \
            --disable-tests
       make
2000-01-10 14:29:44 +00:00
Joel Sherrill
53ab4823e0 Patch rtems-rc-20000104-9.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the hppa1.1 directory to automake.

    NOTE:
        * Due to not having a toolchain (gcc refuses to build) this patch is
          untested.

        * I omited/deactivated the pxfl subdirectory, because I don't
          understand how it supposed to work.

    Joel's note: It was right to ignore the pxfl directory.  It should be
    removed one the BSPs are moved outside the tree.  This was an old hack.
2000-01-10 14:23:56 +00:00
Joel Sherrill
4200321a63 Patch rtems-rc-20000104-7.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the a29k directory to automake.

NOTE: This port is not based on the GNU tools so no one can test it.
2000-01-10 14:17:28 +00:00
Joel Sherrill
1597ab4a9d Patch rtems-rc-20000104-8.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the a29k directory to automake.

NOTE: This port is not based on the GNU tools so no one can test it.
2000-01-10 14:17:27 +00:00
Joel Sherrill
59909bf4a0 Patch rtems-rc-20000104-6.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the i960 directory to automake.

    The same kind of libbsp configuration as for the mips64orion, now for
    the i960.

    In addition to libbsp configuration this patch also contains two fixes
    for cvme961.cfg and rxgen960.cfg, which contained non-functional
    make-exes. (Now both bsps probably have the same issues with linking c++
    applications as the gensh2 has, but this is a different open issue not
    tried to be solved now).

    The rxgen961 also seems to have problems with its start file, because
    linking apps fails due to not finding start.o. (Note that
    libbsp/i960/rxgen960 lacks a start subdirectory!). I leave solving this
    issue to you :)
2000-01-10 14:09:12 +00:00
Joel Sherrill
d0a8b4b880 Patch rtems-rc-20000104-4.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the mips64orion directory to automake.

Ralf's Note: This patch demonstrates another kind of supporting the new
style of configuration, which avoids having to port all Makefile.ins to
automake, but to keep using most old style Makefile.ins.
2000-01-10 14:07:00 +00:00
Joel Sherrill
82f1f6dd8d Patch rtems-rc-20000104-6.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the mips64orion directory to automake.

Ralf's Note: This patch demonstrates another kind of supporting the new
style of configuration, which avoids having to port all Makefile.ins to
automake, but to keep using most old style Makefile.ins.
2000-01-10 14:06:59 +00:00
Joel Sherrill
0cbfa283b9 Patch rtems-rc-20000104-4.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the no_cpu directory to automake.
2000-01-10 14:04:50 +00:00
Joel Sherrill
1e562da69e Patch rtems-rc-20000104-5.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the no_cpu directory to automake.
2000-01-10 14:04:49 +00:00
Joel Sherrill
49e05f4131 Patch rtems-rc-20000104-4.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the unix directory to automake.

Ralf's note:  Please check c/src/lib/libbsp/unix/posix/startup/Makefile.am.
I am not sure if it is correct.
2000-01-10 14:03:32 +00:00
Joel Sherrill
1072609587 Patch rtems-rc-20000104-3.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the sparc directory to automake.

Ralf's note:  The implementation of libbsp/sparc/* gives a nearly minimal
example of the new configuration scheme.
2000-01-10 13:59:35 +00:00
Joel Sherrill
94608578a2 Patch rtems-rc-20000104-2.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts nearly all of libbsp/sh to automake.  Comments follow:

    1. Almost full automake support for the libbsp/sh/ subdirectories
       (exception libbsp/sh/gensh*/wrapup/*)
    2. Fixes for libbsp/bare/*
    3. Updates to libbsp/* configuration which supports old (autoconf/deep
       configuration) and new (automake/flat/cascaded configuration) style
       configuration of libbsp/<cpu>/*
2000-01-10 13:56:35 +00:00
Joel Sherrill
338f1dc186 Patch from Eric Valette <valette@crf.canon.fr> that makes sure the
interrupt code works on "old buggy MCP750 boards".  The symptom was
that there was no ethernet PCI IRQ at all.
2000-01-10 13:26:00 +00:00
Joel Sherrill
d273d78ae6 Renaming mcp750 to motorola_shared since that is the basis for both
the mvme2307 and mcp750 BSPs.  In addition, it can support many
Motorola PowerPC based VME and PCI boards.
2000-01-07 20:51:56 +00:00
Joel Sherrill
1d54d3b5af Renaming mcp750 to motorola_shared since that is the basis for both
the mvme2307 and mcp750 BSPs.  In addition, it can support many
Motorola PowerPC based VME and PCI boards.
2000-01-07 20:39:45 +00:00
Joel Sherrill
35d9acb36e Patch from John M. Mills <jmills@tga.com> to correct the baseline
serial drivers used in the 'gensh2' BSP for the Hitachi sh7045 CPU.
2000-01-07 18:52:14 +00:00
Joel Sherrill
09e0df6766 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> that corrects a
patch from Emmanuel Raguet <raguet@crf.canon.fr>.  Emmanuel's patch
was against the Makefile.in's generated from the Makefile.am's
patched in this file.
2000-01-07 14:54:59 +00:00
Joel Sherrill
c3538f33cc Patch from Emmanuel Raguet <raguet@crf.canon.fr> which corrects the following
problems:

  - unclosed comment in pc386/start/start16.S
  - bad #endif in pc386/startup/ldseg.S
2000-01-07 14:52:48 +00:00
Joel Sherrill
0ff37e6866 Patch rtems-rc-20000104-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which is described below:

    This one is a (minor) patch in preparation of the upcoming patches. It
    actually is an excerpt of the upcoming patches and therefore is
    completely untested in this standalone form, but I don't expect it to
    break something.

    The essential changes in this patch are:
        * An update to rtems-polish.sh (Now can also be run in subdirectories)
        * A bug-fix for the libcpu/powerpc (A directory was missing from
          SUBDIRS in a Makefile.am)
        * An update to gensh2.cfg.
        * Cleanups/Enhancements to configuration files

    To apply:
        cd <srcdir>
        patch -p0 < rtems-rc-20000104-0.diff
        cvs rm -f c/src/lib/libbsp/Makefile.am.new
2000-01-07 14:47:02 +00:00
Joel Sherrill
98c875a15b Initialize the attributes structure. Random data was causing the test
to fail sporadically.
2000-01-06 22:44:27 +00:00
Joel Sherrill
89184f94db Corrected spacing. 2000-01-06 15:31:24 +00:00
Joel Sherrill
bd177b7bea Fixed comment. 2000-01-06 15:20:53 +00:00
Joel Sherrill
aaac6d6d68 changed version to 20000104 2000-01-05 23:01:25 +00:00
Joel Sherrill
0312d81f38 Fixed comment thanks to John M. Mills <jmills@tga.com>. 2000-01-05 23:01:05 +00:00
Joel Sherrill
86217271e1 changed version to 20000104 2000-01-05 22:44:14 +00:00
Joel Sherrill
ef03d0e386 changed version to 20000104 2000-01-05 22:23:45 +00:00
Joel Sherrill
5870ac5567 Added support for simple binary semaphores in addition to the high
power binary/mutex style semaphores already supported by RTEMS.  This
was done at the request of Eric Norum <eric@cls.usask.ca> in support
of his effort to port EPICS to RTEMS.  This change consisted of
changing the nesting_allowed boolean into a lock_nesting_behavior
enumerated value as well as allowing the core mutex object to optionally
support ensuring that the holder of a binary semaphore released it.
Finally, a more subtle enhancement was to allow the non-holder to release
a priority inheritance/ceiling mutex and still allow the holding task
to return to its original priority.
2000-01-05 22:19:21 +00:00
Joel Sherrill
5283cc823d Updated to reflect a time that had previously been left out due to
an array sizing coding error.
2000-01-05 22:15:47 +00:00
Joel Sherrill
27f096634a Screen updated since test runs. 2000-01-05 22:15:16 +00:00
Joel Sherrill
4bcbf89c16 Was not actually installing the test. 2000-01-05 22:14:42 +00:00
Joel Sherrill
28adcfd9ec Added message priority parameter returned by core support routine. 2000-01-05 22:14:09 +00:00
Joel Sherrill
c0d405ca01 Added new message priority parameter as returned by core support routine. 2000-01-05 22:13:15 +00:00
Joel Sherrill
fc20c5398b Increased stack space. 2000-01-05 22:09:36 +00:00
Joel Sherrill
f49aaf18b8 Updated to reflect change in object class numbering due to ITRON API
addition.
2000-01-05 22:06:30 +00:00
Joel Sherrill
280c4ca921 Corrected test and screen to reflect implementation working. 2000-01-05 22:03:44 +00:00
Joel Sherrill
5cffd6406b Changed screen to reflect change in object class numbers with ITRON
addition.
2000-01-05 22:03:27 +00:00
Joel Sherrill
3a8b95e207 Spacing corrected. 2000-01-05 21:32:57 +00:00
Joel Sherrill
54a5ee75d4 Corrected so header message is printed. 2000-01-05 20:51:45 +00:00
Joel Sherrill
66fe6be6cd patch from Eric Norum <eric@cls.usask.ca> as follows:
At the request of kjoutwater@west.raytheon.com I'm submitting the
    following patch.

    c/src/lib/libbsp/m68k/gen68360/console/console.c
        Allow console baud rate to be set by debugger/downloader.

    c/src/lib/libbsp/m68k/gen68360/startup/init68360.c
        Add support for generic 68360 with static RAM.
2000-01-05 18:40:20 +00:00
Joel Sherrill
6940545972 Patch from Eric Norum <eric@cls.usask.ca> as follows:
At the request of kjoutwater@west.raytheon.com I'm submitting the
    following patch.

    c/src/lib/libbsp/m68k/gen68360/console/console.c
        Allow console baud rate to be set by debugger/downloader.

    c/src/lib/libbsp/m68k/gen68360/startup/init68360.c
        Add support for generic 68360 with static RAM.
2000-01-05 18:40:14 +00:00
Joel Sherrill
db6ec79e6c Fixed recursive release for mutexes with nesting allowed. 2000-01-05 18:30:09 +00:00
Joel Sherrill
f388d36d84 Now print strings -- not error numbers. 2000-01-05 18:17:01 +00:00
Jennifer Averett
99e7ab890b + Added tests for open, close, unlink, and send. 2000-01-05 17:21:12 +00:00
Jennifer Averett
b302d527c7 + Added return priority from message seize.
+ Changed priority to be based off of min and max int.
2000-01-05 17:20:07 +00:00
Jennifer Averett
466b8882ce Added the recording of the submit type. 2000-01-05 17:18:51 +00:00
Jennifer Averett
58243b42f5 + Added return of the message priority. 2000-01-05 17:18:08 +00:00
Jennifer Averett
65800393f6 Added priority conversion between POSIX and core. 2000-01-05 17:16:48 +00:00
Jennifer Averett
c5858efa68 Added priority conversion between POSIX and core priorities. 2000-01-05 17:16:02 +00:00
Jennifer Averett
3ebd4c1254 + Changed priority to the POSIX priority type.
+ Added priority validation
+ Changed to call correct core routine.
+ Added priority conversion
+ Resolved return type problems.
2000-01-05 17:13:50 +00:00
Jennifer Averett
fcd0c90630 + Added check for reading from a write only queue.
+ Added ability to return message priority from the core.
2000-01-05 17:11:36 +00:00
Jennifer Averett
cecd206a65 + Added check for name greater than PATH_MAX. 2000-01-05 17:09:36 +00:00
Jennifer Averett
e015106f68 + Changed to resonable default values for maxmsg and msgsize.
+ Added oflag tracking.
2000-01-05 17:08:56 +00:00
Jennifer Averett
f602eebd64 Added mqueuetranslatereturncode.c. 2000-01-05 17:07:52 +00:00
Jennifer Averett
864ac98aa7 Added routines to translate to and from the core message queue return codes. 2000-01-05 17:06:45 +00:00
Joel Sherrill
0eded827e1 Fixed typos. 2000-01-04 23:36:52 +00:00
Joel Sherrill
ea6af4f25d Updated dates and miscellaneous. 2000-01-04 23:33:46 +00:00
Joel Sherrill
c25e00ca52 Added timer manager. 2000-01-04 23:33:04 +00:00
Joel Sherrill
ed09d6fcf5 Improved clean stanza. 2000-01-04 23:32:51 +00:00
Joel Sherrill
590eb87d7e Added this file to contain an example program. 2000-01-04 17:08:16 +00:00
Joel Sherrill
bfded728ec Fixed warnings. 2000-01-04 14:16:00 +00:00
Joel Sherrill
36155ebb04 Removed warning. 2000-01-04 14:03:38 +00:00
Joel Sherrill
a148f561c2 Removed warnings. 2000-01-04 14:00:38 +00:00
Joel Sherrill
1dfc188ef5 Removed unitialized variable warning. 2000-01-04 13:58:47 +00:00
Joel Sherrill
afe8c1b6c0 Added shared version of this file. 2000-01-04 13:49:05 +00:00
Joel Sherrill
7b0ff0086f Made to compile again. 2000-01-04 13:48:48 +00:00
Joel Sherrill
393be8ec37 Fixed path to shared/include/coverhd.h. 2000-01-03 20:43:29 +00:00
Joel Sherrill
6bc66ab04f Added new URL. 2000-01-03 19:08:14 +00:00
Joel Sherrill
0173ab87ab Comments added and some messages translated from Polish. 2000-01-03 18:28:36 +00:00
Joel Sherrill
0af1b73f3c Patch from Eric Norum <eric@cls.usask.ca>:
In another attempt to get C++ exceptions working on the gen68360 target
    I tried building for the m68k-elf target.  All the tools built and
    installed properly as did all of RTEMS.  No applications would run,
    though -- not even hello.exe!

    It turns out the problem was in the linker script.  The alignment was in
    the wrong place.

    Here's a patch.  Exceptions still don't work, but at least I can get
    some things working with the ELF format now.
2000-01-03 17:27:06 +00:00
Joel Sherrill
110136ade4 Updated times. 2000-01-03 16:53:07 +00:00
Joel Sherrill
e065e8ae8b Increased stack size to 4K per Eric Norum. 2000-01-03 16:52:50 +00:00
Joel Sherrill
205d56453f Patch from John Mills <jmills@tga.com> to correct some cut and paste
errors.
2000-01-03 16:44:04 +00:00
Joel Sherrill
6b7cf9fef8 Patch rtems-rc-19991203-12.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to added the bin2boot_SOURCES warning.
2000-01-03 15:39:06 +00:00
Joel Sherrill
b84176b49d Do not explicitly list pieces from libcpu used. 2000-01-03 15:36:18 +00:00
Joel Sherrill
32f19fb3ae Share align_h.S from ppc403. VPATH was not picking it up. Discovered
and reported by Ralf Corsepius <corsepiu@faw.uni-ulm.de> on the mpc505.
2000-01-03 14:38:47 +00:00
Joel Sherrill
e07b6868b3 Added tm27 stuff. 2000-01-03 14:14:37 +00:00
Joel Sherrill
db94167039 Added define to trip items that are private to tm27 in bsp.h. 2000-01-03 14:14:24 +00:00
Joel Sherrill
95273a610f Combination of coverhd.h cleanup and MVME23xx/MCP750 patch from Eric Valette
<valette@crf.canon.fr> and Jay Kulpinski <jskulpin@eng01.gdds.com>.
2000-01-03 14:06:42 +00:00
Joel Sherrill
d5c4681e57 Use shared coverhd.h. 2000-01-03 14:04:22 +00:00
Joel Sherrill
203859574c Increased minimum stack size so all tests will run. 2000-01-03 14:01:02 +00:00
Jennifer Averett
6eb3e68012 + Tests added for mq_open, mq_close, and mq_unlink 1999-12-23 22:12:15 +00:00
Jennifer Averett
2e97c01e38 + Added routine to remove from namespace. 1999-12-23 22:11:01 +00:00
Jennifer Averett
afebb3fa2a + Added check for name greater than PATH_MAX 1999-12-23 22:10:13 +00:00
Jennifer Averett
7fbef78639 + Debugged. 1999-12-23 22:09:36 +00:00
Jennifer Averett
8f12d069bf + Filled in routine. 1999-12-23 22:08:43 +00:00
Jennifer Averett
96d4aea551 + Initial debug 1999-12-23 22:07:43 +00:00
Jennifer Averett
d4548d19b4 + Made work
+ Added checks for valid attribute maxmsg and msgsize
+ Added check for ENAMETOOLONG
1999-12-23 22:07:11 +00:00
Jennifer Averett
e1786ee363 + Fixed errno response to match the POSIX manual. 1999-12-23 22:05:25 +00:00
Joel Sherrill
2116e33c8e Reverted the delay logic. 1999-12-21 20:29:57 +00:00
Joel Sherrill
ed46b47fab Moved PPC_Set_decrementer() and PPC_Get_timebase_register() to
old_exception_processing tree.
1999-12-21 20:29:40 +00:00
Joel Sherrill
56018097d4 Now use coverhd.h out of the libbsp/shared directory. 1999-12-21 20:28:13 +00:00
Joel Sherrill
0d6f0b4e56 Now use shared coverhd.h 1999-12-21 20:10:04 +00:00
Joel Sherrill
5d807b5710 New files. 1999-12-21 17:06:31 +00:00
Joel Sherrill
a3ba9f9886 New file. 1999-12-21 17:05:15 +00:00
Joel Sherrill
8437abd4f0 Removed as part of moving this driver to libchip. 1999-12-21 16:56:31 +00:00
Joel Sherrill
400c55255d Removing Makefile.in and adding Makefile.am. These were missed in conversion
to automake by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
1999-12-21 16:20:38 +00:00
Joel Sherrill
fb16fed75a Patch rtems-rc-19991203-10.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which fixes a couple of bugs in RTEMS's old style Makefile.ins, which
apparently were introduced by moving the start directories and not
having adapted the Makefile.ins.

    To apply:

        patch -p1 < rtems-rc-19991203-10.diff
1999-12-21 15:25:05 +00:00
Joel Sherrill
9ba1f0a79e Patch rtems-rc-19991203-9.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which  ontains all what was left over from the other patches (Primarily
minor configuration cleanups).

    To apply:
        patch -p1 < rtems-rc-19991203-9.diff
        ./bootstrap
1999-12-21 15:04:48 +00:00
Joel Sherrill
369ef189b2 Patch rtems-rc-19991203-7.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which does minor cleanup  for Makefile.ams below mptests, which only
removes some bogus comments from the Makefile.ams.

To apply:
  patch -p1 < rtems-rc-19991203-8.diff
  ./bootstrap
1999-12-21 15:00:49 +00:00
Joel Sherrill
35d7b15cb0 Patch rtems-rc-19991203-7.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which adds partial automake support to libcpu/<cpu>/*.

    Until now I have only implemented full automake support for the sh (my
    demonstration example :) and the i386 (inevitiable for structural
    reasons of this subdirectory). For all other cpus only their toplevel
    directories (exception: powerpc), include subdirectories and a few
    selected subdirectories have been converted to automake.
    I did this on purpose, because add automake support to each subdirectory
    requires individual adaptations which to be tested individually.

    Additionally the weirdnesses of the powerpc subdirectories hit again,
    esp. some powerpc cpu-models

    * install files to $(PROJECT_INCLUDE)/<cpu-model>/ while others install
      them to  $(PROJECT_INCLUDE)/
    * the scheme used to configure libcpu/powerpc/ is difficult to implement
      using automake, therefore this subdirectory still is configured by
      autoconf (The one out of an unlimited set selection scheme hits again
      :), though powerpc/*/* subdirectories already apply automake.

    The patch also reveils structural weaknesses in RTEMS:

    E.g. There seem to exist at least 5 different general schemes:

    * Not using libcpu at all (eg. i960)
    * Strictly tree-style a libcpu/<cpu-variant>/* (eg. m68k, sh)
    * Flat libcpu directory layout with cpu-variants merged into sources or
      not destinguishing cpu-variants (i386)
    * Not supporting variants with deep source tree (sparc, hppa, mips64orion)
    * Woven directory structure with shared directories (powerpc)

    I regret having to say this, but from my POV this means, that there
    doesn't exist a general implementation scheme for libcpu at all.

    To apply:

        rm -rf ./c/src/lib/libcpu/i386/wrapup
        rm -rf ./c/src/lib/libcpu/mips64orion/include
        rm -rf ./c/src/lib/libcpu/powerpc/ppc403/include
        patch -p1 < rtems-rc-19991203-7.diff
        ./bootstrap
1999-12-21 14:41:43 +00:00
Joel Sherrill
5bce35ba29 Made prototype of ChapReceiveSuccess and ChapReceiveFailure match. 1999-12-21 14:37:31 +00:00
Joel Sherrill
0fe4834611 Patch rtems-rc-19991203-7.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which adds partial automake support to libcpu/<cpu>/*.

    Until now I have only implemented full automake support for the sh (my
    demonstration example :) and the i386 (inevitiable for structural
    reasons of this subdirectory). For all other cpus only their toplevel
    directories (exception: powerpc), include subdirectories and a few
    selected subdirectories have been converted to automake.
    I did this on purpose, because add automake support to each subdirectory
    requires individual adaptations which to be tested individually.

    Additionally the weirdnesses of the powerpc subdirectories hit again,
    esp. some powerpc cpu-models

    * install files to $(PROJECT_INCLUDE)/<cpu-model>/ while others install
      them to  $(PROJECT_INCLUDE)/
    * the scheme used to configure libcpu/powerpc/ is difficult to implement
      using automake, therefore this subdirectory still is configured by
      autoconf (The one out of an unlimited set selection scheme hits again
      :), though powerpc/*/* subdirectories already apply automake.

    The patch also reveils structural weaknesses in RTEMS:

    E.g. There seem to exist at least 5 different general schemes:

    * Not using libcpu at all (eg. i960)
    * Strictly tree-style a libcpu/<cpu-variant>/* (eg. m68k, sh)
    * Flat libcpu directory layout with cpu-variants merged into sources or
      not destinguishing cpu-variants (i386)
    * Not supporting variants with deep source tree (sparc, hppa, mips64orion)
    * Woven directory structure with shared directories (powerpc)

    I regret having to say this, but from my POV this means, that there
    doesn't exist a general implementation scheme for libcpu at all.

    To apply:

        rm -rf ./c/src/lib/libcpu/i386/wrapup
        rm -rf ./c/src/lib/libcpu/mips64orion/include
        rm -rf ./c/src/lib/libcpu/powerpc/ppc403/include
        patch -p1 < rtems-rc-19991203-7.diff
        ./bootstrap
1999-12-21 14:34:30 +00:00
Joel Sherrill
db3e01084a Patch rtems-rc-19991203-6.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which fixes a nasty dependency bug in optman/Makefile.am. Those
directories have been build twice before, i.e. re-running make after
having built rtems before, was rebuilding the files in optman/
directories.

    To apply:
        patch -p1 < rtems-rc-19991203-6.diff
        ./bootstrap
1999-12-21 14:32:00 +00:00
Joel Sherrill
8b9128277d Patch rtems-rc-19991203-5.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which cleans up and merges some Hitachi SH-2 modifications from
John Mills <jmills@tga.com>.
1999-12-21 14:27:52 +00:00
Joel Sherrill
3ad7602ef2 Modifications to avoid having the size of the Buffer_addresses array
too small when OPERATION_COUNT is less than 10.
1999-12-20 15:21:31 +00:00
Joel Sherrill
947c27aaad Spelling error corrected. 1999-12-16 14:30:34 +00:00
Joel Sherrill
f09ac26862 More warnings removed after email with Emmanuel Raguet. 1999-12-14 13:30:50 +00:00
Joel Sherrill
e8918ec371 Patch from Eric Norum <eric@cls.usask.ca> to change to gen68360 clock handling.
I got tired of having strange clock rates (e.g. #define
    CONFIGURE_MICROSECONDS_PER_TICK 52489) and drifting times-of-day with
    the gen68360 BSP so I changed the way the programmable-interval clock
    interrupt works.  The new version will have some jitter in the intervals
    between individual calls to the rtems_clock_tick routine, but the
    long-term average will match the CONFIGURE_MICROSECONDS_PER_TICK
1999-12-13 22:12:03 +00:00
Joel Sherrill
c629812c01 Removed warnings. 1999-12-13 22:10:45 +00:00
Joel Sherrill
da8ae79b3e Warning removal patch from Philip A. Prindeville <philipp@zembu.com>. 1999-12-13 21:21:31 +00:00
Joel Sherrill
1c98d28cb7 Patch rtems-19991203.sh2.diff from John M. Mills <jmills@tga.com> which
fixes some problems:

    I found the problem which prevented opening 'dev/sci1' (the default
    console) with the 'gensh2' (sh7045) BSP. Both SCI ports were being
    initialized against the same minor device number: '0'. When I tried to
    open minor-device '1', it naturally crashed. Fixing that one value in the
    'sci_device[]' array solved the problem and allowed 'hello.exe' to run.
1999-12-13 20:35:09 +00:00
Joel Sherrill
1d5039fe81 *** empty log message *** 1999-12-13 20:30:53 +00:00
Joel Sherrill
f9669ce59e Patch from Silverio Diquigiovanni <silverio.di@qem.it> to correct
TPC values.  Reviewed by Ralf Corsepius <corsepiu@faw.uni-ulm.de>
who originally submitted the file.
1999-12-13 20:06:27 +00:00
Joel Sherrill
fc0b91c5d5 Patch from Eric Norum <eric@cls.usask.ca> to make the NTP handler a little
more flexible about the error status returned from a timeout.
1999-12-13 19:20:38 +00:00
Joel Sherrill
5dae90a524 Patch rtems-rc-19991203-3.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which adds automake support to libbsp/bare.
1999-12-13 17:37:25 +00:00
Joel Sherrill
6b79a071de Patch from Jepsen Hans Peter <hans_peter_jepsen@Danfoss.com> to
use correct ifdef conditional (__GNUC__ not __GCC__).
1999-12-13 17:22:18 +00:00
Joel Sherrill
809f445197 Correction from Eric Norum for timeout in TFTP driver following bug
report by Nick.SIMON@syntegra.bt.co.uk:

TFTP uses UDP and UDP packets are prime targets for getting dropped when
the network gets busy.  I want the number of retries quite large in my
application. I see that PACKET_REPLY_MILLISECONDS is, in fact, not
being used.
1999-12-13 17:03:37 +00:00
Joel Sherrill
9537e5ec77 Patch from Eric Norum <eric@cls.usask.ca> to provide more network
functionality.  This puts RTEMS in near compliance with the network
functionality defined in the first draft of the EL/IX API.  Comments
follow:

    With the attached changes to the libnetworking/libc/Makefile.in, RTEMS
    provides all the functions listed in section 4.14 of the EL/IX document
    except:
        socketpair
        if_nametoindex
        if_indextoname
        if_nameindex
        if_freenameindex

    Some of the routines which get information from files may be of limited
    use unless an application sets up the files somehow (TFTP/untar from
    host, etc.), but at least RTEMS is pretty much fully buzzword compliant
    with the networking section of the EL/IX API.
1999-12-13 16:29:01 +00:00
Joel Sherrill
38b81b5d29 Patch from Emmanuel Raguet <raguet@crf.canon.fr> to correct some problems
in the dec21140 driver.  Comments follow:

    I have tried to use bootp with the dec21140 driver
    and I had problems. I have found them
         - Ethernet address must be known in Attach step
           (read from the board)
         - Endian problem for Ethernet address storage.

    Now it is solved and I can use bootp to obtain
    the network configuration of the target.
1999-12-13 16:25:03 +00:00
Joel Sherrill
4bdebdfe38 Patch rtems-rc-19991203-4.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>"""
which is an adaptation of a patch from Ian Lance Taylor plus a few
other changes that should significantly speed up building librtemsall.a.
1999-12-13 16:16:44 +00:00
Joel Sherrill
ad0c286463 Patch rtems-rc-19991203-3.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which adds automake support to libbsp/bare.
1999-12-13 16:02:57 +00:00
Joel Sherrill
fa178d4926 Patch rtems-rc-19991203-3.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which adds automake support to libbsp/bare.
1999-12-13 15:57:41 +00:00
Joel Sherrill
d16faa2e60 Patch rtems-rc-19991203-2.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to correct the missing part of the mcp750 patch.
1999-12-13 15:54:23 +00:00
Joel Sherrill
7d91d722ba First attempt at adding simple binary semaphore in addition to the current
"mutex" and counting semaphore.  This is at the request of Eric Norum
and his EPICS porting effort.
1999-12-13 15:29:20 +00:00
Joel Sherrill
e906798937 Corrected order of output. 1999-12-13 14:50:09 +00:00
Joel Sherrill
d9230ea9c0 Added RTEMS_IO_ERROR. 1999-12-13 14:49:38 +00:00
Joel Sherrill
49be66d2cf Now builds and installs properly. 1999-12-13 14:48:58 +00:00
Joel Sherrill
000a9a9784 Patch rtems-rc-19991203-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to generalize librdbg for all i386 BSPs.  His comments:

  The patch below generalizes librdbg for all i386 bsps. It is not a
  complete rewrite, but a minimal invasive attempt to generalization.

  To apply:

    mv c/src/librdbg/src/i386/pc386 c/src/librdbg/src/i386/any
    patch -p1 < patches-rc-19991203-1.diff
    ./bootstrap
1999-12-13 14:48:17 +00:00
Joel Sherrill
39e6bbe1aa Patch patches-rc-19991203-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which makes i386 code available for all BSPs not just pc386.  This is correct
since the code is really general to all i386 BSPs now.
1999-12-06 13:44:56 +00:00
Joel Sherrill
cfa1851911 changed version to 19991203 1999-12-03 17:39:54 +00:00
Joel Sherrill
c30972f7e3 changed version to 19991203 1999-12-03 17:00:25 +00:00
Joel Sherrill
da4ad63531 changed version to 19991203 1999-12-03 16:01:01 +00:00
Joel Sherrill
a548c8a5f2 New file. 1999-12-03 16:00:51 +00:00
Joel Sherrill
76c356f365 Patch from Aleksey (Quality Quorum <qqi@world.std.com>) to change the
delay loop in this BSP.  Here is his response to a question about
the patch:

    Yes, or that other machine has a different chipset with different
    timing requirements on enabling Gate 20. I am strongly suspecting
    that it may some how related to the video card I am using (on my
    old P-75 target it was plain PCI VGA, on my new one it is Diamond Stealth
    3D 2000).
1999-12-03 15:46:17 +00:00
Joel Sherrill
1e4a7d413d Modem example driver for ppp by Tomasz Domin <dot@comarch.pl> of ComArch SA.
This was used on a mpc823 based system.
1999-12-03 15:44:28 +00:00
Joel Sherrill
a1efd7a98a Made to compile on other CPU families. 1999-12-03 14:48:27 +00:00
Joel Sherrill
ae252c92f9 Added dec21140 to Makefile.am. 1999-12-03 14:27:54 +00:00
Joel Sherrill
eb17041fbb Removed warnings. 1999-12-03 14:01:11 +00:00
Joel Sherrill
ad9a21ad84 New file. 1999-12-03 13:53:01 +00:00
Joel Sherrill
a0a6f67fe7 Added more timing information. 1999-12-03 13:48:53 +00:00
Joel Sherrill
5707fe9b41 New file based on information from <valette@crf.canon.fr>. 1999-12-03 13:46:13 +00:00
Joel Sherrill
5a8203085e Modification from Emmanuel Raguet <raguet@crf.canon.fr> to merge the
dec21140 drivers from the i386/pc386 and powerpc/mcp750 (all Motorola
PowerPC boards) and move the network driver to libchip.  This driver
should work on all PCI based uses of this chip.
1999-12-03 13:42:34 +00:00
Joel Sherrill
fc81cc9933 Patch rtems-rc-19991123-rc-3.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>:

    The patch below provides
      * automake support for score/cpu/powerpc
      * The hack to propagate values from *.cfg to automake configuration
      * A fix for librdbg/powerpc/mcp750/Makefile.am (Was completely corrupted
        before)
      * Fixes some files which apparently where missing in
        rtems-rc-19991123-rc-2.diff
      * some minor configuration related patches

    To apply:

      rm -rf ./c/src/exec/score/cpu/powerpc/wrap
      patch -p1 < rtems-rc-19991123-rc-3.diff

    Attention:
      c/src/exec/score/cpu/[configure.in|aclocal.m4|configure] should be
      removed after applying the patch.

Modifications had been made to the score/cpu/powerpc directory after
the snapshot this was based on.  In particular, the mpc750 and
other_cpu directories had been renamed to new_exception_processing
and old_exception_processing.  After this patch was applied, modifications
were made to account for this.
1999-12-03 13:31:56 +00:00
Joel Sherrill
4090ebe85c Patch rtems-rc-19991123-rc-3.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>:

    The patch below provides
      * automake support for score/cpu/powerpc
      * The hack to propagate values from *.cfg to automake configuration
      * A fix for librdbg/powerpc/mcp750/Makefile.am (Was completely corrupted
        before)
      * Fixes some files which apparently where missing in
        rtems-rc-19991123-rc-2.diff
      * some minor configuration related patches

    To apply:

      rm -rf ./c/src/exec/score/cpu/powerpc/wrap
      patch -p1 < rtems-rc-19991123-rc-3.diff

    Attention:
      c/src/exec/score/cpu/[configure.in|aclocal.m4|configure] should be
      removed after applying the patch.

Modifications had been made to the score/cpu/powerpc directory after
the snapshot this was based on.  In particular, the mpc750 and
other_cpu directories had been renamed to new_exception_processing
and old_exception_processing.  After this patch was applied, modifications
were made to account for this.
1999-12-03 13:25:00 +00:00
Joel Sherrill
5ea0bd37ed Patch from Rosimildo DaSilva <rdasilva@connecttel.com> for Cygwin
to consistently use $(EXEEXT).
1999-12-03 13:14:08 +00:00
Joel Sherrill
4328345602 Patch rtems-rc-19991123-rc-2.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>:

    The patch below provides
      * automake support for score/cpu/powerpc
      * The hack to propagate values from *.cfg to automake configuration
      * A fix for librdbg/powerpc/mcp750/Makefile.am (Was completely corrupted
        before)
      * Fixes some files which apparently where missing in
        rtems-rc-19991123-rc-2.diff
      * some minor configuration related patches

    To apply:

      rm -rf ./c/src/exec/score/cpu/powerpc/wrap
      patch -p1 < rtems-rc-19991123-rc-3.diff

    Attention:
      c/src/exec/score/cpu/[configure.in|aclocal.m4|configure] should be
      removed after applying the patch.
1999-12-02 17:45:14 +00:00
Joel Sherrill
e492f910f2 Jennifer added initial test code. Conditional'ed out until she has
the opportunity to work with it.
1999-12-02 17:34:50 +00:00
Joel Sherrill
3a9605429c Merged of mcp750 and mvme2307 BSP by Eric Valette <valette@crf.canon.fr>.
As part of this effort, the mpc750 libcpu code is now shared with the
ppc6xx.
1999-12-02 14:58:38 +00:00
Joel Sherrill
acc25eec35 Merged of mcp750 and mvme2307 BSP by Eric Valette <valette@crf.canon.fr>.
As part of this effort, the mpc750 libcpu code is now shared with the
ppc6xx.
1999-12-02 14:31:19 +00:00
Joel Sherrill
4cf56006c7 Merged of mcp750 and mvme2307 BSP by Eric Valette <valette@crf.canon.fr>.
As part of this effort, the mpc750 libcpu code is now shared with the
ppc6xx.
1999-12-02 14:10:14 +00:00
Joel Sherrill
e4ab88fde5 Merged of mcp750 and mvme2307 BSP by Eric Valette <valette@crf.canon.fr>.
As part of this effort, the mpc750 libcpu code is now shared with the
ppc6xx.
1999-12-02 14:00:01 +00:00
Joel Sherrill
5554279677 Merged of mcp750 and mvme2307 BSP by Eric Valette <valette@crf.canon.fr>.
As part of this effort, the mpc750 libcpu code is now shared with the
ppc6xx.
1999-12-02 13:54:30 +00:00
Joel Sherrill
5d3da15b83 Removed debugging printfs. 1999-12-01 16:00:38 +00:00
Joel Sherrill
017061c561 Patch from Eric Norum <eric@cls.usask.ca> to fix a spot in the tftp file
system table from when the rtems_filesystem_operations_table structure changed
and the initializer in libnetworking/lib/tftpDriver.c did not get
updated.
1999-12-01 15:54:17 +00:00
Joel Sherrill
955a9ba74c Patch rtems-rc-19991123-rc-2.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which implements automake support for some
    score/cpu/<RTEMS_CPU> subdirectories and fixes a few minor configuration
    bugs.


    To apply:

        rm -rf c/src/exec/score/cpu/a29k/wrap
        rm -rf c/src/exec/score/cpu/hppa1.1/wrap
        rm -rf c/src/exec/score/cpu/i386/wrap
        rm -rf c/src/exec/score/cpu/mips64orion/wrap
        rm -rf c/src/exec/score/cpu/no_cpu/wrap
        patch -p1 < rtems-rc-19991123-rc-2.diff.gz

    Notes:

    * I don't see a possiblity to convert the powerpc subdirectory in its
      current layout to automake the time being.

    * Besides the fact that this subdirectory is not in single-tree building
      layout, the actual showstopper is the ifeq $(RTEMS_CPU_MODEL),mpc750)
      gmake-conditional in powerpc/Makefile.in, which automake (correctly)
      refuses to handle.

    * The problem is *not* specific to the powerpc. Other CPUs basically
      have similar problems (SH:sh7032 vs sh7045, SPARC: erc32.h in
      score/cpu/sparc), but have been lucky to get around real issues (cf.
      configuration files below score/cpu/sh/).

    * From a configuration focused POV this problem boils down to a
      file/subdirectory selection problem:
         ppc: 1 or others
         sh: 1 out of 2
         sparc: 1 out of 1
      Automake's means to implement such behavior is using conditionals to be
      evaluated at configuration-time. The old configuration scheme however
      used make-time conditionals. The SH port was lucky to get around this
      issue because it applies a selection from a limited set of possible
      selections, the powerpc however applies a selection from an unlimited
      set, based on data not being available at configuration time.

    * Currently I only see two general solutions:
       1) make RTEMS_CPU_MODEL available at configuration time, ie. replace
          make-time configuration by configuration-time configuration
       2) Perform the selection at build-time, i.e. always install all files,
          but use #ifdef #else #endif in source files. This is what the m68k has
          exploited at other locations inside of the source-tree.

    => This directory is the last one remaining not using automake below the
       whole exec/ hierarchy.
1999-12-01 15:05:26 +00:00
Joel Sherrill
1972b1e760 Patch rtems-rc-19991123-rc-2.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which implements automake support for some
    score/cpu/<RTEMS_CPU> subdirectories and fixes a few minor configuration
    bugs.


    To apply:

        rm -rf c/src/exec/score/cpu/a29k/wrap
        rm -rf c/src/exec/score/cpu/hppa1.1/wrap
        rm -rf c/src/exec/score/cpu/i386/wrap
        rm -rf c/src/exec/score/cpu/mips64orion/wrap
        rm -rf c/src/exec/score/cpu/no_cpu/wrap
        patch -p1 < rtems-rc-19991123-rc-2.diff.gz

    Notes:

    * I don't see a possiblity to convert the powerpc subdirectory in its
      current layout to automake the time being.

    * Besides the fact that this subdirectory is not in single-tree building
      layout, the actual showstopper is the ifeq $(RTEMS_CPU_MODEL),mpc750)
      gmake-conditional in powerpc/Makefile.in, which automake (correctly)
      refuses to handle.

    * The problem is *not* specific to the powerpc. Other CPUs basically
      have similar problems (SH:sh7032 vs sh7045, SPARC: erc32.h in
      score/cpu/sparc), but have been lucky to get around real issues (cf.
      configuration files below score/cpu/sh/).

    * From a configuration focused POV this problem boils down to a
      file/subdirectory selection problem:
         ppc: 1 or others
         sh: 1 out of 2
         sparc: 1 out of 1
      Automake's means to implement such behavior is using conditionals to be
      evaluated at configuration-time. The old configuration scheme however
      used make-time conditionals. The SH port was lucky to get around this
      issue because it applies a selection from a limited set of possible
      selections, the powerpc however applies a selection from an unlimited
      set, based on data not being available at configuration time.

    * Currently I only see two general solutions:
       1) make RTEMS_CPU_MODEL available at configuration time, ie. replace
          make-time configuration by configuration-time configuration
       2) Perform the selection at build-time, i.e. always install all files,
          but use #ifdef #else #endif in source files. This is what the m68k has
          exploited at other locations inside of the source-tree.

    => This directory is the last one remaining not using automake below the
       whole exec/ hierarchy.
1999-12-01 14:46:02 +00:00
Joel Sherrill
76561407a5 Patch rtems-rc-19991123-rc-2.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which implements automake support for some
    score/cpu/<RTEMS_CPU> subdirectories and fixes a few minor configuration
    bugs.


    To apply:

        rm -rf c/src/exec/score/cpu/a29k/wrap
        rm -rf c/src/exec/score/cpu/hppa1.1/wrap
        rm -rf c/src/exec/score/cpu/i386/wrap
        rm -rf c/src/exec/score/cpu/mips64orion/wrap
        rm -rf c/src/exec/score/cpu/no_cpu/wrap
        patch -p1 < rtems-rc-19991123-rc-2.diff.gz

    Notes:

    * I don't see a possiblity to convert the powerpc subdirectory in its
      current layout to automake the time being.

    * Besides the fact that this subdirectory is not in single-tree building
      layout, the actual showstopper is the ifeq $(RTEMS_CPU_MODEL),mpc750)
      gmake-conditional in powerpc/Makefile.in, which automake (correctly)
      refuses to handle.

    * The problem is *not* specific to the powerpc. Other CPUs basically
      have similar problems (SH:sh7032 vs sh7045, SPARC: erc32.h in
      score/cpu/sparc), but have been lucky to get around real issues (cf.
      configuration files below score/cpu/sh/).

    * From a configuration focused POV this problem boils down to a
      file/subdirectory selection problem:
         ppc: 1 or others
         sh: 1 out of 2
         sparc: 1 out of 1
      Automake's means to implement such behavior is using conditionals to be
      evaluated at configuration-time. The old configuration scheme however
      used make-time conditionals. The SH port was lucky to get around this
      issue because it applies a selection from a limited set of possible
      selections, the powerpc however applies a selection from an unlimited
      set, based on data not being available at configuration time.

    * Currently I only see two general solutions:
       1) make RTEMS_CPU_MODEL available at configuration time, ie. replace
          make-time configuration by configuration-time configuration
       2) Perform the selection at build-time, i.e. always install all files,
          but use #ifdef #else #endif in source files. This is what the m68k has
          exploited at other locations inside of the source-tree.

    => This directory is the last one remaining not using automake below the
       whole exec/ hierarchy.
1999-12-01 14:31:36 +00:00
Joel Sherrill
7dd4054e86 Patch rtems-rc-19991123-rc-1.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which implements automake support for some
score/cpu/<RTEMS_CPU> subdirectories and fixes a few minor configuration
bugs.

    To apply:

    rm -rf c/src/exec/score/cpu/i960/wrap
    rm -rf c/src/exec/score/cpu/m68k/wrap
    rm -rf c/src/exec/score/cpu/sh/wrap
    rm -rf c/src/exec/score/cpu/sparc/wrap
    rm -rf c/src/exec/score/cpu/unix/wrap
    patch -p1 < rtems-rc-19991123-rc-1.diff
    ./bootstrap

    Known bugs:

    * "make debug|profile" in c/src/src/score/cpu/<RTEMS_CPU/Makefile does
      not handle recursion to subdirectories correctly (recurses too often).
      However, this issue is hardly visible and should be tolerable for the
      moment.
1999-12-01 14:27:58 +00:00
Joel Sherrill
ccf8925b45 Patch rtems-rc-19991123-rc-1.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which implements automake support for some
score/cpu/<RTEMS_CPU> subdirectories and fixes a few minor configuration
bugs.

    To apply:

    rm -rf c/src/exec/score/cpu/i960/wrap
    rm -rf c/src/exec/score/cpu/m68k/wrap
    rm -rf c/src/exec/score/cpu/sh/wrap
    rm -rf c/src/exec/score/cpu/sparc/wrap
    rm -rf c/src/exec/score/cpu/unix/wrap
    patch -p1 < rtems-rc-19991123-rc-1.diff
    ./bootstrap

    Known bugs:

    * "make debug|profile" in c/src/src/score/cpu/<RTEMS_CPU/Makefile does
      not handle recursion to subdirectories correctly (recurses too often).
      However, this issue is hardly visible and should be tolerable for the
      moment.
1999-12-01 14:22:12 +00:00
Joel Sherrill
4a3757f71d Patch rtems-rc-19991123-rc-1.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which implements automake support for some
score/cpu/<RTEMS_CPU> subdirectories and fixes a few minor configuration
bugs.

    To apply:

    rm -rf c/src/exec/score/cpu/i960/wrap
    rm -rf c/src/exec/score/cpu/m68k/wrap
    rm -rf c/src/exec/score/cpu/sh/wrap
    rm -rf c/src/exec/score/cpu/sparc/wrap
    rm -rf c/src/exec/score/cpu/unix/wrap
    patch -p1 < rtems-rc-19991123-rc-1.diff
    ./bootstrap

    Known bugs:

    * "make debug|profile" in c/src/src/score/cpu/<RTEMS_CPU/Makefile does
      not handle recursion to subdirectories correctly (recurses too often).
      However, this issue is hardly visible and should be tolerable for the
      moment.
1999-12-01 14:12:58 +00:00
Joel Sherrill
4288153455 Added missing files from PPP port. 1999-11-30 22:14:28 +00:00
Joel Sherrill
d0950adfd6 Added port of ppp-2.3.5 from Tomasz Domin <dot@comarch.pl> of ComArch SA.
Tomasz only tested this on the mpc823.

The official site for the original source for this PPP implementation is:

ftp://cs.anu.edu.au/pub/software/ppp

NOTE:  As of 11/30/1999, the current version of this source is 2.3.10.
1999-11-30 22:12:50 +00:00
Joel Sherrill
48bfd99257 Renamed shm.h to shm_driver.h to avoid conflicts with POSIX shm.h.
Renamed file shmsupp/intr.c in some BSPs to shmsupp/cause_intr.c to
avoid conflict with rtems/src/intr.c (Classic API Interrupt Manager).
1999-11-30 19:58:02 +00:00
Joel Sherrill
1563d8cc7d Removed duplicate definition of rtems_filesystem_umask. 1999-11-30 16:52:21 +00:00
Joel Sherrill
1591a1aa87 Uncommitted remains of a previous patch from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which converted fiels to automake.
1999-11-30 14:43:46 +00:00
Joel Sherrill
116e54ad16 Uncommitted remains of a previous patch from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which converted fiels to automake.
1999-11-30 14:03:29 +00:00
Joel Sherrill
79f2e19f86 Split from console.c to eliminate dependencies. 1999-11-30 13:58:59 +00:00
Joel Sherrill
96344c8639 Patch rtems-rc-19991123-rc-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which (among other things) converted the mptests to automake.

    SUB_DIRS was used instead of SUBDIRS in some Makefile.ins
    (apparently a leftover from moving the start* directories)

    Addtional major bugs:
    * psxtests/include was empty (incomplete psxtests changes).
    * bogus handling of *.scn in itrontests (screens/sptests vs.
      screens/itrontests installation dirs)

    In addition I have added a few more changes (I couldn't resist)
    * automake support for itrontests
    * OPERATION_COUNT support in tmitrontests/
    * automake support for tmitrontests
    * automake suppport for mptests
    * Some (minor) corrections to several configure.in/Makefile.ams

    => c/src/tests/ is completly under automake control, now.
    => we could start to sort out the structural issues with c/src/tests
      (tests/support, stubdr, tools, get "make dist" working)
1999-11-30 13:49:04 +00:00
Joel Sherrill
e4b25c4839 Corrected so they would compile with POSIX disabled. 1999-11-30 13:46:28 +00:00
Joel Sherrill
af5f522b20 Clarified. 1999-11-29 16:07:04 +00:00
Joel Sherrill
4e91749281 Clarified status of mkfifo(). 1999-11-29 16:06:10 +00:00
Joel Sherrill
1d9a2fc5ab Patch rtems-rc-19991123-rc-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which (among other things) converted the mptests to automake.

    SUB_DIRS was used instead of SUBDIRS in some Makefile.ins
    (apparently a leftover from moving the start* directories)

    Addtional major bugs:
    * psxtests/include was empty (incomplete psxtests changes).
    * bogus handling of *.scn in itrontests (screens/sptests vs.
      screens/itrontests installation dirs)

    In addition I have added a few more changes (I couldn't resist)
    * automake support for itrontests
    * OPERATION_COUNT support in tmitrontests/
    * automake support for tmitrontests
    * automake suppport for mptests
    * Some (minor) corrections to several configure.in/Makefile.ams

    => c/src/tests/ is completly under automake control, now.
    => we could start to sort out the structural issues with c/src/tests
      (tests/support, stubdr, tools, get "make dist" working)
1999-11-29 15:45:11 +00:00
Joel Sherrill
64f55e7c32 Made sure POSIX would build with MP enabled. 1999-11-29 15:40:38 +00:00
Joel Sherrill
61581a1a82 Updated. 1999-11-29 15:11:20 +00:00
Joel Sherrill
421fae41f8 Removed bad descriptions of mount() and umount(). Added shell of an
accurate description.
1999-11-29 15:11:15 +00:00
Joel Sherrill
3dfe0b279e Fixed spacing. 1999-11-29 15:10:30 +00:00
Joel Sherrill
0894d35d3a Added chapter of list of routines provided by libm. 1999-11-24 19:03:06 +00:00
Joel Sherrill
b4957ebb9d New file. 1999-11-24 18:42:55 +00:00
Joel Sherrill
ccaeafd295 Added routines included by C library. 1999-11-24 18:42:44 +00:00
Joel Sherrill
f6b0196e08 Added information on RTEMS Time/Date Representatin. 1999-11-24 18:22:33 +00:00
Joel Sherrill
c4ea5efc61 Patch rtems-rc-19991123-rc-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which (among other things) converted the mptests to automake.
1999-11-24 14:19:26 +00:00
Joel Sherrill
e73014b9cc Added sem_timedwait to bullet list at front of chapter. 1999-11-23 19:39:19 +00:00
Joel Sherrill
3dddcce3f9 Added descriptions for bullet list and routine section headings. 1999-11-23 19:38:35 +00:00
Joel Sherrill
fbc54061c7 changed version to 19991123-rc 1999-11-23 17:12:29 +00:00
Joel Sherrill
ccf00b6a16 Added Timer Manager Chapter. 1999-11-23 17:07:40 +00:00
Joel Sherrill
95460cc616 Fixed line too long. 1999-11-23 17:07:33 +00:00
Joel Sherrill
5ab0ad6f2c New file. 1999-11-23 17:05:19 +00:00
Joel Sherrill
63bdbbdc95 Readding files mistakenly removed. 1999-11-23 16:02:26 +00:00
Joel Sherrill
49da88cc99 Patch rtems-rc-19991117-16.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
* the PACKHEX etc problem
  * prevents the *.rels being removed inside the build-tree
  * a typo which only shows for when MP is activated
  * Alters some custom/*cfg files
1999-11-23 15:53:09 +00:00
Joel Sherrill
748cdca99f Readding Makefile.in's accidentally removed. 1999-11-23 15:48:26 +00:00
Joel Sherrill
3772e2c14a *** empty log message *** 1999-11-23 14:54:42 +00:00
Joel Sherrill
a1bcc6e944 Moved pmacros.h to include not support/include. 1999-11-23 14:20:41 +00:00
Joel Sherrill
f26a3ab5d0 Patch rtems-rc-19991117-15.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the tests/support directory from Makefile.in to Makefile.am.
1999-11-23 14:16:15 +00:00
Joel Sherrill
23e3f642e4 Missed in previous automake conversion patches from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>.
1999-11-23 14:10:05 +00:00
Joel Sherrill
9f4868cea9 Miscellaneous patches from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that are part of the Makefile.am conversion effort but were missed
in the previous commits.
1999-11-23 13:57:02 +00:00
Joel Sherrill
d5b004b6e3 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the libmisc directory from Makefile.in to Makefile.am.
1999-11-23 13:52:59 +00:00
Joel Sherrill
fd170023c5 Added clock06.c to the compile list. 1999-11-23 13:45:45 +00:00
Joel Sherrill
a23cad6aa0 Files only used by psxfile01, so moved there. 1999-11-23 13:43:34 +00:00
Joel Sherrill
4b9cc0aef1 Test psxfile02 unused and removed. 1999-11-23 13:41:18 +00:00
Joel Sherrill
62fffe594a Unused and removed. 1999-11-23 13:40:26 +00:00
Joel Sherrill
c94eb25b5c Patch rtems-rc-19991117-14.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the psxtests directory from Makefile.in to Makefile.am.
1999-11-23 13:39:29 +00:00
Joel Sherrill
4c285524e4 Patch rtems-rc-19991117-12.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the libtests directory from Makefile.in to Makefile.am.
1999-11-23 13:36:18 +00:00
Joel Sherrill
e5a76ee505 Patch rtems-rc-19991117-13.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the libtests directory from Makefile.in to Makefile.am.
1999-11-23 13:35:45 +00:00
Joel Sherrill
6e9ad6ced3 Patch rtems-rc-19991117-12.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the tmtests directory from Makefile.in to Makefile.am.
1999-11-23 13:32:07 +00:00
Joel Sherrill
fba12eb6ff Patch rtems-rc-19991117-11.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the libc directory to automake and "dozens of
small fixes for Makefile.ins/configure.ins below c/src/lib."
1999-11-23 13:29:04 +00:00
Joel Sherrill
b0ab1d747b Added projects chapter to FAQ. 1999-11-23 13:23:18 +00:00
Joel Sherrill
7e642bab20 Patch rtems-rc-19991117-9.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the libc directory to automake and "dozens of
small fixes for Makefile.ins/configure.ins below c/src/lib."
1999-11-22 19:27:13 +00:00
Joel Sherrill
de759c54f5 Patch rtems-rc-19991117-8.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to fix some minor bugs in the conversion to automake.
1999-11-22 19:23:10 +00:00
Joel Sherrill
e31c63e5a8 Patch rtems-rc-19991117-7.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the sample tests to automake.
1999-11-22 19:21:38 +00:00
Joel Sherrill
5fe4a10911 Converted to automake. 1999-11-22 19:08:23 +00:00
Joel Sherrill
e188c95d96 Now replaced by an automake file. 1999-11-22 19:03:32 +00:00
Joel Sherrill
484bd0e5d4 Corrected. 1999-11-22 19:02:53 +00:00
Joel Sherrill
b8cda5a65b Added ifndef around build_time so pmacros.h and tmacros.h could be included
by the same application.
1999-11-22 19:02:35 +00:00
Joel Sherrill
7dbb0bd230 tmitrontests directory listed twice. 1999-11-22 19:02:05 +00:00
Jennifer Averett
101e9b0af9 Fixed dispatching and cleaned up code. 1999-11-22 16:14:00 +00:00
Jennifer Averett
cb3c171847 + Corrected enable/disable of dispatch.
+ Cleaned up code.
1999-11-22 16:13:22 +00:00
Jennifer Averett
2545646beb + Updated comments.
+ Corrected enable/disable of dispatch.
1999-11-22 16:12:19 +00:00
Jennifer Averett
94f81bbd8b + Corrected bug in error check. 1999-11-22 16:11:35 +00:00
Jennifer Averett
2c3af4c5da + Added description of routine to comment. 1999-11-22 16:10:25 +00:00
Jennifer Averett
0ca4fc83a4 + Corrected error processing code. 1999-11-22 16:09:55 +00:00
Jennifer Averett
f85409cf9c + Added checks for NULL and NULL string names (for sem_open & sem_unlink). 1999-11-22 16:08:53 +00:00
Jennifer Averett
0ebf569402 + Cleaned up comments. 1999-11-22 16:07:02 +00:00
Jennifer Averett
24f6608c94 + Corrected error messages.
+ Added tests for sem_open, sem_close, and sem_unlink.
+ Yellow lined sem_open, sem_close, sem_unlink,
  _POSIX_Semaphore_Delete, _POSIX_Semaphore_Name_to_id,
  and _POSIX_Semaphore_Create_support. Except for MP, pshared
  OBJECT_REMOTE, and out of memory paths.
1999-11-22 16:05:09 +00:00
Joel Sherrill
b41a0d197c RTEMS RPM basically working. 1999-11-22 14:30:41 +00:00
Joel Sherrill
28cc1728df Removed need for START_BASE. 1999-11-22 14:28:36 +00:00
Joel Sherrill
650526857e Added ifndef around build_time macro so tmacros.h and pmacros.h
can be included from the same file.
1999-11-22 14:28:19 +00:00
Joel Sherrill
6b910bd2d2 Use PGM consistently. 1999-11-22 14:27:04 +00:00
Joel Sherrill
c99d395a32 Made it agree on PGM versus PGM/PGMS. 1999-11-22 14:26:36 +00:00
Joel Sherrill
b7912a89de Changed name of W, X, and Y macros for fields in the Clock
Synthesizer Control Register to remove use of single letter names.
1999-11-22 14:25:01 +00:00
Joel Sherrill
561e4ff697 Adding files missed by earlier merger of SH-2. 1999-11-22 14:03:16 +00:00
Joel Sherrill
875fbdbb49 Added files missed by previous merger of SH-2 port. 1999-11-22 13:48:10 +00:00
Joel Sherrill
b22a19e1e7 Adding files not added as part of merger of SH2 port. 1999-11-22 13:46:50 +00:00
Joel Sherrill
27ea47c11f Removed unneeded directory. 1999-11-22 13:45:55 +00:00
Joel Sherrill
9608320702 Patch rtems-rc-19991117-4.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
.. a major configuration cleanup
    ... major enhancement of automake support.

    ... and it contains a *major*  breakthough:

    Automake support for libchip and libmisc *LEAF* directories.

    To implement this I have used several nasty tricks
        * The basical trick is to wrap an old Makefile.in's contents into a
          Makefile.am and still continue to use (i.e include) the old
          *.cfg files.

        * Replaced each INSTALL_IF_CHANGE and INSTALL_VARIANT with make
          dependencies
        * Add a gnu-make ifdef AUTOMAKE to main.cfg to avoid conflicts between
          automake and RTEMS make rules
        * Replaced each install:: and preinstall:: rule with make dependencies
        * Replaced SUB_DIRS with SUBDIRS in all Makefile.ins (Automake
          convention)
        * Removed each manually added autoconf substitution which automake
          performs automatically.

    This is not yet full automake support, because using the temporary
    installation directory, preinstallation in general and building variants
    are in contradiction to automake's basic working principles ...

    ... the new Makefile.ams work still somewhat clumsy
    ... nevertheless they work (quite well).

    WARNING:

    At first glance this patch is small, but
        * it affects the whole configuration system.
        * it opens the road to introducing automake to all Makefile.ins
          currently not being under automake control.

    JOEL> Does this remove or add any files?

    Both, all Makefile.ins below libchip and libmisc get replaced with
    Makefile.ams.
1999-11-22 13:41:11 +00:00
Joel Sherrill
75f2b0b0ef Small patch (rtems-rc-19991117-5.diff) from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> to correct the constraints on the
inline assembly language macro for sh_disable_interrupt.
1999-11-22 13:12:48 +00:00
Joel Sherrill
d2a05e767b Renaming all BSP specific startXXX directories to use the same name (start). 1999-11-19 16:40:40 +00:00
Joel Sherrill
9c0385aaa9 Renaming all BSP specific startXXX directories to use the same name (start). 1999-11-19 16:22:09 +00:00
Joel Sherrill
149f3f9642 Moved startsis to start. 1999-11-19 16:06:32 +00:00
Joel Sherrill
97c465c223 Minor cleanup to reduce the code space. 1999-11-18 21:30:12 +00:00
Joel Sherrill
4a238002e7 Patch from "John M. Mills" <jmills@tga.com> with subsequent cleanup from
Ralf Corsepius <corsepiu@faw.uni-ulm.de> that adds initial Hitachi SH-2
support to RTEMS.  Ralf's comments are:

    Changes:
    ------
    1. SH-Port:
    * Many files renamed.
    * CONSOLE_DEVNAME  and MHZ defines removed from libcpu.
    * console.c moved to libbsp/sh/shared, build in libbsp/sh/<BSP>/console
      applying VPATH.
    * CONSOLE_DEVNAME made BSP-specific, replacement is defined in bsp.h
    * MHZ define replaced with HZ (extendent resolution) in custom/*.cfg
    * -DHZ=HZ  used in bspstart.c, only
    * Makefile variable HZ used in bsp-dependent directories only.

    2. SH1-Port
    * clock-driver rewritten to provide better resolution for odd CPU
      frequencies. This driver is only partially tested on hardware, ie.
      sightly experimental, but I don't expect severe problems with it.
    * Polling SCI-driver added. This driver is experimental and completly
      untested yet. Therefore it is not yet used for the console (/dev/console
      is still pointing to /dev/null, cf. gensh1/bsp.h).
    * minor changes to the timer driver
    * SH1 specific delay()/CPU_delay() now is implemented as a function

    3. SH2-Port
    * Merged
    * IMO, the code is still in its infancy. Therefore I have interspersed
      comments (FIXME) it for items which I think John should look after.
    * sci and console drivers partially rewritten and extended (John, I hope
      you don't mind).
    * Copyright notices are not yet adapted
1999-11-18 21:22:58 +00:00
Joel Sherrill
5503d75c00 Corrected to include extra arguments for simulators on sparc
and powerpc targets.
1999-11-18 20:41:13 +00:00
Joel Sherrill
ea72a6c16c Corrected to remove references to non-existent subpackages. 1999-11-18 20:40:23 +00:00
Joel Sherrill
1479c223de Added code to set extra configure arguments for sparc and powerpc targets
such that the simulator is enabled.

Also corrected a typo which prevented the simulator files from being
included in the file list.
1999-11-18 20:38:27 +00:00
Joel Sherrill
97d7eaf83a Added ";;" to correct syntactical error. 1999-11-18 20:37:29 +00:00
Jennifer Averett
c38f5f162f Added EINVAL for passing a NULL pointer in. 1999-11-18 19:55:28 +00:00
Jennifer Averett
8c5cc6b250 Added test code for named semaphores and moved to use of directive_failed
family of macros to produce better checks and diagnostic messages.
1999-11-18 19:51:13 +00:00
Jennifer Averett
23168f53d0 Started to added POSIX message queue test code. 1999-11-18 19:50:45 +00:00
Jennifer Averett
105d787200 Added routine to remove an object from the namespace. It just clears
its name in the name_table.  This was required by the POSIX semaphore
and message queue managers which support a concept of open, close, and
unlink.  The object becomes "invisible" to further opens following an
unlink but all open sessions remain active until they are closed.  This
requires that the removal of an object ID be separate from the removal
of its name.
1999-11-18 19:50:15 +00:00
Jennifer Averett
17879f4750 + Debuged to the point that you could open, unlink and close a semaphore.
but all paths have not been checked, yet.
1999-11-18 19:43:13 +00:00
Jennifer Averett
c9ae846b0e Added a routine to remove a semaphore name from its namespace. 1999-11-18 19:41:34 +00:00
Joel Sherrill
f811c8e2a2 Removed IT_COUNT since it was not used. 1999-11-18 17:05:44 +00:00
Joel Sherrill
dd9c6e0d50 Patch rtems-rc-19991117-0.diff.gz from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which corrects some configuration
problems and cleans up a few Makefile.in's.
1999-11-18 14:06:48 +00:00
Joel Sherrill
b7852c27b1 Patch rtems-rc-19991105-3.diff.gz from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which turns OPERATION_COUNT into a configure
time option.
1999-11-18 13:58:02 +00:00
Jennifer Averett
40fe60a3cb Comment added. 1999-11-17 20:44:13 +00:00
Joel Sherrill
4ea3e14ce6 changed version to 19991117 1999-11-17 18:59:02 +00:00
Joel Sherrill
e172d36cee changed version to 19991117 1999-11-17 18:42:21 +00:00
Joel Sherrill
5f577302b4 Removed reference to Jennifer. 1999-11-17 18:39:07 +00:00
Joel Sherrill
08311cc3a9 Updated copyright notice. 1999-11-17 17:51:34 +00:00
Joel Sherrill
20f54e96e3 Removed as part of patch rtems-rc-19991105-1.diff.gz from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>.
1999-11-17 17:48:25 +00:00
Joel Sherrill
39827cc0de Now allows override of base address via -Ttext command to linker. 1999-11-17 17:31:51 +00:00
Jennifer Averett
d2b8d742be + Updated copyright information. 1999-11-17 16:58:04 +00:00
Jennifer Averett
9d9a3dd8d3 + Updated copyright information. 1999-11-17 16:47:58 +00:00
Joel Sherrill
ce8cd34e34 New date. 1999-11-17 15:52:26 +00:00
Joel Sherrill
368d9a3463 changed version to 19991117 1999-11-17 15:51:39 +00:00
Joel Sherrill
23d9392f69 New file documenting the on board monitor (PPCBUG) configuration used
to be able to boot the archives located in powerpc-rtems/c/mcp750/bin.
This information was provided by Eric Valette <valette@crf.canon.fr>
1999-11-17 15:42:18 +00:00
Joel Sherrill
0d523caf97 Patch rtems-rc-19991105-2.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
His comments follow:

  This is a minor enhancement to shgen, which should not have any
  side-effects.
1999-11-17 15:36:57 +00:00
Joel Sherrill
2d8a4ed0d6 Conditionally take out the offensive pragma pack when on RTEMS in addition
to UnixWare (UW).
1999-11-17 15:32:30 +00:00
Joel Sherrill
4ccd0203a2 New shell of a test for ITRON Mailbox Manager. 1999-11-17 15:24:32 +00:00
Joel Sherrill
5e96e91757 Updated Mailbox Manager submitted and split into multiple files. 1999-11-17 15:24:11 +00:00
Joel Sherrill
c730be8f61 Corrected spacing. 1999-11-17 15:04:32 +00:00
Joel Sherrill
8a33a48bca Correctd name of document produced for consistency. 1999-11-17 15:04:26 +00:00
Joel Sherrill
2eda969b73 Updated to reflect Mailbox Manager submission. 1999-11-17 15:03:55 +00:00
Joel Sherrill
1c10acc7f3 Update from Andrew D. McDowell <amcdowel@cs.uah.edu> with modifications
by Joel and Jennifer based on experience merging the other managers
and cleaning them up.  No test code is available at this point.
1999-11-17 14:56:18 +00:00
Joel Sherrill
0545e15c16 Fixed screen. 1999-11-16 22:57:58 +00:00
Joel Sherrill
0b0441afd8 Added TERMINAL_IDENTIFICATION pieces. 1999-11-16 22:57:32 +00:00
Joel Sherrill
38d65f80d5 Fixed alignment problem on _endtext. 1999-11-16 22:56:53 +00:00
Joel Sherrill
aad726ebd4 Moved task_variable pointer to basic shared part of TCB instead of
RTEMS API extension to avoid problems when the extension is freed.
Eventually the task variable switch extension should become part
of the core context switch and the Ada tcb self implemented in
terms of it.
1999-11-16 22:56:38 +00:00
Joel Sherrill
987445baf4 Added proper nesting level for dispatch disable check. 1999-11-16 22:55:11 +00:00
Joel Sherrill
96c2db619f Added code so if dispatching level is specified to be -1, then no
check is performed.  This is needed in some timer service routines
since they are called from multiple disable levels.
1999-11-16 22:51:47 +00:00
Joel Sherrill
cea3304914 Corrected nesting level on dispatching verification. 1999-11-16 22:51:06 +00:00
Joel Sherrill
0beded61bc Corrected disable dispatch nesting count checks. 1999-11-16 22:50:08 +00:00
Jennifer Averett
4efe2b7a5d Added check to return passed if task is not suspended. 1999-11-16 22:47:23 +00:00
Jennifer Averett
0fa51b5b0a Added code to catch the error of suspend count exceding the counter value. 1999-11-16 22:46:55 +00:00
Jennifer Averett
9181246072 Fixed bug. 1999-11-16 22:45:51 +00:00
Jennifer Averett
18c315533b Added handler for fsync. For the memfile it is the same as the data sync. 1999-11-16 22:45:33 +00:00
Joel Sherrill
d2bfbaf2b1 Fixed spacing. 1999-11-16 21:56:45 +00:00
Joel Sherrill
a47e653a2c Changed name of document generated. 1999-11-16 21:56:31 +00:00
Joel Sherrill
8ea517843a Added ITRON 3.0 API User's Guide. 1999-11-16 21:53:59 +00:00
Joel Sherrill
46139bf3ab Fixed typo. 1999-11-16 21:53:35 +00:00
Joel Sherrill
00b335e247 Corrected status. 1999-11-16 21:46:16 +00:00
Joel Sherrill
ca7d922c8e Fixed typo. 1999-11-16 21:32:09 +00:00
Jennifer Averett
9c7867b64c Inserted output from the erc32 run into the output file. 1999-11-16 21:30:41 +00:00
Joel Sherrill
7fe5ff380e Use miniIMFS like hello from samples. 1999-11-16 21:15:03 +00:00
Joel Sherrill
a470c0eeff Increased stack space because message buffers are on the stack. 1999-11-16 21:10:48 +00:00
Jennifer Averett
22542b6ba7 Removed leading space from output. 1999-11-16 20:50:36 +00:00
Jennifer Averett
f89df68270 Added comment indicating that dup is known to be broken. 1999-11-16 20:50:07 +00:00
Jennifer Averett
47c77059a0 Added data to the log file so it matches the real output. 1999-11-16 20:49:18 +00:00
Jennifer Averett
ac0ba84277 Added comment to log file indicating that task order is not
critical.
1999-11-16 20:48:48 +00:00
Jennifer Averett
36072c8a5d Added test case of rsm_tsk and frsm_tsk on a task not suspended.
This should result in nothing happening, but an E_OK result.
1999-11-16 20:47:30 +00:00
Joel Sherrill
3db81880fe Fixed spacing. 1999-11-16 20:22:25 +00:00
Joel Sherrill
1573ec8aed New file. 1999-11-16 20:02:43 +00:00
Joel Sherrill
0660b4f892 Changed copyright date to 1999. 1999-11-16 19:50:56 +00:00
Joel Sherrill
086a898af2 Added copyright. 1999-11-16 19:47:37 +00:00
Joel Sherrill
3135649340 Changed release date. 1999-11-16 19:43:14 +00:00
Joel Sherrill
8f9efcb994 Added status chapter. 1999-11-16 19:41:31 +00:00
Joel Sherrill
71689d441e Added reference to rtems_get_class, rtems_get_node, and rtems_get_index
so users know they are part of the public API.
1999-11-16 18:40:25 +00:00
Joel Sherrill
dc2b3376dd Added task variable services. 1999-11-16 18:28:20 +00:00
Joel Sherrill
1dbf307fd6 Added categorized list of constants in confdefs.h. 1999-11-16 18:28:06 +00:00
Joel Sherrill
90378e483f Added BSP_MAXIMUM_OPERATION_COUNT and BSP_ITERATION_COUNT
which allow the BSP to override the default number of objects
that will be created in the timing tests.  This is useful for
reducing memory consumption on small targets.  The BSP_ITERATION_COUNT
can be used to reduce the number of repititions in some of the
tests.  This is useful for extremely slow targets (we haven't seen
any slow enough to justify modifying this one yet though. :)
1999-11-16 16:23:26 +00:00
Joel Sherrill
4b960e5f29 Added code to the macros which checked directive status to also
check that the _Thread_Dispatch_disable_level is set to the
proper value (0 99% of the time).  This automatic check significantly
reduces the chance of mismatching disable/enable dispatch pairs
while doing internal RTEMS work.
1999-11-16 16:21:00 +00:00
Joel Sherrill
72d4b1d96d Use the miniIMFS to reduce code space. 1999-11-16 16:19:06 +00:00
Joel Sherrill
a20190a408 Added test cases for uname(). 1999-11-16 16:15:05 +00:00
Joel Sherrill
65a38bcab7 Web server uses the POSIX API. Therefor, it must be disabled when the
POSIX API is disabled.
1999-11-16 16:14:37 +00:00
Joel Sherrill
ce18601a7d Removed start subdirectory and distributed contents to the appropriate
places under the libbsp tree.
1999-11-16 16:13:26 +00:00
Joel Sherrill
0cb7cb9e7c Added comments. 1999-11-16 16:10:39 +00:00
Joel Sherrill
d3fdf45917 Now use _Thread_Reset(). 1999-11-16 16:09:50 +00:00
Joel Sherrill
88cb6b22ab Added threadreset.c. 1999-11-16 16:08:10 +00:00
Joel Sherrill
f6d082148b Added prototype for _Thread_Reset() and numerous comments. 1999-11-16 16:07:52 +00:00
Joel Sherrill
c09454282b Only check for System V IPC if multiprocessing is enabled. The unix
port only uses System V IPC for shared memory and semaphores to
communicate between nodes in a multiprocessor configuration.  If you
disable multiprocessing, then this code should be unused.  Thus systems
like Cygwin which are POSIX but do not support System V IPC should
not work.
1999-11-16 16:07:17 +00:00
Joel Sherrill
f4b76ab569 Fixed so can be included multiple times in the executive source. 1999-11-16 16:04:51 +00:00
Joel Sherrill
31473b7107 Works now.
Removed times() since the version in the C Library support code is
fine.
1999-11-16 16:03:21 +00:00
Joel Sherrill
165fe39ff2 Return a reasonable error other than ENOSYS. 1999-11-16 16:01:54 +00:00
Joel Sherrill
7fec3b7a36 Added call to _Watchdog_Remove to remove the sporadic timer. It was
being reinserted onto the ticks chain.
1999-11-16 16:01:32 +00:00
Joel Sherrill
2c0e896e9c Moved utsname from "build for now" (unimplemented files) to the main
list of C_PIECES since it is now implemented.
1999-11-16 16:00:11 +00:00
Joel Sherrill
d280ce18b8 Comment fixed when adding prototype for
_ITRON_Message_buffer_Translate_core_message_buffer_return_code.
1999-11-16 15:58:21 +00:00
Joel Sherrill
bd462d1146 New file. 1999-11-16 15:52:49 +00:00
Joel Sherrill
d6c8352925 Patch rtems-rc-19991105-1.diff.gz from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which does the following:

    This is the configuration cleanup patch:

    Main changes:
      * TARGET_ARCH removed
      * target.cfg.in moved to c/make/target.cfg.in (Only configured once for
        all BSPs of a target)
      * BARE_XXX variables appended to bsp.cfg.in
      * autogen renamed to bootstrap
      * removed stray variables from make/custom/*.cfg

    To apply:
        cd <source-tree>
        rm c/src/make/target.cfg.in
        cp autogen bootstrap
        mkdir c/make
        cp make/target.cfg.in c/make/target.cfg.in
        rm make/target.cfg.in
        rm autogen
        patch -p1 < rtems-rc-19991105-1.diff
1999-11-16 15:48:11 +00:00
Jennifer Averett
fa3346f509 Modified file to match seen output. 1999-11-16 15:41:58 +00:00
Jennifer Averett
f9879915b9 Modified output file to match seen output. Added comment to all ino
values that they may change slightly on a processor basis.
1999-11-16 15:41:29 +00:00
Jennifer Averett
e9b00d7628 Removed compiler warning. 1999-11-16 15:40:40 +00:00
Jennifer Averett
d37aa4442a Changed asserts to tmmacros. 1999-11-16 15:39:08 +00:00
Jennifer Averett
2d82857db3 Updated scn file to match new output. Left out unemplemented
parts as a reminder to fix when these routines became implemented.
1999-11-16 15:38:44 +00:00
Jennifer Averett
4761995134 + Changed ID to 1. ( Compilation error introduced by modifications. ) 1999-11-16 15:33:10 +00:00
Jennifer Averett
1da9f4bdff Modified scan file to match. 1999-11-16 15:30:04 +00:00
Joel Sherrill
817031fa5c New file. 1999-11-16 15:28:03 +00:00
Joel Sherrill
c7016198fa Added. 1999-11-16 15:27:52 +00:00
Joel Sherrill
b88691c30f Source and destination arguments to strncpy were swapped. This mistake
was made in the conversion of bcopy() to strncpy().
1999-11-16 15:26:29 +00:00
Joel Sherrill
c276c87111 Added itron tests. 1999-11-16 15:24:30 +00:00
Jennifer Averett
3fb7b70be2 Changed to call tmmacros instead of assert. 1999-11-16 14:39:56 +00:00
Joel Sherrill
56e61bb8e1 Patch rtems-rc-19991105-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This is the gdb.spec.in fix patch:

        * install infos gzip-ed
        * add gdb to group rtems
1999-11-16 14:24:50 +00:00
Joel Sherrill
ac656f2dc4 Moved start code from lib/start to libbsp. 1999-11-16 14:15:56 +00:00
Joel Sherrill
25f705eebf Moved start code from lib/start to libbsp. 1999-11-16 13:55:35 +00:00
Joel Sherrill
1d04e1673e Moved start code from lib/start to libbsp. 1999-11-16 13:45:51 +00:00
Joel Sherrill
7f93f772d8 Committed modifications from ITRON Task and Task Dependendent Synchronization
Working Group.  Included are tests.
1999-11-16 13:37:49 +00:00
Joel Sherrill
a7d988a53e Minor changes since new Makefile. 1999-11-16 13:37:25 +00:00
Joel Sherrill
14dbf50aa2 Added start subdirectory. 1999-11-16 13:34:41 +00:00
Joel Sherrill
1bcdb3f6ec Committed modifications from ITRON Task and Task Dependendent Synchronization
Working Group.  Included are tests.
1999-11-16 13:31:13 +00:00
Joel Sherrill
80fd69998a Removed nanosleep() since it is now in its own file. 1999-11-15 22:19:51 +00:00
Jennifer Averett
40aac293b7 Returned third parameter for a NULL name to the objects open call. 1999-11-15 21:37:56 +00:00
Jennifer Averett
2578970553 + Fixed files to consistantly use a case of the location after calls
to ITRON_Task_Get.
+ Modified to consistantly call _ITRON_return_errorno with E_OK.
+ Optimized the code to not disable dispatch prior to checking input values.
1999-11-15 21:35:14 +00:00
Jennifer Averett
1ae60eb4e6 + Modified to use new Thread_Reset routine instead of the restart method. 1999-11-15 21:31:28 +00:00
Jennifer Averett
e672263c39 Fixed verificaiton checks to call correct macro if dispatch is disabled. 1999-11-15 21:28:21 +00:00
Jennifer Averett
06380cfeac + Added check that a task could be sent to a dormant state
then sta_tsk used to restart the task to its initial state.
+ Added calls to ref_tsk to yellow paths for suspended and
  ready but not running tasks.
+ Fixed output file to correctly state test name
+ Added priority of preempt to the header file.  Allows ref_tsk verification.
1999-11-15 21:25:53 +00:00
Jennifer Averett
0f88857a3a + Changed preempt routine into two dummy tasks one that is in dormant
state and one that is in non-dormant state.
+ Increased the priority of the Init task to force the dummy tasks to
  run first.
+ Added calls to ref_tsk to verify the state of the dummy tasks and
  test ref_tsk.
1999-11-15 21:19:58 +00:00
Joel Sherrill
cb193710f4 Added paragraph describing SUSP. 1999-11-15 21:04:01 +00:00
Joel Sherrill
9da09940e4 Split ITRON Message Buffer Manager into multiple files. 1999-11-15 17:15:58 +00:00
Joel Sherrill
fb27af7637 Split ITRON semaphore manager into multiple files. 1999-11-15 16:39:01 +00:00
Joel Sherrill
afb11f80e6 + Modified calls to use TSK_SLF for calls to self.
+ Modified calls to use the task id macro for calls to the PREEMPT task.
1999-11-12 22:00:10 +00:00
Joel Sherrill
624d7ca497 + Added comments on paths tested. 1999-11-12 21:27:42 +00:00
Joel Sherrill
e8c902cd41 + Added check for priority over 256.
+ Modified output to correctly state the error.
1999-11-12 21:26:54 +00:00
Joel Sherrill
8ed3125de3 Added comments for path's tested. 1999-11-12 21:24:56 +00:00
Joel Sherrill
d8f3f65be0 + Changed validation of the_thread to validation of location.
+  Modified correct return path to call _ITRON_return_errorno( E_OK ) instead
   of enabling dispatching and returning E_OK.
1999-11-12 21:23:34 +00:00
Joel Sherrill
2979c288bb + Changed validation of the_thread to validation of location.
+  Removed error path that should never happen.
1999-11-12 21:21:09 +00:00
Joel Sherrill
3971537bd2 + Changed validation of the_thread to validation of location. 1999-11-12 21:20:04 +00:00
Joel Sherrill
037a7b16a1 + Moved error checks to before the disable dispatch where possible. 1999-11-12 21:18:36 +00:00
Joel Sherrill
0c5ab52207 Added comment about the E_CTX error condition (Implementation dependent). 1999-11-12 21:16:45 +00:00
Joel Sherrill
c257429f61 + Moved error checks to before the dispatch disable where possible.
+  Modified correct return path to call _ITRON_return_errorno( E_OK ) instead
   of enabling dispatching and returning E_OK.
1999-11-12 21:15:12 +00:00
Joel Sherrill
2183b65b81 + Modified correct return path to call _ITRON_return_errorno( E_OK ) instead
of enabling dispatching and returning E_OK.
+  Changed validation of the_thread to validation of location.
+  Set correct error code when dormant state.
+  Fixed comment.
1999-11-12 21:13:52 +00:00
Joel Sherrill
ea6bfcbe1e + Modified correct return path to call _ITRON_return_errorno( E_OK ) instead
of enabling dispatching and returning E_OK.
+  Changed validation of the_thread to validation of location.
1999-11-12 21:12:27 +00:00
Joel Sherrill
6af8143502 Corrected so now actually indexes into the allocation block. 1999-11-12 15:54:48 +00:00
Joel Sherrill
1925ec9be4 Corrected remaining references to struct rtems_task_variable_t since
it is now typedef'ed.
1999-11-12 15:54:07 +00:00
Joel Sherrill
a8d72dea01 Removed unnecessary 3rd parameter. 1999-11-12 15:53:29 +00:00
Joel Sherrill
6bd132e549 New file. 1999-11-12 15:37:09 +00:00
Joel Sherrill
95bb279973 Used typedef so all "struct rtems_task_variable_t" uses are now
just "rtems_task_variable_t".
1999-11-12 14:54:13 +00:00
Joel Sherrill
884b460d64 Added per-task variable data stucture (rtems_task_variable_t),
task_variables field to API extension, and two directives
(rtems_task_variable_add and rtems_task_variable_delete).
1999-11-12 14:52:36 +00:00
Joel Sherrill
f477165695 Test name changed to reflect placement after merger. 1999-11-12 14:51:03 +00:00
Joel Sherrill
ec0b5ce5d7 Test name changed to reflect placement after merger.
Changed output to reflect what was actually being tested.
1999-11-12 14:50:42 +00:00
Joel Sherrill
3136f5c917 Test name changed to reflect placement after merger.
Increased stack space.
1999-11-12 14:49:47 +00:00
Joel Sherrill
5aa5560746 Added per task variables based on patch from Eric Norum <eric@cls.usask.ca>.
After being submitted, this support was rewritten to be inside the
executive rather than layered on top of it using an extension.
1999-11-12 14:38:19 +00:00
Joel Sherrill
3c49a508aa Cleaned up style. 1999-11-12 14:15:50 +00:00
Joel Sherrill
3ad17f56e0 Removed redundant line. 1999-11-12 13:46:04 +00:00
Joel Sherrill
e972ff03d4 Merged message buffer code from CS595 projects. 1999-11-12 13:46:03 +00:00
Joel Sherrill
6977b3886a Enabled after merging message buffer code. 1999-11-12 13:45:39 +00:00
Joel Sherrill
f9078d1da0 Added comment block and removed include of deleted file. 1999-11-12 13:22:31 +00:00
Joel Sherrill
33bbd74680 Added information about the NTP servier field and included a copy
of the C definition of the configuration structure.
1999-11-11 02:51:31 +00:00
Joel Sherrill
d102810ea0 Updated. 1999-11-11 02:39:12 +00:00
Joel Sherrill
dc83752971 Screen updated. 1999-11-11 02:23:26 +00:00
Joel Sherrill
458d4e6652 Added new test sp28 to test the task variable directives. 1999-11-11 02:23:04 +00:00
Joel Sherrill
713b2eac2f General cleanup. Test documentation improved. The message buffer test
prints a message instead of actually testing since the message buffer
implementation is not in yet.
1999-11-10 22:15:42 +00:00
Joel Sherrill
59d1127f13 Corrected to account for the way memory is divided up in
_Object_Extend_information.  This change is a side-effect of the
change made to that file to fix an alignment problem.
1999-11-10 22:14:26 +00:00
Joel Sherrill
7d29dc7f61 Added line to make sure HAS_ITRON_API is defined in Makefile. 1999-11-10 22:13:42 +00:00
Joel Sherrill
72719d29fc Added call to _Thread_Enable_dispatch() and did some cleanup. 1999-11-10 20:37:01 +00:00
Joel Sherrill
74db82a343 rtems_semaphore_flush test from Eric Norum <eric@cls.usask.ca>. 1999-11-10 20:36:25 +00:00
Joel Sherrill
cbccd37599 Patch from Eric Norum <eric@cls.usask.ca> which includes:
Patches against 1105 snapshot to add NTP server support to network
    configuration/BOOTP.
1999-11-10 14:31:11 +00:00
Joel Sherrill
442d047832 Combination of committing some new files which had been overlooked
and adding code which installed screens for itron tests.
1999-11-10 14:19:55 +00:00
Joel Sherrill
eb02f47b12 Committed modifications from ITRON Task and Task Dependendent Synchronization
Working Group.  Included are tests.
1999-11-10 13:48:27 +00:00
Joel Sherrill
dcc1f6b666 Added support for ITRON tests. 1999-11-10 13:45:54 +00:00
Joel Sherrill
a5f5acadde Updated to include more documentation from CS595. 1999-11-10 13:38:34 +00:00
Joel Sherrill
aff08f541b Better formatting. 1999-11-10 13:21:33 +00:00
Joel Sherrill
bab5ba4446 Added more tasking tests. 1999-11-09 23:28:04 +00:00
Joel Sherrill
e099180999 Merged tests from Task group. 1999-11-09 23:27:05 +00:00
Joel Sherrill
3d67661f9d Added nesting count for suspend/resume. 1999-11-09 23:10:48 +00:00
Joel Sherrill
70e9af9233 Changed B, H, and W variables to BVar, HVar, and WVar to avoid conflicts
with ITRON 3.0 data types regardless of how dumb it is to name
types with a simple letter.
1999-11-09 22:45:35 +00:00
Joel Sherrill
e18ba7f0f6 Commented out single letter type names since they conflict with
numerous other uses of the same variable.
1999-11-09 22:25:55 +00:00
Joel Sherrill
c73b8ac27f This patch adds the basic framework for the ITRON 3.0 API implementation
for RTEMS.
1999-11-09 22:18:43 +00:00
Joel Sherrill
c8cad18820 Removed. 1999-11-09 22:16:16 +00:00
Joel Sherrill
ad502d182a Renamed classes to avoid single letter class names. 1999-11-09 22:14:21 +00:00
Joel Sherrill
352c9b2035 This patch adds the basic framework for the ITRON 3.0 API implementation
for RTEMS.
1999-11-09 22:07:23 +00:00
Joel Sherrill
1007c3c8ba Fixed warning where initialized default POSIX API structure did
have have semaphores and message queue fields.
1999-11-09 19:54:40 +00:00
Joel Sherrill
bd0b378838 Removed unused variable warning. 1999-11-09 19:45:23 +00:00
Joel Sherrill
1baa05972e Converted from DOS to UNIX filemode. 1999-11-09 16:40:44 +00:00
Joel Sherrill
aebc7aa507 Corrected lines that were too long. 1999-11-09 16:23:29 +00:00
Joel Sherrill
6457fae2c4 Fixed formatting error. 1999-11-09 16:23:20 +00:00
Joel Sherrill
668200808b Corrected manual name. 1999-11-09 16:23:10 +00:00
Joel Sherrill
15c8c37457 Integrated into main tree. 1999-11-09 16:22:36 +00:00
Joel Sherrill
b671c6a25f Update from Jennifer. 1999-11-09 15:49:45 +00:00
Joel Sherrill
d55af6dd1d Now using libchip instead of local precursor to libchip. Untested. 1999-11-09 15:38:47 +00:00
Joel Sherrill
53b184719a Removed reaching "up and over" to install BSP header files. 1999-11-09 13:40:57 +00:00
Joel Sherrill
b440e57bdb Added imfs_unixstub.c to satisfy linker problems on UNIX port. 1999-11-09 13:40:30 +00:00
Joel Sherrill
3fb8909aae sem_close was accidentally lost in the split. 1999-11-09 13:39:42 +00:00
Joel Sherrill
a8df60b31d New test for POSIX Message Queues added. 1999-11-09 13:38:00 +00:00
Joel Sherrill
27eb3ecf3c New files. 1999-11-09 13:36:26 +00:00
Joel Sherrill
41d2eaca38 Added more status information. 1999-11-09 04:31:26 +00:00
Joel Sherrill
a0af97d2bf Patch from Eric Norum <eric@cls.usask.ca> to add NTP BOOTP support because
EPICS needs a synchronized time-of-day clock.  This patch is the changes
needed to get NTP server information from a BOOTP server.

This patch also adds NTP server information to the network configuration
structure, too.
1999-11-09 03:43:47 +00:00
Joel Sherrill
84bf329159 Added #define to make this file exactly like its siblings in mpc821
and mpc860 directories.
1999-11-09 03:37:40 +00:00
Joel Sherrill
78facc4915 Removed "up and over" into libbsp/.../include. 1999-11-09 02:50:26 +00:00
Joel Sherrill
9af31a6e92 Moved include files to hppa1.1 subdirectory and put their sources
in the include directory.
1999-11-09 02:32:37 +00:00
Joel Sherrill
bb11d7e540 Removed runway directory and moved contents to include. 1999-11-09 02:31:37 +00:00
Joel Sherrill
3869b5332f Added Status chapter. 1999-11-09 02:04:33 +00:00
Joel Sherrill
b8a0aad138 Corrected flaws which prevented formatting with texi2pdf since it
is stricter on node names.
1999-11-09 02:04:01 +00:00
Jennifer Averett
f758f8102a Correctly set and called handlers table for the link. 1999-11-05 22:26:12 +00:00
Jennifer Averett
089ad91deb Fixed comment 1999-11-05 22:25:16 +00:00
Jennifer Averett
7f6a07504e Moved imfs set handlers prototype to the imfs.h file. 1999-11-05 22:24:56 +00:00
Joel Sherrill
f26592f553 changed version to 19991105 1999-11-05 21:21:05 +00:00
Joel Sherrill
bf2cf8e60c New file. Added as part of adding a formal API to this object. 1999-11-05 21:20:30 +00:00
Joel Sherrill
378fe02519 New file. 1999-11-05 21:11:09 +00:00
Joel Sherrill
94b357c2b3 Unmount was failing as a side-effect of splitting the rmnod handler
and not handling every case properly.
1999-11-05 21:10:54 +00:00
Joel Sherrill
6c85bdda73 Removed. 1999-11-05 19:40:48 +00:00
Joel Sherrill
e639b998f5 Added this file as a way to build RPMs for CPUs that would only
successfully build C/C++ and not all of the other languages
included in late model egcs/gcc releases.
1999-11-05 19:40:42 +00:00
Joel Sherrill
1c55d2e868 Split unistd.c file into sysconf.c and sleep.c. 1999-11-05 19:38:37 +00:00
Joel Sherrill
7edb9281a2 Following comments from Eric Norum <eric@cls.usask.ca>, a fairly
substantial upgrade of newlibc.c occurred.  Now the user extension
data area is used rather than notepads and as many routines as possible
were split into other files further reducing the minimum footprint
of an RTEMS executable.
1999-11-05 19:02:03 +00:00
Joel Sherrill
0fab6dded8 Patch from Eric Valette <valette@crf.canon.fr> so this will build
independently of a BSP.
1999-11-05 17:49:56 +00:00
Joel Sherrill
968f774296 Fixed typo. 1999-11-05 17:45:55 +00:00
Joel Sherrill
458bd343e2 This is another pass at making sure that nothing outside the BSP
unnecessarily uses any variables defined by the BSP.  On this
sweep, use of BSP_Configuration and Cpu_table was eliminated.

A significant part of this modification was the addition of
macros to access fields in the RTEMS configuration structures.

This is necessary to strengthen the division between the BSP independent
parts of RTEMS and the BSPs themselves.  This started after
comments and analysis by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
1999-11-05 16:44:02 +00:00
Joel Sherrill
707f5c710e Eliminated references to stack checker related #defines. 1999-11-05 15:47:47 +00:00
Joel Sherrill
f817b0283c The files in libcpu should not be directly dependent on any BSP. In
particular, using bsp.h, or getting information from the BSP which
should properly be obtained from RTEMS is forbidden.  This is
necessary to strengthen the division between the BSP independent
parts of RTEMS and the BSPs themselves.  This started after
comments and analysis by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
The changes primarily eliminated the need to include bsp.h and
peeking at BSP_Configuration.  The use of Cpu_table in each
BSP needs to be eliminated.
1999-11-04 18:05:09 +00:00
Joel Sherrill
d5704c67a0 Added first stab at mkgnatnewlib. 1999-11-04 13:18:23 +00:00
Joel Sherrill
2b2ab1c070 Renamed POSIX_Thread_cancel_run to _POSIX_Thread_cancel_run since RTEMS
internal symbols are supposed to have leading underscores.
1999-11-03 12:51:09 +00:00
Joel Sherrill
86ed4f09d7 Added CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEM as a configuration
parameter.
1999-11-03 12:48:41 +00:00
Joel Sherrill
2b295183f3 Added prototype of _POSIX_Semaphore_Delete to avoid warnings. 1999-11-03 12:47:16 +00:00
Joel Sherrill
0a3946f6e7 Added prototype of POSIX_Thread_cancel_run to avoid warnings. 1999-11-03 12:46:58 +00:00
Joel Sherrill
d76608e048 Typo fixed by Ralf Corsepius <corsepiu@faw.uni-ulm.de>. 1999-11-03 12:46:29 +00:00
Joel Sherrill
7cc8d6c3b1 Split core mutex and semaphore handlers into separate files. 1999-11-02 21:48:15 +00:00
Joel Sherrill
82cb78d84c Split core message queue and watchdog handler objects into separate files. 1999-11-02 21:45:15 +00:00
Joel Sherrill
93b4e6ef7e Split Heap and Time of Day Handlers. 1999-11-02 21:05:17 +00:00
Joel Sherrill
dfbfa2b029 Split threadq.c into multiple files. 1999-11-02 20:36:11 +00:00
Joel Sherrill
b568ccb745 The object memfile.o was being included in the miniIMFS even though it
should not have been.  This required that IMFS_rmnod be split into
three separate (per file type) routines to avoid dependencies.
In the end, a miniIMFS application is 6K smaller than one using the
full IMFS.
1999-11-02 20:20:13 +00:00
Joel Sherrill
317a5b52b5 Split object.c into multiple files. 1999-11-02 19:43:52 +00:00
Joel Sherrill
811fae12e9 Split types.s into individual files. 1999-11-02 19:24:38 +00:00
Joel Sherrill
07e07437c4 Final tuning required to drop out POSIX timers. 1999-11-02 19:11:16 +00:00
Joel Sherrill
6800397962 *** empty log message *** 1999-11-02 19:04:51 +00:00
Joel Sherrill
db7f70a327 Split cancel.c into multiple files. 1999-11-02 18:47:06 +00:00
Joel Sherrill
43ed93524d Missed these in the initial split up. 1999-11-02 18:46:30 +00:00
Joel Sherrill
63edcf242a Split key.c into multiple files. 1999-11-02 18:40:30 +00:00
Joel Sherrill
cec0371ec5 Wrong routine was initially cut into this file. 1999-11-02 18:39:52 +00:00
Joel Sherrill
9f95a19a57 Split time.c into multiple files. 1999-11-02 18:35:52 +00:00
Joel Sherrill
98dca75bf3 Split condition variables into multiple files. 1999-11-02 18:25:26 +00:00
Joel Sherrill
799c767d31 Split the POSIX semaphore manager into multiple files. 1999-11-02 18:00:15 +00:00
Joel Sherrill
ee979cdd95 Split some more stuff out of psignal.c. 1999-11-02 17:36:20 +00:00
Joel Sherrill
96c041c42b Split mutex.c into multiple files. 1999-11-02 17:19:23 +00:00
Joel Sherrill
8a5f2ca04d Split mqueue into multiple files. 1999-11-02 17:18:58 +00:00
Joel Sherrill
b95e303fca Removed warnings. 1999-11-02 17:14:40 +00:00
Joel Sherrill
4dc89814e1 Split mqueue.c into a variety of files. 1999-11-02 17:00:35 +00:00
Joel Sherrill
4c1b914ed8 Minor changes to make the screen match a bit better. 1999-11-02 16:39:44 +00:00
Joel Sherrill
78edd4446b Minor fixes to make screen match a bit better. 1999-11-02 16:38:19 +00:00
Joel Sherrill
3251b55cc0 Added more proper checking of F_GETFL and F_SETFL.
Disabled test of F_DUPFD since it does not work.

Added comment to indicate that seekdir(NULL) was being called.
1999-11-02 16:29:56 +00:00
Joel Sherrill
5f2566b5e2 Fixed F_SETFL to properly convert between internal
libio flags and external fcntl.h style flags.
1999-11-02 16:27:53 +00:00
Joel Sherrill
063e4950f4 Added support for configuring base filesystem. First attempt at
a full mount table at initialization.  This is the wrong place
to mount filesystems 2-n since no device drivers are initialized
yet.
1999-11-02 16:27:05 +00:00
Joel Sherrill
a504ced35b Install imfs.h so base filesystem can be configured or IMFS mounted
by an application.
1999-11-02 16:25:48 +00:00
Joel Sherrill
19b74f3175 Check for NULL being passed in. 1999-11-02 16:25:05 +00:00
Joel Sherrill
3fb2a8daf7 Fixed typo where memfile_handlers set twice and directory_handlers
was not set.
1999-11-02 16:23:50 +00:00
Joel Sherrill
ac8adcf06f Properly initialize location variable. 1999-11-02 16:22:58 +00:00
Joel Sherrill
f5a1fe913b Fixed typo. 1999-11-02 16:07:13 +00:00
Joel Sherrill
ee9d8d528c Clean up /opt/rtems in case junk is installed in the wrong place.
This has been seen on some machine configurations.
1999-11-02 16:07:06 +00:00
Joel Sherrill
c42bd4525f Split console_reserve_resources into its own file to reduce dependencies.
Still need to move debug io routines out.
1999-11-02 16:05:41 +00:00
Joel Sherrill
5d36b344ae Fixed bug which resulted in misaligned object control structures
being allocated.  This bug manifested itself on the SPARC
since it uses ldd/std in its context save/restore routines.
1999-11-02 16:01:52 +00:00
Joel Sherrill
32441ab768 Added a comment to indicate that if a task blocked on a priority
based thread queue were to be reinserted based on its new priority,
this is where the logic would go.
1999-11-02 16:00:37 +00:00
Joel Sherrill
2cd54440b1 Added code to allocate by index. This is the object ID style used
by ITRON.

Corrected spacing.
1999-11-02 15:58:39 +00:00
Joel Sherrill
8f0529f65a Added maximum count detection logic. 1999-11-02 15:58:09 +00:00
Joel Sherrill
9693fdac75 Added support for message priority as required by POSIX. 1999-11-02 15:57:58 +00:00
Joel Sherrill
af10d3ef5d Corrected spacing. 1999-11-02 15:57:43 +00:00
Joel Sherrill
3f421dab80 Added message queues and semaphores. 1999-11-02 15:56:10 +00:00
Joel Sherrill
be0fc09935 Added CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES and
CONFIGURE_MAXIMUM_POSIX_SEMAPHORES.
1999-11-02 15:55:34 +00:00
Joel Sherrill
861e94d98a Added comment to make sure Classic API priority to Core priority
is added in the future.
1999-11-02 15:35:58 +00:00
Joel Sherrill
3ba754e136 Added comments for _RTEMS_tasks_Create_extension,
_RTEMS_tasks_Start_extension, _RTEMS_tasks_Delete_extension, and
_RTEMS_tasks_Switch_extension.
1999-11-02 15:34:40 +00:00
Joel Sherrill
b970c48963 Added a case to support the core semaphore error returned when the
maximum semaphore count is exceeded.
1999-11-02 15:33:14 +00:00
Joel Sherrill
d80188eb6f Added code to utilize the maximum_count attribute of core semaphores
and initialize it to a value that would keep it from every being
a problem.
1999-11-02 15:30:20 +00:00
Joel Sherrill
fd882eed44 Now much closer to working. 1999-11-02 15:29:47 +00:00
Joel Sherrill
26c828fe47 Added assert in case _Objects_Get_information fails since this
should NEVER occur.
1999-11-02 15:29:04 +00:00
Joel Sherrill
2b95c07bda Commented out lines causing warning. 1999-11-02 15:28:02 +00:00
Joel Sherrill
733a24873f Added #define for SEM_FAILED. 1999-11-02 15:27:38 +00:00
Joel Sherrill
9d3a44be9c Added include of <sys/siginfo.h>. 1999-11-02 15:27:20 +00:00
Joel Sherrill
f2422aa069 Added message queues and semaphores. 1999-11-02 15:26:46 +00:00
Joel Sherrill
a49a7f3d87 Backed out change that increased the minimum stack size since it
was unnecessary.  The real fix was an alignment error in the
object extend memory allocation scheme.
1999-11-02 15:22:00 +00:00
Joel Sherrill
f59df6b2ba Modified to use minimum stack size and reserve the necessary amount
of space in the workspace.
1999-11-02 15:19:43 +00:00
Joel Sherrill
dee8a5174f Corrected wildcard to pickup CPU model dependent library pieces. 1999-11-01 21:34:04 +00:00
Joel Sherrill
43f7a90fc2 Enabled configuring mini or full IMFS. 1999-11-01 20:58:23 +00:00
Joel Sherrill
0910a25152 Added name to id support routine. 1999-11-01 20:31:25 +00:00
Joel Sherrill
2e3e40770b Increased stack space for all initialization tasks in tmtests. 1999-11-01 20:21:17 +00:00
Joel Sherrill
5fe6b21a11 Increased stack space of a task. 1999-11-01 20:14:35 +00:00
Joel Sherrill
328aa64cc0 Increased stack space of task 2. 1999-11-01 20:11:24 +00:00
Joel Sherrill
4443984a4c Increased stack space for a task. 1999-11-01 20:08:05 +00:00
Joel Sherrill
c42e6c72eb Increased stack space for task 1. 1999-11-01 20:06:02 +00:00
Joel Sherrill
89b6397249 Removed routines that had already been separated into their own files. 1999-11-01 18:02:44 +00:00
Joel Sherrill
c61218e85b Removed HAS_MP=no and commented out HAS_NETWORKING=no. 1999-11-01 13:15:26 +00:00
Joel Sherrill
92f699993f Removed all references to shared memory driver as it is not supported
yet on the mvme2307.
1999-11-01 13:08:35 +00:00
Joel Sherrill
a2504f7dc6 Removed shmsupp directory as it is not really implemented. 1999-11-01 13:07:56 +00:00
Joel Sherrill
4c9d61e8be MVME2307 does not really include MP support. 1999-11-01 13:07:22 +00:00
Jennifer Averett
4a07d2b866 Moved the rmnod callback from the operations table to the handler table. 1999-10-29 15:19:13 +00:00
Jennifer Averett
4bde80720f Joel added a table of mount entry requests to be processed during
initialization.
1999-10-29 14:28:39 +00:00
Joel Sherrill
a8efb8fea0 Changed version timestamp. 1999-10-28 19:51:23 +00:00
Joel Sherrill
49ea76dc35 Added information to fstat handler. 1999-10-28 19:42:14 +00:00
Joel Sherrill
08dc4bd600 Reformatted. 1999-10-28 19:42:05 +00:00
Joel Sherrill
dcb931554c Cleaned up spacing on function prototypes. 1999-10-28 19:29:49 +00:00
Joel Sherrill
d3fc9e9dc3 Added lstat(). 1999-10-28 19:25:46 +00:00
Joel Sherrill
75e3651a0c Added shell of chapters on implementation of miniIMFS and TFTP client
filesystems.  Moved system call chapter to before filesystem
implementation requirements.
1999-10-28 18:30:47 +00:00
Joel Sherrill
b502b0d1b1 changed version to 19991028 1999-10-28 17:44:08 +00:00
Joel Sherrill
7046cddb1b Patch rtems-rc-19991011-3.diff from Ralf Corsepius. 1999-10-28 16:01:41 +00:00
Joel Sherrill
e90c5a1e76 changed version to 19991028 1999-10-28 15:30:55 +00:00
Joel Sherrill
5c104e08bb New test added - psxcancel. This is just a shell for now. 1999-10-28 15:12:10 +00:00
Joel Sherrill
b8d9f41f4a Added include of <sys/select.h> in attempt to remove compilation warning. 1999-10-28 14:59:35 +00:00
Joel Sherrill
be22768407 Added use of __rtems__ rather than LINUX for RTEMS configuration. 1999-10-28 14:50:43 +00:00
Joel Sherrill
bb43e0797f More changes. 1999-10-28 14:07:54 +00:00
Joel Sherrill
c8b35b1b9b Notes on what to do when merging a BSP. 1999-10-28 13:36:26 +00:00
Joel Sherrill
45544f0d01 Patch from Aleksey (Quality Quorum <qqi@world.std.com>) to
increase ease of application configuration of the pc386 BSP.  This
patch allows switching the printk console to a serial port and
overriding bsp_start by making it a weak alias.
1999-10-27 20:50:57 +00:00
Joel Sherrill
e4487b6cd8 Modified to properly descend into the dummy directory. 1999-10-27 20:21:33 +00:00
Joel Sherrill
0f75a13ce8 Fixed typo. 1999-10-27 20:09:39 +00:00
Joel Sherrill
b07e06a1bc New files from Ralf Corsepius <corsepiu@faw.uni-ulm.de> which
are a dummy for linking programs together when you are primarily
concerned with tricking another package into building.

This may grow into something which could help link programs on
the command line by having a default start sequence.
1999-10-27 19:35:36 +00:00
Joel Sherrill
3abbfdb40f Added $(EXEEXT) in attempt to help Cygwin install process. 1999-10-27 19:27:05 +00:00
Joel Sherrill
10eb06e80d Updated. 1999-10-27 19:25:43 +00:00
Joel Sherrill
226ea52ba8 Updated to be more like cvme961.cfg. 1999-10-27 19:24:26 +00:00
Joel Sherrill
4b42e2003a Latest version from Ralf Corsepius <corsepiu@faw.uni-ulm.de> which
splits gcc, gcj, chill, f77 and objc into separate rpms..
1999-10-27 19:07:56 +00:00
Joel Sherrill
2bdc1e985f Last cleanup to attempt to link. 1999-10-27 18:54:14 +00:00
Joel Sherrill
ae7325bdc8 rxgen960 now compiles -- may not link. 1999-10-27 17:25:53 +00:00
Joel Sherrill
2ea8df3beb Added CVS Ids and a basic header. More header cleanup needed. 1999-10-27 16:27:34 +00:00
Joel Sherrill
f08a559655 Removed systbl.S save_systbl.c. They were unnecessary. 1999-10-27 16:26:00 +00:00
Joel Sherrill
8ac421361f Removed sctns.S. This file was obviously the output of the compiler. 1999-10-27 16:21:49 +00:00
Joel Sherrill
919822f961 Replaced Makefile.in's with modified copies of cvme961 to get
autoconf/automake changes.
1999-10-27 16:19:24 +00:00
Joel Sherrill
d73a8649ed Moved timerisr.s to timerisr.S per GNU conventions. 1999-10-27 15:58:26 +00:00
Joel Sherrill
ce644256cf Moved systbl.s to systbl.S per GNU conventions. 1999-10-27 15:57:20 +00:00
Joel Sherrill
5ee66dae7b Moved sctns.s to sctns.S per GNU conventions. 1999-10-27 15:57:19 +00:00
Joel Sherrill
bf71be9e87 Moved rxgen_romld.s to rxgen_romld.S per GNU conventions. 1999-10-27 15:57:17 +00:00
Joel Sherrill
478c4b80c8 Moved ihandler.s to ihandler.S per GNU conventions. 1999-10-27 15:57:16 +00:00
Joel Sherrill
49b8c26e40 Moved asmstub.s to asmstub.S per GNU conventions. 1999-10-27 15:57:15 +00:00
Joel Sherrill
eb7f0f220a Moved asmfault.s to asmfault.S per GNU conventions. 1999-10-27 15:57:14 +00:00
Joel Sherrill
702c5f5b42 The rxgen960 BSP and i960 RPM support was submitted by Mark Bronson
<mark@ramix.com> of RAMIX.
1999-10-27 15:29:18 +00:00
Joel Sherrill
090b1c371b First attempt at icluding Eric Valette and Emmanuel Raguet. 1999-10-27 15:11:37 +00:00
Joel Sherrill
3f4b575df0 Warnings removed. Still don't know what to do about the pragma
pack warnings in uemf.h.
1999-10-27 13:58:58 +00:00
Joel Sherrill
c1cdaa0ce8 Patch from Emmanuel Raguet <raguet@crf.canon.fr> and Eric Valette
<valette@crf.canon.fr> to add a port of the GoAhead web server
(httpd) to the RTEMS build tree.  They have successfully used
this BSP on i386/pc386 and PowerPC/mcp750.

Mark and Joel spoke with Nick Berliner <nickb@goahead.com> on
26 Oct 1999 about this port and got verbal approval to include
it in RTEMS distributions.
1999-10-27 12:50:33 +00:00
Joel Sherrill
79991746da New files created by split of old imfs_handlers.c. 1999-10-26 21:51:20 +00:00
Joel Sherrill
2fe47fff06 Added include of libio.h so this would compile when posix is disabled. 1999-10-26 21:51:07 +00:00
Joel Sherrill
7ee88c1695 Split console_reserve_resources to separate file to reduce
code size.
1999-10-26 20:30:20 +00:00
Joel Sherrill
657e1bf66b Added initial cut at miniIMFS which leaves out memfile and directory
readdir support.  The next step is to add a mount table and configure
either the miniIMFS or the full IMFS at the application level.
1999-10-26 20:17:13 +00:00
Joel Sherrill
e54a7d33d2 Patch from Gerwin Pfab <pb@schenk.isar.de> to leave dispatching
disabled on exit to ISR Thread dispatching.  This allows a
context switch to finish under high high interrupt rates.
1999-10-26 16:22:55 +00:00
Jennifer Averett
10c1befe7e Added information on the evaluate and evaluate for make routines.
Added details on how generic code starts the pathevaluation process.
1999-10-26 15:42:10 +00:00
Joel Sherrill
66a8c6f708 Patch from Emmanuel Raguet <raguet@crf.canon.fr> to fix a small bug where
the receive buffer size was 16 bytes too small.
1999-10-26 15:21:01 +00:00
Jennifer Averett
704f3a8c45 Corrected spacing problem. 1999-10-26 14:53:49 +00:00
Joel Sherrill
9a986282df Increased minimum stack size to ensure that there are no problems
running the network stack.
1999-10-26 14:39:57 +00:00
Joel Sherrill
cb50837d9d Patch from Emmanuel Raguet <raguet@crf.canon.fr> to add missing file
reference to the Makefile.
1999-10-26 14:29:53 +00:00
Joel Sherrill
65a60cd427 Removed all references to HOST_ARCH including the file gcc.cfg.in. All
host programs are now compiled with automake generated rules.  This was
done after discussions with Ralf Corsepius and Eric Norum.
1999-10-26 14:22:55 +00:00
Joel Sherrill
2782e69ff0 idir=/opt/tmp/opt/rtems
rdir=/opt/rtems

cd $idir
find . -type f | while read file
do
  if [ ! -f ${file} ] ; then
     echo ${file} missing
  fi
done
1999-10-26 12:39:24 +00:00
Joel Sherrill
a94521ccc7 cat /tmp/j | while read f
do
  rpm -qi $f 2>&1 | grep -v "is not ins"
done
1999-10-26 12:37:14 +00:00
Joel Sherrill
5f78061bdf Removing automatically generated files. 1999-10-26 12:31:48 +00:00
Joel Sherrill
1da921e1e0 Removed generated file. 1999-10-26 12:31:00 +00:00
Joel Sherrill
511a12c672 New versions for gcc and patch. 1999-10-26 12:29:36 +00:00
Joel Sherrill
dd04e32a80 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to move
c/src/lib/libmisc to c/src/libmisc.
1999-10-26 02:58:06 +00:00
Joel Sherrill
3f06778ed8 cat /tmp/j | while read f
do
  rpm -qi $f 2>&1 | grep -v "is not ins"
done
1999-10-26 02:49:21 +00:00
Joel Sherrill
3330ecb836 Patch rtems-rc-19991011-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
fixes a minor configuration bug.
1999-10-26 02:45:04 +00:00
Joel Sherrill
85cb0e5f33 Regenerated 1999-10-26 02:35:51 +00:00
Joel Sherrill
2ca64b55ea New ideas on test incorporated. 1999-10-26 02:32:47 +00:00
Joel Sherrill
99826740e2 Modifications from Erik Ivanenko <erik.ivanenko@utoronto.ca> to add
proper Multiboot signature to pc386 BSP.  This enables Grub to
recognize the image.
1999-10-26 01:35:36 +00:00
Joel Sherrill
f70598c7b7 Patch from Erik Ivanenko <erik.ivanenko@utoronto.ca> to fix some
reported bugs in the start code.
1999-10-26 01:34:42 +00:00
Joel Sherrill
3a0a97a544 Fixed line too long problems. 1999-10-25 19:48:42 +00:00
Joel Sherrill
7ef86b39e9 Updated copyright year and corrected image path. 1999-10-25 19:48:07 +00:00
Joel Sherrill
c8c14c43ea Updated copyright year. 1999-10-25 19:47:48 +00:00
Joel Sherrill
213c518bd1 Patch generated from scripts-19991025-0.tar.gz from
Ralf Corsepius <corsepiu@faw.uni-ulm.de>:

  Most significant changes:

    * Names for rpms changed again
    * gccnewlib.rpm split into 3 rpms, one for chill, gcj, gcc (includes
      c/c++/f77/objc), simultaneously built from a common *.spec.
    * small patches with major impact to gcc and newlib (Those fixes
      mentioned to Ian, ie. libobjc/libchill are built, multilibing works)
    * gcc patch against gcc-2.95.2 (Should also apply to gcc-2.95.1 without
      major problems)
    * Buildroot removed from */*spec.in
    * New: rpm Group: "rtems" (rpm -q -g rtems reports all RTEMS packages)
1999-10-25 19:35:56 +00:00
Joel Sherrill
c302d7a390 Regnenerated following update from Ralf. 1999-10-25 19:33:54 +00:00
Joel Sherrill
9ec462aa50 Fixing many lines that are too long to format cleanly. 1999-10-25 18:02:33 +00:00
Jennifer Averett
86437ec02a Added descriptions of the mount table entry elements. 1999-10-25 17:42:51 +00:00
Charles Phillips
6a27e0829a Modified url references to be dynamic links. 1999-10-25 17:42:49 +00:00
Charles Phillips
c3cc0eee6a Added definition of DDD. Modified url references to be
dynamic links.
1999-10-25 17:41:56 +00:00
Jennifer Averett
c3ffd24476 + Filled in information on IMFS_freenod and IMFS_freenodinfo
+ Filled in information on the imfs_fsunmount and imfs_unmount methods.
1999-10-25 17:41:33 +00:00
Jennifer Averett
55f5c1ea88 + Cleaned up lines that were too long.
+ Removed subheading File - This is not valid for the callback descriptions.
+ Filled in information on freenod
1999-10-25 17:41:03 +00:00
Joel Sherrill
ee0702ef5e Fixing many lines that are too long to format cleanly. 1999-10-25 17:37:19 +00:00
Jennifer Averett
0d01c94b24 Added information on how the directory is stored for future referance
during a mount.
1999-10-25 17:33:01 +00:00
Joel Sherrill
5a69fe3be0 Formatting improvements. 1999-10-25 16:36:50 +00:00
Joel Sherrill
90d02e9973 Enabled Ada95 interrupt support chapter and reformatted a
bunch of stuff to avoid line wrappings.
1999-10-25 16:32:13 +00:00
Joel Sherrill
8379ada798 Patch from Eric Norum <eric@cls.usask.ca> to address the following problem
report from Philip A. Prindeville <philipp@zembu.com>:

        I was working on a device driver for a certain ethernet chipset that
    occassionally wraps in its buffer, and causes a resulting mbuf chain
    with only a few dozen bytes in the first mbuf of the chain.

        I wouldn't have thought this would be a problem, until I ran some
    stress tests that flooded the ethernet receiver with packets and
    started to get panics here:

       250
       251          if (m->m_pkthdr.len < sizeof(struct ip))
       252                  goto tooshort;
       253
       254  #ifdef  DIAGNOSTIC
       255          if (m->m_len < sizeof(struct ip))
       256                  panic("ipintr mbuf too short");
       257  #endif
       258
       259          if (m->m_len < sizeof (struct ip) &&
       260              (m = m_pullup(m, sizeof (struct ip))) == 0) {
       261                  ipstat.ips_toosmall++;
       262                  return;
       263          }
       264          ip = mtod(m, struct ip *);

    and the panic was at line 256.  But if I #undef'd DIAGNOSTICS,
    then the m_pullup() at line 260 does the right thing and the packet
    ends up being processed just fine.

    So I started wondering, (a) why was the test checking for
    something that apparently wasn't a fatal condition but rather
    one that is subsequently recovered from a couple of lines later
    and (b) why panic as a diagnostic "aid" from a recoverable
    condition rather than just (say) log a message to the console?

    All of this seems overly severe for no reason that is readily
    apparent to me.
1999-10-25 16:09:45 +00:00
Joel Sherrill
b6c868e445 Patch from Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
to initialize the pthread cancellation fields.  This is a patch to
_POSIX_Threads_Create_extension that fixes the problem.
1999-10-25 16:05:34 +00:00
Joel Sherrill
4e69f5b79e Added notes for new test. 1999-10-25 15:55:58 +00:00
Charles Phillips
c58674c527 Made html links browsable. 1999-10-25 14:57:37 +00:00
Joel Sherrill
3eb75db389 tch from Eric Valette <valette@crf.canon.fr> and Emmanuel Raguet
<raguet@crf.canon.fr> to fix bugs and make the mcp750 boot
RTEMS running the GoAhead web server.
1999-10-25 14:52:19 +00:00
Charles Phillips
bf61f22585 Made urls browsable links. 1999-10-25 14:52:07 +00:00
Charles Phillips
4af77b033e Made html urls browsable links. 1999-10-25 14:51:32 +00:00
Charles Phillips
9cc603ff09 Made html urls browable links. Updated the reference to the
U.S. Army Missile Command to show the merger with the Aviation
Command
1999-10-25 14:48:15 +00:00
Joel Sherrill
1e57186135 Patch from Eric Valette <valette@crf.canon.fr> and Emmanuel Raguet
<raguet@crf.canon.fr> to use a local variable.
1999-10-25 14:46:56 +00:00
Jennifer Averett
04df848c65 Added code to correctly free any allocated space during the evaluation
process.
1999-10-25 14:23:03 +00:00
Joel Sherrill
72d3f610f4 Merged scripts-19991022-0 changes from Ralf. 1999-10-25 14:15:09 +00:00
Joel Sherrill
43d3a8ecec Changed to use interrupt driven console. 1999-10-25 14:14:36 +00:00
Joel Sherrill
1232196a7b Added sp26 which tests the rtems_task_is_suspended directive. 1999-10-25 14:14:07 +00:00
Joel Sherrill
9060699364 Modified to ease comparison of screen to target output. 1999-10-25 14:13:14 +00:00
Joel Sherrill
482960380d Modified to reflect test change where reinitialize mutex test case was
removed.
1999-10-25 14:11:12 +00:00
Joel Sherrill
524767cbfe Removed reinitialize mutex test case to reflect earlier code change in
the executive.
1999-10-25 14:10:38 +00:00
Joel Sherrill
c774a07e88 Changed leading spaces to periods to ease comparing test output. 1999-10-25 14:09:46 +00:00
Joel Sherrill
538db54642 Modified to produce correct output with new version of sis. 1999-10-25 14:09:13 +00:00
Joel Sherrill
461caa5c06 Swapped SO_SNDWAKEUP and SO_RCVWAKEUP in many places since they were
backwards.
1999-10-25 13:45:10 +00:00
Joel Sherrill
666e377ba8 Changed version number. 1999-10-25 12:29:38 +00:00
Joel Sherrill
61a4d8116a Removed warning. 1999-10-21 19:36:29 +00:00
Joel Sherrill
ac5a9bf122 Now builds RPM without complete source. Each target is only 15K. 1999-10-21 19:25:19 +00:00
Joel Sherrill
7063e223dc Made the RTEMS version get substituted properly even though it is
not right yet.

Now can specify rpm_build_root via setup.
1999-10-21 17:22:02 +00:00
Joel Sherrill
f4a5803e44 Now can specify rpm_build_root via setup.
Changed package name so generated RPM would have a nicer name.
1999-10-21 17:21:05 +00:00
Joel Sherrill
d013d05f92 Increased stack size of initialization thread. 1999-10-21 16:48:06 +00:00
Joel Sherrill
e7264f070e Added rtems_semaphore_flush directive. 1999-10-21 16:44:24 +00:00
Joel Sherrill
9583f6eacc Renamed CONFIGURE_POSIX_INIT_TASK_STACK_SIZE to
CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE because in POSIX they are threads.
1999-10-21 16:41:59 +00:00
Joel Sherrill
812f440589 Fixed core dump caused when output parameter (otimer) was NULL. 1999-10-21 16:38:49 +00:00
Joel Sherrill
3953765718 Added sh-rtemself and m68k-rtemself. 1999-10-21 16:15:54 +00:00
Joel Sherrill
43e7d103a0 Changes from Ralf with script-19991021-0. He fixed the %files
issue and has mkbspspec in a better state.  user.cfg is now
gone.

There are some miscellaneous changes to buildall done by Joel
to clean up the build process.
1999-10-21 15:59:54 +00:00
Joel Sherrill
8f2cf93145 Added Semaphore_Flush. 1999-10-21 14:49:24 +00:00
Joel Sherrill
98e6eb8ddd Shipping this all to Ralf. 1999-10-21 05:07:17 +00:00
Joel Sherrill
e39431b75f Added prototype for rtems_task_is_suspended at request of
Eric Norum.
1999-10-20 20:33:02 +00:00
Joel Sherrill
2f23359df0 Moved stuff to rtems subdirectory and made sure the system still
functioned.
1999-10-20 20:23:18 +00:00
Joel Sherrill
6e608c4373 Moved stuff to rtems subdirectory and made sure the system still
functioned.

Merged Ralf's changes into gccnewlib.spec.in.
1999-10-20 20:23:16 +00:00
Joel Sherrill
e171450667 New file. 1999-10-20 20:22:13 +00:00
Joel Sherrill
431c35dccb Miscellaneous improvements and cleanups committed so I can merge
Ralf's end of day version.
1999-10-20 19:59:01 +00:00
Joel Sherrill
c429ec8049 Moved rtems specific files into here. 1999-10-20 19:54:55 +00:00
Joel Sherrill
0f242f5f9a Moving things to an rtems subdirectory like the other tools. 1999-10-20 19:54:36 +00:00
Joel Sherrill
d35e532bb3 New file. 1999-10-20 19:51:57 +00:00
Joel Sherrill
e46cd61162 Added RPM release numbers. 1999-10-20 16:57:50 +00:00
Joel Sherrill
e4b4a7713f Generated files removed. 1999-10-20 16:23:32 +00:00
Joel Sherrill
c5fc4a0b1e Obsoleted. 1999-10-20 16:15:20 +00:00
Joel Sherrill
bde7346108 Obsoleted as they were distributed to subdirectories. 1999-10-20 16:14:54 +00:00
Joel Sherrill
8ace612ede Made this more binutils like. :) 1999-10-20 15:55:45 +00:00
Joel Sherrill
1f339c247f New file. 1999-10-20 15:50:27 +00:00
Joel Sherrill
c4d1d41caf New files. 1999-10-20 15:50:13 +00:00
Joel Sherrill
180501501e Adding the infrastructure for gdb. 1999-10-20 15:49:13 +00:00
Joel Sherrill
36b6704eab Corrected typo. 1999-10-20 15:31:15 +00:00
Joel Sherrill
5f7b1180c0 Restored joel's changes after merging old version from Ralf. 1999-10-20 15:29:35 +00:00
Joel Sherrill
10629f7435 New version from Ralf. 1999-10-20 15:29:12 +00:00
Joel Sherrill
1410dc36c7 Committing changes before Ralf's changed. 1999-10-20 15:21:11 +00:00
Joel Sherrill
7815d96560 Left to build overnight. 1999-10-19 22:27:13 +00:00
Joel Sherrill
c937033eaf Made it easier to change version numbers. 1999-10-19 22:10:08 +00:00
Joel Sherrill
38118d35ec Now easier to modify version numbers in scripts. 1999-10-19 22:07:21 +00:00
Joel Sherrill
ab25407ccc Easier to insert tool version number. 1999-10-19 22:02:39 +00:00
Joel Sherrill
c5b8d6d332 Making sparc-rtems rpms available. 1999-10-18 21:40:05 +00:00
Joel Sherrill
8c5e54b1af Working on being able to cut RPMs. It now appears that the process
is working mostly for sparc at least.

There is one major problem -- the current process generates a unique
source file per RPM when in fact all of the source files are nearly
the same -- it is only the spec part of the rpm which differs.
The new file mkbinutils_subpackage_version is an attempt to
address this.  It does part of the job right -- one source file
produces multiple binary RPMs.  BUT the end user can not produce
the resulting RPMS themselves from SRPMS unless they also
build all targets.
1999-10-18 19:10:03 +00:00
Joel Sherrill
18408afbc7 Ralf Corsepius (corsepiu@faw.uni-ulm.de) submitted these scripts to
help build RPMs.
1999-10-15 14:11:02 +00:00
Joel Sherrill
de0711ecbe Reorganized a lot per Jennifer's suggestions. 1999-10-13 19:48:17 +00:00
Joel Sherrill
22cbb9ce6b Updated copyright date. 1999-10-13 19:47:55 +00:00
Joel Sherrill
51d6d9ecfb More manuals and a little reorganization. 1999-10-13 17:31:47 +00:00
Joel Sherrill
fb02e4c4d6 First commit of miscellaneous tools and documentation for a procedure
that can be used to produce an online bookshelf of the GNU tools.
1999-10-13 17:30:50 +00:00
Joel Sherrill
7441fe2c5b Made many changes to turn the outline into something more like a manual
and less like a collection of notes.
1999-10-12 21:54:40 +00:00
Joel Sherrill
482ffbb27d Dispersed. 1999-10-12 21:52:11 +00:00
Joel Sherrill
87c2f9ce99 Dispersed. 1999-10-12 21:44:38 +00:00
Joel Sherrill
360e9844e8 Dispersed. 1999-10-12 21:36:46 +00:00
Joel Sherrill
a0e265bff4 New file. 1999-10-12 20:41:30 +00:00
Joel Sherrill
a6883c4eb9 Spacing. 1999-10-12 20:22:27 +00:00
Joel Sherrill
51435fc7c5 Split null handlers table to own file and renamed.
Renamed IMFS handler tables to include IMFS prefix.
1999-10-12 19:26:37 +00:00
Joel Sherrill
dd0f32614c Added rtems_filesystem_freenode() macro and added calls at appropriate
places to make sure memory allocated for filesystem specifif nodes
gets freed.
1999-10-12 19:10:46 +00:00
Joel Sherrill
e2116f9003 Fixed spacing. 1999-10-12 19:09:27 +00:00
Joel Sherrill
578a415014 Corrected mistakes in the IMFS file handlers table and added the missing
routine imfs_fcntl.c
1999-10-12 19:08:55 +00:00
Joel Sherrill
d71fcabaa6 Added call to freenod to let each filesystem free its own internal
node used to manage file access.
1999-10-12 18:44:40 +00:00
Joel Sherrill
cb5056b387 Changed bcopy to strncpy to stick to ANSI/ISO routines. 1999-10-12 18:44:05 +00:00
Joel Sherrill
2b9f1f5d9a Fixed random cut and paste problem. 1999-10-11 21:47:19 +00:00
Joel Sherrill
2ec1156373 Added files generated by index process to clean stanza. 1999-10-11 21:33:42 +00:00
Joel Sherrill
7ff8051558 Changed link for bad PDF files to BAD.html. 1999-10-11 21:30:43 +00:00
Joel Sherrill
039c2c7cea Changed version information. 1999-10-11 21:30:08 +00:00
Joel Sherrill
fffdecae07 Changed release information. 1999-10-11 21:29:56 +00:00
Joel Sherrill
681e7d5492 New files. 1999-10-11 21:29:44 +00:00
Joel Sherrill
7345b9037f New file. 1999-10-11 21:29:17 +00:00
Joel Sherrill
92abaa00ce Corrected spacing. 1999-10-11 21:25:42 +00:00
Joel Sherrill
09d378103e Added support for @appendix and @preface. 1999-10-11 21:25:21 +00:00
Joel Sherrill
387ebcef03 Corrected bullet with @bullet. 1999-10-11 21:25:07 +00:00
Joel Sherrill
7479042a59 Generated concept and function index entries. 1999-10-11 21:24:38 +00:00
Joel Sherrill
94bc52c36c Added descriptions. 1999-10-11 21:08:33 +00:00
Joel Sherrill
652991d7aa Updated to incldue descriptions and reformatted to wrap lines better. 1999-10-11 20:58:54 +00:00
Joel Sherrill
a7a33cc38e Added descriptions of routines to section headings. 1999-10-11 20:45:18 +00:00
Joel Sherrill
a518cc11e1 Added descriptions. 1999-10-11 20:24:37 +00:00
Joel Sherrill
ffce9b39ea More cleanup. 1999-10-11 20:10:03 +00:00
Joel Sherrill
c021a74cff Enabled index generation. 1999-10-11 20:09:34 +00:00
Joel Sherrill
f96d62caff Cleaned up to install dvi, use native texi2dvi, etc.. 1999-10-11 20:00:09 +00:00
Joel Sherrill
4f1afc4620 Added filesystem design guide and scaling directives for the images. 1999-10-11 19:57:16 +00:00
Joel Sherrill
a24aed4236 Added filesystem design guide. 1999-10-11 19:56:50 +00:00
Joel Sherrill
1e28cc90ae Install all of the gif's in the common directory. 1999-10-11 19:56:31 +00:00
Joel Sherrill
ea7e861817 Changed install point and cleaned up. 1999-10-11 19:56:12 +00:00
Joel Sherrill
3d7e924068 Now build. 1999-10-11 19:51:56 +00:00
Joel Sherrill
d4e2e54b7a Added enough to let script find that this does not have descriptions. 1999-10-11 19:45:41 +00:00
Joel Sherrill
24dab099c7 changed version to 19991011 1999-10-11 19:16:47 +00:00
Joel Sherrill
e10b88b026 Make sure directories are made before installing and install html,
pdf, ps, and dvi into the html directory so they all can be browsed.
1999-10-11 19:12:04 +00:00
Joel Sherrill
af31f3a50b changed version to 19991011 1999-10-11 19:04:19 +00:00
Joel Sherrill
169502ea55 Turned on concept and function name indexing. 1999-10-11 19:03:05 +00:00
Joel Sherrill
0de83594a6 Fixed variable reference for RTEMS-RELEASE. 1999-10-11 18:42:09 +00:00
Joel Sherrill
c1b12e6a41 Moved RTEMS error and association from libmisc to libc support to
avoid cyclic dependencies generated when moving packages to the
top level.
1999-10-11 18:31:48 +00:00
Joel Sherrill
aba4025032 Removed targets and configurations that are no longer functional
and not likely to become so.  Comments on each configuration
are below.

  + Force CPU386 - This BSP was developed as part of the initial
    port of RTEMS to the i386.  This board has been unavailable
    for a long time now.

  + GO32 - This BSP and some CPU code supported djgpp v1.x.  This
    version is now quite old.  No one has stepped forward to
    update the code to v2.x which may be technically impossible
    anyway.  More importantly, go32 has been superceded by the pc386 BSP.
1999-10-11 16:12:05 +00:00
Joel Sherrill
78ffe896ec Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Removed all go32 configuration tests.

  This patch also comments out some special treatment for Cygwin from
  *.m4 macros. According to reports from David Fiddes. these should
  not be necessary anymore.
1999-10-11 15:50:20 +00:00
Joel Sherrill
87fad5c200 Added as part of moving librdbg to its own top level package. This was
done as part of a patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
1999-10-11 15:39:24 +00:00
Joel Sherrill
45269dc902 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to move librdbg
to its own top level package.
1999-10-11 15:34:26 +00:00
Joel Sherrill
8ab864601e Switched to the C++ front end to gcc to link. This still did not
work.
1999-10-11 15:30:49 +00:00
Joel Sherrill
f58f0b45fc Now compiles for coff and elf. 1999-10-11 15:28:04 +00:00
Joel Sherrill
3fd73d16ee Added file system guide.
Corrected link to supplements.
1999-10-11 15:23:42 +00:00
Joel Sherrill
37fb1c8160 Cleanup. 1999-10-11 14:53:30 +00:00
Joel Sherrill
196b3c901a First cut at complete document under CVS and texinfo. 1999-10-11 13:50:27 +00:00
Joel Sherrill
daf1622edd New files. 1999-10-11 13:50:13 +00:00
Joel Sherrill
44e43e7628 Added filesystem implementation notes chapter. 1999-10-08 19:37:01 +00:00
Joel Sherrill
29ed4d593f Added lifecycle chapter. 1999-10-08 18:59:37 +00:00
Joel Sherrill
ee6284c7f3 First cut at merging. 1999-10-08 18:53:20 +00:00
Joel Sherrill
7779ace4bf Another couple of chapters formatting under texinfo. 1999-10-08 18:36:08 +00:00
Joel Sherrill
4d77134923 Added initial version of 3 other chapters. 1999-10-08 18:26:28 +00:00
Joel Sherrill
0486ca5fac Renamed path_eval to patheval 1999-10-08 18:25:04 +00:00
Joel Sherrill
9bc1e52a88 Base versions cut from old document. 1999-10-08 18:11:53 +00:00
Joel Sherrill
0fa66f2af6 Finished initial conversion to texinfo. 1999-10-08 18:11:31 +00:00
Joel Sherrill
64080007c0 Added applayering but did not finish it. 1999-10-07 22:39:16 +00:00
Joel Sherrill
ebd21dc2e2 Filled in descriptions for required fields in CPU Configuration Table. 1999-10-07 22:32:44 +00:00
Joel Sherrill
df4edf29fe Added Base File System chapter. Builds completely. 1999-10-07 22:31:00 +00:00
Joel Sherrill
aa083e49ea Built with preface for info. 1999-10-07 22:07:50 +00:00
Joel Sherrill
0b81ea1827 Remove $(PROJECT).pdf not *.pdf. We were accidentally removing the
pdf version of figures.

Added convert stanza to generate pdf's from eps of figures.
1999-10-07 18:24:16 +00:00
Joel Sherrill
754e4446ab Enhanced to support @email{} as supported in texi2html in texinfo 4.0.
This way we maintain compatibility but continue to use the better,
more flexible tool.
1999-10-07 18:23:40 +00:00
Joel Sherrill
4fa74d8e02 Remove $(PROJECT).pdf not *.pdf. We were accidentally removing the
pdf version of figures.
1999-10-07 18:22:58 +00:00
Joel Sherrill
dd265c056b Remove $(PROJECT).pdf not *.pdf. We were accidentally removing the
pdf version of figures.

Disabled building of pdf for both the C and Ada Getting Started manuals
because texi2pdf can not handle the construct:

@set URL http://www.rtems.com
@uref{@value{URL},@value{URL}}

It will be reenabled as soon as this problem is fixed.
1999-10-07 18:22:24 +00:00
Joel Sherrill
edc15e3bb3 Switched back to jpg for networkflow because netscape 4.71 for linux
did not display the png properly.
1999-10-07 18:20:43 +00:00
Joel Sherrill
0749353c8b Regenerated. 1999-10-07 18:20:02 +00:00
Joel Sherrill
fa8c6edb63 Enabled table of contents generation so the left hand side of the PDF
viewer can have section headings.
1999-10-07 18:17:36 +00:00
Joel Sherrill
154f0a3744 Now includes figures. 1999-10-07 18:16:13 +00:00
Joel Sherrill
f1219351df Updated. 1999-10-07 18:15:48 +00:00
Joel Sherrill
d840f8af53 COpy the images to the html install point.
Added stanza to generate pdf files from eps ones.
1999-10-07 18:15:17 +00:00
Joel Sherrill
90929cb463 Copy figures from user guide directory so they can be included in the
generated document.

User $(PROJECT) instead of ada_user
1999-10-07 18:12:33 +00:00
Joel Sherrill
6b5787c35e Remove $(PROJECT).pdf not *.pdf. We were accidentally removing the
pdf version of figures.
1999-10-07 18:11:23 +00:00
Joel Sherrill
f4a0cc9362 Added Porting Guide to documentation set. 1999-10-07 18:10:09 +00:00
Joel Sherrill
8c5b92f688 Enabled building pdf. 1999-10-07 18:09:40 +00:00
Joel Sherrill
a31810384f Changed install point to /usr1/rtems/tmp. 1999-10-07 18:09:31 +00:00
Joel Sherrill
0a91511fb9 Renamed and generated pdf. 1999-10-07 18:08:16 +00:00
Joel Sherrill
235be7f045 New file -- converted from networkflow.eps 1999-10-07 17:04:19 +00:00
Joel Sherrill
643ecabbb8 New files. 1999-10-07 16:52:16 +00:00
Joel Sherrill
4a4efb5fde New directive added -- rtems_task_is_suspended. 1999-10-07 16:26:31 +00:00
Joel Sherrill
5ad8673727 Added rtems_task_is_suspended. 1999-10-07 16:26:13 +00:00
Joel Sherrill
b9e4815374 Cleaned up use of $(PROJECT) instead of hard-coding c_user.
Added rule to convert rtemspie.eps to .pdf.
1999-10-07 16:25:58 +00:00
Joel Sherrill
1e3e81fdb6 Added Is_Suspended method. 1999-10-07 16:17:41 +00:00
Joel Sherrill
4267b4bfd5 Removed targets and configurations that are no longer functional
and not likely to become so.  Comments on each configuration
are below.

  + Force CPU386 - This BSP was developed as part of the initial
    port of RTEMS to the i386.  This board has been unavailable
    for a long time now.

  + GO32 - This BSP and some CPU code supported djgpp v1.x.  This
    version is now quite old.  No one has stepped forward to
    update the code to v2.x which may be technically impossible
    anyway.  More importantly, go32 has been superceded by the pc386 BSP.
1999-10-06 21:15:21 +00:00
Joel Sherrill
ddaa60fd86 New file. 1999-10-06 21:08:14 +00:00
Joel Sherrill
1f350ef94d Removed aclocal.m4 generated from aclocal macros 1999-10-06 20:54:06 +00:00
Joel Sherrill
54eccb1ae9 Removed configure generated from configure.in 1999-10-06 20:52:34 +00:00
Joel Sherrill
1b8212423d Modified to avoid conflicts on definitions of malloc. newlib 1.8.2
now prototypes the malloc family in stdlib.h.  This causes conflicts
with the way the network stack overrides the definitions of malloc.
As best I (being Joel) can tell, commenting stdlib.h out keeps the
files compiling and referencing the desired malloc/free but results
in more warnings.
1999-10-06 20:37:26 +00:00
Joel Sherrill
3adc848dbe Modified to explicitly list all files as part of C_PIECES. 1999-10-06 20:34:55 +00:00
Joel Sherrill
d597bfb20d Added Porting Guide. 1999-10-06 20:08:49 +00:00
Joel Sherrill
54951241af Added portability write up from paper from France in 1997 as starting
point for portability discussion.
1999-10-06 20:08:34 +00:00
Joel Sherrill
9d7b376649 Added copyrights and CVS Ids. 1999-10-06 19:54:41 +00:00
Joel Sherrill
f84490b190 Now builds with full links. 1999-10-06 19:54:04 +00:00
Joel Sherrill
23ba9e5a1b Now builds successfully. 1999-10-06 19:46:14 +00:00
Joel Sherrill
4dbc38cba3 Renamed preface.t to preface.texi since it has no automatically
generated information.  Also added CVS Id and Copyright notice.
1999-10-06 19:44:09 +00:00
Joel Sherrill
33cd2d43a1 New manual. First version to CVS. Just starting to see if it builds. 1999-10-06 19:36:28 +00:00
Joel Sherrill
b9fcbd0fc8 Added $(LINK_LIBS) to linking gcc command so paranoia would link. 1999-10-06 18:09:11 +00:00
Joel Sherrill
252930563d Corrected build order so it was not as dependent on the mpc750 check. 1999-10-06 18:07:56 +00:00
Joel Sherrill
add0545d82 Added sections as required by C++ and ELF. 1999-10-06 18:05:39 +00:00
Joel Sherrill
01c36de4f2 Added more sections and made minor modifications to let the linkcmds
work with m68k-elf on late model versions of binutils (990901+)
without overlapping or missing section errors.
1999-10-06 18:04:34 +00:00
Joel Sherrill
f5e5de9f11 Added convert stanza to generate pdf version of figures from eps. 1999-10-06 17:59:56 +00:00
Joel Sherrill
a446d4554d Disabled building PDF by default. 1999-10-06 17:59:37 +00:00
Joel Sherrill
13fb3051d7 Enabled images. They appear to work ok for PostScript but not as well
for PDF -- at least according to ghostview.
1999-10-06 17:50:07 +00:00
Joel Sherrill
defc332baf Enabled images. Works pretty well for PostScript. Ghostview does
not like the generated pdf but who knows what that really means.
1999-10-06 17:48:01 +00:00
Joel Sherrill
74c2266de5 Renamed seq_init.jpg to seqinit.jpg. 1999-10-06 17:03:35 +00:00
Joel Sherrill
d26e89a2e7 Renamed seq_init.eps to seqinit.eps. 1999-10-06 17:03:34 +00:00
Joel Sherrill
0c78233ff5 Renamed seq_detach.jpg to seqdetach.jpg. 1999-10-06 17:03:33 +00:00
Joel Sherrill
b40b8ba6fe Renamed seq_detach.eps to seqdetach.eps. 1999-10-06 17:03:32 +00:00
Joel Sherrill
81ec57b96d Renamed seq_break.jpg to seqbreak.jpg. 1999-10-06 17:03:31 +00:00
Joel Sherrill
5967becca3 Renamed seq_break.eps to seqbreak.eps. 1999-10-06 17:03:30 +00:00
Joel Sherrill
30cd82f8d9 Renamed seg_init to seq_init. 1999-10-06 17:00:29 +00:00
Joel Sherrill
3a81fa153e Renamed networking figure to networkflow and added PCIreg.pdf. 1999-10-06 16:55:23 +00:00
Joel Sherrill
7a1a68c45e Turned this image back off because it works for PS but not PDF. 1999-10-06 16:52:17 +00:00
Joel Sherrill
5a09589f8b Changing names to avoid the name of the document. 1999-10-06 16:39:51 +00:00
Joel Sherrill
dbba80a9fb Enabled PCI register figure and renamed them to avoid _ in name to avoid
tool problems.
1999-10-06 16:38:02 +00:00
Joel Sherrill
5d2f192276 Added multiple formats of the image so we can use the @image command. 1999-10-06 15:52:32 +00:00
Joel Sherrill
e070a9db4b Corrected a typo. 1999-10-06 15:52:13 +00:00
Joel Sherrill
e01c706bcd Fixed spelling error (FAMILLY --> FAMILY). 1999-10-06 13:41:30 +00:00
Joel Sherrill
235d9e0ed0 Invalid value used for baud rate per bug report from
Jay Kulpinski <jskulpin@eng01.gdds.com>.
1999-10-05 20:59:53 +00:00
Joel Sherrill
2ccdc399fd Removed targets and configurations that are no longer functional
and not likely to become so.  Comments on each configuration
are below.

  + Force CPU386 - This BSP was developed as part of the initial
    port of RTEMS to the i386.  This board has been unavailable
    for a long time now.

  + GO32 - This BSP and some CPU code supported djgpp v1.x.  This
    version is now quite old.  No one has stepped forward to
    update the code to v2.x which may be technically impossible
    anyway.  More importantly, go32 has been superceded by the pc386 BSP.
1999-10-05 19:22:15 +00:00
Joel Sherrill
7a81160421 Removed ifdef on go32. 1999-10-05 19:21:54 +00:00
Joel Sherrill
8dd127620b Removed go32 ifdefs 1999-10-05 19:21:34 +00:00
Joel Sherrill
8eb0f64e44 Added comment with CVS Id. 1999-10-05 19:21:14 +00:00
Joel Sherrill
25ce07e07d Changed bra.s to bra.l to remove error with new version of binutils. 1999-10-05 19:20:27 +00:00
Joel Sherrill
649bcbc124 Changed bra.s to bra.l to correct compilation error triggered by new
version of binutils.
1999-10-05 19:19:13 +00:00
Joel Sherrill
74f3d8fc92 Corrected so sections did not overlap with new version of binutils. 1999-10-05 19:18:14 +00:00
Joel Sherrill
fce982a8c4 Corrected comment. 1999-10-05 19:17:45 +00:00
Joel Sherrill
952b3a2bd5 Added Jay Kulpinski (jskulpin@eng01.gdds.com) for mvme2307 BSP submission. 1999-10-05 19:16:59 +00:00
Joel Sherrill
30f7ff91fc Removed targets and configurations that are no longer functional
and not likely to become so.  Comments on each configuration
are below.

  + Force CPU386 - This BSP was developed as part of the initial
    port of RTEMS to the i386.  This board has been unavailable
    for a long time now.

  + GO32 - This BSP and some CPU code supported djgpp v1.x.  This
    version is now quite old.  No one has stepped forward to
    update the code to v2.x which may be technically impossible
    anyway.  More importantly, go32 has been superceded by the pc386 BSP.
1999-10-05 19:11:57 +00:00
Joel Sherrill
0439dba0ec Removed targets and configurations that are no longer functional
and not likely to become so.  Comments on each configuration
are below.

  + Force CPU386 - This BSP was developed as part of the initial
    port of RTEMS to the i386.  This board has been unavailable
    for a long time now.

  + GO32 - This BSP and some CPU code supported djgpp v1.x.  This
    version is now quite old.  No one has stepped forward to
    update the code to v2.x which may be technically impossible
    anyway.  More importantly, go32 has been superceded by the pc386 BSP.
1999-10-05 19:03:38 +00:00
Joel Sherrill
977623bbb1 Removed targets and configurations that are no longer functional
and not likely to become so.  Comments on each configuration
are below.

  + Force CPU386 - This BSP was developed as part of the initial
    port of RTEMS to the i386.  This board has been unavailable
    for a long time now.

  + GO32 - This BSP and some CPU code supported djgpp v1.x.  This
    version is now quite old.  No one has stepped forward to
    update the code to v2.x which may be technically impossible
    anyway.  More importantly, go32 has been superceded by the pc386 BSP.
1999-10-05 18:39:56 +00:00
Joel Sherrill
b22feedc31 Modified to remove reference to Force CPU386. Actually this was a misnamed
conditional that should have been fixed long ago.
1999-10-05 18:38:04 +00:00
Joel Sherrill
7c9cca11a0 Modified to remove error for overlapping sections now that
gnu.linkonce* sections are included.
1999-10-05 18:34:15 +00:00
Joel Sherrill
0139484fbd Patch from Wayne Bullaughey <wayne@wmi.com>. Comments follow:
I'm working on code to mount my host based file system on the base file
  system (imfs) and have a suggestion for a change to eval.c in the
  c/src/lib/libc directory of the 8/20/1999 snapshot.  The current version
  does not test the result value returned from the evalpath callback (line 47)
  in the case where follow_link is true.  Attached is my suggested change.
  Without this test the node_type callback may be called after evalpath
  failed.  node_type could set the type to some value other then
  RTEMS_FILESYSTEM_HARD_LINK or RTEMS_FILESYSTEM_SYM_LINK but it seems cleaner
  to add the check on result.
1999-10-05 16:34:20 +00:00
Joel Sherrill
6d81ea35e6 Removed targets and configurations that are no longer functional
and not likely to become so.  Comments on each configuration
are below.

  + Force CPU386 - This BSP was developed as part of the initial
    port of RTEMS to the i386.  This board has been unavailable
    for a long time now.

  + GO32 - This BSP and some CPU code supported djgpp v1.x.  This
    version is now quite old.  No one has stepped forward to
    update the code to v2.x which may be technically impossible
    anyway.  More importantly, go32 has been superceded by the pc386 BSP.
1999-10-05 14:20:12 +00:00
Joel Sherrill
1f0a2b89f8 Added wrapup directory. 1999-10-05 14:06:06 +00:00
Joel Sherrill
17978a10c2 Minor corrections to get mvme2307 to compile. 1999-10-05 14:05:30 +00:00
Joel Sherrill
133dcd92c9 Patch from Eric Valette <valette@crf.canon.fr> with two small
fixes related to GDB over TCP/IP debug.
1999-10-05 14:02:57 +00:00
Joel Sherrill
4075af6f55 Regenerated. 1999-10-05 13:49:54 +00:00
Joel Sherrill
d83c39dc36 Bug report and fix from Jay Kulpinski <jskulpin@eng01.gdds.com> where
sigemptyset(&old_mask) needed to be added on glibc2 systems.  Ian
Lance Taylor pointed out that sigemptyset() is portable so Joel removed
all conditionals around calls to sigemptyset().
1999-10-05 13:08:41 +00:00
Joel Sherrill
19ca7978a6 Motorola MVME2307 BSP submitted by Jay Kulpinski <jskulpin@eng01.gdds.com>.
No modifications made.
1999-10-04 20:41:28 +00:00
Joel Sherrill
92b211a4ca The fiels isatty.c and creat.c were copied from newlib/libc/posix to
avoid conflicts.
1999-10-04 19:51:29 +00:00
Joel Sherrill
7d96321834 Modifications necessary to support testing of exitting a pthread from
Charles-Antione Gauthier <charles.gauthier@iit.nrc.ca>.
1999-10-04 19:41:34 +00:00
Joel Sherrill
811804fec8 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to make fix bug
where wrapup left pieces out of the librtemsall.a.
1999-10-04 19:15:14 +00:00
Joel Sherrill
0efa9f01f8 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to make fix bug
where wrapup left pieces out of the librtemsall.a.
1999-10-04 18:53:31 +00:00
Joel Sherrill
cc63e08130 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to make libnetworking
a top level more independently configured package.
1999-10-04 18:40:53 +00:00
Joel Sherrill
5a83ba24bd Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
The patch below actuallly consists of two patches:
1) moving librpc to c/src/librpc similar to what has been done to librtems++
2) reworked configure scripts, many safety and dependency checks added to
aclocal/*.m4 macros + configuration fixes.

To apply:

mkdir c/src/librpc
mkdir c/src/librpc/src
cp c/src/lib/librpc/*.c c/src/librpc/src
cp c/src/lib/librpc/Makefile.in c/src/librpc/src
mkdir c/src/librpc/include
mkdir c/src/librpc/include/rpc
cp c/src/lib/include/rpc/* c/src/librpc/include/rpc
patch -p1 < ../rtems-rc-19990820-7.diff
rm -rf c/src/lib/librpc
rm -rf c/src/lib/include/rpc
./autogen

The additional checks in aclocal/*m4 macros add rather restrictive, sometimes
unnecessarily restrictive constraints on the sequence of how macros can be
used in a configure.in script. Adding them has let my problems with some more
complicated configuration options vanish. Apparently some macros had not been
in the required order .

----

Now I still get some linking errors for some cpus and bsps, esp when linking
cdtest, but also at other locations:

e.g. this happens for mips64orion/p4600:

# make[5]: Entering directory
`/lfs/poseidon/users/rtems/src/multi/build/mips64orion-rtems/c/p4600/tests/samples/hello'

/opt/rtems/bin/mips64orion-rtems-gcc --pipe -B../../../../../../p4600/lib/
-specs bsp_specs -qrtems -DP4000 -DCPU_R4000 -DP3_DIAG -D_R4000 -D__mips=3
-mcpu=4600 -G0   -I../../../../../../p4600/lib/include/networking  -g -Wall
-ansi -fasm  -O4 -fomit-frame-pointer     -o o-p4600/hello.exe
o-p4600/init.o ../../../../../../p4600/lib/no-dpmem.rel
../../../../../../p4600/lib/no-event.rel
../../../../../../p4600/lib/no-msg.rel ../../../../../../p4600/lib/no-mp.rel
../../../../../../p4600/lib/no-part.rel
../../../../../../p4600/lib/no-signal.rel
../../../../../../p4600/lib/no-timer.rel
../../../../../../p4600/lib/no-rtmon.rel
/opt/rtems/mips64orion-rtems/lib/libc.a(dtoa.o): In function `_dtoa_r':
/opt/hermes/embedded/build/build-mips64orion-tools/mips64orion-rtems/newlib/libc/stdlib/../../../../../src/newlib/libc/stdlib/dtoa.c:348: relocation truncated to fit: R_MIPS_LITERAL no symbol
/opt/hermes/embedded/build/build-mips64orion-tools/mips64orion-rtems/newlib/libc/stdlib/../../../../../src/newlib/libc/stdlib/dtoa.c:348: relocation truncated to fit: R_MIPS_LITERAL no symbol
/opt/hermes/embedded/build/build-mips64orion-tools/mips64orion-rtems/newlib/libc/stdlib/../../../../../src/newlib/libc/stdlib/dtoa.c:348: relocation truncated to fit: R_MIPS_LITERAL no symbol
collect2: ld returned 1 exit status

# mips64orion-rtems-gcc -v
Reading specs from /opt/rtems/lib/gcc-lib/mips64orion-rtems/2.95.1/specs
gcc version 2.95.1 19990816 (release)

# mips64orion-rtems-ld -v
GNU ld version 2.9.5 (with BFD 2.9.5)
1999-10-04 18:33:17 +00:00
Joel Sherrill
b62a92c804 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
The patch below actuallly consists of two patches:
1) moving librpc to c/src/librpc similar to what has been done to librtems++
2) reworked configure scripts, many safety and dependency checks added to
aclocal/*.m4 macros + configuration fixes.

To apply:

mkdir c/src/librpc
mkdir c/src/librpc/src
cp c/src/lib/librpc/*.c c/src/librpc/src
cp c/src/lib/librpc/Makefile.in c/src/librpc/src
mkdir c/src/librpc/include
mkdir c/src/librpc/include/rpc
cp c/src/lib/include/rpc/* c/src/librpc/include/rpc
patch -p1 < ../rtems-rc-19990820-7.diff
rm -rf c/src/lib/librpc
rm -rf c/src/lib/include/rpc
./autogen

The additional checks in aclocal/*m4 macros add rather restrictive, sometimes
unnecessarily restrictive constraints on the sequence of how macros can be
used in a configure.in script. Adding them has let my problems with some more
complicated configuration options vanish. Apparently some macros had not been
in the required order .

----

Now I still get some linking errors for some cpus and bsps, esp when linking
cdtest, but also at other locations:

e.g. this happens for mips64orion/p4600:

# make[5]: Entering directory
`/lfs/poseidon/users/rtems/src/multi/build/mips64orion-rtems/c/p4600/tests/samples/hello'

/opt/rtems/bin/mips64orion-rtems-gcc --pipe -B../../../../../../p4600/lib/
-specs bsp_specs -qrtems -DP4000 -DCPU_R4000 -DP3_DIAG -D_R4000 -D__mips=3
-mcpu=4600 -G0   -I../../../../../../p4600/lib/include/networking  -g -Wall
-ansi -fasm  -O4 -fomit-frame-pointer     -o o-p4600/hello.exe
o-p4600/init.o ../../../../../../p4600/lib/no-dpmem.rel
../../../../../../p4600/lib/no-event.rel
../../../../../../p4600/lib/no-msg.rel ../../../../../../p4600/lib/no-mp.rel
../../../../../../p4600/lib/no-part.rel
../../../../../../p4600/lib/no-signal.rel
../../../../../../p4600/lib/no-timer.rel
../../../../../../p4600/lib/no-rtmon.rel
/opt/rtems/mips64orion-rtems/lib/libc.a(dtoa.o): In function `_dtoa_r':
/opt/hermes/embedded/build/build-mips64orion-tools/mips64orion-rtems/newlib/libc/stdlib/../../../../../src/newlib/libc/stdlib/dtoa.c:348: relocation truncated to fit: R_MIPS_LITERAL no symbol
/opt/hermes/embedded/build/build-mips64orion-tools/mips64orion-rtems/newlib/libc/stdlib/../../../../../src/newlib/libc/stdlib/dtoa.c:348: relocation truncated to fit: R_MIPS_LITERAL no symbol
/opt/hermes/embedded/build/build-mips64orion-tools/mips64orion-rtems/newlib/libc/stdlib/../../../../../src/newlib/libc/stdlib/dtoa.c:348: relocation truncated to fit: R_MIPS_LITERAL no symbol
collect2: ld returned 1 exit status

# mips64orion-rtems-gcc -v
Reading specs from /opt/rtems/lib/gcc-lib/mips64orion-rtems/2.95.1/specs
gcc version 2.95.1 19990816 (release)

# mips64orion-rtems-ld -v
GNU ld version 2.9.5 (with BFD 2.9.5)
1999-10-04 18:20:14 +00:00
Joel Sherrill
4f021c01cc Removed Makefile.in generated from Makefile.am 1999-10-04 17:33:23 +00:00
Joel Sherrill
3ac8e5900d This file was not updated in a recent patch from Ralf Corsepius. 1999-10-04 16:58:20 +00:00
Joel Sherrill
95ba459981 Removed excep.c 1999-10-04 16:34:11 +00:00
Joel Sherrill
4451badfbf Removed. 1999-10-04 16:28:34 +00:00
Joel Sherrill
b7c712e308 Removed empty file. 1999-10-04 16:19:21 +00:00
Joel Sherrill
e50e3eff35 New test for getenv/putenv added by Joel. 1999-10-04 13:54:25 +00:00
Joel Sherrill
6fca2f5568 Patch from Eric Norum <eric@cls.usask.ca>. Comments follow:
The old system would panic when the loopback interface was included as
    part of the network initialation structures.  With the printf you get an
    message, but the interface is still properly initialized.
1999-10-04 13:51:22 +00:00
Joel Sherrill
cb6208444b Patch from Eric Norum <eric@cls.usask.ca> to ensure the console
initialization is only done once.
1999-10-04 13:47:31 +00:00
Joel Sherrill
67d0f4e1eb Modified to setup environment pointer on all BSPs. This results
in getenv/putenv working all the time without special assistance
from the BSP.
1999-10-04 13:43:46 +00:00
Joel Sherrill
936f288915 Setup environment pointer for getenv/putenv. Patch from Eric Norum
<eric@cls.usask.ca>.
1999-10-04 13:42:45 +00:00
Joel Sherrill
473b4e58d0 Regenerated. 1999-10-04 13:30:15 +00:00
Joel Sherrill
9888de34c3 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to fix bug report
from Eric Norum <eric@cls.usask.ca>.  This patch was rtems-19990820-0-diff
from Ralf.

    FYI: In parallel to the transition to automake, RTEMS is on a transition
    from make-time configuration to per-bsp and per-bsp configuration at
    configuration-time. Due to this several changes to configuration files
    have been added and might have broken something that has been working
    previously. Most noticeable behavioral change is that you now are required
    to use @RTEMS_BSP@ instead of $(RTEMS_BSP) inside of any Makefile.ins
    which are configured or build as part of the source-tree.

    > It used to be that only RTEMS_MAKEFILE_PATH had to be set.  Why is this
    > no longer sufficient?

    It should still be working, if it doesn't, it has to be considered to be
    broken and should be fixed.

    I am not sure, but I assume you are using Makefile.inc - In this case, you
    have found a bug in Makefile.inc.in which should be worked-around by the
    patch below. If my assumption is wrong, I would need more details ...
1999-10-04 13:16:50 +00:00
Joel Sherrill
0c7aab8d9f Changed rtems_isr_level to rtems_interrupt_level per Chris Johns'
<ccj@acm.org> suggestion.
1999-10-01 18:05:42 +00:00
Joel Sherrill
ed11cadf05 Numerous minor changes required to transition to the latest version
of texinfo and TeX.  This version of the tools can produce PDF with
figures included.
1999-10-01 17:44:06 +00:00
Joel Sherrill
a25f7028cb Clarified catch and disable per suggestion from Chris Johns <ccj@acm.org>. 1999-10-01 17:42:44 +00:00
Joel Sherrill
b406ad206f Added return 0 to pollWrite and InterruptWrite examples. Chris
Johns <ccj@acm.org> suggested this.
1999-10-01 17:35:36 +00:00
Joel Sherrill
3cad291962 Addition of more functionality by Eric Norum to support GNU readline. 1999-10-01 15:55:30 +00:00
Joel Sherrill
6b7a6d9840 changed version to 19990930 1999-09-30 14:21:03 +00:00
Joel Sherrill
cd177de297 changed version to 19990930 1999-09-30 14:11:32 +00:00
Joel Sherrill
06f98e7dc9 changed version to 19990930 1999-09-30 13:23:00 +00:00
Joel Sherrill
5a658489aa changed version to 19990909 1999-09-09 21:59:38 +00:00
Joel Sherrill
a24c2808e5 Applied patch rtems-rc-19990820-6.diff.gz from
Ralf Corsepius <corsepiu@faw.uni-ulm.de> which converted many
Makefile.in's to Makefile.am's.  This added a lot of files.
1999-09-09 21:22:36 +00:00
Joel Sherrill
e1d8abbe28 Applied patch rtems-rc-19990820-6.diff.gz from
Ralf Corsepius <corsepiu@faw.uni-ulm.de> which converted many
Makefile.in's to Makefile.am's.  This added a lot of files.
1999-09-07 13:45:03 +00:00
Joel Sherrill
c935c5f9db Removed by patch rtems-rc-19990820-6.diff.gz from
Ralf Corsepius <corsepiu@faw.uni-ulm.de> which converted many
Makefile.in's to Makefile.am's.
1999-09-07 12:55:28 +00:00
Joel Sherrill
6688a0d852 Missing file from Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
added.
1999-09-02 18:23:32 +00:00
Joel Sherrill
9396d1e43b Cleaned up to move conditional to C files -- not Makefile. 1999-09-02 18:12:57 +00:00
Joel Sherrill
9d709f59bd Added BSP chapter to FAQ. 1999-09-02 14:10:22 +00:00
Joel Sherrill
d9c2e9f507 Link fixed for CPU Supplements. Reported by Jose Vasconcellos
<josev@utstar.com>.
1999-08-30 22:01:14 +00:00
Joel Sherrill
a71938283c Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to move
c/src/lib/librtems++ and c/src/lib/include/rtems++ to
their own package librtems++ at the top of the tree.

    To apply:

        mkdir c/src/librtems++
        cp c/src/lib/librtems++/README c/src/librtems++
        mkdir c/src/librtems++/src
        cp c/src/lib/librtems++/*.cc c/src/librtems++/src
        cp c/src/lib/librtems++/Makefile.in c/src/librtems++/src
        mkdir c/src/librtems++/include
        mkdir c/src/librtems++/include/rtems++
        cp c/src/lib/include/rtems++/*.h c/src/librtems++/include/rtems++
        patch -p1 <rtems-rc-19990802-5.diff
        rm -rf c/src/lib/librtems++
        rm -rf c/src/lib/include/rtems++
        ./autogen

    Attention:
        * The procedure above copies the files first, then patches them
          and finally removes the old files afterwards. This has been done
          to enable you to copy the files in CVS to preserve their history.
1999-08-30 18:38:26 +00:00
Joel Sherrill
6cc786f96b Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
Somehow a nasty bug has made it in sh/start.S ("|", instead of "!", to
  begin an asm comment).

  I have no idea how this could remain undiscovered for so long (It is in
  rtems-4.0.0, too!), however upgrading to binutils from sourceware's CVS
  sh-rtems-as chokes on this bug. => I guess, either binutils changed its
  conventions or an obvious bug in as has been fixed.
1999-08-30 18:07:45 +00:00
Joel Sherrill
260b0c2155 Patch from Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca> to add
support for return codes from POSIX threads that do an implicit exit
by returning from the bottom of the main function.
1999-08-30 18:05:48 +00:00
Joel Sherrill
f724a870c6 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This patch addresses a few configuration issues and removes some
    duplicate configuration files.

    Background:
    * some files used in AC_INIT were not unique enough and can lead to
      problems if a user plays with configure scripts.
    * the Makefile templates are independent of the target/cpu and bsp, so
      the bsp dependent versions (c/src/make/Templates) are removed.

    To apply:
        patch -p1 < rtems-rc-19990820-3.diff
        rm -f c/src/make/Templates
        ./autogen

    ATTENTION: This patch removes several files and one directory :)
1999-08-30 16:25:54 +00:00
Joel Sherrill
473741bb07 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
1. Addition of maintainer-mode dependencies on config.status and
       aclocal.m4 for autoconf toplevel Makefile.ins. These rules are taken
       over from automake generated Makefile.ins, i.e. they are contained in
       any automake generated toplevel Makefile.in. Having this patch in is at
       least a great releaf for me when working on RTEMS configuration :)

    2. Automated support for #1 in acpolish

    3. Some minor "beautifications" on Makefile.ins resulting from running
       acpolish.

    FYI: This patch has been generated by running
    tools/update/rtems-polish.sh -ac on the source tree and manually editing
    the resulting patch afterwards to work around a problem with acpolish,
    which still corrupts one Makefile.in - WARNING: Be careful with running
    acpolish!
1999-08-30 15:37:30 +00:00
Joel Sherrill
e49d7c3df2 Removed definition of NO_IMPLICIT_EXTERN_C since it is supposed to be
in the compiler not in the header file.
1999-08-30 15:02:20 +00:00
Joel Sherrill
7c2243e352 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
The patch below actually consists of 3 patches:

        1. Addition of maintainer-mode dependencies on config.status and
           aclocal.m4 for autoconf toplevel Makefile.ins. These rules are taken
           over from automake generated Makefile.ins, i.e. they are contained in
           any automake generated toplevel Makefile.in. Having this patch in is
           at least a great releaf for me when working on RTEMS configuration :)

        2. Automated support for #1 in acpolish

        3. Some minor "beautifications" on Makefile.ins resulting from
           running acpolish.

    FYI: This patch has been generated by running
    tools/update/rtems-polish.sh -ac on the source tree and manually editing
    the resulting patch afterwards to work around a problem with acpolish,
    which still corrupts one Makefile.in - WARNING: Be careful with running
    acpolish!

    I expect this patch not to have any influence on normal users, unless
    they use --enable-maintainer-mode, thus merging it should be rather
    harmless.
1999-08-30 14:28:39 +00:00
Joel Sherrill
a60a7bbd29 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
The patch below actually consists of 3 patches:

        1. Addition of maintainer-mode dependencies on config.status and
           aclocal.m4 for autoconf toplevel Makefile.ins. These rules are taken
           over from automake generated Makefile.ins, i.e. they are contained in
           any automake generated toplevel Makefile.in. Having this patch in is
           at least a great releaf for me when working on RTEMS configuration :)

        2. Automated support for #1 in acpolish

        3. Some minor "beautifications" on Makefile.ins resulting from
           running acpolish.

    FYI: This patch has been generated by running
    tools/update/rtems-polish.sh -ac on the source tree and manually editing
    the resulting patch afterwards to work around a problem with acpolish,
    which still corrupts one Makefile.in - WARNING: Be careful with running
    acpolish!

    I expect this patch not to have any influence on normal users, unless
    they use --enable-maintainer-mode, thus merging it should be rather
    harmless.
1999-08-30 14:16:07 +00:00
Joel Sherrill
d392168a49 Typo causing compilation failure spotted by Ralf Corsepius and
fixed by Joel.
1999-08-26 21:14:20 +00:00
Joel Sherrill
638154c6bf Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This one is a minor fix for the librdg-Makefiles for mcp750, mostly an
  adaptation to the Makefiles used for the i386.
1999-08-26 20:59:52 +00:00
Joel Sherrill
e0c6f431b6 Comment cleanup from Eric Norum <eric@cls.usask.ca>. 1999-08-26 20:52:40 +00:00
Joel Sherrill
72f9937b62 Removed need for use of separate include/networking directory. 1999-08-23 18:48:07 +00:00
Joel Sherrill
48abdc31fd Patch from Eric Norum <eric@cls.usask.ca> to readd the behavior where
the minor number indicated the port number to try.
1999-08-23 14:58:16 +00:00
Joel Sherrill
da0349ca88 changed version to 19990820 1999-08-20 19:31:52 +00:00
Joel Sherrill
b290217a6b Updated version numbers. 1999-08-20 19:31:47 +00:00
Joel Sherrill
ec66a419a3 Now formats. 1999-08-20 19:31:35 +00:00
Joel Sherrill
9884d3e577 changed version to 19990820 1999-08-20 18:33:37 +00:00
Joel Sherrill
71f16a4499 Support for MPC505 from Sergei Organov <osv@Javad.RU>. His patch was
against 3.6.0 so was painful to merge.  It should be OK but there
is no guarantee and there are no BSPs in the tree to exercise it.
1999-08-19 22:07:00 +00:00
Joel Sherrill
96284fd815 Support for MPC505 from Sergei Organov <osv@Javad.RU>. His patch was
against 3.6.0 so was painful to merge.  It should be OK but there
is no guarantee and there are no BSPs in the tree to exercise it.
1999-08-19 21:47:51 +00:00
Joel Sherrill
3b568bd557 Fixed Gunter Magin's email address in 3 places. 1999-08-19 21:31:58 +00:00
Joel Sherrill
1b97fe7633 Added comment explaining what this file is. 1999-08-19 20:52:06 +00:00
Joel Sherrill
d11a35c827 Crossgcc FAQ entry 1999-08-19 20:51:14 +00:00
Joel Sherrill
d7792ac9ed More corrections form Gunter Magin. 1999-08-19 20:12:23 +00:00
Joel Sherrill
54789c463d Added Eric Norum's ftp site for BDM m68k. 1999-08-19 15:36:06 +00:00
Joel Sherrill
03be71eca5 Changed Chris Johns' email address 1999-08-19 14:56:22 +00:00
Joel Sherrill
219e638f8b Added info in NT MPC8xx BDM 1999-08-19 14:55:22 +00:00
Joel Sherrill
01e6a05bd8 Added some more. 1999-08-18 21:04:59 +00:00
Joel Sherrill
b8080380d1 Reran and replaced screen after report from Gerwin Pfab <pb@schenk.isar.de>. 1999-08-18 20:59:36 +00:00
Joel Sherrill
4efe75eb08 New file. 1999-08-18 20:06:36 +00:00
Joel Sherrill
fc766ef51e Added section on malloc reentrancy. 1999-08-18 20:04:43 +00:00
Joel Sherrill
f2180e0f05 Patch from Jimen Ching <jimen@adtech-inc.com>:
Please take a look at this new patch.  It contains a cleaner implementation
of the reset operation.  These patches are against 4.0.0.  But the files
did not change from the 3.6.0 release.  Also, the cpu.h patch below still
applies.  I.e. instead of using i960ca_PRCB, use i960_PRCB.

Explanation:

        The previous patch removed the use of the reset instruction,
        because it always fails.  But this was due to the fact that
        some of the registers were corrupted by the re-init procedure.
        The new patches save and restore those registers when a re-init
        is done.
1999-08-18 20:00:05 +00:00
Joel Sherrill
e8367362ca Slightly cleaner way to switch on the CPU model. 1999-08-18 19:57:40 +00:00
Joel Sherrill
6fc973e39b Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
Here is another fix, which addresses a few more or less severe bugs in
    configuration and unix/posix:

    * Configuration fix: c/src/lib/configure.in didn't handle RDBG correctly

    * Configuration fix: make depend was non-functional in
      c/src/lib/libc/Makefile.in
    * Configuration fix: stray comment removed from aclocal/target.m4

    * RTEMS fix: termios support for unix/posix now uses the host's headers
      only (was completely broken).
    - Don't install RTEMS's newlib sys/termios.h for unix (sys/termios.h
      apparently is a newlib specific header)
    - To be able to compile RTEMS's  termios.c with glibc2.1, glibc-2.1
      needs __USE_MISC, which is a private define from gcc's features.h, being
      defined only when _BSD_SOURCE of _SVID_SOURCE is defined.  RTEMS's
      termios apparently implements BSD, thus -D_BSD_SOURCE was added to
      Linux-posix.cfg.
    - Conflicting definitions for  __USE_MISC and _BSD_SOURCE inside of
      RTEMS codes removed due to definition of _BSD_SOURCE on the toplevel.

    This fix has been tested with linux/posix (primary glibc2.1 native),
    linux/posix (secondary libc5 native), sh/gensh1, i386/pc386 and a couple
    of other bsp's/CPU.

    To apply:

        cd <srcdir>
        patch -p1 < rtems-rc-19990709-9.diff

    and
        aclocal -I aclocal && automake && autoconf
        cd c/src/lib; autoconf

    or
        ./autogen
1999-08-18 16:49:52 +00:00
Joel Sherrill
ea562ee977 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
After upgrading my linux box to the brand new SuSE 6.2 release, which is
    glibc-2.1 based, I came across a bug in RTEMS - IIRC, I even warned you
    about it about 1/2 a year ago, but nothing has been done since then :-.

    The *.m4 macros to check for SYSV/IPC are broken for linux/glibc2.1,
    because they assume that linux always defines union semun, which isn't
    true anymore for glibc2.1 (the manpage for semctl states _X_OPEN
    specifies it this way). Therefore I have tried to implement a more
    general approach for handling SYSV for unix/posix which checks for
    presence of struct semun, instead of trying  to evaluate OS specific
    preprocessor symbols.

    This approach is a bit adventureous, because I only tested it with
    linux/glibc2.1 and linux/libc5, but not under other Unix variants RTEMS
    supports. I am quite confident it will work on other hosts, too, but who
    knows :-.

    [FYI: I think this might also is the cause of some problems with RedHat
    6.X / Mandrake linux recently reported on the rtems list -- rtems-4.0.0
    can not be build for posix on any glibc2.1 based host]

    Furthermore the patch below contains a couple of minor fixes and
    configuration cleanups, which IMO should be applied before releasing a
    new snapshot.

    To apply this patch:

        cd <source-tree>
        patch -p1 < rtems-rc-19990709-8.diff
        ./autogen
1999-08-12 18:22:17 +00:00
Joel Sherrill
8aefe83224 Patch from Tony R. Ambardar <tonya@ece.ubc.ca>:
I'm attaching a big patch for the ts_386ex BSP which adds and includes
    the following:

    1) Conversion to ELF format + minor code cleanups + documentation.

    2) An Ada95 binding to FreeBSD sockets, based on Samuel Tardieu's
       adasockets-0.1.3 package. This includes some sample applications.

    3) Some Ada and C interfaces to add serial-port debugging to
       programs. Comes with examples, too; the Ada one shows how
       transparent adding the support can be. Note that Rosimildo sent me
       the original C code.

    The network stuff is not BSP specific, and could be added to your Ada
    code collection. The debugging stuff is specific to the i386. Right
    now, everything sits in my "tools" directory.
1999-08-11 23:58:16 +00:00
Joel Sherrill
1d4048b236 Patch from Tony R. Ambardar <tonya@ece.ubc.ca>:
I'm attaching a big patch for the ts_386ex BSP which adds and includes
    the following:

    1) Conversion to ELF format + minor code cleanups + documentation.

    2) An Ada95 binding to FreeBSD sockets, based on Samuel Tardieu's
       adasockets-0.1.3 package. This includes some sample applications.

    3) Some Ada and C interfaces to add serial-port debugging to
       programs. Comes with examples, too; the Ada one shows how
       transparent adding the support can be. Note that Rosimildo sent me
       the original C code.

    The network stuff is not BSP specific, and could be added to your Ada
    code collection. The debugging stuff is specific to the i386. Right
    now, everything sits in my "tools" directory.
1999-08-11 23:45:57 +00:00
Joel Sherrill
91e9ab87e1 Final update from Santanu Mitra <smitra@cs.uah.edu>, T.N.S. Prasad
<ptelukun@cs.uah.edu>, and Wei He <whe@cs.uah.edu> on the Fixed
Block and Memory Pool Managers.
1999-08-11 21:14:16 +00:00
Joel Sherrill
be5df8de05 Added ts_i386ex 1999-08-10 21:19:26 +00:00
Joel Sherrill
1775dad530 Last minute patch to change the signal type for ASM_PROG_VECTOR from
Eric Valette <valette@crf.canon.fr>.
1999-08-10 18:10:23 +00:00
Joel Sherrill
cef2fb5fda Last minute cleanup patch to close comment from Eric Valette
<valette@crf.canon.fr>.
1999-08-10 18:08:56 +00:00
Joel Sherrill
981b99faf2 Patch from Eric Valette <valette@crf.canon.fr> and Emmanuel Raguet
<raguet@crf.canon.fr>:

    - the dec21140 driver code has been hardened (various bug fixed) Emmanuel,
    - bug in the mcp750 init code have been fixed (interrupt stack/initial
      stack initialization), BSS correctly cleared (Eric V)
    - remote debugging over TCP/IP is nearly complete (berakpoints,
      backtrace, variables,...) (Eric V),
    - exception handling code has also been improved in order to fully
      support RDBG requirements (Eric V),
1999-08-10 16:41:44 +00:00
Joel Sherrill
908436c1ec New configuration files added by patch from
Ralf Corsepius <corsepiu@faw.uni-ulm.de>".
1999-08-10 15:38:09 +00:00
Joel Sherrill
01be59d939 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to correct a minor
problem with the HAS_MP patch and regenerated files.
1999-08-10 15:08:58 +00:00
Joel Sherrill
e1929ce8e3 Added define at request of Jason Merrill. 1999-08-10 15:03:12 +00:00
Joel Sherrill
2fe7208306 Added NO_IMPLICIT_EXTERN_C at suggestion of Jason Merrill. 1999-08-10 15:02:23 +00:00
Joel Sherrill
3a8915e6ee Patch rtems-rc-19990709-6-diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
applied.  This modified many Makefiles and custom files and makes many more
settings (network, multiprocessing, etc) gnerated by autoconf.
1999-08-06 17:55:25 +00:00
Joel Sherrill
22544db9d8 Typo -- removed blank line at top of file. 1999-08-06 16:56:16 +00:00
Joel Sherrill
f42fb02e1d Patch from Jiri Gaisler <jgais@ws.estec.esa.nl> to fix remote gdb use:
I just released erc32ccs-2.0.6 which includes some fixes and the
    Ada-self optimisation. Remote debugging of Ada programs did not
    work due to a conflict between monior and rtems trap handlers.
    I have attached a modified gnatsupp.c that makes remote debugging
    possible again.
1999-08-06 16:00:32 +00:00
Joel Sherrill
a92280e02d Now supports C++ global constructors and exceptions. 1999-08-05 22:37:17 +00:00
Joel Sherrill
1c92f8a8a8 changed version to 19990805 1999-08-05 18:48:05 +00:00
Joel Sherrill
a1c70a2a0c Fixed typo on report from Tony R. Ambardar <tonya@ece.ubc.ca>. 1999-08-05 18:02:15 +00:00
Joel Sherrill
783e8322d3 Patch from Eric Valette <valette@crf.canon.fr> to fix interrupt
initialization typo and make i8259s_cache only accessed from C.
1999-08-03 13:52:59 +00:00
Joel Sherrill
26eff5c295 Fix By Joel based on suggestion from Ian Lance Taylor <ian@airs.com>
to fix problem reported by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.

   Date: Fri, 30 Jul 1999 14:53:20 -0500 (CDT)
   From: <joel@oarcorp.com>

   it is used like this in i386ex/start/start.S

                       /* set up same values in cache */
       start.S:      movw    $0xFFFB, SYM(i8259s_cache)

   I am heading out the door.  Any other ideas what could have tripped this?

   This instruction appears in a .code16 section.  In a .code16 section,
   current versions of gas assume that all addresses are 16 bits unless
   told otherwise.

   If you change the line to
       addr32   movw $0xFFFB, SYM(i8259s_cache)
   then you will get a 32 bit address reference.

   You may want to use addr32 only when NEW_GAS is defined.
1999-08-02 20:26:57 +00:00
Joel Sherrill
60ee6da7ad Updated DDD section after comments from Jiri. 1999-08-02 16:38:28 +00:00
Joel Sherrill
ae2ddb8103 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
The patch below fixes a nasty bug in acpolish, which has broken many
    Makefile.ins below c/src/tests/

    APPLYING THE PATCH:
        patch -p1 < rtems-rc-19990709-5.diff

    The essential part of this patch is the diff-fragment for acpolish
    contained in this patch. Ie. if any of the other diffs do not apply,
    make sure that the acpolish diff was applied correctly and then run
        cd <srcdir>
        tools/update/rtems-polish.sh -ac
1999-08-02 15:40:27 +00:00
Joel Sherrill
fdb37e81ec New file from Ralf Corsepius <corsepiu@faw.uni-ulm.de> missed being added
in a previous patch.
1999-08-02 15:33:26 +00:00
Joel Sherrill
ac384b98f5 Added more sections to pick up all of the new C++ sections. 1999-08-02 15:25:24 +00:00
Joel Sherrill
bd5278665f Now correctly does deep copy. 1999-08-02 15:24:57 +00:00
Joel Sherrill
a3c8bdabdb Update from Andrew McDowell <drew@getaway.net>. DOS CR/LF, etc fixed
by Joel.
1999-08-02 13:55:39 +00:00
Joel Sherrill
1896a650fc Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
The main topic is replacing the hard-coded values for HAS_MP and
  HAS_RDBG in custom/*.cfg with per-bsp configuration-time autoconf checks
  (This is the patch I had mentioned before earlier this week).

  CHANGES

  * HAS_MP removed from custom/*.cfg, replaced with configuration time
    autoconf check
  * HAS_RDBG removed from custom/*.cfg, replaced with configuration-time
    autoconf check
  * NEW: c/src/make/bsp.cfg.in, takes configuration-time checked per-bsp
    values (i.e. HAS_MP, HAS_RDBG), gets installed as
    $(prefix)/<bsp>/make/bsp.cfg
  * NEW: default.cfg includes bsp.cfg - this change is backward
    compatible.
  * IMPORT_SRC: apply VPATH instead for ts_386ex/i386ex subdirectory
    Makefile.ins
  * HACK: a bug in acpolish mis-handles addtions to makefile variables
    which are enclosed in gmake conditionals:
    c/src/lib/libbsp/m68k/ods68302/start302/Makefile.in
  * Apply inline_dir, HAS_MP and HAS_RDBG for avoiding configuration of
    unneeded subdirectories in various configure.in files.
  * Several minor changes in Makefile.ins and configure.ins, wrt. to the
    order of including *.cfg and defining Makefile variables

  APPLYING THE PATCH:

      patch -p1 < rtems-rc-19990709-4.diff
      ./autogen
1999-07-30 17:52:50 +00:00
Joel Sherrill
aa9eb94058 Fixed typos. 1999-07-30 17:28:11 +00:00
Joel Sherrill
a2cc7b7fb4 Corrected typo and added correct conditional compilation on RTEMS_POSIX_API. 1999-07-30 17:18:39 +00:00
Joel Sherrill
6805640ec7 Patch from Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
to correct a typo CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES was actually
typed in as CPU_CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
1999-07-29 23:01:15 +00:00
Joel Sherrill
760777db72 Added section on ddd. 1999-07-29 22:54:10 +00:00
Joel Sherrill
c985385813 Added some more information on BDM debuggers. 1999-07-29 22:48:19 +00:00
Joel Sherrill
14e62e1a1a Added information on David Fiddes site. 1999-07-29 22:48:04 +00:00
Joel Sherrill
e112b63097 Patch to remove rcs-clean.in as it is unused from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>.
1999-07-28 18:04:52 +00:00
Joel Sherrill
f94e76ba02 Fix after this report from Peter Pointner <pr@schenk.isar.de>:
Problem: a posix thread which is created by

      pthread_attr_init(&tattr);
      pthread_attr_setinheritsched(&tattr, PTHREAD_EXPLICIT_SCHED);
      pthread_attr_setschedpolicy(&tattr, SCHED_RR);
      pthread_create(&th, &tattr, func, arg);

    has a first timeslice of 2^32 ticks (changing a running thread to
    SCHED_RR id ok).

    I use RTEMS-4.0.0. I am not sure if the problem exists in the current CVS
    head revision. If it's not fixed, the patch at the end should do it.

Peter


--- pthreadcreate.c.orig        Wed Jul 28 14:45:58 1999
+++ pthreadcreate.c     Wed Jul 28 15:06:09 1999
@@ -199,6 +199,10 @@
   api->schedpolicy = schedpolicy;
   api->schedparam  = schedparam;

+  if ( schedpolicy == SCHED_RR ) {
+    the_thread->cpu_time_budget = _Thread_Ticks_per_timeslice;
+  }
+
   /*
    *  This insures we evaluate the process-wide signals pending when we
    *  first run.
1999-07-28 18:03:20 +00:00
Joel Sherrill
f28dfb368c Added information on using objcopy to produce IEEE-695 format. 1999-07-28 17:29:54 +00:00
Joel Sherrill
f82c98bbb5 Missed adding file from Eric Valette <valette@crf.canon.fr>.
This file is necessary because the bootloader is compiled with different
options than the basic C library.
1999-07-28 16:14:57 +00:00
Joel Sherrill
c32555cb27 Patch from Jay Kulpinski <jskulpin@eng01.gdds.com> to correct
definitions of CONSOLE_USE_POLLED to be !CONSOLE_USE_INTERRUPTS
instead of ~CONSOLE_USE_INTERRUPTS.
1999-07-27 15:20:36 +00:00
Joel Sherrill
54f440d311 Patch from Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>.
to address m68k-rtemself for the MVME167.

    Here is the rtems patch I promissed you a long time ago to enable ELF
    with m68k. The target name I selected is m68k-rtemself. It preserves the
    m68k-rtems COFF target, and is parterned after the other ELF/COFF dual
    targets.

    The mvme167.cfg file causes the -qelf flag to be used during compilation
    if the name of the compiler contains rtemself. This flag is used in the
    bsp_specs file to select the elflinkcmds file rather than the linkcmds
    file. The former is for ELF, the latter for COFF.

    Some patches are required to the mc68040 FPSP code. Some of the
    assembler files contain instructions that were rejected by the
    m68k-rtemself-as assembler.  This is a minor bug in the m68k ELF
    assembler, I think.
1999-07-26 22:11:02 +00:00
Joel Sherrill
220ad7de67 Patch fixing typo from Eric Valette <valette@crf.canon.fr> on bug report
from Jay Kulpinski <jskulpin@eng01.gdds.com>.
1999-07-26 21:38:08 +00:00
Joel Sherrill
38bfb0db72 Patch from Eric Valette <valette@crf.canon.fr> based on a tremendous
bug report from David Decotigny <David.Decotigny@irisa.fr>:

  During the last few days, I've been back working on RTEMS. Let me
  remind you that RTEMS didn't boot on our (old) Dell P90 machines (ref:
  PC 590) : we could only get a reboot out of them.

  1/ The symptoms
  ---------------

  Hopefully, the problem was rather deterministic. The stack couldn't be
  written correctly : issueing one or more "push" would always push '0'
  onto the stack. The way to solve this was to issue a "pop", such as
  "pushl eax ; popl eax". After this "pop", the stack would be writeable
  again.

  BUT, it will be writable for 8 consecutive "push"s. After these 8
  "push"s, the other "push"s are wrong again, and a blank push/pop is
  needed.

  Considering that the L1 cache lines of this pentium are 32 bytes long,
  and that 8 long int are 32 bytes long too, it came to us that there
  was a problem with the cache.

  Actually, the bug of the push could be shown through memory accesses
  directly : writing on an not-in-cache mem location would put 0 until
  this mem location is accessed through a single "read". Then, the whole
  cache line would be right again.

  2/ The consequences
  -------------------

  Of course, that was the first thing that we've been able to observe ;)
  RTEMS could not boot. Actually, when a "call" pushed 0 onto the stack,
  the ret could only lead to raise an exception a bit later. Since, in
  the early stage, the Interrupt vector points to 0, averything couldn't
  get worse : triple fault + reboot.

  3/ Explanation
  --------------

  This cache mechanism corruption only appeared after load_segment()
  returned (through a jump). Investigating a bit further shows that this
  appears /sometimes/ during the PICs initialization.

  "Sometimes" proved to be "When writing something with the 4th bit of
  %al set". That is "when writing 0x28 or 0xff" for example. Clearing
  this bit would just make the things work right.

  Actually, this isn't a bug in the proper PIC initialization (which is
  quite academic). It came from the "delay" routine, which theoretically
  does nothing but writing to an "inexistant" port (0xed), in order to
  lose some time.

  BUT, in the special case of our Dell P90, it appears that this 0xed
  port does something cruel with the cache mechanism when its 4th bit
  (aka bit 3 or 0x8) is set.

  I didn't investigate this non-standard behaviour of the P90 any
  further : I don't know if this is documented, or if it is just another
  (known ?) bug of the early Pentiums. Just notice that we have 5 such
  machines, and it has the same effect on the cache mechanism.

----------------------------------------------------------------------
1999-07-26 21:35:15 +00:00
Joel Sherrill
29e68b7584 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This patch is an addition to "The big-patch"

  CHANGES:
  * FIX: c/Makefile.am: bogus comment which changed the behavior of
    c/Makefile.am removed
  * FIX: make/custom/ts_i386ex.cfg did not set HAS_NETWORKING correctly
    (Me thinks it might have been me who added this bogus setting :-).

  * NEW: removing make targets get, protos, debug_install, profile_install

  * NEW: replacing clobber with distclean
  * NEW: Reimplement distclean and clean as reverse depth first make
    targets (adaptation to automake's behavior)
  * NEW: removing RCS_CLEAN from make distclean (tools/build/rcs_clean is
    still in - remove it?)
  * NEW: "$(RM) Makefile" added to make distclean (adaptation to
    automake's behavior)
  * NEW: "$(RM) config.cache config.log" to CLOBBER_ADDITIONS in
    [lib|exec|tests]/Makefile.in (adaptation to automake's behavior)
  * NEW: "$(CLEAN_PROTOS)" removed (Not used anywhere)
  * NEW: binpatch.c moved from i386 bsp tools to tools/build (AFAIS,
    binpatch is not specific to the pc386 BSP at all)
  * NEW: AC_EXEEXT added to all configure scripts which contain AC_PROG_CC
    (Cygwin support)

  * NEW/Experimental: An experimental implementation of temporary
    installation tree support in libbsp/i386/pc386/tools/Makefile.am, based
    on dependency tracking with make, instead of applying INSTALL_CHANGE.


  REMARK:
  * This patch is small in size, but changes the behavior of "make
    clean|distclean|clobber" basically.
  * This patch does not alter building/compiling RTEMS, ie. there should
    be no need to rerun all "make all" building tests.

  KNOWN BUGS:
  * make RTEMS_BSP="..." distclean in c/ runs "make distclean" in BSPs
    subdirectories passed through RTEMS_BSP and in "c/." only, but does not
    descend into other BSP subdirectories previously configured with
    different settings of make RTEMS_BSP="...".
    => Workaround: always use the same setting of RTEMS_BSP when working
    inside the build-tree.

  * "make [distclean|clean]" do not clean subdirectories, which have been
    configured at configuration time, but  which are not used due to
    make-time configuration (e.g. macros/networking/rdgb subdirectories).
    This will problem will vanish by itself when migrating from make-time to
    configuration-time configuration

  APPLYING THE PATCH

      mv c/src/lib/libbsp/i386/pc386/tools/binpatch.c tools/build
      patch -p1 < rtems-rc-19990709-2.diff
      autogen
1999-07-26 21:26:44 +00:00
Joel Sherrill
08b5f55b6f Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
A bug in acpolish made it into rtems-rc-19990709-0.diff, which
    unfortunately affects all Makefile.ins:

    * The maintainer mode conditional was erroniously applied to the
      dependencies of "Makefile".

    In case you already checked in rtems-rc-19990709-0.diff to CVS you have
    to check in all Makefile.ins again after applying the patch below :).

    Please apply the patch below as follows:

        patch -p1 < rtems-rc-19990709-1.diff
        tools/update/rtems-polish.sh -ac

    Note: There is no need to rerun your tests if you have used
    --enable-maintainer-mode to configure RTEMS, because this patch converts
    all Makefile.ins to the same settings as used for
    --enable-maintainer-mode.
1999-07-26 20:31:49 +00:00
Joel Sherrill
eb299afca2 This is part of a major patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to move RTEMS more to automake/autoconf and GNU compliance.

    Finally, here they are: the "big-patch" patches - merged into one big
    patch (~1.5MB).

    Sorry for the delay, but testing took much more time than I had expected
    - esp. reworking the acpolish script triggered many more tiny issues
    than I had expected (cf. below).

    At least, now you've got something to spend your weekend with :-.


    WARNINGS:
    * I've gone a little (??) further than I had announced before.
    * Several directories have been moved.
    * Several files have been added and removed
    * I have tested it with many BSPs/CPUs and a variety of permutiations of
    configuration flags, but not with all.
    * Most parts of the patch are automatically generated, however there are
    many tiny manual modifications.

    APPLYING THE PATCH:

    ./autogen -c
    mkdir tools
    mv c/src/exec/score/tools tools/cpu
    mv c/build-tools tools/build
    mv c/update-tools tools/update
    patch -p1 -E < rtems-rc-19990709-0.diff
    ./autogen

    If the patch doesn't apply to rtems-cvs, I would suggest that you should
    try to apply it brute-force and then to run tools/update/rtems-polish.sh
    -ac -am afterwards. A recursive diff between rtems-19990709 + patch and
    rtems-cvs + patch then should report only a few dozen significant
    changes to configuration files which need to be merged manually (IIRC, I
    did not change any source files).

    *** Attention: There are files to be removed, moved, copied and added
    in/to CVS!

    NEWS/CHANGES:
    1. Configuration takes place in 3 stages: 1. per host (toplevel
    configure script), 2. per target (c/configure), 3. per bsp
    c/src/configure automatically triggered from ./configure and
    c/Makefile.am.
    2. Building of subdirectory c/ takes place in c/$(target_alias) for
    cross-targets in c/ for native targets
    3. Building of subdirectory c/src takes place in c/${target_alias}/<bsp>
    for cross-targets, c/<bsp> for native targets
    4. c/build-tools moved to tools/build
    5. c/src/exec/score/cpu/tools moved to tools/cpu (=cpu-tools split out)
    6. c/update-tools moved to tools/update
    7. New subdirectory c/src/make, handles files from make/ on a per BSP
    basis
    8. Maintainer mode support: Ie. if configuring with
    --enable-maintainer-mode disabled (the default), then tracking of many
    dependencies will be disabled in Makefiles. Esp. many dependencies for
    auto* generated files will be switched off in Makefiles. Ie. if not
    using "--enable-maintainer-mode" many auto* generated files will not be
    updated automatically, i.e. normal users should not be required to have
    auto* tools anymore (untested).
    9. Independent configuration scripts for / (toplevel), tools/build,
    tools/cpu, tools/update, c/, c/src/, c/src/exec, c/src/lib, c/src/tests,
    c/src/make
    10. Automake support for all directories above and besides c/src
    11. "preinstall" now is implemented as depth-first recursive make target

    12. host compiled tools (exception bsp-tools) are accessed in location
    in the build tree instead of inside the build-tree when building RTEMS.
    13. RTEMS_ROOT and PROJECT_ROOT now point to directories inside the
    build-tree - many tiny changes as consequence from this.
    14. --with-cross-host support removed (offically announced obsolete by
    cygnus)
    15. Changing the order of building libraries below c/src/lib/
    16. Former toplevel configure script broken into aclocal/*.m4 macros
    17. Newlib now detected by configure macros, RTEMS_HAS_NEWLIB removed
    from *cfg.
    18. sptables.h now generated by autoconf
    19. Rules for "mkinstalldirs temporary installation tree" moved from
    c/Makefile to subdirectories.
    20. Cpu-tools do not get installed.
    21. FIX: Use ACLOCAL_AMFLAGS instead of ACLOCAL = -I ... in Makefile.ams
    which are in directories with own configure scripts.
    22. Hardcoding BSP names into libbsp/.../tools to avoid RTEMS_BSP get
    overridden from the environment.
    22. FIX: Handling of MP_PIECES in various Makefiles
    23. FIX: Removing "::" rules from some Makefile.ins
    24. FIX: File permission chaos: (-m 444 and -m 555 vs. -m 644 and -m
    755) - Now all include files use -m 644.
    25. Removed many gnumake-conditionals in Makefile.ins - Partially
    replaced with automake-conditional, partially replaced with
    conditionalized Makefile variables (... _yes_V)
    26. Massively reworked acpolish: acpolish now parses Makefile.ins and
    interprets parts of the Makefile.ins.
    27. FIX: Some $(wildcard $(srcdir)/*.h) macros removed / replaced with
    explicit lists of files in Makefile.ins.
    28. FIX: Replacing MKLIB with RANLIB in Makefile.ins
    29. HACK: Add preinstallation for pc386 specific
    $(PROJECT_RELEASE)/BootImgs directory

    ... many more details, I can't recall


    KNOWN BUGS:
    1. make [debug|profile]_install do not do what they are promissing.
    "make [debug|profile] install" does what "make [debug|profile]_install"
    has been doing. Proposal: remove [debug|profile]_install
    2. Dependencies between temporary installation tree and source tree are
    not yet handled correctly.
    3. Dependencies between temporary installation tree and source tree are
    handled ineffencently (Using INSTALL_CHANGE instead of make
    dependencies)
    4. RTEMS_ROOT, PROJECT_ROOT, top_builddir, RTEMS_TOPdir now are
    redundant.
    5. The new configure scripts still are in their infancy. They contain
    redundant checks and might still contain bugs, too.
    6. RTEMS autoconf Makefile.ins use a mixture of configuration
    information gathered in c/$(target_alias)/<bsp>/make and of information
    collected from their configure scripts.
    7. make dist is not fully functional
    8. Subdirectory host-/build-/target- configure options (--target,
    --host, --build) do not conform to Cygnus/GNU conventions.
    9. Some RTEMS autoconf Makefile.in's makefile targets are not supported
    in automake Makefile.ams/ins (e.g. get, clobber).
    10. Some automake standard targets are not propagated from toplevel and
    c/Makefile.am to autoconf subdirectories (eg. make dist).
    11. rpcgen generated files are not part of the source-tree (Automake
    conventions favor supplying generated files inside the source-tree,
    however there is no support for rpcgen generated files in automake, cf.
    yacc/lex support in automake).
    12. RTEMS_HAS_RDBG handling is flaky. make/*.cfg use RTEMS_HAS_RDBG per
    CPU, while librdb's sources can only be built per BSP. Raises the more
    general question whether librdbg located correctly in the source-tree.
    13. All make/*cfg files are configured per cpu, currently there is no
    location to store per-bsp configuration information --> bsp.cfg, per
    aconfig.h?
    14. "make install" without having run "make all" beforehand does not
    work.
    15. handling of --enable-multiprocessing seems to be broken in
    make/custom/*
    16. Makefile.ins still exploit many gmake features.
    17. File permisson chaos on libraries (no explict -m for
    libraries/rels/etc).
    18. mcp750 Makefiles are broken (Note: I *do* mean buggy - I am not
    talking about "not-conforming to  conventions", here :-).
    19. Dependencies between configure scripts are not handled, eg. aborting
    "make RTEMS_BSP=<bsp>" can leave the build-tree in an unusable state.
    20. "make clean" does not delete <build-tree>/<bsp>. This is intentional
    for now, because rerunning "make" after "make clean" requires an
    explicit "make preinstall" afterwards now. This should be done
    automatically, but doesn't work in this case for now. To work around
    this problem <build-tree>/<bsp> is kept during "make clean" for now
    (HACK).

    TODO:
    1. split out host-compiled bsp-tools
    2. Use Cygnus/GNU standards for cross-compiling target-subdir
    (CC=CC_FOR_TARGET .. configure --host=${target_alias}
    --build=`config.guess'}), to be added to toplevel configure script after
    splitting out bsp-tools.
    3. Exploit per cpu support directory (c/src/<cpu>)- Splitting out
    per-cpu libraries - Are there any?
    4. Further automake support
    5. Converting subdirectories into standalone / self-contained
    subdirectories (Esp. moving their headers to the same common root as
    their sources, eg. mv lib/include/rtems++
    lib/librtems++/include/rtems++) - This is the main obstacle which
    prevents moving further towards automake.
    6. Propagating values from *.cfg into Makefiles instead of propagating
    them at make time via Makefile-fragments (i.e. try to avoid using
    *.cfg).
    7. Testing on cygwin host (I *do* expect cygwin specific problems).
    8. The ARCH in o-$(ARCH)-$(VARIANT) build-subdirectories is not needed
    anymore.

    GENERAL ISSUES:
    1. Temporary installation tree -- Ian and I seem to disagree basically.
    Though I think that I understand his argumentation, I do not share it.
    IMO, his way of using the buildtree is mis-using the build-tree, relying
    on an inofficial feature of RTEMS's current implementation, which
    doesn't even work correctly in the current build-tree, though it
    attempts hard to do so. From my very POV, it unnecessarily complicates
    the structures of the source- and build-trees. It is not supported by
    automake (No automatic generation for the necessary rules) and
    complicates the transition to automake significantly (Generating the
    rules with an enhanced version of acpolish could be possible).
    As Ian correctly pointed out, here a management decision is needed -
    though I don't see the need to draw this decision in short terms.

    2. preinstallation generally is a sure means to spoil the structure of
    the source tree, IMHO (No ranting intended, I am completly serious about
    this one). eg. through tree dependencies. The worst problem related to
    this I have found in the meantime is bsp_specs. bsp_specs is part of
    libbsp, ie. there is *no* way to build *any* part of the source tree
    *without* having a BSP *preinstalled*.
    Note: This issue is related to issue 1., but is not identical - The
    difference is the change of the order make rules have to be triggered.
    While preinstallation triggers rules spread all over the source tree
    before a "make all" can be run, a temporary installation tree could also
    be installed by post "make all" hooks (all-local:, to be run after make
    all in a directory is completed) if the directories' dependencies would
    be a tree,

    3. Stuctural dependencies between subdirectories.
    4. Depth of the source tree (Prevents multilibbing and introduces many
    unnecessary configure scripts).
    5. per cpu vs. per bsp configuration (There are no real per-cpu parts
    yets :-).
    6. automake does not support $makefiles in AC_OUTPUT. Unlike before, we
    now should try to avoid RTEMS_CHECK_MAKEFILE and to hard-code as much
    paths to Makefiles as possible.
    7. General redesign of the source tree
    8. Main installation point - Changing it to ${prefix}/${target_alias}. ?

    Besides item 8. (which is a must, IMHO), as far as I see most of them
    can not be solved soon and will remain issues in the mid- to long-term
    :-.

    REMARKS:

    * You (as the maintainer) should always use --enable-maintainer-mode
    when building RTEMS to ensure that maintainer mode generated files (esp.
    those in c/src/make) will be updated when make/* files have changed.
    * Use @RTEMS_BSP@ in Makefile.ins and Makefile.ams below c/src/,
    $(RTEMS_BSP) or ${RTEMS_BSP} will be overridden from environment
    variables when using make RTEMS_BSP="....".
    * c/src/make is a temporary cludge until configuration issues are
    solved. At the moment it is configured per bsp, but contains
    per-target/cpu info only. Its main purpose now is to circumvent
    modifying make/*.cfg files, because I consider make/* to be frozen for
    backward compatibilty.
    * This patch should only affect configuration files. At least I do not
    remember having touched any source files.

    * To build the bare bsp you now need to mention it in --enable-rtemsbsp.

    Example: building gensh1 and sh1/bare simultaneously:
    ../rtems-rc-19990709-1/configure --target=sh-rtems \
    --enable-rtemsbsp="bare gensh1" \
    --prefix=/tmp/rtems \
    --enable-bare-cpu-cflags='-DMHZ=20 -m1
    -DCPU_CONSOLE_DEVNAME=\"/dev/null\"' \
    --enable-bare-cpu-model=sh7032 \
    --enable-maintainer-mode \
    --enable-cxx
    make
    make install

    * The next steps in development would be to split out bsp-tools and then
    to change to Cygnus/GNU canonicalization conventions for building the c/
    subdirectory afterwards (i.e. many standard AC_*.m4 macros could be used
    instead of customized versions)

    FINAL REMARK:
    The issues mentioned in the lists above sound much worser than the
    situation actually is. Most of them are not specific to this patch, but
    are also valid for the snapshot. I just wrote down what I came across
    when working on the patch over the last few weeks.

    I wouldn't be too surprised if you don't like the patch at the current
    point in development. I am willing to discuss details and problems, I
    also have no problem if you would post-pone applying this patch to times
    after 4.1, but rejecting it as a whole for all times would be a false
    management decision, IMHO.

    Therefore I would suggest that you, if your time constaints allow it,
    should at least play a little while with this patch to understand what
    is going on and  before drawing a decision on how to handle this
    proposal. I know this patch is neither perfect nor complete, but I
    consider it to be a major breakthrough.  Don't be anxious because of the
    size of the patch, the core of the patch is rather small, the size is
    mainly the side effect of some systematic cleanups inside the Makefiles
    (result of acpolish).

    Feel free to ask if you encounter problems, if you don't understand
    something or if you meet bugs - I am far from being perfect and am
    prepared to answer them.

    Ralf.

    --
    Ralf Corsepius
    Forschungsinstitut fuer Anwendungsorientierte Wissensverarbeitung (FAW)
    Helmholtzstr. 16, 89081 Ulm, Germany     Tel: +49/731/501-8690
    mailto:corsepiu@faw.uni-ulm.de           FAX: +49/731/501-999
    http://www.faw.uni-ulm.de
1999-07-26 20:20:22 +00:00
Joel Sherrill
83f62bfcb3 This is part of a major patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to move RTEMS more to automake/autoconf and GNU compliance.

    Finally, here they are: the "big-patch" patches - merged into one big
    patch (~1.5MB).

    Sorry for the delay, but testing took much more time than I had expected
    - esp. reworking the acpolish script triggered many more tiny issues
    than I had expected (cf. below).

    At least, now you've got something to spend your weekend with :-.


    WARNINGS:
    * I've gone a little  ??) further than I had announced before.
    * Several directories have been moved.
    * Several files have been added and removed
    * I have tested it with many BSPs/CPUs and a variety of permutiations of
    configuration flags, but not with all.
    * Most parts of the patch are automatically generated, however there are
    many tiny manual modifications.

    APPLYING THE PATCH:

    ./autogen -c
    mkdir tools
    mv c/src/exec/score/tools tools/cpu
    mv c/build-tools tools/build
    mv c/update-tools tools/update
    patch -p1 -E < rtems-rc-19990709-0.diff
    ./autogen

    If the patch doesn't apply to rtems-cvs, I would suggest that you should
    try to apply it brute-force and then to run tools/update/rtems-polish.sh
    -ac -am afterwards. A recursive diff between rtems-19990709 + patch and
    rtems-cvs + patch then should report only a few dozen significant
    changes to configuration files which need to be merged manually (IIRC, I
    did not change any source files).

    *** Attention: There are files to be removed, moved, copied and added
    in/to CVS!

    NEWS/CHANGES:
    1. Configuration takes place in 3 stages: 1. per host (toplevel
    configure script), 2. per target (c/configure), 3. per bsp
    c/src/configure automatically triggered from ./configure and
    c/Makefile.am.
    2. Building of subdirectory c/ takes place in c/$(target_alias) for
    cross-targets in c/ for native targets
    3. Building of subdirectory c/src takes place in c/${target_alias}/<bsp>
    for cross-targets, c/<bsp> for native targets
    4. c/build-tools moved to tools/build
    5. c/src/exec/score/cpu/tools moved to tools/cpu (=cpu-tools split out)
    6. c/update-tools moved to tools/update
    7. New subdirectory c/src/make, handles files from make/ on a per BSP
    basis
    8. Maintainer mode support: Ie. if configuring with
    --enable-maintainer-mode disabled (the default), then tracking of many
    dependencies will be disabled in Makefiles. Esp. many dependencies for
    auto* generated files will be switched off in Makefiles. Ie. if not
    using "--enable-maintainer-mode" many auto* generated files will not be
    updated automatically, i.e. normal users should not be required to have
    auto* tools anymore (untested).
    9. Independent configuration scripts for / (toplevel), tools/build,
    tools/cpu, tools/update, c/, c/src/, c/src/exec, c/src/lib, c/src/tests,
    c/src/make
    10. Automake support for all directories above and besides c/src
    11. "preinstall" now is implemented as depth-first recursive make target

    12. host compiled tools (exception bsp-tools) are accessed in location
    in the build tree instead of inside the build-tree when building RTEMS.
    13. RTEMS_ROOT and PROJECT_ROOT now point to directories inside the
    build-tree - many tiny changes as consequence from this.
    14. --with-cross-host support removed (offically announced obsolete by
    cygnus)
    15. Changing the order of building libraries below c/src/lib/
    16. Former toplevel configure script broken into aclocal/*.m4 macros
    17. Newlib now detected by configure macros, RTEMS_HAS_NEWLIB removed
    from *cfg.
    18. sptables.h now generated by autoconf
    19. Rules for "mkinstalldirs temporary installation tree" moved from
    c/Makefile to subdirectories.
    20. Cpu-tools do not get installed.
    21. FIX: Use ACLOCAL_AMFLAGS instead of ACLOCAL = -I ... in Makefile.ams
    which are in directories with own configure scripts.
    22. Hardcoding BSP names into libbsp/.../tools to avoid RTEMS_BSP get
    overridden from the environment.
    22. FIX: Handling of MP_PIECES in various Makefiles
    23. FIX: Removing "::" rules from some Makefile.ins
    24. FIX: File permission chaos: (-m 444 and -m 555 vs. -m 644 and -m
    755) - Now all include files use -m 644.
    25. Removed many gnumake-conditionals in Makefile.ins - Partially
    replaced with automake-conditional, partially replaced with
    conditionalized Makefile variables (... _yes_V)
    26. Massively reworked acpolish: acpolish now parses Makefile.ins and
    interprets parts of the Makefile.ins.
    27. FIX: Some $(wildcard $(srcdir)/*.h) macros removed / replaced with
    explicit lists of files in Makefile.ins.
    28. FIX: Replacing MKLIB with RANLIB in Makefile.ins
    29. HACK: Add preinstallation for pc386 specific
    $(PROJECT_RELEASE)/BootImgs directory

    ... many more details, I can't recall


    KNOWN BUGS:
    1. make [debug|profile]_install do not do what they are promissing.
    "make [debug|profile] install" does what "make [debug|profile]_install"
    has been doing. Proposal: remove [debug|profile]_install
    2. Dependencies between temporary installation tree and source tree are
    not yet handled correctly.
    3. Dependencies between temporary installation tree and source tree are
    handled ineffencently (Using INSTALL_CHANGE instead of make
    dependencies)
    4. RTEMS_ROOT, PROJECT_ROOT, top_builddir, RTEMS_TOPdir now are
    redundant.
    5. The new configure scripts still are in their infancy. They contain
    redundant checks and might still contain bugs, too.
    6. RTEMS autoconf Makefile.ins use a mixture of configuration
    information gathered in c/$(target_alias)/<bsp>/make and of information
    collected from their configure scripts.
    7. make dist is not fully functional
    8. Subdirectory host-/build-/target- configure options (--target,
    --host, --build) do not conform to Cygnus/GNU conventions.
    9. Some RTEMS autoconf Makefile.in's makefile targets are not supported
    in automake Makefile.ams/ins (e.g. get, clobber).
    10. Some automake standard targets are not propagated from toplevel and
    c/Makefile.am to autoconf subdirectories (eg. make dist).
    11. rpcgen generated files are not part of the source-tree (Automake
    conventions favor supplying generated files inside the source-tree,
    however there is no support for rpcgen generated files in automake, cf.
    yacc/lex support in automake).
    12. RTEMS_HAS_RDBG handling is flaky. make/*.cfg use RTEMS_HAS_RDBG per
    CPU, while librdb's sources can only be built per BSP. Raises the more
    general question whether librdbg located correctly in the source-tree.
    13. All make/*cfg files are configured per cpu, currently there is no
    location to store per-bsp configuration information --> bsp.cfg, per
    aconfig.h?
    14. "make install" without having run "make all" beforehand does not
    work.
    15. handling of --enable-multiprocessing seems to be broken in
    make/custom/*
    16. Makefile.ins still exploit many gmake features.
    17. File permisson chaos on libraries (no explict -m for
    libraries/rels/etc).
    18. mcp750 Makefiles are broken (Note: I *do* mean buggy - I am not
    talking about "not-conforming to  conventions", here :-).
    19. Dependencies between configure scripts are not handled, eg. aborting
    "make RTEMS_BSP=<bsp>" can leave the build-tree in an unusable state.
    20. "make clean" does not delete <build-tree>/<bsp>. This is intentional
    for now, because rerunning "make" after "make clean" requires an
    explicit "make preinstall" afterwards now. This should be done
    automatically, but doesn't work in this case for now. To work around
    this problem <build-tree>/<bsp> is kept during "make clean" for now
    (HACK).

    TODO:
    1. split out host-compiled bsp-tools
    2. Use Cygnus/GNU standards for cross-compiling target-subdir
    (CC=CC_FOR_TARGET .. configure --host=${target_alias}
    --build=`config.guess'}), to be added to toplevel configure script after
    splitting out bsp-tools.
    3. Exploit per cpu support directory (c/src/<cpu>)- Splitting out
    per-cpu libraries - Are there any?
    4. Further automake support
    5. Converting subdirectories into standalone / self-contained
    subdirectories (Esp. moving their headers to the same common root as
    their sources, eg. mv lib/include/rtems++
    lib/librtems++/include/rtems++) - This is the main obstacle which
    prevents moving further towards automake.
    6. Propagating values from *.cfg into Makefiles instead of propagating
    them at make time via Makefile-fragments (i.e. try to avoid using
    *.cfg).
    7. Testing on cygwin host (I *do* expect cygwin specific problems).
    8. The ARCH in o-$(ARCH)-$(VARIANT) build-subdirectories is not needed
    anymore.

    GENERAL ISSUES:
    1. Temporary installation tree -- Ian and I seem to disagree basically.
    Though I think that I understand his argumentation, I do not share it.
    IMO, his way of using the buildtree is mis-using the build-tree, relying
    on an inofficial feature of RTEMS's current implementation, which
    doesn't even work correctly in the current build-tree, though it
    attempts hard to do so. From my very POV, it unnecessarily complicates
    the structures of the source- and build-trees. It is not supported by
    automake (No automatic generation for the necessary rules) and
    complicates the transition to automake significantly (Generating the
    rules with an enhanced version of acpolish could be possible).
    As Ian correctly pointed out, here a management decision is needed -
    though I don't see the need to draw this decision in short terms.

    2. preinstallation generally is a sure means to spoil the structure of
    the source tree, IMHO (No ranting intended, I am completly serious about
    this one). eg. through tree dependencies. The worst problem related to
    this I have found in the meantime is bsp_specs. bsp_specs is part of
    libbsp, ie. there is *no* way to build *any* part of the source tree
    *without* having a BSP *preinstalled*.
    Note: This issue is related to issue 1., but is not identical - The
    difference is the change of the order make rules have to be triggered.
    While preinstallation triggers rules spread all over the source tree
    before a "make all" can be run, a temporary installation tree could also
    be installed by post "make all" hooks (all-local:, to be run after make
    all in a directory is completed) if the directories' dependencies would
    be a tree,

    3. Stuctural dependencies between subdirectories.
    4. Depth of the source tree (Prevents multilibbing and introduces many
    unnecessary configure scripts).
    5. per cpu vs. per bsp configuration (There are no real per-cpu parts
    yets :-).
    6. automake does not support $makefiles in AC_OUTPUT. Unlike before, we
    now should try to avoid RTEMS_CHECK_MAKEFILE and to hard-code as much
    paths to Makefiles as possible.
    7. General redesign of the source tree
    8. Main installation point - Changing it to ${prefix}/${target_alias}. ?

    Besides item 8. (which is a must, IMHO), as far as I see most of them
    can not be solved soon and will remain issues in the mid- to long-term
    :-.

    REMARKS:

    * You (as the maintainer) should always use --enable-maintainer-mode
    when building RTEMS to ensure that maintainer mode generated files (esp.
    those in c/src/make) will be updated when make/* files have changed.
    * Use @RTEMS_BSP@ in Makefile.ins and Makefile.ams below c/src/,
    $(RTEMS_BSP) or ${RTEMS_BSP} will be overridden from environment
    variables when using make RTEMS_BSP="....".
    * c/src/make is a temporary cludge until configuration issues are
    solved. At the moment it is configured per bsp, but contains
    per-target/cpu info only. Its main purpose now is to circumvent
    modifying make/*.cfg files, because I consider make/* to be frozen for
    backward compatibilty.
    * This patch should only affect configuration files. At least I do not
    remember having touched any source files.

    * To build the bare bsp you now need to mention it in --enable-rtemsbsp.

    Example: building gensh1 and sh1/bare simultaneously:
    ../rtems-rc-19990709-1/configure --target=sh-rtems \
    --enable-rtemsbsp="bare gensh1" \
    --prefix=/tmp/rtems \
    --enable-bare-cpu-cflags='-DMHZ=20 -m1
    -DCPU_CONSOLE_DEVNAME=\"/dev/null\"' \
    --enable-bare-cpu-model=sh7032 \
    --enable-maintainer-mode \
    --enable-cxx
    make
    make install

    * The next steps in development would be to split out bsp-tools and then
    to change to Cygnus/GNU canonicalization conventions for building the c/
    subdirectory afterwards (i.e. many standard AC_*.m4 macros could be used
    instead of customized versions)

    FINAL REMARK:
    The issues mentioned in the lists above sound much worser than the
    situation actually is. Most of them are not specific to this patch, but
    are also valid for the snapshot. I just wrote down what I came across
    when working on the patch over the last few weeks.

    I wouldn't be too surprised if you don't like the patch at the current
    point in development. I am willing to discuss details and problems, I
    also have no problem if you would post-pone applying this patch to times
    after 4.1, but rejecting it as a whole for all times would be a false
    management decision, IMHO.

    Therefore I would suggest that you, if your time constaints allow it,
    should at least play a little while with this patch to understand what
    is going on and  before drawing a decision on how to handle this
    proposal. I know this patch is neither perfect nor complete, but I
    consider it to be a major breakthrough.  Don't be anxious because of the
    size of the patch, the core of the patch is rather small, the size is
    mainly the side effect of some systematic cleanups inside the Makefiles
    (result of acpolish).

    Feel free to ask if you encounter problems, if you don't understand
    something or if you meet bugs - I am far from being perfect and am
    prepared to answer them.

    Ralf.

    --
    Ralf Corsepius
    Forschungsinstitut fuer Anwendungsorientierte Wissensverarbeitung (FAW)
    Helmholtzstr. 16, 89081 Ulm, Germany     Tel: +49/731/501-8690
    mailto:corsepiu@faw.uni-ulm.de           FAX: +49/731/501-999
    http://www.faw.uni-ulm.de
1999-07-26 20:19:49 +00:00
Joel Sherrill
6693a68ffa This is part of a major patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to move RTEMS more to automake/autoconf and GNU compliance.

    Finally, here they are: the "big-patch" patches - merged into one big
    patch (~1.5MB).

    Sorry for the delay, but testing took much more time than I had expected
    - esp. reworking the acpolish script triggered many more tiny issues
    than I had expected (cf. below).

    At least, now you've got something to spend your weekend with :-.


    WARNINGS:
    * I've gone a little (??) further than I had announced before.
    * Several directories have been moved.
    * Several files have been added and removed
    * I have tested it with many BSPs/CPUs and a variety of permutiations of
    configuration flags, but not with all.
    * Most parts of the patch are automatically generated, however there are
    many tiny manual modifications.

    APPLYING THE PATCH:

    ./autogen -c
    mkdir tools
    mv c/src/exec/score/tools tools/cpu
    mv c/build-tools tools/build
    mv c/update-tools tools/update
    patch -p1 -E < rtems-rc-19990709-0.diff
    ./autogen

    If the patch doesn't apply to rtems-cvs, I would suggest that you should
    try to apply it brute-force and then to run tools/update/rtems-polish.sh
    -ac -am afterwards. A recursive diff between rtems-19990709 + patch and
    rtems-cvs + patch then should report only a few dozen significant
    changes to configuration files which need to be merged manually (IIRC, I
    did not change any source files).

    *** Attention: There are files to be removed, moved, copied and added
    in/to CVS!

    NEWS/CHANGES:
    1. Configuration takes place in 3 stages: 1. per host (toplevel
    configure script), 2. per target (c/configure), 3. per bsp
    c/src/configure automatically triggered from ./configure and
    c/Makefile.am.
    2. Building of subdirectory c/ takes place in c/$(target_alias) for
    cross-targets in c/ for native targets
    3. Building of subdirectory c/src takes place in c/${target_alias}/<bsp>
    for cross-targets, c/<bsp> for native targets
    4. c/build-tools moved to tools/build
    5. c/src/exec/score/cpu/tools moved to tools/cpu (=cpu-tools split out)
    6. c/update-tools moved to tools/update
    7. New subdirectory c/src/make, handles files from make/ on a per BSP
    basis
    8. Maintainer mode support: Ie. if configuring with
    --enable-maintainer-mode disabled (the default), then tracking of many
    dependencies will be disabled in Makefiles. Esp. many dependencies for
    auto* generated files will be switched off in Makefiles. Ie. if not
    using "--enable-maintainer-mode" many auto* generated files will not be
    updated automatically, i.e. normal users should not be required to have
    auto* tools anymore (untested).
    9. Independent configuration scripts for / (toplevel), tools/build,
    tools/cpu, tools/update, c/, c/src/, c/src/exec, c/src/lib, c/src/tests,
    c/src/make
    10. Automake support for all directories above and besides c/src
    11. "preinstall" now is implemented as depth-first recursive make target

    12. host compiled tools (exception bsp-tools) are accessed in location
    in the build tree instead of inside the build-tree when building RTEMS.
    13. RTEMS_ROOT and PROJECT_ROOT now point to directories inside the
    build-tree - many tiny changes as consequence from this.
    14. --with-cross-host support removed (offically announced obsolete by
    cygnus)
    15. Changing the order of building libraries below c/src/lib/
    16. Former toplevel configure script broken into aclocal/*.m4 macros
    17. Newlib now detected by configure macros, RTEMS_HAS_NEWLIB removed
    from *cfg.
    18. sptables.h now generated by autoconf
    19. Rules for "mkinstalldirs temporary installation tree" moved from
    c/Makefile to subdirectories.
    20. Cpu-tools do not get installed.
    21. FIX: Use ACLOCAL_AMFLAGS instead of ACLOCAL = -I ... in Makefile.ams
    which are in directories with own configure scripts.
    22. Hardcoding BSP names into libbsp/.../tools to avoid RTEMS_BSP get
    overridden from the environment.
    22. FIX: Handling of MP_PIECES in various Makefiles
    23. FIX: Removing "::" rules from some Makefile.ins
    24. FIX: File permission chaos: (-m 444 and -m 555 vs. -m 644 and -m
    755) - Now all include files use -m 644.
    25. Removed many gnumake-conditionals in Makefile.ins - Partially
    replaced with automake-conditional, partially replaced with
    conditionalized Makefile variables (... _yes_V)
    26. Massively reworked acpolish: acpolish now parses Makefile.ins and
    interprets parts of the Makefile.ins.
    27. FIX: Some $(wildcard $(srcdir)/*.h) macros removed / replaced with
    explicit lists of files in Makefile.ins.
    28. FIX: Replacing MKLIB with RANLIB in Makefile.ins
    29. HACK: Add preinstallation for pc386 specific
    $(PROJECT_RELEASE)/BootImgs directory

    ... many more details, I can't recall


    KNOWN BUGS:
    1. make [debug|profile]_install do not do what they are promissing.
    "make [debug|profile] install" does what "make [debug|profile]_install"
    has been doing. Proposal: remove [debug|profile]_install
    2. Dependencies between temporary installation tree and source tree are
    not yet handled correctly.
    3. Dependencies between temporary installation tree and source tree are
    handled ineffencently (Using INSTALL_CHANGE instead of make
    dependencies)
    4. RTEMS_ROOT, PROJECT_ROOT, top_builddir, RTEMS_TOPdir now are
    redundant.
    5. The new configure scripts still are in their infancy. They contain
    redundant checks and might still contain bugs, too.
    6. RTEMS autoconf Makefile.ins use a mixture of configuration
    information gathered in c/$(target_alias)/<bsp>/make and of information
    collected from their configure scripts.
    7. make dist is not fully functional
    8. Subdirectory host-/build-/target- configure options (--target,
    --host, --build) do not conform to Cygnus/GNU conventions.
    9. Some RTEMS autoconf Makefile.in's makefile targets are not supported
    in automake Makefile.ams/ins (e.g. get, clobber).
    10. Some automake standard targets are not propagated from toplevel and
    c/Makefile.am to autoconf subdirectories (eg. make dist).
    11. rpcgen generated files are not part of the source-tree (Automake
    conventions favor supplying generated files inside the source-tree,
    however there is no support for rpcgen generated files in automake, cf.
    yacc/lex support in automake).
    12. RTEMS_HAS_RDBG handling is flaky. make/*.cfg use RTEMS_HAS_RDBG per
    CPU, while librdb's sources can only be built per BSP. Raises the more
    general question whether librdbg located correctly in the source-tree.
    13. All make/*cfg files are configured per cpu, currently there is no
    location to store per-bsp configuration information --> bsp.cfg, per
    aconfig.h?
    14. "make install" without having run "make all" beforehand does not
    work.
    15. handling of --enable-multiprocessing seems to be broken in
    make/custom/*
    16. Makefile.ins still exploit many gmake features.
    17. File permisson chaos on libraries (no explict -m for
    libraries/rels/etc).
    18. mcp750 Makefiles are broken (Note: I *do* mean buggy - I am not
    talking about "not-conforming to  conventions", here :-).
    19. Dependencies between configure scripts are not handled, eg. aborting
    "make RTEMS_BSP=<bsp>" can leave the build-tree in an unusable state.
    20. "make clean" does not delete <build-tree>/<bsp>. This is intentional
    for now, because rerunning "make" after "make clean" requires an
    explicit "make preinstall" afterwards now. This should be done
    automatically, but doesn't work in this case for now. To work around
    this problem <build-tree>/<bsp> is kept during "make clean" for now
    (HACK).

    TODO:
    1. split out host-compiled bsp-tools
    2. Use Cygnus/GNU standards for cross-compiling target-subdir
    (CC=CC_FOR_TARGET .. configure --host=${target_alias}
    --build=`config.guess'}), to be added to toplevel configure script after
    splitting out bsp-tools.
    3. Exploit per cpu support directory (c/src/<cpu>)- Splitting out
    per-cpu libraries - Are there any?
    4. Further automake support
    5. Converting subdirectories into standalone / self-contained
    subdirectories (Esp. moving their headers to the same common root as
    their sources, eg. mv lib/include/rtems++
    lib/librtems++/include/rtems++) - This is the main obstacle which
    prevents moving further towards automake.
    6. Propagating values from *.cfg into Makefiles instead of propagating
    them at make time via Makefile-fragments (i.e. try to avoid using
    *.cfg).
    7. Testing on cygwin host (I *do* expect cygwin specific problems).
    8. The ARCH in o-$(ARCH)-$(VARIANT) build-subdirectories is not needed
    anymore.

    GENERAL ISSUES:
    1. Temporary installation tree -- Ian and I seem to disagree basically.
    Though I think that I understand his argumentation, I do not share it.
    IMO, his way of using the buildtree is mis-using the build-tree, relying
    on an inofficial feature of RTEMS's current implementation, which
    doesn't even work correctly in the current build-tree, though it
    attempts hard to do so. From my very POV, it unnecessarily complicates
    the structures of the source- and build-trees. It is not supported by
    automake (No automatic generation for the necessary rules) and
    complicates the transition to automake significantly (Generating the
    rules with an enhanced version of acpolish could be possible).
    As Ian correctly pointed out, here a management decision is needed -
    though I don't see the need to draw this decision in short terms.

    2. preinstallation generally is a sure means to spoil the structure of
    the source tree, IMHO (No ranting intended, I am completly serious about
    this one). eg. through tree dependencies. The worst problem related to
    this I have found in the meantime is bsp_specs. bsp_specs is part of
    libbsp, ie. there is *no* way to build *any* part of the source tree
    *without* having a BSP *preinstalled*.
    Note: This issue is related to issue 1., but is not identical - The
    difference is the change of the order make rules have to be triggered.
    While preinstallation triggers rules spread all over the source tree
    before a "make all" can be run, a temporary installation tree could also
    be installed by post "make all" hooks (all-local:, to be run after make
    all in a directory is completed) if the directories' dependencies would
    be a tree,

    3. Stuctural dependencies between subdirectories.
    4. Depth of the source tree (Prevents multilibbing and introduces many
    unnecessary configure scripts).
    5. per cpu vs. per bsp configuration (There are no real per-cpu parts
    yets :-).
    6. automake does not support $makefiles in AC_OUTPUT. Unlike before, we
    now should try to avoid RTEMS_CHECK_MAKEFILE and to hard-code as much
    paths to Makefiles as possible.
    7. General redesign of the source tree
    8. Main installation point - Changing it to ${prefix}/${target_alias}. ?

    Besides item 8. (which is a must, IMHO), as far as I see most of them
    can not be solved soon and will remain issues in the mid- to long-term
    :-.

    REMARKS:

    * You (as the maintainer) should always use --enable-maintainer-mode
    when building RTEMS to ensure that maintainer mode generated files (esp.
    those in c/src/make) will be updated when make/* files have changed.
    * Use @RTEMS_BSP@ in Makefile.ins and Makefile.ams below c/src/,
    $(RTEMS_BSP) or ${RTEMS_BSP} will be overridden from environment
    variables when using make RTEMS_BSP="....".
    * c/src/make is a temporary cludge until configuration issues are
    solved. At the moment it is configured per bsp, but contains
    per-target/cpu info only. Its main purpose now is to circumvent
    modifying make/*.cfg files, because I consider make/* to be frozen for
    backward compatibilty.
    * This patch should only affect configuration files. At least I do not
    remember having touched any source files.

    * To build the bare bsp you now need to mention it in --enable-rtemsbsp.

    Example: building gensh1 and sh1/bare simultaneously:
    ../rtems-rc-19990709-1/configure --target=sh-rtems \
    --enable-rtemsbsp="bare gensh1" \
    --prefix=/tmp/rtems \
    --enable-bare-cpu-cflags='-DMHZ=20 -m1
    -DCPU_CONSOLE_DEVNAME=\"/dev/null\"' \
    --enable-bare-cpu-model=sh7032 \
    --enable-maintainer-mode \
    --enable-cxx
    make
    make install

    * The next steps in development would be to split out bsp-tools and then
    to change to Cygnus/GNU canonicalization conventions for building the c/
    subdirectory afterwards (i.e. many standard AC_*.m4 macros could be used
    instead of customized versions)

    FINAL REMARK:
    The issues mentioned in the lists above sound much worser than the
    situation actually is. Most of them are not specific to this patch, but
    are also valid for the snapshot. I just wrote down what I came across
    when working on the patch over the last few weeks.

    I wouldn't be too surprised if you don't like the patch at the current
    point in development. I am willing to discuss details and problems, I
    also have no problem if you would post-pone applying this patch to times
    after 4.1, but rejecting it as a whole for all times would be a false
    management decision, IMHO.

    Therefore I would suggest that you, if your time constaints allow it,
    should at least play a little while with this patch to understand what
    is going on and  before drawing a decision on how to handle this
    proposal. I know this patch is neither perfect nor complete, but I
    consider it to be a major breakthrough.  Don't be anxious because of the
    size of the patch, the core of the patch is rather small, the size is
    mainly the side effect of some systematic cleanups inside the Makefiles
    (result of acpolish).

    Feel free to ask if you encounter problems, if you don't understand
    something or if you meet bugs - I am far from being perfect and am
    prepared to answer them.

    Ralf.

    --
    Ralf Corsepius
    Forschungsinstitut fuer Anwendungsorientierte Wissensverarbeitung (FAW)
    Helmholtzstr. 16, 89081 Ulm, Germany     Tel: +49/731/501-8690
    mailto:corsepiu@faw.uni-ulm.de           FAX: +49/731/501-999
    http://www.faw.uni-ulm.de
1999-07-26 20:00:37 +00:00
Joel Sherrill
b0ac03f4dd Moved to top level directory per patch rtems-rc-19990709-0.diff.gz
from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
1999-07-23 20:01:41 +00:00
Joel Sherrill
e5dafccb09 Tools moved to top-level directory per patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. 1999-07-23 19:59:26 +00:00
Joel Sherrill
1f42090624 Patch to ease building MCP750 BSP. 1999-07-23 19:33:28 +00:00
Joel Sherrill
00d11bb7df Added shell of information on resources for embedded information. 1999-07-15 15:58:17 +00:00
Joel Sherrill
b44cfb988a Corrections from Chris Johns <ccj@acm.org>. 1999-07-15 15:57:33 +00:00
Joel Sherrill
70b8f3ed6d Added information on hardware to aid in debugging. Primarily this is
information on gdb and bdm for the MPC8xx, MC683xx, and ColdFire.
1999-07-15 15:52:22 +00:00
Joel Sherrill
28e470ab6c New file. 1999-07-14 20:59:45 +00:00
Joel Sherrill
75c45f23b6 Added comment on where this manager came from. 1999-07-13 18:05:31 +00:00
Joel Sherrill
56634c50a1 Update from Jeff Mayes, Jennifer Averett, and Suzie Provitt. 1999-07-13 18:05:13 +00:00
Joel Sherrill
d263347055 Update including fixes for my comments from Xiangyang Wu <wux@cspar.uah.edu>
and xing@ebs330.eb.uah.edu.
1999-07-13 18:04:13 +00:00
Joel Sherrill
49a9050857 Added section on Free Software that Supports RTEMS. 1999-07-13 17:16:40 +00:00
Joel Sherrill
38e4a9169a Patch from Rosimildo DaSilva <rdasilva@connecttel.com> to readd calls to
init() and fini() routines.
1999-07-13 14:54:16 +00:00
Joel Sherrill
09ea257c58 Patch from Eric Norum <eric@cls.usask.ca>:
I get the following warning when compiling the latest snapshot.  I had
a quick look at the source -- it certainly looks to me like this is a
real bug.

../../../../src/rtems-19990709/c/src/lib/libc/mount.c:97: warning:
`options' might be used uninitialized in this function

Also, I changed the TFTP test program and TFTP driver to reflect the
changes in the way paths are passed to the TFTP driver.  The TFTP driver
now needs a proper `dotted-decimal' hostname as the second component of
the path name.
1999-07-12 15:52:35 +00:00
Joel Sherrill
8e4b4bd3b8 changed version to 19990709 1999-07-09 19:58:11 +00:00
Joel Sherrill
3de63d9d09 Updated version 1999-07-09 19:52:57 +00:00
Joel Sherrill
4b57d27255 Added information on the workspace versus heap. 1999-07-09 19:36:51 +00:00
Joel Sherrill
1377bb1455 changed version to 19990709 1999-07-09 19:27:43 +00:00
Joel Sherrill
f4211327a4 New files from Jiri Gaisler <jgais@ws.estec.esa.nl>. 1999-07-09 18:23:59 +00:00
Joel Sherrill
2728b0749d New file from Jake Janovetz <janovetz@tempest.ece.uiuc.edu>. 1999-07-09 17:23:15 +00:00
Joel Sherrill
93180ea26a Patch from Eric Valette <valette@crf.canon.fr>:
- The same bug fix that was done on pc386 to prevent interrupt
   from occuring (never experienced it but who knows as I have 8259
   emulation :()
   - Removed every compiler warning (except wrong ones and ones I can't do
   anything).
   - Removed any libc available code in code linked with mcp750 rtems
   executbale. Unfortunately  using newlib functions for linking the
   bootloader does not work as the compilation options in bootloader
   (-mrelocatable -fixed-r13) are not compatible with newlib options.
   => I have put any libc external reference in one single new file (lib.c)
   that is linked only with the boot loader. Removing the file from
   ${OBJ} and  using -lc crash the bootloader. Added big warning...
1999-07-09 17:16:10 +00:00
Joel Sherrill
b73e57bffe Patch from Jiri Gaisler <jgais@ws.estec.esa.nl>:
+ interrupt masking correction
  + FPU rev.B workaround
  + minor erc32 related fixes
1999-07-09 17:08:48 +00:00
Joel Sherrill
cc17eba0cb Make sure pthread init stack size is always set. 1999-07-09 16:56:34 +00:00
Joel Sherrill
adbb578abb Moved definitions to a more logical place. 1999-07-08 22:45:07 +00:00
Joel Sherrill
0f8a69e725 Some cleanup to make it format better. Compensated for multiple services
on a single page.
1999-07-08 15:35:38 +00:00
Joel Sherrill
e74dc82fb1 First draft from Xiangyang Wu <wux@cspar.uah.edu>. 1999-07-08 15:28:15 +00:00
Joel Sherrill
2aab33e561 From Fei Ling <fling@cs.uah.edu>. 1999-07-06 14:52:55 +00:00
Joel Sherrill
bae90e17a7 Added a lot of information on confdefs.t 1999-07-03 19:06:57 +00:00
Joel Sherrill
f3482e3a31 Added documentation on "two new SOL_SOCKET level options for setsockopt and
getsockopt: SO_SNDWAKEUP and SO_RCVWAKEUP" from Ian Lance Taylor
<ian@airs.com>.
1999-07-03 17:33:20 +00:00
Joel Sherrill
28807e79bb Removed concept of distribution level. 1999-07-03 17:13:27 +00:00
Joel Sherrill
462648b93a Changed System Database routines to implemented. 1999-07-03 17:12:52 +00:00
Joel Sherrill
1cf469f3df New file. 1999-07-03 16:08:21 +00:00
Joel Sherrill
771c1479be New files missed in previous addition. 1999-07-03 15:38:38 +00:00
Joel Sherrill
a381e6e43e Added some C++/GNU sections. 1999-07-03 15:33:08 +00:00
Joel Sherrill
c8d91839ff Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> that splits
boot_card() and main() into separate files to ease configuration
of other packages.  This was a big step in the way to build TCL,
ncurses, and zlib for RTEMS.
1999-07-02 18:57:11 +00:00
Joel Sherrill
a0a225f4aa Added code to initialize the /etc/group and /etc/passwd files. 1999-07-02 18:50:40 +00:00
Joel Sherrill
c51917f304 Fixed format strings and warnings. 1999-07-02 18:09:03 +00:00
Joel Sherrill
c3d20eba96 Reentrant versions added by Joel. Signficant formatting cleanup. 1999-07-02 18:03:43 +00:00
Joel Sherrill
258fd794fd Password and group routines added by Ralf Corsepius <corsepiu@faw.uni-ulm.de>. 1999-07-02 17:13:27 +00:00
Joel Sherrill
fcee56c0b1 Patch from Eric Valette <valette@crf.canon.fr> to clean up the
previous submission.
1999-07-01 23:39:13 +00:00
Joel Sherrill
2a6a029ff4 Added error status for bad return pointer argument on rtems_task_set_priority. 1999-07-01 23:06:29 +00:00
Joel Sherrill
c85b8f2ff7 Corrected formatting so argument was in code font. 1999-07-01 23:05:51 +00:00
Joel Sherrill
68f54e1a6a Fixed reference to initialize_executive to use the current name. 1999-07-01 23:05:34 +00:00
Joel Sherrill
e2c8e2cdc7 Filled in. 1999-07-01 23:05:07 +00:00
Joel Sherrill
1c4d8f0e56 Cleaned up and much neater. 1999-07-01 23:04:46 +00:00
Joel Sherrill
ed1a0e51b3 Honor 0 as PID of caller. 1999-07-01 22:57:23 +00:00
Joel Sherrill
78b78e2383 Another attempt at getting everything to build with the new powerpc
libcpu.
1999-07-01 22:43:09 +00:00
Joel Sherrill
2a85368d24 Fixed typo. 1999-07-01 22:42:33 +00:00
Joel Sherrill
bb224a9706 Added signal_2 file to contain signal(2). 1999-07-01 22:42:11 +00:00
Joel Sherrill
51e04a2c7f New file to implement signal(2). 1999-07-01 22:28:30 +00:00
Joel Sherrill
10794a735a Modified to reflect change in calling sequence of mount(). 1999-07-01 22:08:33 +00:00
Joel Sherrill
dbf969e1d5 Test modified to reflect change in calling sequence of mount(). 1999-07-01 22:08:13 +00:00
Joel Sherrill
e7792b2585 Cleaned up to behave properly -- does not make a directory in the
install tree and does not "cd wrapup."
1999-07-01 22:07:32 +00:00
Joel Sherrill
6be1238ee0 Now preinstalls header files. 1999-07-01 22:06:49 +00:00
Joel Sherrill
9519bf49aa Removed mkdir of libcpu. This should have been at the top of the tree. 1999-07-01 22:05:36 +00:00
Joel Sherrill
28861e8df6 Remove mkdir command. It should be at the top level of the tree. 1999-07-01 22:05:10 +00:00
Joel Sherrill
7782f9fca0 Modified to provide symbols with and without leading underscore in order
to support a.out and ELF.
1999-07-01 21:53:17 +00:00
Joel Sherrill
e2ba0af670 Modified to support ELF. Before SYM() macro was not used consistently. 1999-07-01 21:52:33 +00:00
Joel Sherrill
4e556493d6 Modified to ignore console interrupts. Otherwise console interrupts were
Ada exceptions. Fixed by Joel with advice from Jiri.
1999-07-01 21:52:01 +00:00
Joel Sherrill
64b2960089 Removed hack to set __USER_LABEL_PREFIX__ since late model gcc's and
egcs source tree handle this correctly.  No one should be using
gcc 2.7.2 anymore.
1999-07-01 18:57:15 +00:00
Joel Sherrill
a8b90eea5f Added include/libcpu to list of directories made. 1999-07-01 18:56:04 +00:00
Joel Sherrill
76ee648cfe Patch from Ralf Corsepius to enhance autogen's behavior. 1999-07-01 18:55:29 +00:00
Joel Sherrill
b0b84addc4 Regenerated. 1999-07-01 18:47:51 +00:00
Joel Sherrill
455d855260 Added dummy gnatinstallhandler code for all BSPs. This lets Ada programs
link even if they do not actually support Ada interrupts.
1999-06-24 17:53:16 +00:00
Joel Sherrill
373d359b66 Corrected and fleshed out. 1999-06-18 14:47:02 +00:00
Joel Sherrill
e72dfa238c Patch from Eric Valette <valette@crf.canon.fr> based on bug report from
David.Decotigny@irisa.fr and discussion with Joel.  Basically interrupts
were enabled too early in this BSP.
1999-06-18 14:30:09 +00:00
Joel Sherrill
123bbf9509 Removed pc386 specific command. 1999-06-18 14:12:26 +00:00
Joel Sherrill
dd55c5e7e3 Switched to using right INSTALL command after report from
Ian Lance Taylor <ian@airs.com>.
1999-06-17 21:51:32 +00:00
Joel Sherrill
2691449d9f Patch from Ian Lance Taylor <ian@airs.com> to use INSTALL_CHANGE instead
of INSTALL_DATA.
1999-06-17 21:49:10 +00:00
Joel Sherrill
8c92fa385a Patcg from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
-- configure now fails to detect the toolchain for linux-posix.

  As work-around, I have reverted to the old behavior of RTEMS_TARGET_CPU_NAME,
  thus no_cpu/no_bsp will fail badly in configure again.
1999-06-16 14:55:28 +00:00
Joel Sherrill
1407343262 Regenerated 1999-06-15 23:11:53 +00:00
Joel Sherrill
d2d22780d5 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
> When I run my script that just repeatedly builds different targets, some
    > of them die with an error like this:
    >
    > Making all RTEMS_BSP=gen68360 in cpugmake[5]: Entering directory
    > `/usr1/rtems/build/build-m68k-rtems/c/src/exec/score/cpu'
    > Making all RTEMS_BSP=gen68360 in @RTEMS_CPU@
    > /bin/sh: @RTEMS_CPU@: No such file or directory
    > gmake[5]: *** [all] Error 1
    > gmake[5]: Leaving directory
    > `/usr1/rtems/build/build-m68k-rtems/c/src/exec/score/cpu'
    >
    > It is not always the same variable substitution that fails.  Sometimes it
    > is @INSTALL@.  But reliably, it is a variable substitution that is
    > failing.
    >
    > Do you have any idea why this happens?

    Yep, I think I know what's going on.

    AC_SUBST(RTEMS_CPU) is missing in configure.ins, thus @RTEMS_CPU@ in
    target.cfg.in doesn't get substituted correctly, causing the bug above. Due
    to the redundancy of RTEMS_CPU, other most BSPs don't seem to be affected.

    Other similar problems probably exist for the unix/posix bsp and the hppa.1
    cpu, because their */tools/*Makefile.ams require RTEMS_CPU, too.
1999-06-15 22:46:44 +00:00
Joel Sherrill
cf1806b4e8 Attempt at getting desired ioctl.h included. :) 1999-06-15 22:17:10 +00:00
Joel Sherrill
937ab62c30 After comments D. V. Henkel-Wallace <gumby@zembu.com>, the interface to
mount() was changed to avoid the use of a string as the options.
1999-06-15 22:16:30 +00:00
Joel Sherrill
aea6ce0b39 Regenerated. 1999-06-15 22:02:03 +00:00
Joel Sherrill
8e0dcadec5 Patch from Rosimildo DaSilva <rdasilva@connecttel.com> to make C++
exceptions work on the pc386 BSP with i386-elf.  This patch also
included changes to the i386-rtemself egcs configuration.
1999-06-15 22:01:04 +00:00
Joel Sherrill
1b67be7133 Directives -> services. 1999-06-15 00:32:30 +00:00
Joel Sherrill
56853af0e1 Some stuff added. 1999-06-15 00:32:19 +00:00
Joel Sherrill
d48ea699b4 Significantly enhanced. At least the per routine pages for this chapter
are now filled in.
1999-06-15 00:07:14 +00:00
Joel Sherrill
4ecc390933 RTEMS_FILESYSTEM_READ_WRITE_ONLY changed to RTEMS_FILESYSTEM_READ_WRITE
for simplicity.
1999-06-14 20:18:56 +00:00
Joel Sherrill
d741406c1a Wrong prototype corrected. 1999-06-14 20:18:13 +00:00
Joel Sherrill
0ac8e382e9 Warning removal from D. V. Henkel-Wallace <gumby@zembu.com>. 1999-06-14 19:44:07 +00:00
Joel Sherrill
15aa5ffbfd Patch ("FIX: no_cpu/no_bsp") from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This patch should fix the nastiest configuration bugs for no_cpu/no_bsp.

    With this patch applied, configure --target=no_cpu-rtems now correctly
    acknowledges its configuration, but later fails building when trying to
    build libcsupport (I leave this problem for you :-).

    Fixes/Changes:
    * aclocal/canonicalize-target-name.m4: use RTEMS_CPU instead of
      target_cpu, switch to a native compiler setup if target = no_cpu*rtems,
      ie. implicitly use host=target (native) and RTEMS_CPU=no_cpu for
      --target=no_cpu*rtems.
    * add no_bsp/bsp_specs (Support -qrtems, -qrtems_debug; please check
      before adding :-)
    * Use RTEMS_CANONICALIZE_TARGET_CPU instead of AC_CANONICAL_SYSTEM in
      toplevel/configure.in
    * All references to $target_cpu in aclocal/*.m4, Makefile.ins and *.cfg
      files changed to RTEMS_CPU
    * bug fixes to exec/score/cpu/no_cpu/wrap (This part of the patch may
      result into patch rejections, because your recently posted patch may
      also have addressed this problem).

    After applying this patch, please do:

        cvs add c/src/lib/libbsp/no_cpu/no_bsp/bsp_specs
        ./autogen
1999-06-14 18:54:24 +00:00
Joel Sherrill
3b38683e92 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
* Use $(PACKHEX) instead of $(PROJECT_TOOLS)/packhex
  * Set HAS_RDBG=no for ts_386ex otherwise building it will attempt to
    compile librdbg for pc386
1999-06-14 18:33:39 +00:00
Joel Sherrill
b290da4c0a Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
* RTEMS_CPU for score603e should be "powerpc" instead of "ppc" (Should
    not have any side-effects, because RTEMS_CPU in make/custom/*.cfg
    already is overridden in make/target.cfg.in)
  * Use $(PACKHEX) instead of $(PROJECT_TOOLS)/packhex
1999-06-14 18:33:38 +00:00
Joel Sherrill
00f9ec0993 Updsated to reflect mpc750/mcp750 submission. 1999-06-14 18:31:57 +00:00
Joel Sherrill
817466c863 Patch ("FIX: MKDIR/INSTALL_VARIANT") from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>:

    This patch removes MKDIR from RTEMS source tree and fixes another small
    bug in the definition of INSTALL_VARIANT (cf. to the patch itself for
    details, it should be self-explanatory)

    After applying the patch please do:

        cvs rm aclocal/mkdir.m4
        ./autogen
1999-06-14 18:29:09 +00:00
Joel Sherrill
fbe75c6e54 This is a large patch from Eric Valette <valette@crf.canon.fr> that was
described in the message following this paragraph.  This patch also includes
a mcp750 BSP.

From valette@crf.canon.fr Mon Jun 14 10:03:08 1999
Date: Tue, 18 May 1999 01:30:14 +0200 (CEST)
From: VALETTE Eric <valette@crf.canon.fr>
To: joel@oarcorp.com
Cc: raguet@crf.canon.fr, rtems-snapshots@oarcorp.com, valette@crf.canon.fr
Subject: Questions/Suggestion regarding RTEMS PowerPC code (long)


Dear knowledgeable RTEMS powerpc users,

As some of you may know, I'm currently finalizing a port
of RTEMS on a MCP750 Motorola board. I have done most
of it but have some questions to ask before submitting
the port.

In order to understand some of the changes I have made
or would like to make, maybe it is worth describing the
MCP750 Motorola board.

the MCP750 is a COMPACT PCI powerpc board with :

	1) a MPC750 233 MHz processor,
	2) a raven bus bridge/PCI controller that
	implement an OPENPIC compliant interrupt controller,
	3) a VIA 82C586 PCI/ISA bridge that offers a PC
	compliant IO for keyboard, serial line, IDE, and
	the well known PC 8259 cascaded PIC interrupt
	architecture model,
	4) a DEC 21140 Ethernet controller,
	5) the PPCBUG Motorola firmware in flash,
	6) A DEC PCI bridge,

This architecture is common to most Motorola 60x/7xx
board except that :
	1) on VME board, the DEC PCI bridge is replaced by
	a VME chipset,
	2) the VIA 82C586 PCI/ISA bridge is replaced by
	another bridge that is almost fully compatible
	with the via bridge...

So the port should be a rather close basis for many
60x/7xx motorola board...

On this board, I already have ported Linux 2.2.3 and
use it both as a development and target board.

Now the questions/suggestions I have :

1)  EXCEPTION CODE
-------------------

As far as I know exceptions on PPC are handled like
interrupts. I dislike this very much as :

	a) Except for the decrementer exception (and
	maybe some other on mpc8xx), exceptions are
	not recoverable and the handler just need to print
	the full context and go to the firmware or debugger...
	b) The interrupt switch is only necessary for the
	decrementer and external interrupt (at least on
	6xx,7xx).
	c) The full context for exception is never saved and
	thus cannot be used by debugger... I do understand
	the most important for interrupts low level code
	is to save the minimal context enabling	to call C
	code for performance reasons. On non recoverable
	exception on the other hand, the most important is
	to save the maximum information concerning proc status
	in order to analyze the reason of the fault. At
	least we will need this in order to implement the
	port of RGDB on PPC

==> I wrote an API for connecting raw exceptions (and thus
raw interrupts) for mpc750. It should be valid for most
powerpc processors... I hope to find a way to make this coexist
with actual code layout. The code is actually located
in lib/libcpu/powerpc/mpc750 and is thus optional
(provided I write my own version of exec/score/cpu/powerpc/cpu.c ...)

See remark about files/directory layout organization in 4)

2) Current Implementation of ISR low level code
-----------------------------------------------

I do not understand why the MSR EE flags is cleared
again in exec/score/cpu/powerpc/irq_stubs.S

#if (PPC_USE_SPRG)
	mfmsr	r5
	mfspr   r6, sprg2
#else
        lwz	r6,msr_initial(r11)
	lis     r5,~PPC_MSR_DISABLE_MASK@ha
        ori     r5,r5,~PPC_MSR_DISABLE_MASK@l
	and	r6,r6,r5
	mfmsr	r5
#endif

Reading the doc, when a decrementer interrupt or an
external interrupt is active, the MSR EE flag is already
cleared. BTW if exception/interrupt could occur, it would
trash SRR0 and SRR1. In fact the code may be useful to set
MSR[RI] that re-enables exception processing. BTW I will need
to set other value in MSR to handle interrupts :

	a) I want the MSR[IR] and MSR[DR] to be set for
	performance reasons and also because I need DBAT
	support to have access to PCI memory space as the
	interrupt controller is in the PCI space.

Reading the code, I see others have the same kind of request :

/* SCE 980217
 *
 * We need address translation ON when we call our ISR routine

	mtmsr	r5

 */

This is just another prof that even the lowest level
IRQ code is fundamentally board dependent and
not simply processor dependent especially when
the processor use external interrupt controller
because it has a single interrupt request line...

Note that if you look at the PPC code high level interrupt
handling code, as the "set_vector" routine that really connects
the interrupt is in the BSP/startup/genpvec.c,
the fact that IRQ handling is BSP specific is DE-FACTO
acknowledged.

I know I have already expressed this and understand that this
would require some heavy change in the code but believe
me you will reach a point where you will not be able
to find a compatible while optimum implementation for low level
interrupt handling code...) In my case this is already true...

So please consider removing low level IRQ handling from
exec/score/cpu/* and only let there exception handling code...
Exceptions are usually only processor dependent and do
not depend on external hardware mechanism to be masked or
acknowledged or re-enabled (there are probably exception but ...)

I have already done this for pc386 bsp but need to make it again.
This time I will even propose an API.

3) R2/R13 manipulation for EABI implementation
----------------------------------------------

I do not understand the handling of r2 and r13 in the
EABI case. The specification for r2 says pointer to sdata2,
sbss2 section => constant. However I do not see -ffixed-r2
passed to any compilation system in make/custom/*
(for info linux does this on PPC).

So either this is a default compiler option when choosing
powerpc-rtems and thus we do not need to do anything with
this register as all the code is compiled with this compiler
and linked together OR this register may be used by rtems code
and then we do not need any special initialization or
handling.

The specification for r13 says pointer to the small data
area. r13 argumentation is the same except that as far
as I know the usage of the small data area requires
specific compiler support so that access to variables is
compiled via loading the LSB in a register and then
using r13 to get full address... It is like a small
memory model and it was present in IBM C compilers.

=> I propose to suppress any specific code for r2 and
r13 in the EABI case.

4) Code layout organization (yes again :-))
-------------------------------------------

I think there are a number of design flaws in the way
the code is for ppc organized and I will try to point them out.
I have been beaten by this again on this new port, and
was beaten last year while modifying code for pc386.

a) exec/score/cpu/* vs lib/libcpu/cpu/*.

I think that too many things are put in exec/score/cpu that
have nothing to do with RTEMS internals but are rather
related to CPU feature.

This include at least :

	a) registers access routine (e.g GET_MSR_Value),
	b) interrupt masking/unmasking routines,
	c) cache_mngt_routine,
	d) mmu_mngt_routine,
	e) Routines to connect the raw_exception, raw_interrupt
	handler,

b) lib/libcpu/cpu/powerpc/*

With a processor family as exuberant as the powerpc family,
and their well known subtle differences (604 vs 750) or
unfortunately majors (8xx vs 60x)  the directory structure
is fine (except maybe the names that are not homogeneous)

	powerpc

ppc421 mpc821 ...

I only needed to add mpc750. But the fact that libcpu.a was not
produced was a pain and the fact that this organization may
duplicates code is also problematic.

So, except if the support of automake provides a better solution
I would like to propose something like this :

		powerpc

mpc421 	mpc821	...	mpc750	shared wrapup

with the following rules :

	a) "shared" would act as a source container for sources that may
	be shared among processors. Needed files would be compiled inside
	the processor specific directory using the vpath Makefile
	mechanism. "shared" may also contain compilation code
	for routine that are really shared and not worth to inline...
	(did not found many things so far as registers access routine
	ARE WORTH INLINING)... In the case something is compiled there,
	it should create libcpushared.a

	b) layout under processor specific directory is free provided
	that
		1)the result of the compilation process exports :

		libcpu/powerpc/"PROC"/*.h in $(PROJECT_INCLUDE)/libcpu

		2) each processor specific directory creates
		a library called libcpuspecific.a
	Note that this organization enables to have a file that
	is nearly the same than in shared but that must differ
	because of processor differences...

	c) "wrapup" should create libcpu.a using libcpushared.a
	libcpuspecific.a and export it $(PROJECT_INCLUDE)/libcpu

The only thing I have no ideal solution is the way to put shared
definitions in "shared" and only processor specific definition
in "proc". To give a concrete example, most MSR bit definition
are shared among PPC processors and only some differs. if we create
a single msr.h in shared it will have ifdef. If in msr.h we
include libcpu/msr_c.h we will need to have it in each prowerpc
specific directory (even empty). Opinions are welcomed ...

Note that a similar mechanism exist in libbsp/i386 that also
contains a shared directory that is used by several bsp
like pc386 and i386ex and a similar wrapup mechanism...

NB: I have done this for mpc750 and other processors could just use
similar Makefiles...

c) The exec/score/cpu/powerpc directory layout.

I think the directory layout should be the same than the
libcpu/powerpc. As it is not, there are a lot of ifdefs
inside the code... And of course low level interrupt handling
code should be removed...

Besides that I do not understand why

	1) things are compiled in the wrap directory,
	2) some includes are moved to rtems/score,

I think the "preinstall" mechanism enables to put
everything in the current directory (or better in a per processor
directory),


5) Interrupt handling API
-------------------------

Again :-). But I think that using all the features the PIC
offers is a MUST for RT system. I already explained in the
prologue of this (long and probably boring) mail that the MCP750
boards offers an OPENPIC compliant architecture and that
the VIA 82586 PCI/ISA bridge offers a PC compatible IO and
PIC mapping. Here is a logical view of the RAVEN/VIA 82586
interrupt mapping :


---------    0  ------
| OPEN	| <-----|8259|
| PIC	|	|    |    2  ------
|(RAVEN)|	|    | <-----|8259|
|	|	|    |	     |    |   11
|	|	|    |	     |    | <----
|	|	|    |	     |    |
|	|	|    |	     |    |
---------       ------	     |    |
    ^			     ------
    |		VIA PCI/ISA bridge
    |  x
    -------- PCI interrupts

OPENPIC offers interrupt priorities among PCI interrupts
and interrupt selective masking. The 8259 offers the same kind
of feature. With actual powerpc interrupt code :

	1) there is no way to specify priorities among
	interrupts handler. This is REALLY a bad thing.
	For me it is as importnat as having priorities
	for threads...
	2) for my implementation, each ISR should
	contain the code that acknowledge the RAVEN
	and 8259 cascade, modify interrupt mask on both
	chips, and reenable interrupt at processor level,
	..., restore then on interrupt return,.... This code
	is actually similar to code located in some
	genpvec.c powerpc files,
	3) I must update _ISR_Nesting_level because
	irq.inl use it...
	4) the libchip code connects the ISR via set_vector
	but the libchip handler code does not contain any code to
	manipulate external interrupt controller hardware
	in order to acknoledge the interrupt or re-enable
	them (except for the target hardware of course)
	So this code is broken unless set_vector adds an
	additionnal prologue/epilogue before calling/returning
	from in order to acknoledge/mask the raven and the
	8259 PICS... => Anyway already EACH BSP MUST REWRITE
	PART OF INTERRUPT HANDLING CODE TO CORRECTLY IMPLEMENT
	SET_VECTOR.

I would rather offer an API similar to the one provided
in libbsp/i386/shared/irq/irq.h so that :

	1) Once the driver supplied methods is called the
	only things the ISR has to do is to worry about the
	external hardware that triggered the interrupt.
	Everything on openpic/VIA/processor would have been
	done by the low levels (same things as set-vector)
	2) The caller will need to supply the on/off/isOn
	routine that are fundamental to correctly implements
	debuggers/performance monitoring is a portable way
	3) A globally configurable interrupt priorities
	mechanism...

I have nothing against providing a compatible
set_vector just to make libchip happy but
as I have already explained in  other
mails (months ago), I really think that the ISR
connection should be handled by the BSP and that no
code containing irq connection should exist the
rtems generic layers... Thus I really dislike
libchip on this aspect because in a long term
it will force to adopt the less reach API
for interrupt handling that exists (set_vector).

Additional note : I think the _ISR_Is_in_progress()
inline routine should be :

	1) Put in a processor specific section,
	2) Should not rely on a global variable,

As :
	a) on symmetric MP, there is one interrupt level
	per CPU,
	b) On processor that have an ISP (e,g 68040),
	this variable is useless (MSR bit testing could
	be used)
	c) On PPC, instead of using the address of the
	variable via __CPU_IRQ_info.Nest_level a dedicated
	SPR could be used.

NOTE:	most of this is also true for _Thread_Dispatch_disable_level


END NOTE
--------

Please do not take what I said in the mail as a criticism for
anyone who submitted ppc code. Any code present helped me
a lot understanding PPC behavior. I just wanted by this
mail to :
	1) try to better understand the actual code,
	2) propose concrete ways of enhancing current code
	by providing an alternative implementation for MCP750. I
	will make my best effort to try to brake nothing but this
	is actually hard due to the file layout organisation.
	3) make understandable some changes I will probably make
	if joel let me do them :-)

Any comments/objections are welcomed as usual.



--
   __
  /  `                   	Eric Valette
 /--   __  o _.          	Canon CRF
(___, / (_(_(__         	Rue de la touche lambert
				35517 Cesson-Sevigne  Cedex
				FRANCE
Tel: +33 (0)2 99 87 68 91	Fax: +33 (0)2 99 84 11 30
E-mail: valette@crf.canon.fr
1999-06-14 18:17:33 +00:00
Joel Sherrill
a4f6b023f6 This is a large patch from Eric Valette <valette@crf.canon.fr> that was
described in the message following this paragraph.  This patch also includes
a mcp750 BSP.

From valette@crf.canon.fr Mon Jun 14 10:03:08 1999
Date: Tue, 18 May 1999 01:30:14 +0200 (CEST)
From: VALETTE Eric <valette@crf.canon.fr>
To: joel@oarcorp.com
Cc: raguet@crf.canon.fr, rtems-snapshots@oarcorp.com, valette@crf.canon.fr
Subject: Questions/Suggestion regarding RTEMS PowerPC code (long)


Dear knowledgeable RTEMS powerpc users,

As some of you may know, I'm currently finalizing a port
of RTEMS on a MCP750 Motorola board. I have done most
of it but have some questions to ask before submitting
the port.

In order to understand some of the changes I have made
or would like to make, maybe it is worth describing the
MCP750 Motorola board.

the MCP750 is a COMPACT PCI powerpc board with :

	1) a MPC750 233 MHz processor,
	2) a raven bus bridge/PCI controller that
	implement an OPENPIC compliant interrupt controller,
	3) a VIA 82C586 PCI/ISA bridge that offers a PC
	compliant IO for keyboard, serial line, IDE, and
	the well known PC 8259 cascaded PIC interrupt
	architecture model,
	4) a DEC 21140 Ethernet controller,
	5) the PPCBUG Motorola firmware in flash,
	6) A DEC PCI bridge,

This architecture is common to most Motorola 60x/7xx
board except that :
	1) on VME board, the DEC PCI bridge is replaced by
	a VME chipset,
	2) the VIA 82C586 PCI/ISA bridge is replaced by
	another bridge that is almost fully compatible
	with the via bridge...

So the port should be a rather close basis for many
60x/7xx motorola board...

On this board, I already have ported Linux 2.2.3 and
use it both as a development and target board.

Now the questions/suggestions I have :

1)  EXCEPTION CODE
-------------------

As far as I know exceptions on PPC are handled like
interrupts. I dislike this very much as :

	a) Except for the decrementer exception (and
	maybe some other on mpc8xx), exceptions are
	not recoverable and the handler just need to print
	the full context and go to the firmware or debugger...
	b) The interrupt switch is only necessary for the
	decrementer and external interrupt (at least on
	6xx,7xx).
	c) The full context for exception is never saved and
	thus cannot be used by debugger... I do understand
	the most important for interrupts low level code
	is to save the minimal context enabling	to call C
	code for performance reasons. On non recoverable
	exception on the other hand, the most important is
	to save the maximum information concerning proc status
	in order to analyze the reason of the fault. At
	least we will need this in order to implement the
	port of RGDB on PPC

==> I wrote an API for connecting raw exceptions (and thus
raw interrupts) for mpc750. It should be valid for most
powerpc processors... I hope to find a way to make this coexist
with actual code layout. The code is actually located
in lib/libcpu/powerpc/mpc750 and is thus optional
(provided I write my own version of exec/score/cpu/powerpc/cpu.c ...)

See remark about files/directory layout organization in 4)

2) Current Implementation of ISR low level code
-----------------------------------------------

I do not understand why the MSR EE flags is cleared
again in exec/score/cpu/powerpc/irq_stubs.S

#if (PPC_USE_SPRG)
	mfmsr	r5
	mfspr   r6, sprg2
#else
        lwz	r6,msr_initial(r11)
	lis     r5,~PPC_MSR_DISABLE_MASK@ha
        ori     r5,r5,~PPC_MSR_DISABLE_MASK@l
	and	r6,r6,r5
	mfmsr	r5
#endif

Reading the doc, when a decrementer interrupt or an
external interrupt is active, the MSR EE flag is already
cleared. BTW if exception/interrupt could occur, it would
trash SRR0 and SRR1. In fact the code may be useful to set
MSR[RI] that re-enables exception processing. BTW I will need
to set other value in MSR to handle interrupts :

	a) I want the MSR[IR] and MSR[DR] to be set for
	performance reasons and also because I need DBAT
	support to have access to PCI memory space as the
	interrupt controller is in the PCI space.

Reading the code, I see others have the same kind of request :

/* SCE 980217
 *
 * We need address translation ON when we call our ISR routine

	mtmsr	r5

 */

This is just another prof that even the lowest level
IRQ code is fundamentally board dependent and
not simply processor dependent especially when
the processor use external interrupt controller
because it has a single interrupt request line...

Note that if you look at the PPC code high level interrupt
handling code, as the "set_vector" routine that really connects
the interrupt is in the BSP/startup/genpvec.c,
the fact that IRQ handling is BSP specific is DE-FACTO
acknowledged.

I know I have already expressed this and understand that this
would require some heavy change in the code but believe
me you will reach a point where you will not be able
to find a compatible while optimum implementation for low level
interrupt handling code...) In my case this is already true...

So please consider removing low level IRQ handling from
exec/score/cpu/* and only let there exception handling code...
Exceptions are usually only processor dependent and do
not depend on external hardware mechanism to be masked or
acknowledged or re-enabled (there are probably exception but ...)

I have already done this for pc386 bsp but need to make it again.
This time I will even propose an API.

3) R2/R13 manipulation for EABI implementation
----------------------------------------------

I do not understand the handling of r2 and r13 in the
EABI case. The specification for r2 says pointer to sdata2,
sbss2 section => constant. However I do not see -ffixed-r2
passed to any compilation system in make/custom/*
(for info linux does this on PPC).

So either this is a default compiler option when choosing
powerpc-rtems and thus we do not need to do anything with
this register as all the code is compiled with this compiler
and linked together OR this register may be used by rtems code
and then we do not need any special initialization or
handling.

The specification for r13 says pointer to the small data
area. r13 argumentation is the same except that as far
as I know the usage of the small data area requires
specific compiler support so that access to variables is
compiled via loading the LSB in a register and then
using r13 to get full address... It is like a small
memory model and it was present in IBM C compilers.

=> I propose to suppress any specific code for r2 and
r13 in the EABI case.

4) Code layout organization (yes again :-))
-------------------------------------------

I think there are a number of design flaws in the way
the code is for ppc organized and I will try to point them out.
I have been beaten by this again on this new port, and
was beaten last year while modifying code for pc386.

a) exec/score/cpu/* vs lib/libcpu/cpu/*.

I think that too many things are put in exec/score/cpu that
have nothing to do with RTEMS internals but are rather
related to CPU feature.

This include at least :

	a) registers access routine (e.g GET_MSR_Value),
	b) interrupt masking/unmasking routines,
	c) cache_mngt_routine,
	d) mmu_mngt_routine,
	e) Routines to connect the raw_exception, raw_interrupt
	handler,

b) lib/libcpu/cpu/powerpc/*

With a processor family as exuberant as the powerpc family,
and their well known subtle differences (604 vs 750) or
unfortunately majors (8xx vs 60x)  the directory structure
is fine (except maybe the names that are not homogeneous)

	powerpc

ppc421 mpc821 ...

I only needed to add mpc750. But the fact that libcpu.a was not
produced was a pain and the fact that this organization may
duplicates code is also problematic.

So, except if the support of automake provides a better solution
I would like to propose something like this :

		powerpc

mpc421 	mpc821	...	mpc750	shared wrapup

with the following rules :

	a) "shared" would act as a source container for sources that may
	be shared among processors. Needed files would be compiled inside
	the processor specific directory using the vpath Makefile
	mechanism. "shared" may also contain compilation code
	for routine that are really shared and not worth to inline...
	(did not found many things so far as registers access routine
	ARE WORTH INLINING)... In the case something is compiled there,
	it should create libcpushared.a

	b) layout under processor specific directory is free provided
	that
		1)the result of the compilation process exports :

		libcpu/powerpc/"PROC"/*.h in $(PROJECT_INCLUDE)/libcpu

		2) each processor specific directory creates
		a library called libcpuspecific.a
	Note that this organization enables to have a file that
	is nearly the same than in shared but that must differ
	because of processor differences...

	c) "wrapup" should create libcpu.a using libcpushared.a
	libcpuspecific.a and export it $(PROJECT_INCLUDE)/libcpu

The only thing I have no ideal solution is the way to put shared
definitions in "shared" and only processor specific definition
in "proc". To give a concrete example, most MSR bit definition
are shared among PPC processors and only some differs. if we create
a single msr.h in shared it will have ifdef. If in msr.h we
include libcpu/msr_c.h we will need to have it in each prowerpc
specific directory (even empty). Opinions are welcomed ...

Note that a similar mechanism exist in libbsp/i386 that also
contains a shared directory that is used by several bsp
like pc386 and i386ex and a similar wrapup mechanism...

NB: I have done this for mpc750 and other processors could just use
similar Makefiles...

c) The exec/score/cpu/powerpc directory layout.

I think the directory layout should be the same than the
libcpu/powerpc. As it is not, there are a lot of ifdefs
inside the code... And of course low level interrupt handling
code should be removed...

Besides that I do not understand why

	1) things are compiled in the wrap directory,
	2) some includes are moved to rtems/score,

I think the "preinstall" mechanism enables to put
everything in the current directory (or better in a per processor
directory),


5) Interrupt handling API
-------------------------

Again :-). But I think that using all the features the PIC
offers is a MUST for RT system. I already explained in the
prologue of this (long and probably boring) mail that the MCP750
boards offers an OPENPIC compliant architecture and that
the VIA 82586 PCI/ISA bridge offers a PC compatible IO and
PIC mapping. Here is a logical view of the RAVEN/VIA 82586
interrupt mapping :


---------    0  ------
| OPEN	| <-----|8259|
| PIC	|	|    |    2  ------
|(RAVEN)|	|    | <-----|8259|
|	|	|    |	     |    |   11
|	|	|    |	     |    | <----
|	|	|    |	     |    |
|	|	|    |	     |    |
---------       ------	     |    |
    ^			     ------
    |		VIA PCI/ISA bridge
    |  x
    -------- PCI interrupts

OPENPIC offers interrupt priorities among PCI interrupts
and interrupt selective masking. The 8259 offers the same kind
of feature. With actual powerpc interrupt code :

	1) there is no way to specify priorities among
	interrupts handler. This is REALLY a bad thing.
	For me it is as importnat as having priorities
	for threads...
	2) for my implementation, each ISR should
	contain the code that acknowledge the RAVEN
	and 8259 cascade, modify interrupt mask on both
	chips, and reenable interrupt at processor level,
	..., restore then on interrupt return,.... This code
	is actually similar to code located in some
	genpvec.c powerpc files,
	3) I must update _ISR_Nesting_level because
	irq.inl use it...
	4) the libchip code connects the ISR via set_vector
	but the libchip handler code does not contain any code to
	manipulate external interrupt controller hardware
	in order to acknoledge the interrupt or re-enable
	them (except for the target hardware of course)
	So this code is broken unless set_vector adds an
	additionnal prologue/epilogue before calling/returning
	from in order to acknoledge/mask the raven and the
	8259 PICS... => Anyway already EACH BSP MUST REWRITE
	PART OF INTERRUPT HANDLING CODE TO CORRECTLY IMPLEMENT
	SET_VECTOR.

I would rather offer an API similar to the one provided
in libbsp/i386/shared/irq/irq.h so that :

	1) Once the driver supplied methods is called the
	only things the ISR has to do is to worry about the
	external hardware that triggered the interrupt.
	Everything on openpic/VIA/processor would have been
	done by the low levels (same things as set-vector)
	2) The caller will need to supply the on/off/isOn
	routine that are fundamental to correctly implements
	debuggers/performance monitoring is a portable way
	3) A globally configurable interrupt priorities
	mechanism...

I have nothing against providing a compatible
set_vector just to make libchip happy but
as I have already explained in  other
mails (months ago), I really think that the ISR
connection should be handled by the BSP and that no
code containing irq connection should exist the
rtems generic layers... Thus I really dislike
libchip on this aspect because in a long term
it will force to adopt the less reach API
for interrupt handling that exists (set_vector).

Additional note : I think the _ISR_Is_in_progress()
inline routine should be :

	1) Put in a processor specific section,
	2) Should not rely on a global variable,

As :
	a) on symmetric MP, there is one interrupt level
	per CPU,
	b) On processor that have an ISP (e,g 68040),
	this variable is useless (MSR bit testing could
	be used)
	c) On PPC, instead of using the address of the
	variable via __CPU_IRQ_info.Nest_level a dedicated
	SPR could be used.

NOTE:	most of this is also true for _Thread_Dispatch_disable_level


END NOTE
--------

Please do not take what I said in the mail as a criticism for
anyone who submitted ppc code. Any code present helped me
a lot understanding PPC behavior. I just wanted by this
mail to :
	1) try to better understand the actual code,
	2) propose concrete ways of enhancing current code
	by providing an alternative implementation for MCP750. I
	will make my best effort to try to brake nothing but this
	is actually hard due to the file layout organisation.
	3) make understandable some changes I will probably make
	if joel let me do them :-)

Any comments/objections are welcomed as usual.



--
   __
  /  `                   	Eric Valette
 /--   __  o _.          	Canon CRF
(___, / (_(_(__         	Rue de la touche lambert
				35517 Cesson-Sevigne  Cedex
				FRANCE
Tel: +33 (0)2 99 87 68 91	Fax: +33 (0)2 99 84 11 30
E-mail: valette@crf.canon.fr
1999-06-14 17:54:21 +00:00
Joel Sherrill
ba46ffa616 This is a large patch from Eric Valette <valette@crf.canon.fr> that was
described in the message following this paragraph.  This patch also includes
a mcp750 BSP.

From valette@crf.canon.fr Mon Jun 14 10:03:08 1999
Date: Tue, 18 May 1999 01:30:14 +0200 (CEST)
From: VALETTE Eric <valette@crf.canon.fr>
To: joel@oarcorp.com
Cc: raguet@crf.canon.fr, rtems-snapshots@oarcorp.com, valette@crf.canon.fr
Subject: Questions/Suggestion regarding RTEMS PowerPC code (long)


Dear knowledgeable RTEMS powerpc users,

As some of you may know, I'm currently finalizing a port
of RTEMS on a MCP750 Motorola board. I have done most
of it but have some questions to ask before submitting
the port.

In order to understand some of the changes I have made
or would like to make, maybe it is worth describing the
MCP750 Motorola board.

the MCP750 is a COMPACT PCI powerpc board with :

	1) a MPC750 233 MHz processor,
	2) a raven bus bridge/PCI controller that
	implement an OPENPIC compliant interrupt controller,
	3) a VIA 82C586 PCI/ISA bridge that offers a PC
	compliant IO for keyboard, serial line, IDE, and
	the well known PC 8259 cascaded PIC interrupt
	architecture model,
	4) a DEC 21140 Ethernet controller,
	5) the PPCBUG Motorola firmware in flash,
	6) A DEC PCI bridge,

This architecture is common to most Motorola 60x/7xx
board except that :
	1) on VME board, the DEC PCI bridge is replaced by
	a VME chipset,
	2) the VIA 82C586 PCI/ISA bridge is replaced by
	another bridge that is almost fully compatible
	with the via bridge...

So the port should be a rather close basis for many
60x/7xx motorola board...

On this board, I already have ported Linux 2.2.3 and
use it both as a development and target board.

Now the questions/suggestions I have :

1)  EXCEPTION CODE
-------------------

As far as I know exceptions on PPC are handled like
interrupts. I dislike this very much as :

	a) Except for the decrementer exception (and
	maybe some other on mpc8xx), exceptions are
	not recoverable and the handler just need to print
	the full context and go to the firmware or debugger...
	b) The interrupt switch is only necessary for the
	decrementer and external interrupt (at least on
	6xx,7xx).
	c) The full context for exception is never saved and
	thus cannot be used by debugger... I do understand
	the most important for interrupts low level code
	is to save the minimal context enabling	to call C
	code for performance reasons. On non recoverable
	exception on the other hand, the most important is
	to save the maximum information concerning proc status
	in order to analyze the reason of the fault. At
	least we will need this in order to implement the
	port of RGDB on PPC

==> I wrote an API for connecting raw exceptions (and thus
raw interrupts) for mpc750. It should be valid for most
powerpc processors... I hope to find a way to make this coexist
with actual code layout. The code is actually located
in lib/libcpu/powerpc/mpc750 and is thus optional
(provided I write my own version of exec/score/cpu/powerpc/cpu.c ...)

See remark about files/directory layout organization in 4)

2) Current Implementation of ISR low level code
-----------------------------------------------

I do not understand why the MSR EE flags is cleared
again in exec/score/cpu/powerpc/irq_stubs.S

#if (PPC_USE_SPRG)
	mfmsr	r5
	mfspr   r6, sprg2
#else
        lwz	r6,msr_initial(r11)
	lis     r5,~PPC_MSR_DISABLE_MASK@ha
        ori     r5,r5,~PPC_MSR_DISABLE_MASK@l
	and	r6,r6,r5
	mfmsr	r5
#endif

Reading the doc, when a decrementer interrupt or an
external interrupt is active, the MSR EE flag is already
cleared. BTW if exception/interrupt could occur, it would
trash SRR0 and SRR1. In fact the code may be useful to set
MSR[RI] that re-enables exception processing. BTW I will need
to set other value in MSR to handle interrupts :

	a) I want the MSR[IR] and MSR[DR] to be set for
	performance reasons and also because I need DBAT
	support to have access to PCI memory space as the
	interrupt controller is in the PCI space.

Reading the code, I see others have the same kind of request :

/* SCE 980217
 *
 * We need address translation ON when we call our ISR routine

	mtmsr	r5

 */

This is just another prof that even the lowest level
IRQ code is fundamentally board dependent and
not simply processor dependent especially when
the processor use external interrupt controller
because it has a single interrupt request line...

Note that if you look at the PPC code high level interrupt
handling code, as the "set_vector" routine that really connects
the interrupt is in the BSP/startup/genpvec.c,
the fact that IRQ handling is BSP specific is DE-FACTO
acknowledged.

I know I have already expressed this and understand that this
would require some heavy change in the code but believe
me you will reach a point where you will not be able
to find a compatible while optimum implementation for low level
interrupt handling code...) In my case this is already true...

So please consider removing low level IRQ handling from
exec/score/cpu/* and only let there exception handling code...
Exceptions are usually only processor dependent and do
not depend on external hardware mechanism to be masked or
acknowledged or re-enabled (there are probably exception but ...)

I have already done this for pc386 bsp but need to make it again.
This time I will even propose an API.

3) R2/R13 manipulation for EABI implementation
----------------------------------------------

I do not understand the handling of r2 and r13 in the
EABI case. The specification for r2 says pointer to sdata2,
sbss2 section => constant. However I do not see -ffixed-r2
passed to any compilation system in make/custom/*
(for info linux does this on PPC).

So either this is a default compiler option when choosing
powerpc-rtems and thus we do not need to do anything with
this register as all the code is compiled with this compiler
and linked together OR this register may be used by rtems code
and then we do not need any special initialization or
handling.

The specification for r13 says pointer to the small data
area. r13 argumentation is the same except that as far
as I know the usage of the small data area requires
specific compiler support so that access to variables is
compiled via loading the LSB in a register and then
using r13 to get full address... It is like a small
memory model and it was present in IBM C compilers.

=> I propose to suppress any specific code for r2 and
r13 in the EABI case.

4) Code layout organization (yes again :-))
-------------------------------------------

I think there are a number of design flaws in the way
the code is for ppc organized and I will try to point them out.
I have been beaten by this again on this new port, and
was beaten last year while modifying code for pc386.

a) exec/score/cpu/* vs lib/libcpu/cpu/*.

I think that too many things are put in exec/score/cpu that
have nothing to do with RTEMS internals but are rather
related to CPU feature.

This include at least :

	a) registers access routine (e.g GET_MSR_Value),
	b) interrupt masking/unmasking routines,
	c) cache_mngt_routine,
	d) mmu_mngt_routine,
	e) Routines to connect the raw_exception, raw_interrupt
	handler,

b) lib/libcpu/cpu/powerpc/*

With a processor family as exuberant as the powerpc family,
and their well known subtle differences (604 vs 750) or
unfortunately majors (8xx vs 60x)  the directory structure
is fine (except maybe the names that are not homogeneous)

	powerpc

ppc421 mpc821 ...

I only needed to add mpc750. But the fact that libcpu.a was not
produced was a pain and the fact that this organization may
duplicates code is also problematic.

So, except if the support of automake provides a better solution
I would like to propose something like this :

		powerpc

mpc421 	mpc821	...	mpc750	shared wrapup

with the following rules :

	a) "shared" would act as a source container for sources that may
	be shared among processors. Needed files would be compiled inside
	the processor specific directory using the vpath Makefile
	mechanism. "shared" may also contain compilation code
	for routine that are really shared and not worth to inline...
	(did not found many things so far as registers access routine
	ARE WORTH INLINING)... In the case something is compiled there,
	it should create libcpushared.a

	b) layout under processor specific directory is free provided
	that
		1)the result of the compilation process exports :

		libcpu/powerpc/"PROC"/*.h in $(PROJECT_INCLUDE)/libcpu

		2) each processor specific directory creates
		a library called libcpuspecific.a
	Note that this organization enables to have a file that
	is nearly the same than in shared but that must differ
	because of processor differences...

	c) "wrapup" should create libcpu.a using libcpushared.a
	libcpuspecific.a and export it $(PROJECT_INCLUDE)/libcpu

The only thing I have no ideal solution is the way to put shared
definitions in "shared" and only processor specific definition
in "proc". To give a concrete example, most MSR bit definition
are shared among PPC processors and only some differs. if we create
a single msr.h in shared it will have ifdef. If in msr.h we
include libcpu/msr_c.h we will need to have it in each prowerpc
specific directory (even empty). Opinions are welcomed ...

Note that a similar mechanism exist in libbsp/i386 that also
contains a shared directory that is used by several bsp
like pc386 and i386ex and a similar wrapup mechanism...

NB: I have done this for mpc750 and other processors could just use
similar Makefiles...

c) The exec/score/cpu/powerpc directory layout.

I think the directory layout should be the same than the
libcpu/powerpc. As it is not, there are a lot of ifdefs
inside the code... And of course low level interrupt handling
code should be removed...

Besides that I do not understand why

	1) things are compiled in the wrap directory,
	2) some includes are moved to rtems/score,

I think the "preinstall" mechanism enables to put
everything in the current directory (or better in a per processor
directory),


5) Interrupt handling API
-------------------------

Again :-). But I think that using all the features the PIC
offers is a MUST for RT system. I already explained in the
prologue of this (long and probably boring) mail that the MCP750
boards offers an OPENPIC compliant architecture and that
the VIA 82586 PCI/ISA bridge offers a PC compatible IO and
PIC mapping. Here is a logical view of the RAVEN/VIA 82586
interrupt mapping :


---------    0  ------
| OPEN	| <-----|8259|
| PIC	|	|    |    2  ------
|(RAVEN)|	|    | <-----|8259|
|	|	|    |	     |    |   11
|	|	|    |	     |    | <----
|	|	|    |	     |    |
|	|	|    |	     |    |
---------       ------	     |    |
    ^			     ------
    |		VIA PCI/ISA bridge
    |  x
    -------- PCI interrupts

OPENPIC offers interrupt priorities among PCI interrupts
and interrupt selective masking. The 8259 offers the same kind
of feature. With actual powerpc interrupt code :

	1) there is no way to specify priorities among
	interrupts handler. This is REALLY a bad thing.
	For me it is as importnat as having priorities
	for threads...
	2) for my implementation, each ISR should
	contain the code that acknowledge the RAVEN
	and 8259 cascade, modify interrupt mask on both
	chips, and reenable interrupt at processor level,
	..., restore then on interrupt return,.... This code
	is actually similar to code located in some
	genpvec.c powerpc files,
	3) I must update _ISR_Nesting_level because
	irq.inl use it...
	4) the libchip code connects the ISR via set_vector
	but the libchip handler code does not contain any code to
	manipulate external interrupt controller hardware
	in order to acknoledge the interrupt or re-enable
	them (except for the target hardware of course)
	So this code is broken unless set_vector adds an
	additionnal prologue/epilogue before calling/returning
	from in order to acknoledge/mask the raven and the
	8259 PICS... => Anyway already EACH BSP MUST REWRITE
	PART OF INTERRUPT HANDLING CODE TO CORRECTLY IMPLEMENT
	SET_VECTOR.

I would rather offer an API similar to the one provided
in libbsp/i386/shared/irq/irq.h so that :

	1) Once the driver supplied methods is called the
	only things the ISR has to do is to worry about the
	external hardware that triggered the interrupt.
	Everything on openpic/VIA/processor would have been
	done by the low levels (same things as set-vector)
	2) The caller will need to supply the on/off/isOn
	routine that are fundamental to correctly implements
	debuggers/performance monitoring is a portable way
	3) A globally configurable interrupt priorities
	mechanism...

I have nothing against providing a compatible
set_vector just to make libchip happy but
as I have already explained in  other
mails (months ago), I really think that the ISR
connection should be handled by the BSP and that no
code containing irq connection should exist the
rtems generic layers... Thus I really dislike
libchip on this aspect because in a long term
it will force to adopt the less reach API
for interrupt handling that exists (set_vector).

Additional note : I think the _ISR_Is_in_progress()
inline routine should be :

	1) Put in a processor specific section,
	2) Should not rely on a global variable,

As :
	a) on symmetric MP, there is one interrupt level
	per CPU,
	b) On processor that have an ISP (e,g 68040),
	this variable is useless (MSR bit testing could
	be used)
	c) On PPC, instead of using the address of the
	variable via __CPU_IRQ_info.Nest_level a dedicated
	SPR could be used.

NOTE:	most of this is also true for _Thread_Dispatch_disable_level


END NOTE
--------

Please do not take what I said in the mail as a criticism for
anyone who submitted ppc code. Any code present helped me
a lot understanding PPC behavior. I just wanted by this
mail to :
	1) try to better understand the actual code,
	2) propose concrete ways of enhancing current code
	by providing an alternative implementation for MCP750. I
	will make my best effort to try to brake nothing but this
	is actually hard due to the file layout organisation.
	3) make understandable some changes I will probably make
	if joel let me do them :-)

Any comments/objections are welcomed as usual.



--
   __
  /  `                   	Eric Valette
 /--   __  o _.          	Canon CRF
(___, / (_(_(__         	Rue de la touche lambert
				35517 Cesson-Sevigne  Cedex
				FRANCE
Tel: +33 (0)2 99 87 68 91	Fax: +33 (0)2 99 84 11 30
E-mail: valette@crf.canon.fr
1999-06-14 16:51:13 +00:00
Joel Sherrill
255b2931b6 Regenerated. 1999-06-11 17:40:06 +00:00
Joel Sherrill
d001776f3f Added local prototype of ioctl() to avoid requiring sys/ioctl.h. 1999-06-11 14:49:13 +00:00
Joel Sherrill
4c3a9c999e Added comments. 1999-06-11 14:47:43 +00:00
Joel Sherrill
923b45c987 Fixed Makefile.in to not attempt to install rtems.o twice from two different
directories.
1999-06-11 14:21:17 +00:00
Joel Sherrill
a6f3cff703 Patch from Ian Lance Taylor <ian@airs.com>:
The select function is not particularly efficient when dealing with a
    large number of sockets.  The application has to build a big set of
    bits and pass it in.  RTEMS has to look through all those bits and see
    what is ready.  Then the application has to look through all the bits
    again.

    On the other hand, when using RTEMS, the select function is needed
    exactly when you have a large number of sockets, because that is when
    it becomes prohibitive to use a separate thread for each socket.

    I think it would make more sense for RTEMS to support callback
    functions which could be invoked when there is data available to read
    from a socket, or when there is space available to write to a socket.

    Accordingly, I implemented them.

    This patch adds two new SOL_SOCKET options to setsockopt and
    getsockopt: SO_SNDWAKEUP and SO_RCVWAKEUP.  They take arguments of
    type struct sockwakeup:

    struct  sockwakeup {
        void    (*sw_pfn) __P((struct socket *, caddr_t));
        caddr_t sw_arg;
    };

    They are used to add or remove a function which will be called when
    something happens for the socket.  Getting a callback doesn't imply
    that a read or write will succeed, but it does imply that it is worth
    trying.

    This adds functionality to RTEMS which is somewhat like interrupt
    driven socket I/O on Unix.

    After the patch to RTEMS, I have appended a patch to
    netdemos-19990407/select/test.c to test the new functionality and
    demonstrate one way it might be used.  To run the new test instead of
    the select test, change doSocket to call echoServer2 instead of
    echoServer.
1999-06-11 14:11:44 +00:00
Joel Sherrill
0643693198 Patch from Eric Norum <eric@cls.usask.ca> to fix bug reported by
Ian Lance Taylor <ian@airs.com>:

    Ian Lance Taylor wrote:
    >
    > In rtems-19990528, sbwait sets SB_WAIT in sb_flags.  sowakeup checks
    > it.  Why doesn't socket_select set it?
    >
    > I don't know that this is a bug--I haven't tried to create a test
    > case.  However, it certainly looks odd.
    >
    > Ian

    Yes, there's a bug there.  Sorry about that.
    It was introduced when I did some cleanup on the sleep/wakeup handling
    in rtems_glue.c.
1999-06-11 14:06:13 +00:00
Joel Sherrill
9a6d32b08b Added information on pathname evaluation. 1999-06-11 13:35:07 +00:00
Joel Sherrill
5a0592cf17 Do not use the RTEMS simpleioctl.h if networking is enabled since
that subsystem provides a more robust version of ioctl.h.
1999-06-09 16:47:49 +00:00
Joel Sherrill
0860426d39 Modified to return an error when a bogus return address for the
old_priority parameter is provided.
1999-06-09 16:46:13 +00:00
Joel Sherrill
8dba3733fb Switched to using strcasecmp() since it is more portable.
D. V. Henkel-Wallace <gumby@zembu.com> spotted this one.
1999-06-09 13:50:47 +00:00
Joel Sherrill
eb91a4bb49 Significantly cleaned up to make a much better starting point for the
class.
1999-06-04 13:37:43 +00:00
Joel Sherrill
6ff1ac4ebf Added much of the text required to turn this into a real chapter. 1999-06-04 13:37:23 +00:00
Joel Sherrill
0e99ecfcea Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This patch fixes a nasty problem with build-tools/Makefile.am:

    When using install-sh instead of /usr/bin/install, only the first file
    gets installed during the preinstall stage.
1999-06-02 16:34:54 +00:00
Joel Sherrill
a5d697dc7d Removed "NO CTOR" from list of objects to be picked up. It now comes in
via libbsp.a.  Reported by Ian Lance Taylor <ian@airs.com>.
1999-06-02 16:14:36 +00:00
Joel Sherrill
15f98ca5ee changed version to 19990528 1999-05-28 18:53:46 +00:00
Joel Sherrill
7b0e33d719 changed version to 19990528 1999-05-28 18:28:38 +00:00
Joel Sherrill
480c9d742e changed version to 19990528 1999-05-28 18:28:37 +00:00
Joel Sherrill
6d745191ac changed version to 19990528 1999-05-28 18:25:36 +00:00
Joel Sherrill
9cffc64533 changed version to 19990528 1999-05-28 18:22:25 +00:00
Joel Sherrill
f74abcf78d Changes from Eric Norum to add a loop and limit on the length of time
the stack will wait for mbufs.
1999-05-28 18:21:25 +00:00
Joel Sherrill
18cb17fd8c changed version to 19990528 1999-05-28 17:35:12 +00:00
Joel Sherrill
c7115bb231 Don't install this executable. It should only be built. 1999-05-28 16:10:29 +00:00
Joel Sherrill
8f2cb41c02 Use fgrep instead of grep to avoid treating filenames as regular expressions.
grep found debugio.o when looking for debug.o and said there was a
filename conflict incorrectly.
1999-05-28 16:10:05 +00:00
Joel Sherrill
403d7b188f Alignment corrected per Eric Norum's suggestion. 1999-05-28 16:09:00 +00:00
Joel Sherrill
d54bdfaf9c Corrected to include shared console driver. 1999-05-28 16:08:38 +00:00
Joel Sherrill
8f3c1d20d1 At the request of Gumby, the cpu is now halted rather than spinning
on a fatal exception.
1999-05-28 16:08:18 +00:00
Joel Sherrill
bb5d6ecf80 Regenerated. 1999-05-28 16:07:36 +00:00
Joel Sherrill
7f022257c9 Regenerated. 1999-05-28 15:56:05 +00:00
Joel Sherrill
bb7b1260d3 Renamed config.c to conscfg.c to avoid naming conflicts. 1999-05-28 14:09:53 +00:00
Joel Sherrill
caa1173991 Renamed config.s to todcfg.c to avoid naming conflicts. 1999-05-28 14:09:34 +00:00
Joel Sherrill
7afa2dd812 Renamed fatal.c to bspfatal.c to avoid name conflicts with
Fatal Error handler in SuperCore.
1999-05-28 14:02:21 +00:00
Joel Sherrill
35d2d3c0c7 Renamed tod.c to coretod.c to remove conflicts with "Time Of Day"
device drivers.
1999-05-28 14:00:21 +00:00
Joel Sherrill
803ce2919b Renamed clock.c to rtclock.c to avoid conflicts with clock drivers
in various BSPs.
1999-05-28 13:07:00 +00:00
Joel Sherrill
af84b96887 Switched from picking up the .rel for each subdirectory in the
BSP (BSP_PIECES) to picking up the .o files.  This should help
reduce the minimum size of an application.
1999-05-27 18:53:02 +00:00
Joel Sherrill
11cdbebd58 Patch from Eric Norum <eric@pollux.usask.ca> to eliminate a panic when the
network stack runs out of mbufs.
1999-05-27 18:03:50 +00:00
Joel Sherrill
1c841bd229 Split out the routine rtems_assoc_name_bad(). 1999-05-27 16:13:19 +00:00
Joel Sherrill
556ea0e3ba Removed usage of printf. 1999-05-27 16:12:20 +00:00
Joel Sherrill
5adf355aa3 Split initialization and reserve resources from termios to reduce
size of mininum application.
1999-05-27 16:11:52 +00:00
Joel Sherrill
1d1b1507a6 Split out polled io, debug puts, and console reserve resources to
reduce dependencies and shrink minimum executable size.
1999-05-27 16:08:40 +00:00
Joel Sherrill
2a333f9a0d Disabled running size_rtems until all file splitting is finished. 1999-05-27 15:46:34 +00:00
Joel Sherrill
73989010b4 Regenerated. 1999-05-27 15:46:00 +00:00
Joel Sherrill
326378bfd4 Corrected so rtems.o is built and installed on all targets. 1999-05-27 15:44:20 +00:00
Joel Sherrill
82d11f8781 Corrected macro names. 1999-05-27 15:43:32 +00:00
Joel Sherrill
339eba5d6d New file. 1999-05-26 19:45:42 +00:00
Joel Sherrill
110bdfe694 Made the gen_section more accurate. 1999-05-26 18:20:40 +00:00
Joel Sherrill
e968366e21 Prototypes are now based on how the TRON specification states them.
The style in the output is not right but it is a good starting point.
1999-05-26 18:10:59 +00:00
Joel Sherrill
1e72d70929 Basic prototypes are now included. 1999-05-26 18:07:37 +00:00
Joel Sherrill
b4b24f4b85 Regenerated to include more information in the stub. Now they have
the descriptive titles.
1999-05-26 17:59:45 +00:00
Joel Sherrill
ce66895e86 Changed word "directive" to "system call." 1999-05-26 17:59:16 +00:00
Joel Sherrill
315b929d28 Added error codes to all service calls 1999-05-26 17:51:04 +00:00
Joel Sherrill
b1b4fd26d0 Corrected error code section. 1999-05-26 16:08:09 +00:00
Joel Sherrill
e67c585583 Replaced error code section. 1999-05-26 16:06:52 +00:00
Joel Sherrill
c239f715aa Enhanced. 1999-05-26 16:03:50 +00:00
Joel Sherrill
da47e4a930 Initiated updating this to reflect split up. 1999-05-26 14:00:48 +00:00
Joel Sherrill
10122b7195 Initial revision 1999-05-20 21:55:30 +00:00
Joel Sherrill
0aeda88267 Renamed to rtemstimer.c to avoid conflict with timer drivers in EVERY
BSP as we transition to more .o's and less .rel's.
1999-05-20 16:16:44 +00:00
Joel Sherrill
8bbaf3bd49 Removed all post 4.0 changes. 1999-05-20 13:32:54 +00:00
Joel Sherrill
5a064dca14 Patch from Daniel Kelley <dank@icube.com>:
I found a small buglet in the mips64orion _CPU_ISR_Set_level; the
    original was wiping out the level argument, and then comparing the
    current interrupt level with some random value of v0. See patch below.
1999-05-18 17:41:16 +00:00
Joel Sherrill
fbec4a149f Regenerated. 1999-05-18 17:33:52 +00:00
Joel Sherrill
0090c1a119 Spacing correction. 1999-05-18 17:31:27 +00:00
Joel Sherrill
0995b6ffc1 Reworked to avoid pulling in the jump point entry in EVERY executable. 1999-05-17 23:48:34 +00:00
Joel Sherrill
9180f63e97 Fixed some typos. 1999-05-17 23:26:50 +00:00
Joel Sherrill
c9973bbc54 Split Interrupt Manager into one routine per file. 1999-05-17 23:22:45 +00:00
Joel Sherrill
0123e3be53 Split Signal Manager into one routine per file. 1999-05-17 23:20:52 +00:00
Joel Sherrill
1dc030fe05 Dual-Ported Memory Manager split into one routine per file. 1999-05-17 23:18:20 +00:00
Joel Sherrill
842db5f391 Split Partition Manager into one routine per file. 1999-05-17 23:15:20 +00:00
Joel Sherrill
be47df9381 Split Timer Manager into one routine per file. 1999-05-17 23:10:36 +00:00
Joel Sherrill
cc2bc3025c Split Event Manager into one routine per file. 1999-05-17 23:06:03 +00:00
Joel Sherrill
5f9b3db545 Split Rate Monotonic Manager into one routine per file. 1999-05-17 23:03:07 +00:00
Joel Sherrill
c06d8f6467 Split the Semaphore Manager into one routine per file. 1999-05-17 22:58:30 +00:00
Joel Sherrill
a2d0f39a2c Moved some MP routines to semmp.c. 1999-05-17 22:56:13 +00:00
Joel Sherrill
3270ca68da Forgot to actually remove the routines. :) 1999-05-17 22:53:34 +00:00
Joel Sherrill
1e1b3e00d1 Split Message Manager into one routine per file. 1999-05-17 22:52:59 +00:00
Joel Sherrill
ef22ab2584 Moved an MP routine from msg.c to here. 1999-05-17 22:46:01 +00:00
Joel Sherrill
86cb89f05f Cleaned up some multiprocessing issues. 1999-05-17 22:45:47 +00:00
Joel Sherrill
bd83f4738f Split Clock Manager into one routine per file. 1999-05-17 22:42:47 +00:00
Joel Sherrill
5aa64518b5 Split Region Manager into one routine per file. 1999-05-17 22:39:20 +00:00
Joel Sherrill
1178b8cabb Splitting the Thread Handler forced the inclusion of more prototypes. 1999-05-17 22:19:29 +00:00
Joel Sherrill
2f831ac1fe Moved _Entry_Table to its own file to avoid having every RTEMS directive
pulled in.
1999-05-17 22:16:52 +00:00
Joel Sherrill
d785158293 Added simple test to find minimum code size of executive with this BSP
and RTEMS configuration.
1999-05-17 22:15:56 +00:00
Joel Sherrill
c4d69e21a7 Split Task Manager into multiple files. Eventually this effort will
reduce the size of executables.
1999-05-17 21:02:16 +00:00
Joel Sherrill
05df0a846f Thread Handler split into multiple files. Eventually, as RTEMS is
split into one function per file, this will decrease the size of executables.
1999-05-17 20:41:13 +00:00
Joel Sherrill
a238cc97d0 Patch from D. V. Henkel-Wallace <gumby@zembu.com> to remove compiler
warnings.
1999-05-17 15:45:15 +00:00
Joel Sherrill
577c408009 Patch from D. V. Henkel-Wallace <gumby@zembu.com>:
Here's a tiny patch that shreds memory returned to the pool (such as by
  free() and delete). This may help people find some nasty
  bugs, so here it is.
1999-05-17 15:28:52 +00:00
Joel Sherrill
9e7d42dd14 Added C++ linking rule from Rosimildo DaSilva <rdasilva@connecttel.com>. 1999-05-14 16:26:47 +00:00
Joel Sherrill
fcf17a4f69 Added testing for C++ exceptions from Rosimildo DaSilva
<rdasilva@connecttel.com>.
1999-05-14 16:25:15 +00:00
Joel Sherrill
44dd8a6116 Added 3COM 3C509 driver from Rosimildo DaSilva <rdasilva@connecttel.com>. 1999-05-14 16:23:42 +00:00
Joel Sherrill
222a71ad79 Regenerated. 1999-05-14 15:58:10 +00:00
Joel Sherrill
8e718b67c6 Regenerated. 1999-05-14 15:33:28 +00:00
Joel Sherrill
c5881fc155 Enabled compilation of rtems_servers at request of Jake Janovetz
<janovetz@tempest.ece.uiuc.edu>.
1999-05-14 15:31:07 +00:00
Joel Sherrill
878baa41a2 Fixed typo. 1999-05-14 15:21:34 +00:00
Joel Sherrill
cb202941d9 Added tool hints. 1999-05-14 15:19:39 +00:00
Joel Sherrill
2bd93831c5 New file. 1999-05-14 15:15:57 +00:00
Joel Sherrill
a0b94685cd Removed check for initialized ID at request of Rosimildo DaSilva
<rdasilva@connecttel.com> who encountered random failures in his
port of omniORB2.
1999-05-14 14:43:53 +00:00
Joel Sherrill
123d4b7dc1 Removed -fomit-frame-pointer from all i386 BSPs since it breaks C++
exceptions and makes debug stack traces impossible.
1999-05-14 14:34:39 +00:00
Joel Sherrill
4c5080ed09 Fix based on bug report from Jay Kulpinski <jskulpin@eng01.gdds.com>
that the per task reentrancy structure was not being processed properly
during exit().

joel@oarcorp.com wrote:
>
>
> This is always an ugly place to poke around. :(
>
> The code in newlib/libc/stdlib/exit.c walks the atexit chain for the
> reentrancy structure for JUST the current task.  The code in libc_wrapup()
> does it for both the current task and the global reentrancy structure
> (which tends to be where driver atexit()'s were registered.
>
> So I think the _wrapup_reent(0) in libc_wrapup() should be commented out.
>
> If you concur, then I will make the change and improve the comment on this
> line of code to explain things:
>
>     libc_wrapup(); /* Why? XXX */
>
> --joel

That does the job.  cdtest.exe works correctly now.
1999-05-11 16:30:51 +00:00
Joel Sherrill
ddd22e5d0d Patch from Erik Ivanenko <erik.ivanenko@utoronto.ca> to correct 32 bit
jmp relative offset from .reset section.
1999-05-11 15:15:03 +00:00
Joel Sherrill
5a909149ca Made all calls to _Thread_Yield_processor consistent in how they are
wrapped by calls to _Thread_Enable_dispatch and _Thread_Disable_dispatch.
1999-05-07 17:09:20 +00:00
Joel Sherrill
16775a5535 Patch from Jiri Gaisler <jgais@ws.estec.esa.nl> to allow stacksize
of POSIX Init thread to be user configured.
1999-05-07 16:36:29 +00:00
Joel Sherrill
0700136005 Added rules to handle alternate suffixes for C++ files. 1999-05-07 16:31:08 +00:00
Joel Sherrill
acb644a66f Error reporting fixed by Jennifer. 1999-05-07 16:30:44 +00:00
Joel Sherrill
c34aaae7e6 Bug fix from Gunter Magin <magin@@skil.camelot.de>:
in libcpu/powerpc/mpc860/clock/clock.c:InstallClock() the reload value for
    the PIT is defined as:

      pit_value = (BSP_Configuration.microseconds_per_tick *
                 Cpu_table.clicks_per_usec) - 1 ;

    What exactly is a tick, and what is a click?

    My confusion stems from the fact, that Jay defines clicks_per_usec to 1
    which is correct for his configuration, where a 4MHz clock is predivided
    by 4 and then fed to the PIT. So I assume a "click" is just the period of
    the PIT input frequency.

    However, our HW config seems to have 32.768 kHz crystal input for PIT.
    Mandatory division by 4 means 8.196kHz (122usec) at the PIT.

    I think, the above assignment should read:

      pit_value = (BSP_Configuration.microseconds_per_tick /
                 Cpu_table.clicks_per_usec) - 1;

    where I can define Cpu_table.clicks_per_usec in bspstart.c to 122
    (clicks_per_usec). That would lead to a PIT reload value of
    10000/122 - 1 = 81 to reach a 10ms "tick" period.
1999-05-07 16:29:54 +00:00
Joel Sherrill
b06279dfc0 Bug fix from Gunter Magin <magin@skil.camelot.de>:
in libcpu/powerpc/mpc860/clock/clock.c:InstallClock() the reload value for
    the PIT is defined as:

      pit_value = (BSP_Configuration.microseconds_per_tick *
                 Cpu_table.clicks_per_usec) - 1 ;

    What exactly is a tick, and what is a click?

    My confusion stems from the fact, that Jay defines clicks_per_usec to 1
    which is correct for his configuration, where a 4MHz clock is predivided
    by 4 and then fed to the PIT. So I assume a "click" is just the period of
    the PIT input frequency.

    However, our HW config seems to have 32.768 kHz crystal input for PIT.
    Mandatory division by 4 means 8.196kHz (122usec) at the PIT.

    I think, the above assignment should read:

      pit_value = (BSP_Configuration.microseconds_per_tick /
                 Cpu_table.clicks_per_usec) - 1;

    where I can define Cpu_table.clicks_per_usec in bspstart.c to 122
    (clicks_per_usec). That would lead to a PIT reload value of
    10000/122 - 1 = 81 to reach a 10ms "tick" period.
1999-05-07 16:28:43 +00:00
Joel Sherrill
f779efcba8 Added paragraph for Tony Ambardar (tonya@ece.ubc.ca) submitting
a BSP for the TS-1325 embedded PC from Technologic Systems
(http://www.t-systems.com) and patches to enable software
floating-point emulation for x86 targets.
1999-04-29 19:08:04 +00:00
Joel Sherrill
8846bbd0ec Patch from Emmanuel Raguet <raguet@crf.canon.fr>:
I have made test with the Dec21140 driver and it appears that all
    works fine even if the cache is enabled for the memory space in
    which the incoming and outcoming Ethernet frames are stored.

    I have had #ifdef to "comment" the code. If you want to disable
    cache, you only have to #define the name. It could be mandatory
    for some BSPs.
1999-04-28 13:59:11 +00:00
Joel Sherrill
cfcb5a299a Patch from Eric Norum <eric@cls.usask.ca> to corrent a miscount in length
that results in an error in parsing network unit names/numbers.
1999-04-27 17:31:39 +00:00
Joel Sherrill
9ae3b06edc changed version to 19990426 1999-04-26 18:41:28 +00:00
Joel Sherrill
c7aa9d6ff8 Repairing damage and recovering changes including C++ wrappers.. 1999-04-26 18:22:08 +00:00
Joel Sherrill
3aeaca9071 changed version to 19990426 1999-04-26 18:08:24 +00:00
Joel Sherrill
c8cfdcfe53 Recovered changes since CVS file was corrupted. 1999-04-26 18:04:46 +00:00
Joel Sherrill
05bacd5a31 changed version to 19990426 1999-04-26 17:53:25 +00:00
Joel Sherrill
8b8204a1c4 changed version to 19990426 1999-04-26 17:35:57 +00:00
Joel Sherrill
20b457a175 Fixed Makefile to avoid copying the file to a new name. 1999-04-23 16:49:13 +00:00
Joel Sherrill
7a8dfad063 Changed date. 1999-04-23 16:42:01 +00:00
Joel Sherrill
44d05b2c95 Switched to full doc set. 1999-04-23 16:40:52 +00:00
Joel Sherrill
0b28bd9c0b changed version to 19990423 1999-04-23 16:37:54 +00:00
Joel Sherrill
16a384cfb1 New BSP from Tony R. Ambardar <tonya@ece.ubc.ca> from the
University of British Columbia.  The BSP is for:

    Yes, this is the "entry model" of a series of boards from Technologic
    Systems. Costs <$200 I believe. They have a WWW page at www.t-systems.com.
    I am letting them know about the availability of this BSP too.
1999-04-23 16:35:11 +00:00
Joel Sherrill
933388ae2d Added lstat(). 1999-04-22 21:13:23 +00:00
Joel Sherrill
3599c5e5d0 Added some CPU models that did not have BSPs. 1999-04-22 21:12:59 +00:00
Joel Sherrill
f0f70167f9 Regenerated. 1999-04-21 16:15:27 +00:00
Joel Sherrill
e4ca8d71cc Updated to reflect inclusion of IRQ test in ada examples. 1999-04-20 13:08:47 +00:00
Joel Sherrill
b4b8d2eb05 Added FAQ to the documentation set. 1999-04-19 22:34:30 +00:00
Joel Sherrill
92ff2667f4 Added debugging hints to the FAQ. 1999-04-19 22:34:20 +00:00
Joel Sherrill
07b8f2689e New file. 1999-04-19 22:31:11 +00:00
Joel Sherrill
a2fa66c3b6 Updated to include first set of questions. 1999-04-19 22:23:03 +00:00
Joel Sherrill
fe6bc7c205 First attempt to build. 1999-04-19 21:55:59 +00:00
Joel Sherrill
a7a33e7aa7 New file. 1999-04-19 21:54:16 +00:00
Joel Sherrill
81e72bc41f Regenerated. 1999-04-19 21:49:18 +00:00
Joel Sherrill
017f6e57e4 New file based on notes from Jiri Gaisler <jgais@ws.estec.esa.nl>. 1999-04-19 21:18:18 +00:00
Joel Sherrill
63135370d4 Added info based on i960HA support. 1999-04-19 21:04:34 +00:00
Joel Sherrill
c2463d94b3 Intel i960HA support submitted by Jimen Ching <jimen@adtech-inc.com>
based on 3.6.0.  It was very lucky that this went in as well as it
did.
1999-04-19 21:02:31 +00:00
Joel Sherrill
338502f1ad Unlimited objects information from Chris Johns (ccj@acm.org). 1999-04-19 17:40:20 +00:00
Joel Sherrill
b56206a6ca Unlimited objects patch design document. Submitted by Chris Johns
<ccj@acm.org> of Objective Design Systems.
1999-04-19 17:30:02 +00:00
Joel Sherrill
4186b3bb0c Changed ioctl() prototype to be more like Linux/POSIX than BSD to ease
porting of ACE to RTEMS.
1999-04-19 17:17:41 +00:00
Joel Sherrill
0213bcfc6a Turned on console interrupts. 1999-04-19 17:14:11 +00:00
Joel Sherrill
df3e78a86b The default action for real-time signals is supposed to be SIGACTION_TERMINATE.
Jiri Gaisler caught this and submitted a patch but a subsequent patch
backed it out accidentally.
1999-04-19 15:54:03 +00:00
Joel Sherrill
ce11bed5bd New files. 1999-04-19 15:48:16 +00:00
Joel Sherrill
c011b4730c Regenerated 1999-04-19 15:47:15 +00:00
Joel Sherrill
1059abcd94 Regenerated. 1999-04-19 15:37:36 +00:00
Joel Sherrill
7807b30e08 Direct .gcc_exc section to ram to eliminate the warning Ralf Corsepius is
seeing.
1999-04-19 15:36:21 +00:00
Joel Sherrill
ac91855d33 After discussion with Eric Norum <eric@skatter.usask.ca>,
I added __INSIDE_RTEMS_BSD_TCPIP_STACK__ that trips all the needed
macro definitions for a network driver.
1999-04-19 15:27:21 +00:00
Joel Sherrill
11f84b3c81 After discussion with Eric Norum <eric@skatter.usask.ca>,
I added __INSIDE_RTEMS_BSD_TCPIP_STACK__ that trips all the needed
macro definitions for a network driver.
1999-04-19 15:27:20 +00:00
Joel Sherrill
7cdf7fc191 After discussion with Eric Norum <eric@skatter.usask.ca>,
I added __INSIDE_RTEMS_BSD_TCPIP_STACK__ that trips all the needed
macro definitions for a network driver.
1999-04-19 15:27:19 +00:00
Joel Sherrill
202d54ef27 Comments from Eric Norum taken into account. 1999-04-19 14:58:16 +00:00
Joel Sherrill
540945346d First cut at addition of information on macros that need to be defined. 1999-04-19 14:54:58 +00:00
Joel Sherrill
7a74b99111 Make sure the build-tools get built in the preinstall phase. 1999-04-19 14:54:25 +00:00
Joel Sherrill
db047f1def Patch from Erik Ivanenko <erik.ivanenko@utoronto.ca> to eliminate a
warning.
1999-04-19 14:41:23 +00:00
Joel Sherrill
ecb2755e06 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to address this:
> * RTEMS's  'make depend' isn't a standard automake make target and is not
> supported in automake supported subdirectories.
1999-04-19 13:44:03 +00:00
Joel Sherrill
b6529a34fd Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to reorganize
the build-tools layout to simplify it.

  This script reorganizes and simpilfies the build-tools subdirectories.
  It moves all source-files and scripts to c/build-tools/. This will
  enable use to use this directory directly to refer to the build-tools
  instead of copying them around in a "preinstall" step in future.
  However, RTEMS's autoconf Makefile.ins and *.cfg files are not yet
  prepared to apply this approach and therefore require additional work.
1999-04-19 13:35:24 +00:00
Joel Sherrill
183fa829db New file -- automatically generated. 1999-04-19 13:26:15 +00:00
Joel Sherrill
82307a1148 New files. 1999-04-19 13:25:50 +00:00
Joel Sherrill
5dc30fb19b Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to add scitabs.c to
CLEAN_ADDITIONS.
1999-04-19 13:20:15 +00:00
Joel Sherrill
196094eb79 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This one is an enhancement to acpolish.

    It replaces some Makefile variables by others variable in Makefile.ins
    (tries to use unique name for some variables). It therefore eases
    parsing Makefile.ins for further automatic Makefile.in conversions in
    future.

    To apply:
        cd <rtems-source-tree>
        sh <path-to>/rtems-rc-19990407-8.sh
        ./autogen
1999-04-19 13:19:14 +00:00
Joel Sherrill
9572c41d09 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This is an attempt to work-around a couple of nasty bugs in librdbg's
Makefiles and configuration:

Configure and build RTEMS as below:
  configure --enable-networking --enable-rdbg --target=i386-rtems
  make RTEMS_BSP=i386ex

After a few minutes you will notice that building aborts in librdbg ....

Analysis:

  1) librdbg is tried to be built, though librdbg is not supported and the
     required directory hierarchy librdbg/i386/i386ex/  is not existant.

     The cause for this is incorrect setting of HAS_RDBG in most
     make/custom/*.cfg files (except pc386.cfg). At the moment all
     custom/*.cfg files (except pc386.cfg) in general are required to contain
     HAS_RDBG=no. However, having HAS_NETWORKING=no in most custom/*.cfg
     files and the toplevel configure script suppress building librdbg for
     all CPUs except of i386.

     => The i386ex BSP falls though this scheme and librdbg is tried to be
        build (CPU=i386 and HAS_NETWORKING=yes).

  2) The Makefile.ins below lib/librdbg in general support i386/pc386 only
     and are not capable to be used for multiple CPUs or BSPs (RPCGEN
     generates it's target and bsp-specific files into librdbg/, therefore no
     other CPU or BSP can ever be built afterwards). This problem is hidden
     until now, because only a single CPU/BSP pair (i386/pc386) is really
     supported.

  3) The Makefile.ins below lib/librdbg can delete source files due to
     improper handling of source files (make clean removes the *.x files in
     the source-tree when configuring inside of the source-tree).


The patch below tries to work-around these problems for the i386ex and
the pc386 BSPs. This work-around is rather fragile (it applies rpcgen
-D, I don't know how portable this is) and incomplete (all custom/*.cfg
except of pc386.cfg should contain HAS_RDBG=no), nevertheless it should
work.
1999-04-19 13:11:13 +00:00
Joel Sherrill
4ad3d3727b Regenerated. 1999-04-19 13:09:35 +00:00
Joel Sherrill
60e6a0f61d Fixed some spacing issues. 1999-04-19 13:06:07 +00:00
Joel Sherrill
6b7ab9bf72 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
FYI: I am not talking about using "make -C <dir>", which probably
    is much faster on M$ hosts than RTEMS's implementation, but about
    removing --enable-gmake-print support and to apply a variant of
    automake's subdirectory.

    Automake's subdirectory rule seems to be a little bit faster, but I
    wouldn't bet on this.

    Attached to this mail is my proposal.

    After applying the patch, please run
        cvs rm aclocal/enable-gmake-print.m4
        ./autogen
1999-04-16 18:23:48 +00:00
Joel Sherrill
c00fa3858d Patch from Ralf Corsepius <corsepiu@@faw.uni-ulm.de>:
2) ./c/src/lib/libbsp/i386/go32/startup


    > all:    ${ARCH} $(SRCS) $(PGM)
    >         $(INSTALL_CHANGE) ${PROJECT_RELEASE}/lib
    >
    >

    This also is very questionable, because it means "install
    $(PROJECT_RELEASE)/$/lib to the void".  I think, removing the
    INSTALL_CHANGE is the right way to fix it.
1999-04-16 18:17:31 +00:00
Joel Sherrill
98d051fffe Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
1) ./c/src/lib/libbsp/i386/i386ex/startup/Makefile.in

    > preinstall:
    >         $(INSTALL_CHANGE) ${IMPORT_SRC} .
    > 
    > #       ${CP} ${IMPORT_SRC} .
    >
    >
    >

    This fragment is broken, because IMPORT_SRC is always empty.

    IMO, the fix would be to remove this fragment or to replace it with
    test -z "${IMPORT_SRC}" || cp ${IMPORT_SRC} .
    if an external shell variable IMPORT_SRC shall be supported by this
    Makefile, which IMO should not be done.
1999-04-16 18:15:08 +00:00
Joel Sherrill
4a22e7a0ed Corrected to reflect new way of doing mips constructors. 1999-04-16 18:08:27 +00:00
Joel Sherrill
2a4791fa07 Added .eh_fram and .gcc_exc sections. 1999-04-16 18:08:09 +00:00
Joel Sherrill
4bfb1393a4 Regenerated 1999-04-15 19:02:31 +00:00
Joel Sherrill
d006519bce Added reentrant versions. 1999-04-15 19:01:32 +00:00
Joel Sherrill
a68e6b91e9 Updated version string. 1999-04-15 18:58:43 +00:00
Joel Sherrill
2df1974a27 Added include of rtems/posix/cancel.h. 1999-04-15 18:58:27 +00:00
Joel Sherrill
da41ecbcfe Removed alarm(), killinfo() and pause() because they are now in their own file. 1999-04-15 18:58:02 +00:00
Joel Sherrill
93994fdb80 Now compiles and is included in normal build even though it is untested.
Added multiprocessing conditional.
1999-04-15 18:57:31 +00:00
Joel Sherrill
0f4e0745c6 Cleaned up. 1999-04-15 18:57:02 +00:00
Joel Sherrill
3afecf811d Now compiles and is included in normal build even though it is untested. 1999-04-15 18:56:42 +00:00
Joel Sherrill
3090760f0f Now compile files that previously existed but were not built because they
had not yet been debugged.
1999-04-15 18:55:55 +00:00
Joel Sherrill
24a9af67e1 Now install header files that existed but were not previously installed. 1999-04-15 18:55:14 +00:00
Joel Sherrill
8a2943aab0 Now install some header files that existed but were not previously
installed.
1999-04-15 18:54:40 +00:00
Joel Sherrill
053acd7074 Now install utsname.h. 1999-04-15 18:54:16 +00:00
Joel Sherrill
d0f53fec4b Enabled cancellation information in POSIX API thread extension structure. 1999-04-15 18:54:01 +00:00
Joel Sherrill
02d46fa94b Added set_errno_and_return_minus_one_cast. 1999-04-15 18:53:35 +00:00
Joel Sherrill
39daf581c1 Added in some header files that existed but were not previously installed. 1999-04-15 18:53:22 +00:00
Joel Sherrill
fcead0f13a Regenerated 1999-04-15 18:52:02 +00:00
Joel Sherrill
df6d290f87 Regenerated. 1999-04-15 18:51:11 +00:00
Joel Sherrill
3c87bb9cef Minor corrections from Jay Kulpinski <jskulpin@eng01.gdds.com>.
This first one below looked like it only belonged in a
    virtual memory environment.  The second one was causing
    problems without the PROVIDE() - I don't know why.
1999-04-14 22:33:30 +00:00
Joel Sherrill
2b283071c6 Bug report from Ralf on UNIX port where the S_IR* constants were not
defined.
1999-04-14 18:18:03 +00:00
Joel Sherrill
76e5fe8ad3 Bug fix from Brendan Simon <brendan@dgs.monash.edu.au> with fix confirmed
by Andrew Bray <andy@madhouse.demon.co.uk>.
1999-04-13 22:50:24 +00:00
Joel Sherrill
6e27f58885 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
Installing of bsp_specs for aliased bsps is broken. Instead of installing
  RTEMS_BSP_FAMILY/bsp_specs, RTEMS_BSP/bsp_specs was tried to be installed.

  The patch below should fix this problem (tested with mips64orion p4600 and
  p4650).
1999-04-12 20:27:14 +00:00
Joel Sherrill
82f490f786 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to correct the
--enable-tests problem a better way.
1999-04-12 20:24:56 +00:00
Joel Sherrill
8cdb582b49 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This patch addresses a few minor issues and contains a few (minor)
  preparations for automake.

  * configure.in: Fix for handing c/src/tests subdirectory handling (FIX)
  * aclocal/rtems-top.m4:
    + Add TARGET_SUBDIR and --with-target-subdir (preparation of future
      enhancements for cross-compiling)
    + Activate RTEMS_ROOT handling (automake preparation)
  * automake/*.am: replace comments "#" with "##" so that comments won't
    get included into Makefile.in's anymore
  * c/update-tools/* automake support (NEW)
  * ./autogen update/enhancement (cf. ./autogen for details)

  After applying this patch please run:

    ./autogen
    cvs add c/update-tools/configure.in
    cvs add c/update-tools/Makefile.am
    cvs add c/update-tools/aclocal.m4
1999-04-12 15:41:33 +00:00
Joel Sherrill
d1153156f0 Added line to initialize timer_max. 1999-04-12 15:36:07 +00:00
Joel Sherrill
ee3f8b8c85 Added statement to include build-tools/src directory in preinstall. 1999-04-12 15:35:31 +00:00
Joel Sherrill
63b96b95ab Addressed this bug report:
Date: Mon, 12 Apr 1999 00:38:04 +0000
From: Brendan Simon <brendan@dgs.monash.edu.au>
To: Jay Monkman <jmonkman@frasca.com>, "joel@OARcorp.com" <joel@oarcorp.com>
Subject: [Fwd: Goof in SMC initialize for mpc860]

Nick Simon reported this bug in the eth_comm BSP sources.  I see that it is
still there in the latest snapshot that Joel sent me (thanks).  I thought I
better forward this on to you guys.

Brendan.


Nick.SIMON@syntegra.bt.co.uk wrote:

> Sice I believe you're using the same base BSP as I am (you sent it to me) I
> thought I'd mention..
>
> In console-generic.c, in m860_smc_initialize, the receive buffer is malloced
> and assigned to RxBd[port+3]-> buffer - it should be [port-1].
>
> TTFN
B
1999-04-12 15:21:43 +00:00
Joel Sherrill
936ae5dd1f Added DEC21140 document from Emmanuel Raguet <raguet@crf.canon.fr>. 1999-04-08 16:19:21 +00:00
Joel Sherrill
5dbc2e2e99 First attempt to build. 1999-04-08 16:09:11 +00:00
Joel Sherrill
920e47f667 New files. 1999-04-08 16:05:37 +00:00
Joel Sherrill
56d4e48568 New file 1999-04-08 15:51:40 +00:00
Joel Sherrill
5907192db6 changed version to 19990407 1999-04-07 20:56:47 +00:00
Joel Sherrill
3084de2513 MPC821 support and PPC patches from Andrew Bray <andy@madhouse.demon.co.uk>:
In c/src/exec/score/cpu/powerpc/rtems/score/ppc.h:

    A lot of hardware interrupts were omitted.  Patch enclosed.
    I have also added the 821.

  In c/src/exec/score/cpu/powerpc/rtems/score/cpu.h:

    My patch adds the 821.

  In c/src/exec/score/cpu/powerpc/cpu.c:

    I have added the MPC821, and also fixed up for the missing hardware
    interrupts.  It is also inconsistent with
    c/src/lib/libcpu/powerpc/mpc860/vectors/vectors.S.  This has been fixed.


  In c/src/lib/libcpu/powerpc/mpc860/vectors/vectors.S:

    Fixed an inconsistency with cpu.c.

    I also include some new files to go with the above patches.  These are the
    cpu library rtems-19990331/c/src/lib/libcpu/powerpc/mpc821/* and
    c/src/exec/score/cpu/powerpc/mpc821.h which are minor modifications of
    the 860 equivalents.

  Other comments:

    The various accesses to the DPRAM on the 860 are done with a linktime
    symbol. This could be done dynamically at run time by reading the immr
    register, and masking off the lower 16 bits.  This takes the same amount
    of time as loading an address constant, and the same number of
    instructions as well (2).

    In c/src/lib/libcpu/powerpc/mpc860/console-generic/console-generic.c:

      This will silently fail if you attempt to use SCC1.  This is only relevant
      if you are not using SCC1 for ethernet.

      This file also sets one of port B output pins for each port.  This is NOT
      generic, it should be in the BSP specific console driver.
1999-04-07 15:57:05 +00:00
Joel Sherrill
055c18be0d changed version to 19990406 1999-04-06 22:22:39 +00:00
Joel Sherrill
b0acdf0b39 oNew file. 1999-04-06 22:20:16 +00:00
Joel Sherrill
98a929c030 Sanitized. 1999-04-06 22:16:04 +00:00
Joel Sherrill
7504be6c0c Removed. 1999-04-06 22:15:18 +00:00
Joel Sherrill
3c0e80c36a Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to preinstall
all bsp_specs.
1999-04-06 22:07:36 +00:00
Joel Sherrill
5cf555e10a Corrections by Jennifer. 1999-04-06 22:04:08 +00:00
Joel Sherrill
b08d3ed989 Untar support submitted by Jake Janovetz <janovetz@tempest.ece.uiuc.edu>. 1999-04-06 21:45:06 +00:00
Joel Sherrill
01a9d941b3 Patch from Andrew Bray <andy@chaos.org.uk>:
In your various bsp_specs files, even when ecrti.o is defined as a
   startfile, ecrtn.o is not defined as an endfile.  Instead it seems to
   be in the library list - untidy.
1999-04-06 20:39:17 +00:00
Joel Sherrill
676b50455d Patch from Eric Norum <eric@skatter.usask.ca>:
I'd like to make the following change which adds the m360 structure
    information to the debugging symbols in the final executable.  This
    makes it much easier to use the debugger to look at the elements of
    the m360 structure.
1999-04-06 20:27:45 +00:00
Joel Sherrill
a37be5c4e2 Eric Norum <eric@skatter.usask.ca> noticed that the documentation and
configure scripts did not match on the default value of --enable-tests.
1999-04-06 20:25:40 +00:00
Joel Sherrill
6a6d860814 Updated. 1999-04-06 16:54:02 +00:00
Joel Sherrill
e53c4a37bb Cleaning up unused files. 1999-04-06 15:45:21 +00:00
Joel Sherrill
9927f2060c Changed dates. 1999-04-02 18:00:06 +00:00
Joel Sherrill
c7b1cb566d Added RTEMS Remote Debugger Server Specifications links. 1999-04-02 17:59:50 +00:00
Joel Sherrill
fa8f29d2ef Fixed target name. 1999-04-02 17:59:23 +00:00
Joel Sherrill
02b7a13e90 Added Network Servers Chapter including Jake Janovetz's ftpd server. 1999-04-02 17:58:57 +00:00
Joel Sherrill
65beca61d4 Now at least a version of the figures shows up in the html although
there are no captions.
1999-04-02 17:41:37 +00:00
Joel Sherrill
64e0f6c40c Can now produce html, info, and PostScript without errors. Links
between chapters are correct.
1999-04-02 17:23:36 +00:00
Joel Sherrill
5a8e90c56f Accidentally added the .tex file not the .texi root document.
Also the Makefile had "@include" lines in it.
1999-04-02 17:07:33 +00:00
Joel Sherrill
bea606aee5 New files. This manual was ritten by Eric Valette <valette@crf.canon.fr>
and Emmanuel Raguet <raguet@crf.canon.fr>.  It was submitted in LaTeX
and converted to Texinfo by Joel.  At this point, the figures are
largely ignored except to put in an example block to show they are
missing.

The Makefile should be just enough to produce output with no links between
chapters.
1999-04-02 17:04:27 +00:00
Joel Sherrill
85e24a3237 Patch from Emmanuel Rauget (raguet@crf.canon.fr) to add a htons on the
sin_port.
1999-04-02 14:39:19 +00:00
Joel Sherrill
5345873a5b New file. Text from Jake Janovetz. 1999-04-01 21:43:50 +00:00
Joel Sherrill
f72dd2a9fa Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to address problems
on BSPs that install there own tools.
1999-04-01 16:58:06 +00:00
Joel Sherrill
517660f192 Moved sparc specific version of in_cksum_hdr to an inline routine like
the reset of the CPU specific implementations after comment from
Eric Norum.
1999-04-01 16:36:22 +00:00
Joel Sherrill
5eb7da97cd Disable IXON by default based on comment from Eric Norum
<e.norum@sk.sympatico.ca> and concerns from Thomas Doerfler
<td@imd.m.ISAR.de> when he submitted the patch:

  Since enabling XON/XOFF has such a major performance hit on `smart' output
  devices I think it should be *off* by default.  I think some thought should
  be given to adding hooks for hardware that can support XON/XOFF without
  software intervention, or for hardware like the 68360 SCC's that can use
  large buffers, but still handle special characters immediately.

  The patch you sent is a very good start, though.  I just think that the
  software flow control should be off -- to match the way the serial I/O
  support has worked up until now.
1999-04-01 16:20:03 +00:00
Joel Sherrill
656dabf1fa Removed warning. 1999-04-01 15:51:14 +00:00
Joel Sherrill
414e1b30d0 changed version to 19990331 1999-03-31 23:56:34 +00:00
Joel Sherrill
77a0067335 changed version to 199900331 1999-03-31 23:36:18 +00:00
Joel Sherrill
18040d302c Patch from Thomas Doerfler <td@imd.m.ISAR.de> to add flow control:
Some lines for "documentation":
    ======================================
    One thing should be noted: when XON/XOFF is enabled, the serial
    device will always work with one-character buffers, so the interrupt
    load for the CPU might get higer, especially on devices like MC68360
    and MPC860, where the serial channels are capable of using big
    buffers. But, once again, this only happens when XON/XOFF is actually
    selected.

    Please note that the flag IXON is set by default, so outgoing
    XON/XOFF flow control is enabled by default.

    XON/XOFF is controlled using the "standard" fields IXON/IXOFF in the
    termios structure. The termios flag IXANY is not (yet) supported.

    Hardware handshake for the incoming data stream is controlled using
    the standard flag CRTSCTS. If this flag is set, whenever the receive
    buffer is almost full, the driver function "device.stopRemoteTx()" is
    called, when the receive buffer has more space available,
    "device.startRemoteTx()" is called again.  If the driver does not
    provide these interface functions (entries in device structure are
    NULL pointers), then these calls are suppressed.

    Changes of the flow control options during operation should work at
    any time, but this has not been extensively tested.

    No changes to the device driver interface are needed.
    ================================================

    One critical point when using this patch might be, that any BSP using
    this version of termios will now have outgoing flow control enabled
    by default, so the behaviour of these BSPs will change here. The
    option IXON has already been set in older termios by default, but it
    did not work until this patch. Maybe this option should be switched
    off by default, what do you think?
1999-03-31 23:35:22 +00:00
Joel Sherrill
ecab6a3917 Regenerated. 1999-03-31 23:29:19 +00:00
Joel Sherrill
79800f9ee5 Fixed include file paths. 1999-03-31 23:27:03 +00:00
Joel Sherrill
c08f283ea0 Fixed typo so applications would link. 1999-03-31 23:25:53 +00:00
Jennifer Averett
ec2328eeaf Removed asserts that shouldn't be called and commented case where this
indicates an internal error.
1999-03-31 23:24:57 +00:00
Joel Sherrill
8cc57f626b Modified to be valid m68k code on all CPU models. 1999-03-31 23:24:51 +00:00
Jennifer Averett
f719ef12ff Corrected return value. 1999-03-31 23:23:52 +00:00
Jennifer Averett
3f06c298b4 Added prints for calls into the file system. Added O_EXCL for an open that
tested that the same file could not be created twice.
1999-03-31 23:22:42 +00:00
Joel Sherrill
73b943bc97 Fixed paths to include files so this will build. 1999-03-31 23:21:19 +00:00
Jennifer Averett
912f74ae47 Modified file to match output. 1999-03-31 23:20:43 +00:00
Joel Sherrill
6b719b8d12 Fixed typos and mistakes related to adding gnatsupp. 1999-03-31 23:20:35 +00:00
Joel Sherrill
c5f2e5b1ba Regenerated. 1999-03-31 23:11:47 +00:00
Joel Sherrill
0e78ec3ad6 Removed warnings. 1999-03-31 23:11:38 +00:00
Joel Sherrill
5cfcd7ec42 Removed warnings. 1999-03-31 22:59:13 +00:00
Joel Sherrill
f4709895cd Removed warning. 1999-03-31 22:51:44 +00:00
Joel Sherrill
6a107099d7 Patch from Chris Johns <ccj@acm.org>:
joel@OARcorp.com wrote:
>
> Chris,
>
> sp09 fails on the rtems_port_delete(0) call.  This is supposed to give an
> invalid id error.  I can't find any changes other than the unlimited
> objects patch which would have tripped this so would appreciate it if you
> could look into it.  I suspect that this is a side-effect of the unlimited
> objects patch.
>

It is me.

>
> Basically, there are 0 ports configured in sp09.  The test ends up
> dereferecing NULL in local_table[0] and comes up with a non-NULL invalid
> pointer.
>

The issue is not actually allocating a local_table for an object type
which has a maximum value of 0. I cannot remember the exact workings of
the id values and the local_table. I might have changed the nature from
the pre-unlimited change. As you know the id's are an interesting game
where performance is most important.

>
> I know the problem could be solved by adding a check for index == 0.  But
> I hate to slow this path down.  I think you may have changed the way the
> object information structure gets initialized.
>

---- CVS log ----

This change lets the unlimited and sp09 tests run on the posix Linux
BSP. A static local variable `null_local_table' has been added. This
variable is always set to NULL. The `**local_table' element of the
information structure is set to point to this variable earily in the
initialisation. If the object type has more than 0 elements the
`local_table' element is updated. All object types which have 0 elements
reference `null_local_table'. This change fixes the problem sp09 found
yet does not add any extra processing to the critical
`_Objects_Get_local_object' function.

---- CVS log ----
1999-03-31 22:33:14 +00:00
Joel Sherrill
5c959963df When compiled in debug mode, the POSIX threads inline file was not
included and we ended up with undefined references.
1999-03-31 22:09:11 +00:00
Joel Sherrill
cb0f1fc5ac Another attempt to get runtest installed. 1999-03-31 22:05:43 +00:00
Joel Sherrill
efa0baa5e7 Patch from Eric Norum <eric@skatter.usask.ca> which changed the exit
sequence.
1999-03-31 20:51:07 +00:00
Joel Sherrill
ceb06d9650 Removed warning for `#ifdef' argument starts with punctuation. 1999-03-30 17:43:51 +00:00
Joel Sherrill
707d4d00d6 Removed warning for const removal. 1999-03-30 17:42:25 +00:00
Joel Sherrill
5c6c4c24d9 Fixed typo where _POSIX_signals_Clear_process_signals was not prototyped
and _POSIX_signals_Set_process_signals was done twice.
1999-03-30 17:41:26 +00:00
Joel Sherrill
eacc8e3b88 Patch from "Tony R. Ambardar" <tonya@ece.ubc.ca> and blessed by
Ian Lance Taylor <ian@airs.com> to note that condition codes
are modified.
1999-03-30 17:39:08 +00:00
Joel Sherrill
a43ad5cd29 Patch from Tony R. Ambardar <tonya@ece.ubc.ca> to add byte wide
register support to this driver.
1999-03-30 15:54:37 +00:00
Joel Sherrill
6a4096b224 Patch to add shutdown() routine from Tony R. Ambardar <tonya@ece.ubc.ca>. 1999-03-30 15:40:29 +00:00
Joel Sherrill
710389fcca Cleaned up and regenerated. 1999-03-30 15:38:57 +00:00
Joel Sherrill
e5f4e5aaff Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
rtems-rc-19990326-2.diff: Enhancements to autoconf support for librdbg
    * autoconf-checks for AWK and RPCGEN
    * disable librdbg if either AWK, RPCGEN or librdbg/$target_cpu
      cannot be found
1999-03-29 22:24:23 +00:00
Joel Sherrill
b5d8eca1b5 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to fix a typo. 1999-03-29 22:22:56 +00:00
Joel Sherrill
7e03d107d7 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
Yet some more modifications, I would recommend to be considered before
    releasing a snapshot:

    1. Cleanup to aclocal/
    cvs rm -f aclocal/cygwin.m4
    cvs rm -f aclocal/exeext.m4

    They are neither used nor needed anymore, however they also don't
    disturb (we use autoconf-2.13's AC_EXEEXT instead, now)

    ----------

    2. rtems-rc-19990328-0.diff
    Some (minor) bug-fixes:
    * make/Templates/Makefile.inc.in: use the new installation directory
    ($(prefix)/ instead of $(prefix)/rtems/)
    * c/src/exec/score/tools/generic/Makefile.am: added line to include local.am
    * c/src/exec/score/tools/*/configure.in: added CVS Id header

    ----------

    3. rtems-rc-19990328-1.diff
    Enhancements and cleanups to autogen, rtems-polish.sh, configure.in etc.

    * autogen: Use the file "VERSION" to detect RTEMS toplevel directory,
    extended usage-message, use "find -print"
    * c/update-tools/cipolish: New script to beautify configure.in scripts
    * c/update-tools/rtems-polish.sh: Use the file "VERSION" to detect RTEMS
    toplevel directory, extended usage-message, added variable for perl
    scripts' subdirectory, use "find -print", cipolish support, new options
    -ac -am -ci.
    * aclocal/*.m4, configure.in: moved some AC_SUBST lines to aclocal/*.m4
    (reduces size of configure.in
    scripts, eases splitting configure.in scripts).

    ----------
1999-03-29 21:08:04 +00:00
Jennifer Averett
77c81fd2a1 Removed an uninitialized variable. 1999-03-29 18:24:34 +00:00
Jennifer Averett
eaf0e8eb0a Correctd name length to account for new IMFS max name length of 32. 1999-03-29 18:06:00 +00:00
Jennifer Averett
1ed9d576d9 Fixed expected return status from lseek to look for not failure (-1). 1999-03-29 18:05:01 +00:00
Jennifer Averett
2ada69ab1a Changed expected status lseek to look for not failure (-1). 1999-03-29 17:59:46 +00:00
Joel Sherrill
39560f1b0f Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to fix size_rtems
problem.
1999-03-29 17:47:24 +00:00
Joel Sherrill
23291e99b8 Patch from Rosimildo DaSilva <rdasilva@connecttel.com> and
Emmanuel Raguet <raguet@crf.canon.fr>  to eliminate a problem
during the boot process on the pc386 BSP.  On fast PC's the
calibration routine would hand.
1999-03-26 15:42:39 +00:00
Joel Sherrill
aec5da467e Patch from Rosimildo DaSilva <rdasilva@connecttel.com>:
Problem:  Sometimes the output file "FOO.BT"  is smaller that the second
              image.
    Solution: Opening files, input/output,  in "binary mode".
1999-03-25 21:42:52 +00:00
Joel Sherrill
5e2fe06c7e changed version to rc-19990325 1999-03-25 15:49:08 +00:00
Joel Sherrill
3108b76c7d Regenerated. 1999-03-25 01:02:33 +00:00
Joel Sherrill
0bf2ff8179 utime.h moved to c/src/lib/include/sys since it is needed by some libc
routines.
1999-03-24 23:15:20 +00:00
Joel Sherrill
244ecd9fb8 These files were not added as part of a recent patch from
Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
1999-03-24 23:14:36 +00:00
Joel Sherrill
a432c4b710 Fix based on bug report from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
There seems to be an ugly dependency between posix-headers and
    libcsupport.

    Configuring rtems with
    ../rtems-rc-19990324-0/configure \
    --target=i386-rtems \
    --prefix=<somewhere> \
    --disable-posix

    "make RTEMS_BSP=pc386" results into:

    [...]
    /opt/rtems/bin/i386-rtems-gcc --pipe
    -B/users/rtems/src/multi/build/pc386/lib/ -specs bsp_specs -qrtems
    -I/users/rtems/src/multi/build/pc386/lib/include/networking  -g -Wall
    -ansi -fasm  -O4 -fomit-frame-pointer    -c -o o-pc386/utime.o
    ../../../../../rtems-rc-19990324-0/c/src/lib/libc/utime.c
    In file included from
    ../../../../../rtems-rc-19990324-0/c/src/lib/libc/utime.c:16:
    /opt/rtems/i386-rtems/include/utime.h:4: sys/utime.h: No such file or
    directory
    ../../../../../rtems-rc-19990324-0/c/src/lib/libc/utime.c:24: warning:
    `struct utimbuf' declared inside parameter list
    ../../../../../rtems-rc-19990324-0/c/src/lib/libc/utime.c:24: warning:
    its scope is only this definition or declaration,
    ../../../../../rtems-rc-19990324-0/c/src/lib/libc/utime.c:24: warning:
    which is probably not what you want.
    ../../../../../rtems-rc-19990324-0/c/src/lib/libc/utime.c: In function
    `utime':
    ../../../../../rtems-rc-19990324-0/c/src/lib/libc/utime.c:34:
    dereferencing pointer to incomplete type
    ../../../../../rtems-rc-19990324-0/c/src/lib/libc/utime.c:34:
    dereferencing pointer to incomplete type
    make[4]: *** [o-pc386/utime.o] Error 1
    make[3]: *** [all] Error 1
    make[2]: *** [all] Error 1
    make[1]: *** [all] Error 1
    make[1]: Leaving directory `/lfs/poseidon/users/rtems/src/multi/build/c'

    make: *** [all] Error 1

    Apparently sys/utime.h is one of the posix headers and therefore gets
    not installed (I suppose this is correct).

    IMO, this probably indicates that sys/utime.h has to be moved to another
    include subdirectory and should not be part of the posix-package.
    [AFAIK, sys/*.h are system dependent headers, so why should it be a
    posix-header? - Hmm]
1999-03-24 22:52:47 +00:00
Joel Sherrill
c9b07e92d1 Automake II patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
With my most recent automake patch (automake II) we could even simplify more
  files below make/, because the host-compiler related parts of those files
  aren't used anymore :-.

  Whatsoever, the patch below should fix this problem.

  Note: This is a mere bug fix, it doesn't move any of the variables involved
  to target.cfg nor does it try to eliminate any variable.
1999-03-24 22:49:17 +00:00
Joel Sherrill
367cc5ef05 Patch from Eric Norum <eric@skatter.usask.ca> to use new network
interface naming convention.
1999-03-24 22:29:32 +00:00
Joel Sherrill
33508cb149 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. 1999-03-24 21:15:21 +00:00
Joel Sherrill
33fefc22ca Patch from Eric Norum to account for new routine that improved
parsing of interface names.
1999-03-23 23:17:52 +00:00
Joel Sherrill
e828c2dd40 SPARC optimized version of IP checksum header routine. Submitted
by Jiri Gaisler <jgais@ws.estec.esa.nl>.
1999-03-23 23:06:42 +00:00
Joel Sherrill
da7a73e02a Enable building the network stack. 1999-03-23 23:05:32 +00:00
Joel Sherrill
f1f42b454d Modifications from Jiri Gaisler <jgais@ws.estec.esa.nl> to
fix some problems encountered when reusing this driver on
a SPARC ERC32 based Tharsys board.  He eliminted the need
for TX interrupts and added code that can optionally ensure that
the IP address is 32-bit aligned. He also fixed a handful of
problems that only occured because the 8 Mhz ERC32 was
enough slower than the 100 Mhz PPC603e that timing
issues in this driver were magnified.
1999-03-23 22:51:05 +00:00
Joel Sherrill
b6f5f9385d Patch from Eric Norum <eric@skatter.usask.ca> to improve parsing of
network interface names.  This change does not introduce any
compatibility problems.
1999-03-23 22:39:13 +00:00
Joel Sherrill
ca3fec4982 Regenerated. 1999-03-23 22:30:17 +00:00
Joel Sherrill
9b8baa128b Automake II patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. Email
description follows:

Description:

    * automake for *all* tool subdirectories (Makefile.am, configure.in etc.)
    * autogen now also considers CONFIG_HEADER (generates stamp-h.ins and
      config.h.ins)
    * c/src/tests/tools/generic/difftest and
      c/src/tests/tools/generic/sorttimes generated by configure scripts
    * c/update-tools/ampolish, beautifier for Makefile.ams, similar to
      acpolish
    * rtems-polish.sh added to c/update-tools/ + ampolish support
    * New subdirectory ./automake, contains automake -Makefile fragments to
      support RTEMS make "debug, debug_install, profile, profile_install" for
      native Makefile.ams (== ignore these make targets).
    * aclocal/rtems-top.m4's RTEMS_TOP now reads the automake makefile
      variable VERSION from RTEMS ./VERSION file.
    * ./configure.in uses the macros from aclocal + support for the tools'
      configure scripts

  Remarks:
    * To run rtems-polish.sh, "cd <rtems-source-tree>;
      ./c/update-tools/rtems-polish.sh"
    * AFAIS, now all native subdirectories are converted to automake (Please
      drop me a note, if I forgot something).
    * Unless you notice something fatal, IMO the time has come for a public
      try (== snapshot). I do not intend to send more automake related patches
      within, say 2 weeks, to give these patches time to settle and to give me
      some time to think on how to continue.
    * The patch assumes installation to the new main installation directory
      [$(prefix)].
1999-03-23 18:02:17 +00:00
Joel Sherrill
c69856c340 Regenerated. 1999-03-23 15:49:45 +00:00
Joel Sherrill
4fb9af858e Another cleanup patch for the previous rejected hunk. 1999-03-19 23:26:11 +00:00
Joel Sherrill
04c308c022 Incorporated automake I patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This is the first real automake patch.

    It adds automake support to c/build-tools and cleans up a few minor
    issues.

    I consider this to be a testing probe to examine problems with automake.
    Therefore, this patch is just a more or less harmless replacement of the
    former RTEMS Makefiles and I expect it not last for long. If you want to
    give automake Makefiles a public try and if you want/need to learn about
    problems with it, then it's about time for a new snapshot, IMO. I may
    have screwed up something not directly related to automake, but I expect
    very few (none to be precise) problems with automake. However, somebody
    should at least try building on Cygwin. If you feel a bit more
    adventureous, then I also can continue to submit more patches.

    [FYI: I still have a couple of automake files laying around, but they
    need some cleanup before being submitted as patches. Now, that I am just
    into it, I'll perhaps submit another one tonight :-]

    After applying this patch (patch -p1 -E <
    <path-to>/rtems-rc-19990318-0), first run the "autogen" script from the
    toplevel source directory, before committing to CVS. Be careful about
    dependencies between Makefile.am and Makefile.ins when cutting tarballs
    from CVS. Makefile.ins are required to be newer than Makefile.ams,
    otherwise users would need to have automake, autoconf and perl. Some
    people recommend to "touch" all Makefile.in after checkout from cvs (cf.
    egcs/contrib/egcs_update).

    ATTENTION:
      * This patch adds a number of new files.
      * remove aclocal/exeext.m4 and aclocal/cygwin.m4 from CVS, They are now
        covered by autoconf-2.13`s AC_EXEEXT.

    Some features/side-effects which are probably interesting for you:
    In a configured build-tree "cd c/build-tools", then try

      * "make RTEMS_BSP=<bsp> install"
      * "make RTEMS_BSP=<bsp> dist"
1999-03-19 23:11:36 +00:00
Joel Sherrill
c0a3642981 A cleanup patch on fcntl.c from Eric Norum <eric@skatter.usask.ca> for
2 lines of code that did not get included when Joel tried to manually
add a rejected patch.
1999-03-19 22:59:20 +00:00
Joel Sherrill
d8ff79366b Towards automake XI patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This patch is the most scary of all proposals I've been mailing to you
    this week until now.

    It consists of 3 parts:
        1. a patch
        2. a perl script (acpolish)
        3. a shell script wrapper to invoke the perl-script.

    The perl-script reads in each Makefile.in and modifies them
    ("polishes/beautifies" them :-).

    These modifications are not easy to describe:

    Basically, it hard-codes some automake Makefile-variables and rules into
    RTEMS autoconf-Makefile.ins (Note: autoconf vs. automake!!) and converts
    some settings/variables to configure scripts' requirements (Yes,
    plural).

    E.g. it adds the automake standard variables $top_builddir and $subdir,
    adds dependency rules for automatic re-generation of Makefiles from
    Makefile.in, adds support variables for relative paths to multiple
    configure scripts etc.


    The patch is a one-line patch to enable the support of the new features
    added by acpolish.

    The shell script is a wrapper which pokes around inside of the source
    tree for Makefile.ins and invokes acpolish on all autoconf-Makefile.ins.

    acpolish is designed to be able to run several times on the same
    Makefile.in and may once become a more general tool to convert RTEMS
    Makefile.in to automake. Therefore, I'd like to keep it inside of source
    tree. (e.g. as contrib/acpolish or c/update-tools/acpolish). However, it
    doesn't make sense to export it outside of RTEMS.


To apply this:

    cd <source-tree>
    patch -p1 -E < <path-to-patch>/rtems-rc-19990318-1.diff
    tar xzvf <path-to>/rtems-rc-polish.tar.gz
    ./rtems-polish.sh
    ./autogen

    Note: The path contrib/acpolish is hard-coded into rtems-polish.sh, if
    you decide to put it in an alternative place, please modify
    rtems-polish.sh to reflect this change.

    Later:
    cvs rm make/rtems.cfg (It isn't used anymore)
    cvs add contrib
    cvs add contrib/acpolish
    cvs commit

    I've tested this intensively, but naturally I can't exclude bugs.

    Ralf.

    PS.: Most probably, this is the last "Towards automake" patch. The next
    one probably will be a real automake patch.
1999-03-19 22:27:02 +00:00
Joel Sherrill
5906ac5e9f Towards automake X patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This one once again changes the scheme to preinstall bsp_specs.

    It moves generating PROJECT_ROOT/lib/bsp_specs to
    libbsp/<cpu>/<bsp>/wrapup/Makefile.in.

    I.e. it decentralizes generation of bsp_specs to a bsp-dependent
    directory, because preinstalling bsp_specs in a centralized Makefile
    like it has been done until now does not harmonize well with spliting
    the toplevel configure script in cpu and bsp-dependent configure scripts
    and automake.

    First apply the patch (rtems-rc-19990318-0.diff) below, then run the
    reorg-bsp_specs.sh script.

    IMO, this one is comparatively harmless and eases automake support
    significantly.
1999-03-19 22:10:04 +00:00
Joel Sherrill
e619c2895b Towards automake IX patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This is the next step towards automake:

    * Two scripts for the toplevel directory:
      a) "autogen" (Idea borrowed from libtool and gnome) A helper script to
      recursively regenerate autoconf/automake/aclocal generated files
      (Still not perfect but sufficient).
      b) "missing" (from automake-cvs archive). This file normally is
      automatically generated by automake, but we have to manually add
      it until we add automake support to the toplevel configure script.

        "chmod 755 missing autogen" after applying the patch.

    * Changing the toplevel installation directory [ I can hear you
      falling off the chair ;-]
      Until now rtems installed itself to $(prefix)/rtems. This is in
      contradiction to automake and GNU/FSF/Cygnus conventions.
      With this patch applied, rtems installs into $(prefix).
      To achieve the old behaviour simply configure with
      --prefix=<install-dir>/rtems instead of --prefix=<install-dir>

      This is a widely visible change and I can understand if you don't
      like it at the present point. It enables us to use automake's
      default installation paths instead of having to set up installation
      paths manually. At the moment this doesn't help much, but in the not
      so far future this would enable us to mix cpu-only dependent libraries
      into the host's cross-compiler library and header files into
      newlib's include directories, tools into the toolchain directories etc.

      I would  recommend to change the main installation directory, however it's
      up to you to draw the final design decision.
1999-03-19 22:01:26 +00:00
Joel Sherrill
9ec964784b Towards automake VIII patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
OK, I 've made up my mind to cut a big chunk of my automake-patches (:-).

    Below you can find a drop-in replacement of the aclocal directory. It
    contains a lot of new macro files, most of them are directly cut from rtems
    top-level configure script, some are new some are identical to former
    versions. The motivation behind these files is to reuse parts from rtems
    current top-level configure.in script in up-coming subdirectory configure.in
    scripts.

    I'd like to ask you to untar the archive ontop of the source tree and to
    add/commit these files to CVS. Adding these files should not have any
    influence on RTEMS momentary configuration (except of you are required to
    run aclocal -I aclocal && autoconf afterwards), because most of them
    currently are not used at all.

    ---------

    BTW: Please upgrade to autoconf-2.13 and automake-2.4, if you havn't done
    this already (egcs/CVS require them, too). My upcoming automake files
    require automake-2.4 which requires autoconf-2.13 or later.
1999-03-19 21:54:36 +00:00
Joel Sherrill
af0200363e Patch from Eric Norum <eric@skatter.usask.ca> that adds external
fcntl support and an external fcntl handler for sockets.
1999-03-19 21:51:58 +00:00
Joel Sherrill
b64b1ed387 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
Moves some configure.in fragments to new macro files below aclocal/
   (Motivation: Prepare splitting the toplevel configure.in script)
1999-03-18 22:36:28 +00:00
Joel Sherrill
1105818d14 Patch from Ian Lance Taylor <ian@airs.com>:
Erik Ivanenko pointed out a problem in the ne2000.c driver I
    submitted: it did not work correctly with bootp.  Here is a patch,
    based on a patch he sent me.
1999-03-18 16:36:50 +00:00
Joel Sherrill
dfe7746ed9 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> 1999-03-17 23:43:32 +00:00
Joel Sherrill
55b8fef2a1 Patch from Emmanuel Raguet <raguet@crf.canon.fr> to add information
about the enable rdbg configure option.
1999-03-17 16:09:09 +00:00
Joel Sherrill
f4a8ee1c55 Unlimited objects patch from Chris Johns <ccj@acm.org>. Email follows:
First, the unlimited patch. I have compiled the unlmited patch for the
    Linux posix BSP only and it seems to work cleanly. I would like a really
    major application run on this change before commiting as the changes are
    very core and significant. I am currently building all the tests to run.

    I have no targets suitable to test on at the moment.

    I have tested the patch for inline functions and macros.

    Turning macros on has found some core bugs. I have fixed these but have
    not run all the tests. Please review the patch for these changes. They
    are:

    1) The conditional compilation for MP support broke the core messages
    code. You cannot embed a conditional macro in another macro. The Send
    and Urgent Send calls are macros.

    2) User extensions handler initialisation now has two parameters. I have
    updated the macros to support the extra parameter.

    The patch also contains the gcc-target-default.cfg fix required to build
    the kernel. More of a by product than a fix for you.
1999-03-17 16:01:03 +00:00
Joel Sherrill
e9e01dd61f Suggested rephrasing of inline versus macros option by Chris Johns
<ccj@acm.org>.
1999-03-17 15:56:03 +00:00
Joel Sherrill
1c0a186bef Temporarily took rtems_servers directory out of the build tree since there
are build issues with it.
1999-03-17 15:53:13 +00:00
Joel Sherrill
a902441a25 Patch from John S. Gwynne <jgwynne@mrcday.com> to correct minor
problems that prevented the 19990302 snapshot from running on
the efi332.

    I'm happy to report that rtems-19990302 is running on the efi332
    board. I have enclosed a few minor patches below to the efi332 bsp. All
    patches are within that library but one. make/custom/efi332.cfg has a
    patch to select the right CPU_CFLAGS (at one time -m68332 was a
    problem... -mcpu32 or -m68332 work fine now).
1999-03-16 02:26:50 +00:00
Joel Sherrill
6d0e13c3bd Added ftpd server from Jake Janovetz <janovetz@tempest.ece.uiuc.edu>. 1999-03-16 01:51:53 +00:00
Joel Sherrill
504a8c9d16 Added rtems_servers directory. 1999-03-16 01:51:40 +00:00
Joel Sherrill
cda0c07ed5 Commented out test case that no long works since addition of POSIX timers. 1999-03-16 01:41:48 +00:00
Joel Sherrill
23c4bbf58a Use proper include for libio.h. 1999-03-16 01:41:16 +00:00
Joel Sherrill
e602b3f845 Interrupt handler installed as raw handler. Problem caught by
by Jiri Gaisler <jgais@ws.estec.esa.nl> when using this
driver on a SPARC.
1999-03-11 22:13:45 +00:00
Joel Sherrill
54d3d1e155 Added $(CPPFLAGS) to all gcc 2.8 style make-exe rules. 1999-03-08 21:41:09 +00:00
Joel Sherrill
5b3632e9cd Took generated files off list of source files. 1999-03-08 21:40:14 +00:00
Joel Sherrill
b10f6e12e0 Corrected bug where pointer to doubly linked blocks was being incorrectly
calculated.
1999-03-08 21:39:39 +00:00
Joel Sherrill
3195d9c0a5 Added code to translate internal libio flags to POSIX style flags. 1999-03-08 21:39:16 +00:00
Joel Sherrill
1bb170208b Added support for F_GETFL and F_SETFL. 1999-03-08 21:38:56 +00:00
Joel Sherrill
550b6da660 Install remote debugger pieces. 1999-03-08 21:38:37 +00:00
Joel Sherrill
16b5264d49 Switched sense of tests configure flag to really be off by default. 1999-03-08 21:38:16 +00:00
Joel Sherrill
b02af64c5e Removed unused variable. 1999-03-08 21:37:13 +00:00
Joel Sherrill
a4dc7e0563 Patch from Ian Lance Taylor <ian@airs.com> to correct previous interrupt
patch.
1999-03-08 21:02:20 +00:00
Joel Sherrill
3ef87981eb Added F_GETFL support so the fdopen() implementation in newlib 1.8.1
would work.  At the same time, the initial implementation of F_SETFL
was added.  A support routine was added to convert internal libio
flags back to the POSIX style.  Eventually the internal representation
should be eliminated in the interest of simplicity and code reduction.
This problem was reported by Jake Janovetz <janovetz@tempest.ece.uiuc.edu>.
1999-03-06 18:09:15 +00:00
Joel Sherrill
eaefca9084 Wrong constant name was used for the DEBUG exception. 1999-03-03 18:11:51 +00:00
Joel Sherrill
163b29a653 Generated files were accidentally included in the library. 1999-03-03 18:11:35 +00:00
Joel Sherrill
4f6d73adc1 Patch from Erik Ivanenko <erik.ivanenko@utoronto.ca> to correct a bug
that shows up if the BSP uses memory near address 0.
1999-03-03 16:22:57 +00:00
Joel Sherrill
97b8b8f5fa This file is linked in 1999-03-02 15:56:04 +00:00
Joel Sherrill
0077e9efb9 changed version to 19990302 1999-03-02 15:43:39 +00:00
Joel Sherrill
faf7f46c96 Patch from Jay Monkman <jmonkman@frasca.com> to address minor issues
in the eth_comm BSP documentation.
1999-03-02 15:32:30 +00:00
Joel Sherrill
9d813800b3 Updated Ethernet driver from Erik Ivanenko <erik.ivanenko@utoronto.ca>.
Comments follow:

    Please find attached, the updated network driver.  I have verified
    that it is working as expected, by timestamping the error messages
    generated from the ISR.

    If you've taken a look inside, the network driver has a reset thread
    in addition to the RX and TX threads.  It is possible to avoid the
    additional reset thread by allowing the TX driver to time out and then
    checking status bits set by the ISR.  However, this approach demands
    that a transmission is necessary for the NIC to be reset.

    Due to Eric V's ISR handling, I suppose that the reset routine could
    be called from the "ISR" itself, due to the 8259 interrupt mode, and
    that the interrupt is acknowledged prior to running the "ISR".
    (Providing that no NIC interrupts are generated during reset -- I
    worry about re-entrancy.  )

    This would be a minor improvement, but you know, I don't want to make
    this driver my lifes work.
----------------------------------------------------------------------
----------------------------------------------------------------------
1999-03-01 23:50:22 +00:00
Joel Sherrill
73f6236bc0 Patch from Eric Norum <eric@skatter.usask.ca> to eliminate external
IO handlers scheme that was implemented originally just to support
sockets.  The file system IO switch is more general and works fine.
1999-03-01 22:40:08 +00:00
Joel Sherrill
e069cdc3f1 Part of the automake VI patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
> 5) rtems-rc-19990202-1.diff/reorg-install.sh
>
> reorg-install.sh fixes a Makefile variable name clash of RTEMS
> configuration files and automake/autoconf standards.
> Until now, RTEMS used $(INSTALL) for install-if-change. Automake and
> autoconf use $(INSTALL) for a bsd-compatible install. As
> install-if-change and bsd-install are not compatible, I renamed all
> references to install-if-changed to $(INSTALL_CHANGED) and used
> $(INSTALL) for bsd-install (==automake/autoconf standard).  When
> automake will be introduced install-if-change will probably be replaced
> by $(INSTALL) and therefore will slowly vanish. For the moment, this
> patch fixes a very nasty problem which prevents adding any automake file
> until now (There are still more).
1999-03-01 15:18:26 +00:00
Joel Sherrill
85d8eb20d2 Corrected the comments on --enable-gcc28 and switched the sense of the
--enable-tests switch.
1999-02-25 19:34:33 +00:00
Joel Sherrill
e1b7770144 backed off previous change and switched to tests being disabled by default. 1999-02-25 19:22:58 +00:00
Joel Sherrill
0ce47288c9 Suggestion from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to clarify
--enable-tests flag.
1999-02-25 17:30:24 +00:00
Joel Sherrill
3cf8394af5 Changed IMFS to use IMFS_NAME_MAX as the maximum length of a basename
rather then NAME_MAX.  NAME_MAX is 255 and that lets IMFS chew up memory
too fast.  Perhaps in the future, the places in IMFS that put a maximum
length name string on the stack and the jnode structure does not include
a maximu length name string can be fixed so this is not a problem.
1999-02-24 20:58:47 +00:00
Joel Sherrill
32a98d216b Moved mpc860.h around to make things compile. 1999-02-24 20:46:18 +00:00
Joel Sherrill
7d7b2a3d8d Patch from Charles Gauthier <Charles.Gauthier@@iit.nrc.ca> to address
FP issues on this target:

The default variants of libc, libm and libgcc assume that a 68881
coprocessor is present. Without the FPSP, any floating point operation,
including printf() with a "%f" format specifier, is likely to cause an
unimplemented instruction exception.

The FPSP works with the default variants of libc, libm and libgcc. It does not
work in conjunction with the msoft-float variants. The paranoia test goes into
an infinite loop at milestone 40. I am guessing that floor() is returning an
incorrect value.

The msoft-float variants of libc, libm and libgcc appear to do floating point
I/O properly. They only failed in paranoia. Offhand, I can't think of why they
would conflict with the FPSP, so I think that there is something wrong with the
msoft-float code. It might be my installation.

Given my experiences, I decided to install the FPSP in bsp_start(), and to link
against the default variants of libc, libm and libgcc. This causes the
executables to increase in size by about 60 KB. The README file and the
mvme167.cfg specify how to remove the FPSP, and how to link against the
msoft-float variants of the libraries. This is not what Eric Norum had done: on
my host, his gen68360_040 port links RTEMS code with the msoft-float variants
of libc and libm, and the default variant of libgcc. In this configuration, the
output of printf() with "%f" is garbage on my target.
1999-02-24 15:46:25 +00:00
Joel Sherrill
4e4e6911e5 Patch from Charles Gauthier <Charles.Gauthier@iit.nrc.ca> to address
FP issues on this target:

The default variants of libc, libm and libgcc assume that a 68881
coprocessor is present. Without the FPSP, any floating point operation,
including printf() with a "%f" format specifier, is likely to cause an
unimplemented instruction exception.

The FPSP works with the default variants of libc, libm and libgcc. It does not
work in conjunction with the msoft-float variants. The paranoia test goes into
an infinite loop at milestone 40. I am guessing that floor() is returning an
incorrect value.

The msoft-float variants of libc, libm and libgcc appear to do floating point
I/O properly. They only failed in paranoia. Offhand, I can't think of why they
would conflict with the FPSP, so I think that there is something wrong with the
msoft-float code. It might be my installation.

Given my experiences, I decided to install the FPSP in bsp_start(), and to link
against the default variants of libc, libm and libgcc. This causes the
executables to increase in size by about 60 KB. The README file and the
mvme167.cfg specify how to remove the FPSP, and how to link against the
msoft-float variants of the libraries. This is not what Eric Norum had done: on
my host, his gen68360_040 port links RTEMS code with the msoft-float variants
of libc and libm, and the default variant of libgcc. In this configuration, the
output of printf() with "%f" is garbage on my target.
1999-02-24 15:37:49 +00:00
Joel Sherrill
d6a5c812ed Switch to using standard compile rule for assembly. 1999-02-24 15:26:38 +00:00
Joel Sherrill
4d20133bef Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. The following email
is long but I hate to lose the information so I am including it here.


> I am still fixing and recompiling but this is the issue that was not the
> result of another patch.  This is a fundamental build issue that I value
> your opinion on.

This is difficult issue (I.e. I have no destinct solution for it)

Background:

(gnu-) make's  implicit rules apply CFLAGS, CPPFLAGS, CXXFLAGS, ASFLAGS and
LDFLAGS (cf. make.info/Implicit Rules/Catalogue of Rules), only.

In brief:
CPPFLAGS .. passed to the c-preprocessor
CFLAGS ... passed to the c-compiler
CXXFLAGS ... equivalent to CFLAGS but passed to the c++ compiler
(Attention: CFLAGS is not passed to the c++ compiler)
ASFLAGS .. equivalent to CFLAGS, but passed to the assembler
LDFLAGS .. equivalent to CFLAGS, but passed to the linker

A bit oversimplifying, these make rules are as follows
.c.o:
    $(CC) $(CPPFLAGS) $(CFLAGS) -c
.cc.o:
    $(CXX) $(CPPFLAGS) $(CXXFLAGS) -c
.S.s:
    $(CPP) $(CPPFLAGS)
.s.o:
    $(AS) $(ASFLAGS)

My reading of the documentation (make.info) is that {AS|AR|CC|CXX|CPP}FLAGS
are ment to be passed to the related tools directly, however examinating
the rule set of gmake (gmake -p -f /dev/null")  shows that many rules use
$(CC) instead of the related tools (eg. linker rules) etc.

I.e. these flags should not rely on being passed through cpp or gcc. With
gcc being the common frontend for all of these tools of a gnu-toolchain the
situation becomes difficult (Which option is passed to whom and which tool
really uses it?), because these variable can also contain the toolchain's
frontend (eg. AS=gcc, LD=gcc, CPP=gcc -E).

For some commonly used options the situation is quite clear:
* -g -> CFLAGS
* -OX -> CFLAGS
* -D -> CPPFLAGS
* -A -> CPPFLAGS

But where to add -m, -B, -specs, -qrtems_XXX ?
* -B, -specs, -qrtems_XXX are gcc-frontend options
* -m is a combinations of flags to go to different destinations, in many
(all?) cases, the following is valid
-m is expanded by gcc into a set of -D and -A options
-m is interpreted by cc1 as a machine flag to generate a specific
instruction set.
-m is interpreted by gcc as an implicit linker search path for multilibs to
set up calls to LD.

>From my point of view this indicates we can either destingush between these
different usages (= separately add -m to CFLAGS, LDFLAGS etc) or to add it
to CPPFLAGS and use gcc (the frontend) instead of calling each tool
directly (less error prone) -- I vote for CPPFLAGS, but I am not sure.

-----------------

Now, where to add CPU_CFLAGS?

AFAIS, in probably all cases CPU_CFLAGS contain -D -A, and -m options,
only.
* -D and -A are supposed to go to CPPFLAGS
* -mXXX options can have multiple meanings (It can be gcc, collect2/ld and
cc1/cc1plus option simultaneously)

Here, I made a mistake - I destinguished between CPU_DEFINES to be added to
CPPFLAGS and CPU_CFLAGS to be added to CFLAGS and CXXFLAGS (cf.
gcc-target-default.cfg), generally assuming CPU_CFLAGS are CFLAGS.

This breaks preprocessing *.S into *.i files because CPU_CFLAGS flags were
not added to CPPFLAGS. Hence *all* *.S were compiled without taking
-mXX-flags into account. The i960/cvme BSP was the only one which
explicitly checked for a specific -m flag (-mca) and refused to compile
without it -- all other CPUs/BSPs silently swallowed this.

IMO, we can either
1) add CPU_CFLAGS and CPU_DEFINES to CPPFLAGS, thus silently convert
CPU_CFLAGS's meaning into CPU_DEFINES (Alternative solution: rename
CPU_CFLAGS to CPU_DEFINES and merge CPU_FLAGS with CPU_DEFINES).
or
2) destinguish between CPU_DEFINES and CPU_CFLAGS. In this case we would
need to check the contents of each CPU_CFLAGS in custom/*.cfg and move the
some parts of the contents to CPU_DEFINES and keep other parts in
CPU_CFLAGS (CFLAGS must contain options for the c/c++-compiler only!).

Though Solution 2) is the clearer one, I implemented 1) which is the
simplier one (the patch below).

ATTENTION: This patch is small in size, but affects almost everything.

------------

Additional complications araise with linking:

Some BSPs call  LD and AS directly (esp. gcc-2.7 make-exe rules). If LD=gcc
then LDFLAGS are supposed to be gcc-options, but if LD=ld then LDFLAGS is
supposed to contain ld-options.

An analog thought is valid for AS, but luckily enough ASFLAGS is not used
of inside the whole source tree.

Most RTEMS' custom/*.cfg use $(CC) $(CFLAGS) to link with gcc-2.8 make-exe
rules. With the patch below (CPU_CFLAGS added to CPPFLAGS) this means
CPU_CFLAGS will not be passed to the linker, which is incorrect for
multilibbed CPU's.

gmake's default rule set contains a variety of rules for linking, all
ending up in calling $(CC) $(LDFLAGS) for linking at their very end.

IMO, this means we should use something like

LINK.o = $(CC) $(LDFLAGS) in gcc-target-default.cfg

+ modify all gcc-2.8 make-exe rules to use
$(LINK.o) .......

+ setup LDFLAGS according to the requirements of the above.

I.e. we should use $(CC) for linking instead of calling the linker (LD)
directly and set LDFLAGS = $(CPPFLAGS) $(CFLAGS) or similar.
1999-02-24 15:15:29 +00:00
Joel Sherrill
d6f2820063 Added $(LIB_VARIANT) to start16.bin. 1999-02-24 14:39:24 +00:00
Joel Sherrill
98e8c7f2a0 Corrected spacing. 1999-02-24 14:39:03 +00:00
Joel Sherrill
3dd7a724ed Removed dependency on bsp.h. 1999-02-24 14:36:00 +00:00
Joel Sherrill
d7e2aa656c Corrected name of file. 1999-02-24 14:35:33 +00:00
Joel Sherrill
38381a66db Changed to include FPSP in library. 1999-02-24 14:34:48 +00:00
Joel Sherrill
1b82a0b336 Changed from $(INSTALL) to $(INSTALL_CHANGE). 1999-02-24 14:34:47 +00:00
Joel Sherrill
4b4d4a750d Corrected Makefile.in to account for placement of include files. 1999-02-24 14:34:00 +00:00
Joel Sherrill
6dfebd9f33 Corrected name of constant so this would compile. 1999-02-24 14:32:46 +00:00
Joel Sherrill
4bcebc0e8a Accidentally moved. 1999-02-19 23:35:43 +00:00
Joel Sherrill
12710a56cd Moved back up in tree. 1999-02-19 23:35:42 +00:00
Joel Sherrill
2d71d94b24 Accidentally moved erc32.h 1999-02-19 23:33:26 +00:00
Joel Sherrill
123ddae0e3 Moved erc32.h back up in tree. 1999-02-19 23:33:25 +00:00
Joel Sherrill
db903c7481 Moved asm.h back up in tree. 1999-02-19 23:32:51 +00:00
Joel Sherrill
38b4430125 Accidentally moved asm.h 1999-02-19 23:32:50 +00:00
Joel Sherrill
77138089c5 Moved to proper rtems/score 1999-02-19 23:26:19 +00:00
Joel Sherrill
7a64d8e499 Added new PowerPC boards. 1999-02-19 00:33:02 +00:00
Joel Sherrill
32163dbd0e Enhanced to support -qrtems_debug. 1999-02-19 00:29:01 +00:00
Joel Sherrill
9c448e1db3 BSP for Vista Score603e added. 1999-02-19 00:22:33 +00:00
Joel Sherrill
a53a2bf7fb Updated to reflect addition of new BSPs. 1999-02-18 21:46:21 +00:00
Joel Sherrill
8dcbc16b6e Patch from Ian Lance Taylor <ian@airs.com>:
Here is a patch which slightly improves the i386 interrupt handling
    macros.  These macros were written to use both input and output
    parameters, which is not necessary.  This patch changes them to use
    only an input or output parameter, as appropriate.  It also changes
    the constraints to permit the interrupt level to be loaded directly in
    and out of memory, rather than always requiring a register.
1999-02-18 21:41:59 +00:00
Joel Sherrill
c0438adde9 Renamed network to wd8003. 1999-02-18 21:09:25 +00:00
Joel Sherrill
adbaa61dd6 Patch from Emmanuel Raguet <raguet@crf.canon.fr>. Missed adding this file
earlier to CVS.
1999-02-18 21:07:15 +00:00
Joel Sherrill
13ae6f4dfa Added INSTALL rule to Makefile. 1999-02-18 21:06:45 +00:00
Joel Sherrill
1094cf0dc5 Patch from Emmanuel RAGUET <raguet@crf.canon.fr> to add files
that were accidentally not committed earlier.  The DECNet driver
is being added as its own directory to avoid forcing the driver to
have to pull in the complete set of network drivers.
1999-02-18 21:06:17 +00:00
Joel Sherrill
3204a06ba5 Added comments. 1999-02-18 20:58:46 +00:00
Joel Sherrill
51450d769a Added NE2000 Driver from Ian Lance Taylor <ian@airs.com>. Comments:
Both the ne2000 and the wd80x3 are based on the National Semiconductor
    8390 chip, so there is a fair amount of overlap between the two
    drivers.  It would be possible in principle to combine some code into
    a separate set of subroutines called by both.  In fact, the drivers in
    both OpenBSD and Linux work this way.  I didn't bother, because for
    the relatively simple drivers used by RTEMS, the overlap is not
    especially large, and any reasonable use of subroutines would lead to
    slightly less efficient code.

    This ne2000 driver uses two transmit buffers.  While one packet is
    being transmitted over the Ethernet, RTEMS will upload another.  Since
    uploading a packet to the ne2000 is rather slow, I don't think there
    is any point to having more than two transmit buffers.  However, the
    code does make it possible, by changing NE_TX_BUFS, although that
    would of course reduce the number of receive buffers.

    I suspect that the wd80x3 driver would benefit slightly from copying
    the multiple transmit buffer code.  However, I have no way to test
    that.
1999-02-18 20:58:13 +00:00
Joel Sherrill
aa28a0835f Fixed top of file. 1999-02-18 19:24:08 +00:00
Joel Sherrill
5d024595a7 MVME167 BSP submitted by Charles Gauthier <Charles.Gauthier@iit.nrc.ca>. 1999-02-18 19:23:28 +00:00
Joel Sherrill
5c609ddeba Missed this file in the merge. 1999-02-18 19:18:28 +00:00
Joel Sherrill
39136318ba Regenerated. 1999-02-18 19:10:28 +00:00
Joel Sherrill
8548fe0ae2 Part of the automake VI patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
> 5) rtems-rc-19990202-1.diff/reorg-install.sh
>
> reorg-install.sh fixes a Makefile variable name clash of RTEMS
> configuration files and automake/autoconf standards.
> Until now, RTEMS used $(INSTALL) for install-if-change. Automake and
> autoconf use $(INSTALL) for a bsd-compatible install. As
> install-if-change and bsd-install are not compatible, I renamed all
> references to install-if-changed to $(INSTALL_CHANGED) and used
> $(INSTALL) for bsd-install (==automake/autoconf standard).  When
> automake will be introduced install-if-change will probably be replaced
> by $(INSTALL) and therefore will slowly vanish. For the moment, this
> patch fixes a very nasty problem which prevents adding any automake file
> until now (There are still more).
1999-02-18 18:36:05 +00:00
Joel Sherrill
7908ba5b81 Part of the automake VI patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
> 4) rtems-rc-19990202-0.diff /reorg-score-cpu.sh
>
> reorg-score-cpu.sh reorganizes the cpu/<cpu>/* subdirectories in a
> similar manner than previous reorg scripts did. rtems-rc-19990202-0.diff
> contains the diffs after reorg-score-cpu.sh has been run on a
> rtems-19981215 snapshot + my patches up to rtems-rc-19990131-2.diff.
>
> This patch is rather nasty and may break something. However, I've tested
> it for about 10 different target/bsp pairs and believe to have shaken
> out most bugs.

I wonder about the following .h files that were not moved:

a29k/asm.h
a29k/cpu_asm.h
i386/asm.h
i960/asm.h
m68k/asm.h
m68k/m68302.h
m68k/m68360.h
m68k/qsm.h
m68k/sim.h
mips64orion/asm.h
mips64orion/cpu_asm.h
mips64orion/mips64orion.h
no_cpu/asm.h
no_cpu/cpu_asm.h
powerpc/asm.h
powerpc/mpc860.h
sh/asm.h
sparc/asm.h
sparc/erc32.h
1999-02-18 18:28:24 +00:00
Joel Sherrill
52b0d9dd52 Another part of automake VI patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
> 4) rtems-rc-19990202-0.diff /reorg-score-cpu.sh
>
> reorg-score-cpu.sh reorganizes the cpu/<cpu>/* subdirectories in a
> similar manner than previous reorg scripts did. rtems-rc-19990202-0.diff
> contains the diffs after reorg-score-cpu.sh has been run on a
> rtems-19981215 snapshot + my patches up to rtems-rc-19990131-2.diff.
>
> This patch is rather nasty and may break something. However, I've tested
> it for about 10 different target/bsp pairs and believe to have shaken
> out most bugs.

I wonder about the following .h files that were not moved:

a29k/asm.h
a29k/cpu_asm.h
i386/asm.h
i960/asm.h
m68k/asm.h
m68k/m68302.h
m68k/m68360.h
m68k/qsm.h
m68k/sim.h
mips64orion/asm.h
mips64orion/cpu_asm.h
mips64orion/mips64orion.h
no_cpu/asm.h
no_cpu/cpu_asm.h
powerpc/asm.h
powerpc/mpc860.h
sh/asm.h
sparc/asm.h
sparc/erc32.h
1999-02-18 18:18:46 +00:00
Joel Sherrill
25d457b864 Yet another part of automake VI from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
> 4) rtems-rc-19990202-0.diff /reorg-score-cpu.sh
>
> reorg-score-cpu.sh reorganizes the cpu/<cpu>/* subdirectories in a
> similar manner than previous reorg scripts did. rtems-rc-19990202-0.diff
> contains the diffs after reorg-score-cpu.sh has been run on a
> rtems-19981215 snapshot + my patches up to rtems-rc-19990131-2.diff.
>
> This patch is rather nasty and may break something. However, I've tested
> it for about 10 different target/bsp pairs and believe to have shaken
> out most bugs.

I wonder about the following .h files that were not moved:

a29k/asm.h
a29k/cpu_asm.h
i386/asm.h
i960/asm.h
m68k/asm.h
m68k/m68302.h
m68k/m68360.h
m68k/qsm.h
m68k/sim.h
mips64orion/asm.h
mips64orion/cpu_asm.h
mips64orion/mips64orion.h
no_cpu/asm.h
no_cpu/cpu_asm.h
powerpc/asm.h
powerpc/mpc860.h
sh/asm.h
sparc/asm.h
sparc/erc32.h
1999-02-18 18:16:40 +00:00
Joel Sherrill
38840f7beb Part of the automake VI patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
> 3) rtems-rc-19990131-2.diff
>
> This patch removes generating bsp_specs from leaf.cfg and generates
> bsp_specs from inside of c/Makefile instead.
>
> The motivation behind this patch is to avoid "polluting" Makefiles by
> unneccessary rules from included Makefile-fragments (*.cfg-files) and
> try to handle files by explicit rules in Makefiles instead (FYI:
> automake-1.4  physically includes Makefile fragments at the time
> automake is run, not at the time make is run as RTEMS  Makefile.ins do
> now)
>
> Nevertheless, this patch is rather uncritical, almost cosmetical - If
> you don't like it, then dump it ;-, however I doubt that subsequent
> patches will apply then ;-.
1999-02-18 18:03:38 +00:00
Joel Sherrill
4cc89bd99a Added rejected patch from automake VI from Ralf Corsepius. 1999-02-18 18:00:22 +00:00
Joel Sherrill
a110b68252 Part of automake VI patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
> 2) rtems-rc-19990131-1.diff
>
> Rework of compilers/*.cfg files (esp. gcc-target-default.cfg) to adapt
> the flags/makefile variables to automake and make standards (cf.
> make.info - implicit rules/variables).
>
> This patch is rather risky and may probably break things, but is an
> essential step towards automake.
>
> FWIW: It also reverts the i386-ASMFLAGS/ASFLAGS-patch, which was wrong,
> as I had to experience ;-.
1999-02-18 17:55:49 +00:00
Joel Sherrill
011677f8fc Part of automake VI Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
> Adds variables to the custom/*cfg files to specify the location of
> tools. The purpose is to remove hard-coded paths from the Makefiles.
>
> In later steps this eases moving the tools to other locations.
1999-02-18 17:54:03 +00:00
Joel Sherrill
1fdc990e98 Part of the targopts.h change in generation patch from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>.
1999-02-18 17:46:59 +00:00
Joel Sherrill
6b9aaf7e12 Corrected. 1999-02-18 17:26:37 +00:00
Joel Sherrill
3b7f1381fc Readded. 1999-02-18 17:26:11 +00:00
Joel Sherrill
0fc85c5081 Should have been removed earlier. 1999-02-18 17:26:10 +00:00
Joel Sherrill
e4071cf64a Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This patch removes generation of targopts.h from leaf.cfg and generates
    it in location at score/include/rtems/score instead.

    To achieve this:
        * all rules in other Makefile.ins which have accessed targopts.h have
          been removed.
        * c/Makefile.in has been modified to generate the directories before
          doing anything else. I.e. to ensure the directories exist before any
          preinstall rule fires (This part is a bit kludgy, but it seems to
          work.  Please check if the interaction with libhwapi still works).
1999-02-18 17:16:48 +00:00
Joel Sherrill
0c04c377bc ./clock/Makefile.in,v
./clock/clock.c,v
./console/Makefile.in,v
./console/config.c,v
./console/console.c,v
./console/console.h,v
./console/debugio.c,v
./console/i8042.c,v
./console/i8042_p.h,v
./console/i8042vga.c,v
./console/i8042vga.h,v
./console/ns16550.c,v
./console/ns16550.h,v
./console/ns16550_p.h,v
./console/ns16550cfg.c,v
./console/ns16550cfg.h,v
./console/vga.c,v
./console/vga_p.h,v
./console/z85c30.c,v
./console/z85c30.h,v
./console/z85c30_p.h,v
./console/z85c30cfg.c,v
./console/z85c30cfg.h,v
./include/Makefile.in,v
./include/bsp.h,v
./include/chain.h,v
./include/coverhd.h,v
./include/extisrdrv.h,v
./include/nvram.h,v
./include/pci.h,v
./include/tod.h,v
./network/Makefile.in,v
./network/amd79c970.c,v
./network/amd79c970.h,v
./nvram/Makefile.in,v
./nvram/ds1385.h,v
./nvram/mk48t18.h,v
./nvram/nvram.c,v
./nvram/prepnvr.h,v
./nvram/stk11c68.h,v
./pci/Makefile.in,v
./pci/pci.c,v
./start/Makefile.in,v
./start/start.s,v
./startup/Makefile.in,v
./startup/bspclean.c,v
./startup/bspstart.c,v
./startup/bsptrap.s,v
./startup/device-tree,v
./startup/genpvec.c,v
./startup/linkcmds,v
./startup/rtems-ctor.cc,v
./startup/sbrk.c,v
./startup/setvec.c,v
./startup/spurious.c,v
./startup/swap.c,v
./timer/Makefile.in,v
./timer/timer.c,v
./tod/Makefile.in,v
./tod/cmos.h,v
./tod/tod.c,v
./universe/Makefile.in,v
./universe/universe.c,v
./vectors/Makefile.in,v
./vectors/README,v
./vectors/align_h.s,v
./vectors/vectors.s,v
./wrapup/Makefile.in,v
./Makefile.in,v
./README,v
./STATUS,v
./bsp_specs,v
1999-02-18 16:48:14 +00:00
Joel Sherrill
3492f29f28 ./clock/Makefile.in,v
./clock/clock.c,v
./console/Makefile.in,v
./console/config.c,v
./console/console.c,v
./console/console.h,v
./console/debugio.c,v
./console/i8042.c,v
./console/i8042_p.h,v
./console/i8042vga.c,v./console/i8042vga.h,v
./console/ns16550.c,v
./console/ns16550.h,v
./console/ns16550_p.h,v
./console/ns16550cfg.c,v
./console/ns16550cfg.h,v
./console/vga.c,v
./console/vga_p.h,v
./console/z85c30.c,v
./console/z85c30.h,v
./console/z85c30_p.h,v
./console/z85c30cfg.c,v
./console/z85c30cfg.h,v
./include/Makefile.in,v
./include/bsp.h,v
./include/chain.h,v
./include/coverhd.h,v
./include/extisrdrv.h,v
./include/nvram.h,v
./include/pci.h,v
./include/tod.h,v
./network/Makefile.in,v
./network/amd79c970.c,v
./network/amd79c970.h,v
./nvram/Makefile.in,v
./nvram/ds1385.h,v
./nvram/mk48t18.h,v
./nvram/nvram.c,v
./nvram/prepnvr.h,v
./nvram/stk11c68.h,v
./pci/Makefile.in,v
./pci/pci.c,v
./start/Makefile.in,v
./start/start.s,v
./startup/Makefile.in,v
./startup/bspclean.c,v
./startup/bspstart.c,v
./startup/bsptrap.s,v
./startup/device-tree,v
./startup/genpvec.c,v
./startup/linkcmds,v
./startup/rtems-ctor.cc,v
./startup/sbrk.c,v
./startup/setvec.c,v
./startup/spurious.c,v
./startup/swap.c,v
./timer/Makefile.in,v
./timer/timer.c,v
./tod/Makefile.in,v
./tod/cmos.h,v
./tod/tod.c,v
./universe/Makefile.in,v
./universe/universe.c,v
./vectors/Makefile.in,v
./vectors/README,v
./vectors/align_h.s,v
./vectors/vectors.s,v
./wrapup/Makefile.in,v
./Makefile.in,v
./README,v
./STATUS,v
./bsp_specs,v
1999-02-18 16:47:06 +00:00
Joel Sherrill
df0ac0bf32 Should have been removed from cvs early. 1999-02-18 16:09:25 +00:00
Joel Sherrill
e029467dac Patch from Emmanuel Raguet <raguet@crf.canon.fr>:
You will find enclosed a patch which contains, for Intel PC386 target :

      - an Ethernet driver for DEC21140 device based boards.
      - a simple cache management with paging mechanism.
1999-02-18 15:16:37 +00:00
Joel Sherrill
edfb0eba88 GLobal reentrancy structure is now dynamically initialized. 1999-02-18 15:11:41 +00:00
Joel Sherrill
60f67aea1c Added CVS Id string. 1999-02-18 15:11:24 +00:00
Joel Sherrill
9e5c3916a3 Added or corrected CVS Id strings. 1999-02-18 15:09:59 +00:00
Joel Sherrill
4ef40152f3 MPC860 support submitted by Jay Monkman <jmonkman@frasca.com>. 1999-02-18 15:09:27 +00:00
Joel Sherrill
ee73396529 Jay Monkman <jmonkman@frasca.com> submitted the eth_comm BSP for a PPC860
based board.
1999-02-17 20:24:53 +00:00
Joel Sherrill
7e2a525b6d Patch from Eric Valette <valette@crf.canon.fr> to undo the patch
that added ifdef on the pc386.
1999-02-15 18:56:08 +00:00
Joel Sherrill
7cc7a74db0 Patch from Eric Valette <valette@crf.canon.fr> to correct _exit
undefined problem.
1999-02-15 16:46:54 +00:00
Joel Sherrill
cef83027c5 Added thank you. 1999-02-10 19:51:13 +00:00
Joel Sherrill
90fe8b3854 Added POSIX timers. 1999-02-10 19:51:01 +00:00
Joel Sherrill
6ea3da8811 Corrected title 1999-02-10 19:50:44 +00:00
Joel Sherrill
c62665237c Added gdb_rtems 1999-02-10 19:50:28 +00:00
Joel Sherrill
9414e3f87b Changed versions. 1999-02-10 19:50:01 +00:00
Joel Sherrill
7b597b8540 Now generates HTML, PostScript, and info correctly. 1999-02-10 18:54:14 +00:00
Joel Sherrill
89d177ebb0 Base file. 1999-02-10 18:35:36 +00:00
Joel Sherrill
387f41adcd Base version. 1999-02-10 18:33:15 +00:00
Joel Sherrill
c8b5487e87 changed version to 19990210 1999-02-10 17:23:53 +00:00
Joel Sherrill
dae18b5c84 POSIX timer support. 1999-02-10 17:22:16 +00:00
Joel Sherrill
386289bfb8 Added this file. 1999-02-10 17:07:54 +00:00
Joel Sherrill
3234c27072 Don't build spfatal since it won't run anyway. 1999-02-10 17:06:53 +00:00
Joel Sherrill
f93d996e26 Changed file name. 1999-02-10 17:06:27 +00:00
Joel Sherrill
9619ff36e9 Set the read/write offset to 0 when the file is opened. The ACVC had a test
that performed the sequence open/write/close/open/read/close on a file.
It did not get the correct result since the file descriptor was reused.
1999-02-10 17:05:55 +00:00
Joel Sherrill
efb1b830bb Corrected multiple places the file size was not being properly updated. 1999-02-10 17:04:54 +00:00
Joel Sherrill
3165b4d365 Added getcwd(). 1999-02-10 17:04:12 +00:00
Joel Sherrill
aee3d6896a POSIX timer support modifications. 1999-02-10 17:03:46 +00:00
Joel Sherrill
dd746c38b4 Comments fixed after problem report from Ian Lance Taylor <ian@airs.com>. 1999-02-10 00:29:02 +00:00
Joel Sherrill
c13cd487ba Added maximum_timers field to configuration table. 1999-02-09 20:31:34 +00:00
Joel Sherrill
afc40a5482 Changed version numbers. 1999-02-09 20:31:09 +00:00
Joel Sherrill
ba0bd422e1 Changed versions. 1999-02-09 20:30:46 +00:00
Joel Sherrill
381fc999bc Added information on debug modes that can be enabled in the network stack. 1999-02-09 20:30:34 +00:00
Joel Sherrill
5bb77c446d Changed the name of a section. 1999-02-09 20:30:11 +00:00
Joel Sherrill
67b8f4725a Install the PostScript file. 1999-02-09 20:29:43 +00:00
Joel Sherrill
3ce8540ab8 Changed version. 1999-02-09 20:05:03 +00:00
Joel Sherrill
b7111263ef Changed date. 1999-02-09 20:04:50 +00:00
Joel Sherrill
c9c673905a Split SONIC chip into appropriate files for libchip'ing. The portable
portion is now in the libchip tree and the dmv177 configuration is in
the dmv177 bsp.  The performance impact of libchip'ing this driver
was minimal.
1999-02-05 00:34:17 +00:00
Joel Sherrill
b5e4eb746e Commented out disable of building network code so it is built. You can
hack through some paths to check error checking paths without a network
driver.
1999-02-05 00:30:30 +00:00
Joel Sherrill
2caa006b35 Added instruction and data cache enable. 1999-02-05 00:29:47 +00:00
Joel Sherrill
ecec2ba7bd Patch from Eric Norum to correct bug induced by select() patch. 1999-02-05 00:29:23 +00:00
Joel Sherrill
2f87c84349 Corrected spacing and added some new error checks that were needed
to avoid dereferencing NULLs.
1999-02-05 00:28:43 +00:00
Joel Sherrill
e824fa5073 Added optional data and instruction caching enable calls. 1999-02-05 00:27:30 +00:00
Joel Sherrill
26e663db57 Added caching enable routines. 1999-02-05 00:26:49 +00:00
Joel Sherrill
13cc89e122 Reorganized into libchip style but not yet split out into multiple files
and placed in the right shareable directories.
1999-02-04 23:45:55 +00:00
Joel Sherrill
7397638960 Works great now. 1999-02-04 22:59:46 +00:00
Joel Sherrill
354b00bc1e Added printf()'s that can be uncommented to trace MBUF operations. This
is very useful when debugging a device driver.
1999-02-04 15:00:14 +00:00
Joel Sherrill
83c7b007fd Modifed to reflect transition from device driver to file system. 1999-02-04 14:59:42 +00:00
Joel Sherrill
d3c106037f Added debug printf()'s that are commented out. Uncommenting these
allows one to trace the enqueueing and dequeueing of messages.  This
can be used to insure that packets are getting to the boundary between
the network stack and the device driver.
1999-02-04 14:58:01 +00:00
Joel Sherrill
1564ca8e5e Added PowerPC specific header checksum code. 1999-02-04 14:56:09 +00:00
Joel Sherrill
8cce4452a5 Added PowerPC specific header checksum code.
Added volatile to i386 assembly statements in header checksum code.
1999-02-04 14:56:03 +00:00
Joel Sherrill
c1a37d3e94 Debugged and now works except for handling of minor number. 1999-02-04 14:54:31 +00:00
Joel Sherrill
7c7fd4de93 Modified to include comments on how to get TCPDEBUG turned on and
printing messages.
1999-02-04 14:53:06 +00:00
Joel Sherrill
cd792a86cf Patch from John S Gwynne <jsg@donet.com> for malloctest. His comments:
I have a few patches for the efi332 bsp. If you let me know when you
  expect the next snapshot release, I will try to have them to you
  before then. Also, the malloctest has some problems that I would think
  would prevent it from running on almost any platform. I have enclose
  patches below to fix (1) Task_id and Task_name dimensioning, (2) end
  of test message, (3) the amount of memory malloc'ed, and (4) retry on
  unsuccessful (out of memory) molloc's.
1999-02-03 22:12:28 +00:00
Joel Sherrill
0747e2d3c3 POSIX Timers submitted by Juan Zamorano Flores
<jzamora@avellano.datsi.fi.upm.es>.
1999-02-03 16:22:18 +00:00
Joel Sherrill
c30d04d7be New test from Juan Zamorano Flores <jzamora@avellano.datsi.fi.upm.es>
that is part of the addition of POSIX timers.
1999-02-03 16:21:11 +00:00
Joel Sherrill
657be8f54c New files from Juan Zamorano Flores <jzamora@avellano.datsi.fi.upm.es>
that are part of the addition of POSIX timers.
1999-02-03 16:20:38 +00:00
Joel Sherrill
2a766a0eea Added POSIX timers. 1999-02-03 13:46:12 +00:00
Joel Sherrill
9e43ee55fb New file. 1999-02-02 21:56:15 +00:00
Joel Sherrill
13e11f69c1 Added debug #define and commented it out. 1999-02-02 21:15:15 +00:00
Joel Sherrill
5d5f23bc42 Added PowerPC specific in_cksum file. 1999-02-02 21:15:02 +00:00
Joel Sherrill
9b9c4dfd46 New file. Based on the i386 version. 1999-02-02 21:14:44 +00:00
Joel Sherrill
811115de2c Added debug print routines for TX and RX descriptors.
Fixed bug where only the mbuf associated with the first TX fragment was
being freed.
1999-02-02 16:28:42 +00:00
Joel Sherrill
14faf00eea Converted from DOS text file. 1999-02-02 16:27:37 +00:00
Joel Sherrill
01a2e18e17 Removed unneeded include of libio_.h. 1999-01-31 20:52:35 +00:00
Joel Sherrill
7b158663ed Prepended macro variables with "_" to avoid name conflicts in expansions. 1999-01-31 20:50:49 +00:00
Joel Sherrill
0e94e3b34b Added bump buffer. 1999-01-31 20:49:54 +00:00
Joel Sherrill
d93b23de01 Added dump buffer. 1999-01-31 20:49:36 +00:00
Joel Sherrill
7dbab7204f Can send and receive packets but fails when TDA wraps. There appears
to be a problem with overwriting the TX descriptors during an RX.
1999-01-31 20:46:52 +00:00
Joel Sherrill
07d880f4bc Split psignal.c into many more files. This reduced the amount of
object code that has to be loaded just for initializing the signal
manager.
1999-01-31 20:45:31 +00:00
Joel Sherrill
379d2ed5a9 New files added to ease debugging. 1999-01-31 19:12:46 +00:00
Joel Sherrill
cdf8a30092 Patch from Eric Norum <eric@skatter.usask.ca> to avoid dereferencing a
NULL pointer.
1999-01-28 18:42:34 +00:00
Joel Sherrill
c9df8d8f7c Patch from Eric Norum <eric@skatter.usask.ca> to set more flags in
rtems_bsdnet_makeFdForSocket().
1999-01-28 18:42:04 +00:00
Joel Sherrill
d90df9aa2b Added include of <rtems/posix/priority.h> so a macro would expand
and eliminate a link error.
1999-01-26 16:00:04 +00:00
Joel Sherrill
39ba912277 Changed prototype of rtems_bsdnet_makeFdForSocket to (void *) pointer
so that the libc code did not have to know about (struct socket).
1999-01-26 01:50:31 +00:00
Joel Sherrill
887618b0e7 Switched from printf() to puts(). 1999-01-26 01:49:56 +00:00
Joel Sherrill
d78b7a9ed7 Added libio_sockets.c to hold support routines for networking code. 1999-01-26 01:49:31 +00:00
Joel Sherrill
39c972331d Added prototype information about the SONIC driver. 1999-01-26 01:48:58 +00:00
Joel Sherrill
03598b162e Split most of POSIX Threads Manager into multiple files. 1999-01-25 23:20:52 +00:00
Joel Sherrill
535db3ae0c Added enough prototypes to allow most of POSIX Threads Manager to be
split into multiple files.
1999-01-25 23:20:39 +00:00
Joel Sherrill
94b3ee1366 Made to compile after hacking tftp driver into beginnings of a mini-filesystem. 1999-01-21 22:25:43 +00:00
Joel Sherrill
3048b8f3ac Added common problems section after post by Philippe Le Foll
<Philippe.LeFoll@fridu.com> on rtems-list. :)
1999-01-21 14:51:34 +00:00
Joel Sherrill
97d6366040 Changed call to __rtems_close() to close(). 1999-01-20 21:59:09 +00:00
Joel Sherrill
c27b2d0dbe Update of network driver from Erik Ivanenko <erik.ivanenko@utoronto.ca>.
Comments follow:

    Here is the contents of the network directory of the i386ex BSP.  The
    reset function has been recently added, and tested through a command
    line interface.  A reset event to the reset thread to reset the NIC.
    This is done when the ISR detects that the NIC is in an invalid state.
    It has not been tested "in real life" since the board has not seen an
    invalid state since the reset function was implemented.
1999-01-20 18:55:50 +00:00
Joel Sherrill
f91b8df17d Patch from Eric Norum <eric@skatter.usask.ca> to make m68360.h usable
outside RTEMS.  Comment:

    I found a couple of places other than RTEMS where I'd like to use
    the declarations supplied in m68360.h.  To make this easier to do,
    I've redone the declarations in m68360.h to use standard C types.
1999-01-20 15:55:52 +00:00
Joel Sherrill
2d733c424b More general fix based on bug report and patch from Ian Lance Taylor
<ian@airs.com> to fix this problem:

    There is a small bug in __rtems_close in c/src/lib/libc/libio.c.  It
    does not check whether the file descriptor it is passed is open.  This
    can cause it to make a null dereference if it is passed a file
    descriptor which is in the valid range but which was not opened, or
    which was already closed.
1999-01-20 15:48:22 +00:00
Joel Sherrill
5f22d0916a Removed referencing to network driver since it has not been merged yet. 1999-01-19 21:29:29 +00:00
Joel Sherrill
98cc966d72 Regenerated. 1999-01-19 21:29:07 +00:00
Joel Sherrill
6a14ae56a3 Added comments to indicate what options are required to take advantage
of removal of unused function code found in newer binutils/egcs
snapshots.  Early test with psim and hello.exe showed about a 13%
gain.
1999-01-19 20:24:56 +00:00
Joel Sherrill
7d0dbf1a6c Changed definition of ASMFLAGS since as does not recognize -B option
used in gcc.
1999-01-19 20:23:57 +00:00
Joel Sherrill
a7c4314dca Added comments for changing to a filesystem 1999-01-19 20:23:15 +00:00
Joel Sherrill
eb6fafd33b Per bug report from Jiri Gaisler that RTEMS would no longer build
with the --disable-posix option, stubs for some routines (_getpid_r and
_kill_r) that are normally defined with POSIX were added.
1999-01-19 20:19:22 +00:00
Joel Sherrill
1924610486 Removed duplicate lines in file. 1999-01-19 20:17:33 +00:00
Joel Sherrill
ba2adf540e Patch from Jiri Gaisler <jgais@ce.chalmers.se>:
getting the spurious trap handling to work required a couple more
  fixes - I have attached a patch against rtems-4.0.0 with the
  necessary changes. I also added functionality so that the
  address of the trapped instruction is reported and in case of
  a data access error, the data address is also reported.
1999-01-19 20:09:33 +00:00
Joel Sherrill
b33d8a21ff Moved sys/ioctl.h to libc support 1999-01-19 17:38:13 +00:00
Joel Sherrill
16a9ee1d06 Bug report from Jiri Gaisler <jgais@ws.estec.esa.nl>:
> > I think I have found a bug in src/exec/scor/sparc/cpu/erc32.h in:
> >
> > #define ERC32_Disable_interrupt( _source, _previous ) \
> >   do { \
> >     unsigned32 _level; \
> >     unsigned32 _mask = 1 << (_source); \
> >     \
> >     sparc_disable_interrupts( _level ); \
> >       (_previous) = ERC32_MEC.Interrupt_Mask; \
> >       ERC32_MEC.Interrupt_Mask = _previous | _mask; \
> >     sparc_enable_interrupts( _level ); \
> >     (_previous) &= ~_mask; \                  <- IS THIS CORRECT...?
> >   } while (0)
> >
> > The previous interrupt mask is returned after first clearing the
> > bit to be disabled, regardless whether the bit was set before or
> > not. If the bit was set (interrupt masked), subsequent call to
> > ERC32_Restore_interrupt() will enable the interrupt even though
> > it was supposed to be masked. This is indeed what happens in
> > DEBUG_puts when polled console I/O is used. In my opinion, the
> > last statement in the macro should be removed - what is your opinion?
>
> I think the "~" shouldn't be there.  I recall that the intent of that line
> is to only return the state of the interrupts you were concerned with.
> Removing the line returns entire state.  Given that the value returned
> shuold only be used in conjunction with the map, I suppose either removing
> the ~ or the entire line is correct?   I can go either way.  Just let me
> know which you think is more correct and the source will change. :)

Hmmm, just removing the '~' should be OK. DEBUG_puts() seems to be the
only user of ERC32_Restore_interrupt() anyway ...
1999-01-13 14:13:47 +00:00
Joel Sherrill
97503aa5e3 Patch from Chris Johns <ccj@acm.org> to get around a C++ problem with psim.
This problem should and likely was occurring with other BSPs.  This is from
Chris' email:

    I had a look in the psim bsp for the older snapshot I have and it looks
    like you are using the `libbsp/shared/main.c' and this is known to work.

    I have just built the powerpc tools, and compiled the bsp. I have not
    added the linker command file patch so got the list of linker warnings.

    It looks to me like a compiler bug. The `main' call is being inlined and
    when that happens the special code to call `__eabi' is not being added
    to the inlined version. I have attached a patch which places `main'
    after `boot_card' and a call to main is now generated. I have not tested
    it but it should work. I also include a dump of `boot_card' and `main'
    showing the bug.
1999-01-05 17:50:03 +00:00
Joel Sherrill
eb0d7ae2da Patch from D. V. Henkel-Wallace <gumby@zembu.com> to use puts and have prototype. 1999-01-04 16:35:31 +00:00
Joel Sherrill
88a0908402 Patch from D. V. Henkel-Wallace <gumby@zembu.com> to fix braces nesting problem. 1999-01-04 16:30:06 +00:00
Joel Sherrill
60a2d6899d Patch from D. V. Henkel-Wallace <gumby@zembu.com> to make macro nest properly in conditionals 1999-01-04 16:28:49 +00:00
Joel Sherrill
73441b6fef Removed blank lines 1999-01-04 16:26:37 +00:00
Joel Sherrill
c1ee30f816 Patch from D. V. Henkel-Wallace <gumby@zembu.com> to remove unused variable. 1999-01-04 16:24:59 +00:00
Joel Sherrill
96b46bf87e Patch from D. V. Henkel-Wallace <gumby@zembu.com> to mark sav as unused. 1999-01-04 16:23:29 +00:00
Joel Sherrill
7a42b0ca35 Patch from Jay Kulpinski <jskulpin@eng01.gdds.com> to get cdtest.exe to run. 1998-12-17 22:14:35 +00:00
Joel Sherrill
539ef72f84 changed version to 19981217 1998-12-17 21:09:49 +00:00
Joel Sherrill
29936e4c1a changed version to 19981217 1998-12-17 21:03:57 +00:00
Joel Sherrill
0296c071b6 Updated to correct information on post switch extension and to make
the user extension table type definition correct.
1998-12-17 18:34:01 +00:00
Joel Sherrill
94c0943d17 Corrected information about the post_switch extension. 1998-12-17 18:21:39 +00:00
Joel Sherrill
0ed9ac7820 Updated socket information 1998-12-17 18:18:44 +00:00
Joel Sherrill
183369d865 Incorporated Jeff's suggestions. 1998-12-17 18:15:39 +00:00
Joel Sherrill
a54541d8e3 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to eliminate another
compiler dependent flag in a Makefile.
1998-12-17 18:12:36 +00:00
Joel Sherrill
9d36726507 Added MIPS supplement template. 1998-12-17 17:30:24 +00:00
Joel Sherrill
f0d3e6cea3 New file added in automake reorg. 1998-12-17 16:20:59 +00:00
Joel Sherrill
646879b244 Automake reorgnization. 1998-12-17 16:17:44 +00:00
Joel Sherrill
f57e315391 changed version to 19981215 1998-12-16 00:35:04 +00:00
Joel Sherrill
283d728541 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> heading toward
automake:

  Notes:
    * I didn't yet touch the cpu subdirectory. I still need some time to
      think on how to handle them.
    * I probably will wait for the next snapshot before mailing more patches
      (I still have some pending), giving you a chance to apply them and me a
      chance to become target of the bullets which will probably be aimed at
      me after these modifications.
1998-12-16 00:01:08 +00:00
Joel Sherrill
5428b10686 More automake preparation changes from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>.
1998-12-15 23:40:53 +00:00
Joel Sherrill
0825f57833 Moved around per Ralf Corsepius as preparation for automake 1998-12-15 23:32:19 +00:00
Joel Sherrill
ee44db38c0 Part II automake reorg by Ralf Corsepius 1998-12-15 22:02:28 +00:00
Joel Sherrill
7e22c7d060 Part II automake reorg by Ralf Corsepius 1998-12-15 21:57:08 +00:00
Joel Sherrill
afa3c8ffa5 Added files as part of move 1998-12-15 20:04:04 +00:00
Joel Sherrill
9d5c22e31b Switched to use of ASM compilation conditional. 1998-12-15 19:56:41 +00:00
Joel Sherrill
7359911f8f Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
Some Makefile.ins depend on gcc by hard-coded gcc-specific compiler
    flags:

    -g added to CFLAGS /LDFLAGS in

     > find . -name Makefile.in -exec grep -l ' \-g' {} \;
    ./c/src/lib/libbsp/i386/i386ex/startup/Makefile.in
    ./c/src/lib/libbsp/i386/pc386/tools/Makefile.in

    -Wall added CFLAGS in

     > find . -name Makefile.in -exec grep -l ' \-Wall' {} \;
    ./c/src/exec/score/tools/sh/Makefile.in
    ./c/src/lib/libbsp/i386/pc386/tools/Makefile.in

    Both -g and -Wall should not be used in any Makefile.in (Yes, I know,
    tools/sh/Makefile.in was written by me :-).

    I'd like to propose to remove these flags from the files mentioned
    above.
1998-12-15 19:40:27 +00:00
Joel Sherrill
2417b15a0e Changed reference from no_cpu to mips64orion. 1998-12-15 15:00:25 +00:00
Joel Sherrill
62184317de Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to reorganize POSIX
directory in preparation for automake:

    Here is a shell script which reorganizes some parts of the exec/posix
    source tree.

    This shell scripts moves include files below exec/posix to different
    locations than now. It doesn't yet apply automake, but still use the old
    autoconf configuration scheme. It doesn't influence the build scheme at
    all (unless I corrupted something), only the location of the header
    files is different, which would ease applying automake later.

    The purpose of this shell script is to demonstrate the style of
    structural changes I would like to see in rtems in near future to
    prepare a smooth transition to automake. Then CC could pickup rtems'
    header files from their location inside of the source tree in future,
    instead of the build tree as it is done now.

    In case you would accept this patch/script, there would be more similiar
    ones to come.
1998-12-15 00:55:28 +00:00
Joel Sherrill
063a19a290 Moved around per Ralf Corsepius as preparation for automake 1998-12-15 00:24:30 +00:00
Joel Sherrill
0c291bc9d8 Switch from .s to .S on include 1998-12-14 23:58:22 +00:00
Joel Sherrill
01629105c2 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to rename all
.s files to .S in conformance with GNU conventions.  This is a
minor step along the way to supporting automake.
1998-12-14 23:15:38 +00:00
Joel Sherrill
1d9f198a91 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to rename all
.s files to .S in conformance with GNU conventaons.  This is a
minor step along the way to supporting automake.
1998-12-14 23:15:08 +00:00
Joel Sherrill
e22d644abe Corrected prototype to confirm to POSIX 1003.1b. 1998-12-14 23:01:43 +00:00
Joel Sherrill
b2e180b70a Renamed ASFLAGS to ASMFLAGS for consistency per suggestion from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. 1998-12-14 22:15:57 +00:00
Joel Sherrill
cdd26ca278 Document from Ian Lance Taylor <ian@airs.com> on the tap function. 1998-12-10 23:35:40 +00:00
Joel Sherrill
cca44008d8 Merged Eric Norum's select patch that was based on 4.0 and resolved
all conflicts.
1998-12-10 23:31:54 +00:00
Joel Sherrill
6c98012877 RDBG headers files ignored if not configured 1998-12-10 21:53:02 +00:00
Joel Sherrill
b1bc63b03c Fixed conflict between patches 1998-12-10 21:52:36 +00:00
Joel Sherrill
a3d0b8a79a Patch from Ian Lance Taylor <ian@airs.com>:
From: Eric Norum <eric@skatter.usask.ca>
   Date: Sat,  5 Dec 98 13:20:51 -0600

   What do you think of this patch?  It implements your `tap'
   suggestion in a way that adds support for all ethernet devices with
   no driver modifications.  I also added a return value from the tap
   function.  If the return value is zero, the packet will be passed up
   the chain as usual.  If the return value is non-zero the mbuf holding
   the packet will be freed and the packet will be dropped.

   If you like it, please submit it to Joel.

   I guess there needs to be an addition to the network documentation
   describing the additional ioctl's -- and a big warning that the tap
   function is called from a context that holds the network semaphore.

   Here is Eric's patch.  I've tested it a bit, and made a couple of
   trivial changes.  This is certainly better than mine: it should work
   for all Ethernet drivers.
   ==================================================

   The only concern I have about this patch is that the tap function may
   want to fiddle with the mbuf, calling functions like m_pullup and the
   like.  If those force the networking code to rearrange the mbuf
   structure, then the caller's call to m_freem may crash.  I don't know
   if this is a realistic concern--I don't know enough about the mbuf
   layer.
1998-12-10 19:42:29 +00:00
Joel Sherrill
2ffe30d2a1 Patch from Ian Lance Taylor <ian@airs.com>:
This patch avoids a warning from the development version of gas.
1998-12-07 17:45:48 +00:00
Joel Sherrill
91b1c8e69e Patch from Ian Lance Taylor <ian@airs.com>:
RTEMS permits using the SO_SNDTIMEO and SO_RCVTIMEO socket options to
    set a timeout for most socket I/O operations.  However, in RTEMS
    4.0.0, those options do not affect connect or accept.  I don't know of
    any way to put a timeout on those calls in RTEMS 4.0.0; can anybody
    point to one.

    Since it is frequently useful to have a timeout on accept, and
    sometimes useful to have a timeout on connect shorter than the BSD
    system default of 75 seconds, the following patch causes SO_RCVTIMEO
    to affect connect and accept.
1998-12-07 17:42:52 +00:00
Joel Sherrill
e203c04bff changed version to 19981203 1998-12-04 02:00:53 +00:00
Joel Sherrill
4721cf1ecb Patch from Emmanuel Raguet <raguet@crf.canon.fr> to add remote debug server
and RPC support to RTEMS.  Thanks. :)  Email follows:

    Hello,

    For Xmas, here is the Remote Debugger on RTEMS !

    Here are 2 patches for the Remote Debugger on RTEMS for pc386 from Linux
    host :

     - one for RTEMS it self,
     - one for GDB-4.17.


    1/ RTEMS patch
    --------------

    This patch adds 2 libraries :
     - a simplified SUN RPC library
     - the Remote Debugger library

    The configuration command is the following :
    ../rtems4/configure --target=i386-rtemself --enable-rtemsbsp=pc386
    --enable-rdbg

    The SUN RPC library is built only if networking is set.
    The RDBG library is built if networking and enable-rdbg are set.

    The function used to initialize the debugger is :
            rtems_rdbg_initialize ();

    A special function has been created to force a task to be
    in a "debug" state : enterRdbg().
    The use of this function is not mandatory.



    2/ GDB-4.17 patch
    -----------------

    This patch create a new RTEMS target for GDB-4.17.

    The configuration command is the following :
    ./configure --enable-shared --target=i386RTEMS

    To connect to a target, use :
      target rtems [your_site_address]

    Then, attach the target using : attach 1

    And... Debug ;)

    You can obtain the original GDB-4.17 on
    ftp://ftp.debian.org/debian/dists/stable/main/source/devel/gdb_4.17.orig.tar.gz

    This has been tested from a Debian 2.0.1 linux host.
1998-12-03 23:54:14 +00:00
Joel Sherrill
cd155bec6f Removed spaces. 1998-12-03 23:02:24 +00:00
Joel Sherrill
41616f6513 Changed to account for ownership only being tracked when a priority
blocking protocol is used.
1998-12-03 23:01:22 +00:00
Jennifer Averett
6afa6e3996 Removed all ^M from the file. 1998-12-03 22:45:57 +00:00
Jennifer Averett
dc8acc140c Added psx to the front of all test names. 1998-12-03 22:45:45 +00:00
Jennifer Averett
0422a7a55d Removed all ^M from the scn file. 1998-12-03 22:42:13 +00:00
Jennifer Averett
c2f9b97543 Cleaned up test.
Updated scn files to match present expected test output.
1998-12-03 22:41:57 +00:00
Jennifer Averett
5b8e885dd7 Added Comment that a result is valid at 4 or 5 seconds. 1998-12-03 22:41:33 +00:00
Jennifer Averett
fae441bd9b Updated scn files to match present expected test output. 1998-12-03 22:41:20 +00:00
Jennifer Averett
f98db20fb3 Renamed all directories to start with psx. 1998-12-03 22:41:01 +00:00
Jennifer Averett
b81eeb35cd Added a posix time test.
Renamed all directories to start with psx.
1998-12-03 22:40:39 +00:00
Jennifer Averett
a4e2f08c25 Added imfs_fdatasync routine that gets called from both fdatasync and datasync. 1998-12-03 22:19:06 +00:00
Jennifer Averett
49629bd8cb Added a imfs fdatasync routine that gets called for fdatasync and datasync. 1998-12-03 22:17:46 +00:00
Jennifer Averett
5822f437a1 Added source for F_DUPFD. 1998-12-03 22:17:26 +00:00
Jennifer Averett
7a3878b26f Modifications for RTEMS_UNIX. 1998-12-03 22:17:13 +00:00
Jennifer Averett
af73d86f64 Added a imfs fdatasync routine that gets called for fdatasync and datasync.
Modifications for RTEMS_UNIX.
1998-12-03 22:16:55 +00:00
Joel Sherrill
146263fdc7 Modified to support test names longer than two characters plus the
test suite designator.  In English, we now support psxfile in addition
to psx11.
1998-12-03 21:58:53 +00:00
Joel Sherrill
012bb569b3 Insure that the same output occurs when multiprocessing is disabled. 1998-12-03 21:57:50 +00:00
Joel Sherrill
6b9450d1a6 Moved cpuuse.h to rtems subdirectory. 1998-12-03 21:56:10 +00:00
Joel Sherrill
31bce9b765 Moved stackchk.h to rtems subdirectory. 1998-12-03 21:55:33 +00:00
Joel Sherrill
347e40d61d Increased default amount of RAM. 1998-12-03 21:54:30 +00:00
Joel Sherrill
1aa9876c05 Removed reference to stackchk.h. 1998-12-03 21:54:09 +00:00
Joel Sherrill
478b86fa2f Don't build libchip if we are targetting UNIX. 1998-12-03 21:53:42 +00:00
Joel Sherrill
ed0e74e79b Corrected spacing. 1998-12-03 21:53:25 +00:00
Joel Sherrill
fdd9fe17bb Corrected ifdef on RTEMS_MULTIPROCESSING so the queue is actually closed. 1998-12-03 21:52:20 +00:00
Joel Sherrill
42b65db0c8 Removed reference to libpurify. 1998-12-01 13:57:15 +00:00
Joel Sherrill
bfc3533594 Include files now installed as <rtems/*.h>. 1998-12-01 13:56:46 +00:00
Joel Sherrill
37de72b908 Removed unused file.
Include files now installed as <rtems/*.h>.
1998-12-01 13:56:18 +00:00
Joel Sherrill
76f786476c changed version to 4.0.0-RADSTONE 1998-11-25 18:09:26 +00:00
Joel Sherrill
8f30e3ee91 First Cut at Hitachi SH. 1998-11-25 16:25:12 +00:00
Joel Sherrill
f48b100053 New files copied from template and personalized. 1998-11-23 22:09:47 +00:00
Joel Sherrill
d1ee44e927 New files added as part of file system infrastructure effort. 1998-11-23 19:39:45 +00:00
Joel Sherrill
07a3253de2 Added base version of file system infrastructure. This includes a major
overhaul of the RTEMS system call interface.  This base file system is
the "In-Memory File System" aka IMFS.

The design and implementation was done by the following people:

  + Joel Sherrill (joel@OARcorp.com)
  + Jennifer Averett (jennifer@OARcorp.com)
  + Steve "Mr Mount" Salitasc (salitasc@OARcorp.com)
  + Kerwin Wade (wade@OARcorp.com)

PROBLEMS
========
  + It is VERY likely that merging this will break the UNIX port.  This
    can/will be fixed.

  + There is likely some reentrancy/mutual exclusion needed.

  + Eventually, there should be a "mini-IMFS" description table to
    eliminate links, symlinks, etc to save memory.  All you need to
    have "classic RTEMS" functionality is technically directories
    and device IO.  All the rest could be left out to save memory.
1998-11-23 19:07:58 +00:00
Joel Sherrill
cd3fb80a26 Added new tests in support of the file system infrastructure. 1998-11-23 18:58:48 +00:00
Joel Sherrill
0895bdb89c Added tests in support of the file system infrastructure. 1998-11-23 18:57:48 +00:00
Joel Sherrill
2a7920b58f Removed. 1998-11-23 18:37:37 +00:00
Joel Sherrill
6e46f4e1f8 Upped the memory to 8 Mbytes. 1998-11-23 18:35:18 +00:00
Joel Sherrill
97e2729d1a Added --disable-multiprocessing flag and modified a lot of files to make
it work.
1998-11-23 17:38:09 +00:00
Joel Sherrill
967f3aaa0c Added networking. 1998-11-23 16:38:28 +00:00
Joel Sherrill
35e5ae647b Removed "HAS_NETWORKING=no". 1998-11-23 16:38:13 +00:00
Joel Sherrill
20ad9e9d93 New network driver from Erik Ivanenko <erik.ivanenko@utoronto.ca>. 1998-11-23 14:28:09 +00:00
Joel Sherrill
588b68976f Bug report from Peter Mueller <pmueller@decrc.abb.de>:
I use the m68k/efi332 BSP together with a home made board. After some
  time of debugging I found  that the m68020 CPU is used to build rtems.
  This is not correct, because the 68332 does not have some of the 68020
  features (no separate int stack ...). It is necessary to change this to
  mcpu32. After a clean/make everything works fine.
1998-11-19 21:57:39 +00:00
Joel Sherrill
8a9caa03d9 Renamed exception constants per requests from Erik Ivanenko
<erik.ivanenko@utoronto.ca> and Eric Valette <valette@crf.canon.fr>.
1998-11-19 20:23:34 +00:00
Joel Sherrill
2e26bbd059 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
Here is a cosmetic patch which corrects a few spelling problems in parts
  written by me.

  Apparently, I must have written these under the influence of ether (:-)
1998-11-19 20:09:01 +00:00
Joel Sherrill
847375f3ad Patch from Eric Norum <eric@skatter.usask.ca>:
1) Socket timeout field changed from `short' to `long'.  This makes longer
       timeouts possible.  With a 1 kHz system clock the old system allowed
       timeouts only up to a little over 30 seconds!  This change is a
       slightly cleaned-up version of the patch proposed by Ian Lance Taylor.

    2) Major changes to BOOTP/DHCP reply handling.  Now supports much of
       RFC2132.  These changes were done at the request of, and with the
       assistance of, Erik Ivanenko.

    If you're making changes, you might want to change the network
    supplement  Essentially just do a global search and replace of BOOTP
    with BOOTP/DHCP.
1998-11-19 17:35:49 +00:00
Joel Sherrill
df4eb76e52 Changed BOOTP -> BOOTP/DHCP. 1998-11-19 17:08:20 +00:00
Joel Sherrill
febb47e071 Changed version string.
Added much new stuff to the POSIX User's Guide.

New chapters stuff shrunk.
1998-11-19 16:59:38 +00:00
Joel Sherrill
982e295e68 Stripped down to be just new chapters. 1998-11-19 16:41:04 +00:00
Joel Sherrill
424b9b2f2e Renamed entire document so this is a transient working directory. 1998-11-19 16:37:00 +00:00
Joel Sherrill
e9264513e4 Merged these into POSIX manual. 1998-11-19 16:33:49 +00:00
Joel Sherrill
28c6b2a10a Added. 1998-11-19 16:08:34 +00:00
Joel Sherrill
cee261b422 Readded preface 1998-11-19 16:07:52 +00:00
Joel Sherrill
c4dddee3f5 Major update/merge of POSIX manual. 1998-11-19 16:06:46 +00:00
Joel Sherrill
d82f3e81a4 New files 1998-11-19 16:05:05 +00:00
Joel Sherrill
bc950e878a Applied updates from remote work while doing class. 1998-11-19 16:02:06 +00:00
Joel Sherrill
06fee20ac1 changed version to 4.0.0-AFCC 1998-10-29 22:25:53 +00:00
Joel Sherrill
a47bd655a1 Cleanup. 1998-10-29 17:10:02 +00:00
Joel Sherrill
2119f9d4b1 making release docs 1998-10-29 16:42:51 +00:00
Joel Sherrill
22fa583204 Patch from Ian Lance Taylor <ian@airs.com>:
The RTEMS i386 stub in
        c/src/lib/libbsp/i386/shared/comm/i386-stub.c
    doesn't take advantage of some of the newer gdb remote features which
    permits shorter and fewer packets.

    Here is a patch which uses the 'T' response to report the registers
    which gdb generally needs, and implements the 'P' request to set only
    a single register.  The general effect is to avoid sending all the
    register contents back and forth between gdb and the stub every time
    the stub stops.  This also implements the 'D' request which handles
    the gdb detach command, so you can cleanly quit out of the debugger
    and leave the target board running.
1998-10-28 19:41:06 +00:00
Joel Sherrill
b4e3b2bd68 Patch from Ian Lance Taylor <ian@airs.com>.
I just happened across the sync_io support in
        c/src/exec/score/cpu/unix/cpu.c
    (is this documented anywhere?).  That looked more useful than the
    signal driven I/O I was using before, so I tried it.  I ran across a
    few bugs in the way it uses select.

    Select changes its fd_set arguments, so you can't use global variables
    for them.  You have to copy them into local variables first.

    If select returns -1 with errno set to EINTR, then it has not changed
    any of the fd_sets.  You can't start looking at them.

    When clearing a descriptor, the code has the usual select off by one
    error when setting sync_io_nfds.

    I don't see how this code could ever have worked correctly.

    I have appended a patch for the problems I found.
1998-10-28 19:25:12 +00:00
Joel Sherrill
692b9f7fdd Merged Vista SCORE603e, Radstone PPCn_60x, and DY-4 DMV177 BSPs along
with libchip.
1998-10-28 19:17:16 +00:00
Joel Sherrill
e071364177 Removed per Eric Norum 1998-10-28 18:05:05 +00:00
5662 changed files with 336291 additions and 100894 deletions

8
.cvsignore Normal file
View File

@@ -0,0 +1,8 @@
Makefile
Makefile.in
aclocal.m4
config.cache
config.log
config.status
configure
depcomp

View File

@@ -39,8 +39,7 @@ NOTES:
(most) UNIX machines, zcat is associated with compress (.Z files).
(3) If you do not have gzip 1.2.4, it is available from numerous sites
including this one. Other sites include prep.ai.mit.edu and
gatekeeper.dec.com.
including this one. Other sites include ftp.gnu.org and ftp.cdrom.com.
(4) The GNU archive files included in this distribution are packaged
exactly like they are on official GNU ftp sites. When extracting

42
Makefile.am Normal file
View File

@@ -0,0 +1,42 @@
#
# top level directory for RTEMS build tree
#
## The target's toplevel Makefile now is in c/src
##
## $Id$
##
AUTOMAKE_OPTIONS = foreign 1.4
ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
SUBDIRS = doc make tools @TARGET_SUBDIRS@
AUTOMAKE_FILES = automake/subdirs.am automake/local.am automake/lib.am
ACLOCAL_FILES += aclocal/ar-s.m4 aclocal/bsp-alias.m4 \
aclocal/canonical-host.m4 aclocal/canonical-target-name.m4 \
aclocal/canonicalize-tools.m4 aclocal/check-bsps.m4 \
aclocal/check-bsp-cache.m4 aclocal/check-cpu.m4 aclocal/check-cxx.m4 \
aclocal/check-itron.m4 aclocal/check-multiprocessing.m4 \
aclocal/check-networking.m4 aclocal/check-newlib.m4 \
aclocal/check-posix.m4 aclocal/check-rdbg.m4 aclocal/enable-bare.m4 \
aclocal/enable-cxx.m4 aclocal/enable-gcc28.m4 aclocal/enable-hwapi.m4 \
aclocal/enable-inlines.m4 aclocal/enable-itron.m4 \
aclocal/enable-libcdir.m4 aclocal/enable-multiprocessing.m4 \
aclocal/enable-networking.m4 aclocal/enable-posix.m4 \
aclocal/enable-rdbg.m4 aclocal/enable-rtemsbsp.m4 \
aclocal/enable-tests.m4 aclocal/gcc-pipe.m4 aclocal/gcc-specs.m4 \
aclocal/i386-gas-code16.m4 aclocal/path-ksh.m4 aclocal/path-perl.m4 \
aclocal/prog-cc.m4 aclocal/prog-cxx.m4 aclocal/project-root.m4 \
aclocal/rtems-top.m4 aclocal/sysv-ipc.m4 aclocal/target.m4 \
aclocal/tool-paths.m4 aclocal/tool-prefix.m4
noinst_SCRIPTS = bootstrap
EXTRA_DIST = $(AUTOMAKE_FILES) $(ACLOCAL_FILES) README.configure SUPPORT \
VERSION LICENSE $(noinst_SCRIPTS)
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(ACLOCAL_FILES)
include $(top_srcdir)/automake/subdirs.am
include $(top_srcdir)/automake/host.am

View File

@@ -1,76 +0,0 @@
#
# top level directory for RTEMS build tree
#
# Modified by Jiri to implement autoconf and cygnus one-tree build
#
# $Id$
#
@SET_MAKE@
srcdir = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
libdir = @libdir@
includedir = @includedir@
target = @target@
manext = 1
mandir = @mandir@/man$(manext)
program_prefix = @program_prefix@
export bindir
RTEMS_ROOT = @top_srcdir@
PROJECT_ROOT = @PROJECT_ROOT@
VPATH=@srcdir@
ifeq ($(RTEMS_BSP),)
RTEMS_BSP = @RTEMS_BSP_LIST@
endif
include $(RTEMS_ROOT)/make/main.cfg
MTARGETS = pre_install_src all install $(TARGET_VARIANTS) $(TARGET_VARIANTS:%=%_all) \
$(TARGET_VARIANTS:%=%_install) $(TARGET_VARIANTS:%=%_tests) \
clean_wrapup distclean clean_dirs clean_tools tests clean depend
EXIT_CMD = exit 1
# Don't pass flags from previous make - especially NOT CFLAGS
# NOTE: Previous versions overrode MAKEFLAGS, but this also disables
# a lot of useful features
# override MAKEFLAGS=
$(MTARGETS):
BASEDIR=`pwd`; \
for bsp in $(RTEMS_BSP) xxx; \
do if [ $$bsp != xxx ] ; then \
cd $$BASEDIR; \
cmd="cd c; $(MAKE) RTEMS_BSP=$$bsp $(FLAGS_TO_PASS) \
$@" ; \
eval $$cmd || $(EXIT_CMD); \
fi; done;
## Configuration stuff
ACLOCAL = aclocal -I aclocal
AUTOCONF = autoconf
ACLOCAL_FILES := $(wildcard $(srcdir)/aclocal/*.m4)
ACLOCAL_M4 = aclocal.m4
$(ACLOCAL_M4): configure.in $(ACLOCAL_FILES)
-cd $(RTEMS_ROOT) && $(ACLOCAL)
Makefile: Makefile.in config.status
CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
config.status: $(RTEMS_ROOT)/configure
$(SHELL) ./config.status --recheck
$(RTEMS_ROOT)/configure: $(RTEMS_ROOT)/configure.in $(ACLOCAL_M4)
-cd $(RTEMS_ROOT) && $(AUTOCONF)
.PRECIOUS: $(ACLOCAL_M4) configure Makefile config.status

View File

@@ -21,15 +21,17 @@ RTEMS-specific option are supported:
--disable-rtems-inlines
--disable-posix
--disable-tests
--disable-itron
--disable-networking
--enable-cxx
--enable-bare-cpu-model=<MODEL>
--enable-bare-cpu-cflags=<FLAGS>
--enable-gcc28 (also use enable-libcdir when disabled)
--enable-gmake-print-directory
--enable-libcdir=<DIRECTORY> (do not use if gcc 2.8 is enabled)
--enable-multiprocessing
--enable-rtemsbsp="bsp1 bsp2 ..."
--enable-tests
--enable-rdbg (only valid for i386 and some PowerPC BSPs)
In addition, the following standard autoconf options are frequently
used when configuring RTEMS installations:
@@ -37,28 +39,46 @@ used when configuring RTEMS installations:
--prefix=INSTALL_DIRECTORY
--program-prefix=
By default, the RTEMS posix interface is built for targets that support
By default, inline routines are used instead of macros where possible.
Macros can be selected using the --disable-inlines option. [NOTE:
Some APIs may not support macro versions of their inline routines.]
By default, the RTEMS POSIX 1003.1b interface is built for targets that support
it. It can be disabled with the --disable-posix option.
By default, the RTEMS uITRON interface is built for targets that support
it. It can be disabled with the --disable-itron option.
By default, the RTEMS networking support is built for targets which
support it. It can be specifically disabled for those targets
with the --disable-networking option.
By default, the RTEMS remote debugger server support is not built.
It can be specifically enabled for the targets that support it.
with the --enable-rdbg option. NB : the RTEMS networking support
must be enabled to support the remote debugger server.
By default, the RTEMS support of C++ is disabled. It can be enabled
with the --enable-cxx option. If the rtems++ C++ library is installed
it will also be build.
By default, the RTEMS test suites are configured. The --disable-tests
will not configure the RTEMS test suite. This is used only to speed-up
configuration in case building the tests are not necessary.
By default, the RTEMS test suites are NOT configured -- only the
sample tests are built. The --enable-tests will not configure
the RTEMS test suite. The default speeds up the build
and configure process when the tests are not desired.
By default, RTEMS is built using arguments and build rules which are
compatible with gcc 2.7.2.2. This requires that the user specify
the location of the Standard C Library with the --enable-libcdir
option. If using a gcc which supports the -specs option, then
the --enable-gcc28 option may be used to enable this feature.
You should use the --enable-gcc28 option when using either the
egcs source tree, testgcc snapshots, or gcc 2.8.0 or newer.
NOT compatible with gcc 2.7.2.2. If using a gcc which supports the
-specs option, then the --enable-gcc28 option may be used to enable
this feature. You should use the --enable-gcc28 option when using
either the egcs source tree, testgcc snapshots, or gcc 2.8.0 or newer.
If you --disable-gcc28, then you MUST specify the location of the
Standard C Library with the --enable-libcdir option. [NOTE: These
options are considered obsolete and may be removed in a future
RTEMS release.]
By default, multiprocessing is is not built. It can be enabled
for those BSPs supporting it by the --enable-multiprocessing option.
By default, all bsps for a target are built. The bare BSP is not built
unless directlty specified. There are two ways of changing this:
@@ -75,7 +95,6 @@ architecture. The following targets are supported:
a29k-rtems only standalone, uses non-gnu compiler
i386-rtems
i386-go32-rtems see notes
i960-rtems
hppa1.1-rtems
m68k-rtems
@@ -119,33 +138,6 @@ for the standalone build.
2.3 Target Dependent Notes
i386-go32-rtems:
1. This is based on djgpp v1.xx. It needs to be updated to v2.xx.
2. This cannot be built one-tree style since RTEMS requires some
files which must be obtained from the binary distribution of the
djgpp library. DJGPP can be obtained from
http://www.delorie.com/djgpp/dl/ofc.
3. You will need to manually install a number of files from the
binary distribution of the DJGPP library doing something
like the following:
# unzip the djgpp distribution
cd include
cp dpmi.h INSTALL_POINT/lib/gcc-lib/i386-go32-rtems/2.7.2/include
cp go32.h INSTALL_POINT/lib/gcc-lib/i386-go32-rtems/2.7.2/include
cp dos.h INSTALL_POINT/lib/gcc-lib/i386-go32-rtems/2.7.2/include
cp pc.h INSTALL_POINT/lib/gcc-lib/i386-go32-rtems/2.7.2/include
cd ../lib
cp crt* INSTALL_POINT/lib/gcc-lib/i386-go32-rtems/2.7.2
cp libpc* INSTALL_POINT/lib/gcc-lib/i386-go32-rtems/2.7.2
# Make sure about destination on the next lines. It keeps the newlib
# libc.a and the binary djgpp libc.a from conflicting.
cp libc.a INSTALL_POINT/lib/gcc-lib/i386-go32-rtems/2.7.2/libcgo32.a
cp libc_p.a INSTALL_POINT/lib/gcc-lib/i386-go32-rtems/2.7.2/libcgo32_p.a
bare:
1. See the README in the bare bsp source directory. This should
@@ -181,8 +173,7 @@ The following bsps are supported:
host-based : posix (on linux, solaris and hpux)
a29k : portsw
i386 : force386 i386ex pc386
i386-go32 : go32 go32_p5
i386 : i386ex pc386
i960 : cvme961
hppa1.1 : simhppa
m68k : dmv152 efi332 efi68k gen68302 gen68340 gen68360

13
SUPPORT
View File

@@ -2,10 +2,9 @@
# $Id$
#
RTEMS was developed by On-Line Applications Research Corporation (OAR)
for the U.S. Army Missile Command. OAR offers support, customization,
and training for RTEMS. Custom RTEMS development services includes
porting RTEMS to new processors and the development of custom board
On-Line Applications Research Corporation (OAR) offers support,
customization, and training for RTEMS. Custom RTEMS development services
includes porting RTEMS to new processors and the development of custom board
support packages and device drivers. In addition, OAR is available
to assist in the development of your real-time embedded application.
@@ -18,8 +17,6 @@ Huntsville AL 35805
Voice: (205) 722-9985
Fax: (205 722-0985
In the past, RTEMS maintainance and enhancements were primarily funded
by the development contracts sponsored by the U.S. Army. Now RTEMS
is funded solely by RTEMS users. The future of RTEMS depends on
its user base.
RTEMS maintenance and development is funded solely by RTEMS users.
The future of RTEMS depends on its user base.

View File

@@ -1,5 +1,7 @@
#
# This file is automatically generated -- DO NOT EDIT!!!
#
# $Id$
#
RTEMS Version 4.0.0
RTEMS Version 4.5.0

614
aclocal.m4 vendored
View File

@@ -1,614 +0,0 @@
dnl aclocal.m4 generated automatically by aclocal 1.2
dnl
dnl $Id$
dnl
dnl macro to detect mkdir
AC_DEFUN(RTEMS_PATH_MKDIR,
[AC_PATH_PROG(MKDIR,mkdir)
])
dnl macro to check for mkdir -p
AC_DEFUN(RTEMS_PROG_MKDIR_P,
[
AC_REQUIRE([RTEMS_PATH_MKDIR])
AC_MSG_CHECKING([for working $MKDIR -p])
AC_CACHE_VAL(rtems_cv_prog_mkdir_p,
[rm -rf conftestdata
if $MKDIR -p conftestdata 2>/dev/null ;then
rtems_cv_prog_MKDIR_P="yes"
else
rtems_cv_prog_MKDIR_P="no"
fi])dnl
rm -rf conftestdata
AC_MSG_RESULT($rtems_cv_prog_MKDIR_P)
])
dnl macro to check for mkdir -m 0755
AC_DEFUN(RTEMS_PROG_MKDIR_M,
[
AC_REQUIRE([RTEMS_PATH_MKDIR])
AC_MSG_CHECKING([for working $MKDIR -m 0755])
AC_CACHE_VAL(rtems_cv_prog_MKDIR_P,
[rm -rf conftestdata
if $MKDIR -m 0775 conftestdata 2>/dev/null; then
rtems_cv_prog_MKDIR_M="yes"
else
rtems_cv_prog_MKDIR_M="no"
fi])dnl
rm -rf conftestdata
AC_MSG_RESULT($rtems_cv_prog_MKDIR_M)
])
dnl
dnl $Id$
dnl
dnl canonicalize target name
dnl NOTE: Most rtems targets do not fullfil autoconf's
dnl target naming conventions "processor-vendor-os"
dnl Therefore autoconf's AC_CANONICAL_TARGET will fail for them
dnl and we have to fix it for rtems ourselves
AC_DEFUN(RTEMS_CANONICAL_TARGET_CPU,
[AC_MSG_CHECKING(rtems target cpu)
changequote(<<, >>)dnl
target_cpu=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
changequote([, ])dnl
AC_MSG_RESULT($target_cpu)
])
dnl
dnl $Id$
dnl
dnl Set program_prefix
dnl
dnl 98/05/20 Ralf Corsepius (corsepiu@faw.uni-ulm.de)
dnl Extracted from configure
AC_DEFUN(RTEMS_TOOL_PREFIX,
[AC_REQUIRE([AC_CANONICAL_TARGET])dnl
AC_REQUIRE([AC_CANONICAL_BUILD])dnl
if [[ "${program_prefix}" = "NONE" ]] ; then
if [[ "${target}" = "${host}" ]] ; then
program_prefix=
else
program_prefix=${target}-
fi
fi
])
dnl
dnl $Id$
dnl
dnl Check for target gcc
dnl
dnl 98/05/20 Ralf Corsepius (corsepiu@faw.uni-ulm.de)
dnl Completely reworked
AC_DEFUN(RTEMS_PROG_CC,
[
AC_BEFORE([$0], [AC_PROG_CPP])dnl
AC_BEFORE([$0], [AC_PROG_CC])dnl
AC_REQUIRE([RTEMS_TOOL_PREFIX])dnl
dnl Only accept gcc and cc
dnl NOTE: This might be too restrictive for native compilation
AC_PATH_PROGS(CC_FOR_TARGET, "$program_prefix"gcc "$program_prefix"cc )
test -z "$CC_FOR_TARGET" \
&& AC_MSG_ERROR([no acceptable cc found in \$PATH])
dnl backup
rtems_save_CC=$CC
rtems_save_CFLAGS=$CFLAGS
dnl temporarily set CC
CC=$CC_FOR_TARGET
AC_PROG_CC_WORKS
AC_PROG_CC_GNU
if test $ac_cv_prog_gcc = yes; then
GCC=yes
dnl Check whether -g works, even if CFLAGS is set, in case the package
dnl plays around with CFLAGS (such as to build both debugging and
dnl normal versions of a library), tasteless as that idea is.
ac_test_CFLAGS="${CFLAGS+set}"
ac_save_CFLAGS="$CFLAGS"
CFLAGS=
AC_PROG_CC_G
if test "$ac_test_CFLAGS" = set; then
CFLAGS="$ac_save_CFLAGS"
elif test $ac_cv_prog_cc_g = yes; then
CFLAGS="-g -O2"
else
CFLAGS="-O2"
fi
else
GCC=
test "${CFLAGS+set}" = set || CFLAGS="-g"
fi
rtems_cv_prog_gcc=$ac_cv_prog_gcc
rtems_cv_prog_cc_g=$ac_cv_prog_cc_g
rtems_cv_prog_cc_works=$ac_cv_prog_cc_works
rtems_cv_prog_cc_cross=$ac_cv_prog_cc_cross
dnl restore initial values
CC=$rtems_save_CC
CFLAGS=$rtems_save_CFLAGS
unset ac_cv_prog_gcc
unset ac_cv_prog_cc_g
unset ac_cv_prog_cc_works
unset ac_cv_prog_cc_cross
])
dnl
dnl $Id$
dnl
dnl Check whether the target compiler accepts -specs
dnl
dnl 98/02/11 Ralf Corsepius corsepiu@faw.uni-ulm.de
dnl
AC_DEFUN(RTEMS_GCC_SPECS,
[AC_REQUIRE([RTEMS_PROG_CC])
AC_CACHE_CHECK(whether $CC_FOR_TARGET accepts -specs,rtems_cv_gcc_specs,
[
rtems_cv_gcc_specs=no
if test "$rtems_cv_prog_gcc" = "yes"; then
touch confspec
echo 'void f(){}' >conftest.c
if test -z "`${CC_FOR_TARGET} -specs confspec -c conftest.c 2>&1`";then
rtems_cv_gcc_specs=yes
fi
fi
rm -f confspec conftest*
])])
dnl
dnl $Id$
dnl
dnl Check whether the target compiler accepts -pipe
dnl
dnl 98/02/11 Ralf Corsepius corsepiu@faw.uni-ulm.de
dnl
AC_DEFUN(RTEMS_GCC_PIPE,
[AC_REQUIRE([RTEMS_PROG_CC])
AC_REQUIRE([AC_CANONICAL_HOST])
AC_CACHE_CHECK(whether $CC_FOR_TARGET accepts --pipe,rtems_cv_gcc_pipe,
[
rtems_cv_gcc_pipe=no
if test "$rtems_cv_prog_gcc" = "yes"; then
case "$host_os" in
cygwin32*)
;;
*)
echo 'void f(){}' >conftest.c
if test -z "`${CC_FOR_TARGET} --pipe -c conftest.c 2>&1`";then
rtems_cv_gcc_pipe=yes
fi
rm -f conftest*
;;
esac
fi
])
])
dnl
dnl $Id$
dnl
dnl Check for target g++
dnl
dnl 98/05/20 Ralf Corsepius (corsepiu@faw.uni-ulm.de)
dnl Completely reworked
AC_DEFUN(RTEMS_PROG_CXX,
[
AC_BEFORE([$0], [AC_PROG_CXXCPP])dnl
AC_BEFORE([$0], [AC_PROG_CXX])dnl
AC_REQUIRE([RTEMS_TOOL_PREFIX])dnl
dnl Only accept g++ and c++
dnl NOTE: This might be too restrictive for native compilation
AC_PATH_PROGS(CXX_FOR_TARGET, "$program_prefix"g++ "$program_prefix"c++)
test -z "$CXX_FOR_TARGET" \
&& AC_MSG_ERROR([no acceptable c++ found in \$PATH])
dnl backup
rtems_save_CXX=$CXX
rtems_save_CXXFLAGS=$CXXFLAGS
dnl temporarily set CXX
CXX=$CXX_FOR_TARGET
AC_PROG_CXX_WORKS
AC_PROG_CXX_GNU
if test $ac_cv_prog_gxx = yes; then
GXX=yes
dnl Check whether -g works, even if CXXFLAGS is set, in case the package
dnl plays around with CXXFLAGS (such as to build both debugging and
dnl normal versions of a library), tasteless as that idea is.
ac_test_CXXFLAGS="${CXXFLAGS+set}"
ac_save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS=
AC_PROG_CXX_G
if test "$ac_test_CXXFLAGS" = set; then
CXXFLAGS="$ac_save_CXXFLAGS"
elif test $ac_cv_prog_cxx_g = yes; then
CXXFLAGS="-g -O2"
else
CXXFLAGS="-O2"
fi
else
GXX=
test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
fi
rtems_cv_prog_gxx=$ac_cv_prog_gxx
rtems_cv_prog_cxx_g=$ac_cv_prog_cxx_g
rtems_cv_prog_cxx_works=$ac_cv_prog_cxx_works
rtems_cv_prog_cxx_cross=$ac_cv_prog_cxx_cross
CXX=$rtems_save_CXX
CXXFLAGS=$rtems_save_CXXFLAGS
dnl restore initial values
unset ac_cv_prog_gxx
unset ac_cv_prog_cc_g
unset ac_cv_prog_cxx_works
unset ac_cv_prog_cxx_cross
])
dnl
dnl $Id$
dnl
dnl Set target tools
dnl
dnl 98/06/23 Ralf Corsepius (corsepiu@faw.uni-ulm.de)
dnl fixing cache/environment variable handling
dnl adding checks for cygwin/egcs '\\'-bug
dnl adding checks for ranlib/ar -s problem
dnl
dnl 98/02/12 Ralf Corsepius (corsepiu@faw.uni-ulm.de)
dnl
AC_DEFUN(RTEMS_GCC_PRINT,
[ case $host_os in
*cygwin32*)
dnl FIXME: Hack for cygwin/egcs reporting mixed '\\' and '/'
dnl Should be removed once cygwin/egcs reports '/' only
$1=`$CC_FOR_TARGET --print-prog-name=$2 | sed -e 's%\\\\%/%g' `
;;
*)
$1=`$CC_FOR_TARGET --print-prog-name=$2`
;;
esac
])
AC_DEFUN(RTEMS_PATH_TOOL,
[
AC_MSG_CHECKING([target's $2])
AC_CACHE_VAL(ac_cv_path_$1,:)
AC_MSG_RESULT([$ac_cv_path_$1])
if test -n "$ac_cv_path_$1"; then
dnl retrieve the value from the cache
$1=$ac_cv_path_$1
else
dnl the cache was not set
if test -z "[$]$1" ; then
if test "$rtems_cv_prog_gcc" = "yes"; then
# We are using gcc, ask it about its tool
# NOTE: Necessary if gcc was configured to use the target's
# native tools or uses prefixes for gnutools (e.g. gas instead of as)
RTEMS_GCC_PRINT($1,$2)
fi
else
# The user set an environment variable.
# Check whether it is an absolute path, otherwise AC_PATH_PROG
# will override the environment variable, which isn't what the user
# intends
AC_MSG_CHECKING([whether environment variable $1 is an absolute path])
case "[$]$1" in
/*) # valid
AC_MSG_RESULT("yes")
;;
*) # invalid for AC_PATH_PROG
AC_MSG_RESULT("no")
AC_MSG_ERROR([***]
[Environment variable $1 should ether]
[be unset (preferred) or contain an absolute path])
;;
esac
fi
AC_PATH_PROG($1,"$program_prefix"$2,$3)
fi
])
AC_DEFUN(RTEMS_CANONICALIZE_TOOLS,
[AC_REQUIRE([RTEMS_PROG_CC])dnl
dnl FIXME: What shall be done if these tools are not available?
RTEMS_PATH_TOOL(AR_FOR_TARGET,ar,no)
RTEMS_PATH_TOOL(AS_FOR_TARGET,as,no)
RTEMS_PATH_TOOL(LD_FOR_TARGET,ld,no)
RTEMS_PATH_TOOL(NM_FOR_TARGET,nm,no)
dnl special treatment of ranlib
RTEMS_PATH_TOOL(RANLIB_FOR_TARGET,ranlib,no)
if test "$RANLIB_FOR_TARGET" = "no"; then
# ranlib wasn't found; check if ar -s is available
RTEMS_AR_FOR_TARGET_S
if test $rtems_cv_AR_FOR_TARGET_S = "yes" ; then
dnl override RANLIB_FOR_TARGET's cache
ac_cv_path_RANLIB_FOR_TARGET="$AR_FOR_TARGET -s"
RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
else
AC_MSG_ERROR([***]
[Can't figure out how to build a library index]
[Nether ranlib nor ar -s seem to be available] )
fi
fi
dnl NOTE: These may not be available if not using gnutools
RTEMS_PATH_TOOL(OBJCOPY_FOR_TARGET,objcopy,no)
RTEMS_PATH_TOOL(SIZE_FOR_TARGET,size,no)
])
dnl
dnl $Id$
dnl
AC_DEFUN(RTEMS_AR_FOR_TARGET_S,
[
AC_CACHE_CHECK(whether $AR_FOR_TARGET -s works,
rtems_cv_AR_FOR_TARGET_S,
[
cat > conftest.$ac_ext <<EOF
int foo( int b )
{ return b; }
EOF
if AC_TRY_COMMAND($CC_FOR_TARGET -o conftest.o -c conftest.$ac_ext) \
&& AC_TRY_COMMAND($AR_FOR_TARGET -sr conftest.a conftest.o) \
&& test -s conftest.a ; \
then
rtems_cv_AR_FOR_TARGET_S="yes"
else
rtems_cv_AR_FOR_TARGET_S="no"
fi
rm -f conftest*
])
])
dnl
dnl $Id$
dnl
dnl check for i386 gas supporting 16 bit mode
dnl - binutils 2.9.1.0.7 and higher
AC_DEFUN(RTEMS_I386_GAS_CODE16,
if test "${target_cpu}" = "i386"; then
AC_CACHE_CHECK([for 16 bit mode assembler support],
rtems_cv_prog_gas_code16,
[cat > conftest.s << EOF
.code16
data32
addr32
lgdt 0
EOF
if AC_TRY_COMMAND($AS_FOR_TARGET -o conftest.o conftest.s); then
rtems_cv_prog_gas_code16=yes
else
rtems_cv_prog_gas_code16=no
fi])
RTEMS_GAS_CODE16="$rtems_cv_prog_gas_code16"
fi
)
dnl
dnl $Id$
dnl
dnl Detect the Cygwin32 environment (unix under Win32)
dnl
dnl 98/06/16 David Fiddes (D.J.Fiddes@hw.ac.uk)
dnl Hacked from automake-1.3
# Check to see if we're running under Cygwin32, without using
# AC_CANONICAL_*. If so, set output variable CYGWIN32 to "yes".
# Otherwise set it to "no".
dnl RTEMS_CYGWIN32()
AC_DEFUN(RTEMS_CYGWIN32,
[AC_CACHE_CHECK(for Cygwin32 environment, rtems_cv_cygwin32,
[AC_TRY_COMPILE(,[return __CYGWIN32__;],
rtems_cv_cygwin32=yes, rtems_cv_cygwin32=no)
rm -f conftest*])
CYGWIN32=
test "$rtems_cv_cygwin32" = yes && CYGWIN32=yes])
dnl
dnl $Id$
dnl
dnl Set the EXE extension
dnl
dnl 98/06/16 David Fiddes (D.J.Fiddes@hw.ac.uk)
dnl Hacked from automake-1.3
# Check to see if we're running under Win32, without using
# AC_CANONICAL_*. If so, set output variable EXEEXT to ".exe".
# Otherwise set it to "".
dnl RTEMS_EXEEXT()
dnl This knows we add .exe if we're building in the Cygwin32
dnl environment. But if we're not, then it compiles a test program
dnl to see if there is a suffix for executables.
AC_DEFUN(RTEMS_EXEEXT,
[AC_REQUIRE([RTEMS_CYGWIN32])
AC_MSG_CHECKING([for executable suffix])
AC_CACHE_VAL(rtems_cv_exeext,
[if test "$CYGWIN32" = yes; then
rtems_cv_exeext=.exe
else
cat > rtems_c_test.c << 'EOF'
int main() {
/* Nothing needed here */
}
EOF
${CC-cc} -o rtems_c_test $CFLAGS $CPPFLAGS $LDFLAGS rtems_c_test.c $LIBS 1>&5
rtems_cv_exeext=`echo rtems_c_test.* | grep -v rtems_c_test.c | sed -e s/rtems_c_test//`
rm -f rtems_c_test*])
test x"${rtems_cv_exeext}" = x && rtems_cv_exeext=no
fi
EXEEXT=""
test x"${rtems_cv_exeext}" != xno && EXEEXT=${rtems_cv_exeext}
AC_MSG_RESULT(${rtems_cv_exeext})
AC_SUBST(EXEEXT)])
dnl
dnl $Id$
dnl
dnl Check for System V IPC calls used by Unix simulators
dnl
dnl 98/07/17 Dario Alcocer alcocer@netcom.com
dnl Ralf Corsepius corsepiu@faw.uni-ulm.de
dnl
dnl Note: $host_os should probably *not* ever be used here to
dnl determine if host supports System V IPC calls, since some
dnl (e.g. FreeBSD 2.x) are configured by default to include only
dnl a subset of the System V IPC calls. Therefore, to make sure
dnl all of the required calls are found, test for each call explicitly.
dnl
dnl All of the calls use IPC_PRIVATE, so tests will not unintentionally
dnl modify any existing key sets. See the man pages for semget, shmget,
dnl msgget, semctl, shmctl and msgctl for details.
AC_DEFUN(RTEMS_SYSV_SEM,
[AC_REQUIRE([RTEMS_PROG_CC])
AC_REQUIRE([AC_CANONICAL_HOST])
AC_CACHE_CHECK(whether $RTEMS_HOST supports System V semaphores,
rtems_cv_sysv_sem,
[
AC_TRY_RUN([
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/sem.h>
int main () {
#if !defined(sun)
union semun arg ;
#else
union semun {
int val;
struct semid_ds *buf;
ushort *array;
} arg;
#endif
int id=semget(IPC_PRIVATE,1,IPC_CREAT|0400);
if (id == -1)
exit(1);
arg.val = 0; /* avoid implicit type cast to union */
if (semctl(id, 0, IPC_RMID, arg) == -1)
exit(1);
exit(0);
}
],
rtems_cv_sysv_sem="yes", rtems_cv_sysv_sem="no", :)
])
])
AC_DEFUN(RTEMS_SYSV_SHM,
[AC_REQUIRE([RTEMS_PROG_CC])
AC_REQUIRE([AC_CANONICAL_HOST])
AC_CACHE_CHECK(whether $RTEMS_HOST supports System V shared memory,
rtems_cv_sysv_shm,
[
AC_TRY_RUN([
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>
int main () {
int id=shmget(IPC_PRIVATE,1,IPC_CREAT|0400);
if (id == -1)
exit(1);
if (shmctl(id, IPC_RMID, 0) == -1)
exit(1);
exit(0);
}
],
rtems_cv_sysv_shm="yes", rtems_cv_sysv_shm="no", :)
])
])
AC_DEFUN(RTEMS_SYSV_MSG,
[AC_REQUIRE([RTEMS_PROG_CC])
AC_REQUIRE([AC_CANONICAL_HOST])
AC_CACHE_CHECK(whether $RTEMS_HOST supports System V messages,
rtems_cv_sysv_msg,
[
AC_TRY_RUN([
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/msg.h>
int main () {
int id=msgget(IPC_PRIVATE,IPC_CREAT|0400);
if (id == -1)
exit(1);
if (msgctl(id, IPC_RMID, 0) == -1)
exit(1);
exit(0);
}
],
rtems_cv_sysv_msg="yes", rtems_cv_sysv_msg="no", :)
])
])
dnl
dnl $Id$
dnl
dnl RTEMS_CHECK_MAKEFILE(path)
dnl Search for Makefile.in's within the directory starting
dnl at path and append an entry for Makefile to global variable
dnl "makefiles" (from configure.in) for each Makefile.in found
dnl
AC_DEFUN(RTEMS_CHECK_MAKEFILE,
[RTEMS_CHECK_FILES_IN($1,Makefile,makefiles)
])
dnl
dnl $Id$
dnl
dnl RTEMS_CHECK_FILES_IN(path,file,var)
dnl path .. path relative to srcdir, where to start searching for files
dnl file .. name of the files to search for
dnl var .. shell variable to append files found
AC_DEFUN(RTEMS_CHECK_FILES_IN,
[
AC_MSG_CHECKING(for $2.in in $1)
if test -d $srcdir/$1; then
rtems_av_save_dir=`pwd`;
cd $srcdir;
rtems_av_tmp=`find $1 -name "$2.in" -print | sed "s/$2\.in/%/" | sort | sed "s/%/$2/"`
$3="$$3 $rtems_av_tmp";
cd $rtems_av_save_dir;
AC_MSG_RESULT(done)
else
AC_MSG_RESULT(no)
fi
])

22
aclocal/bsp-alias.m4 Normal file
View File

@@ -0,0 +1,22 @@
dnl
dnl $Id$
dnl
dnl RTEMS_BSP_ALIAS(BSP_ALIAS,BSP_RETURNED)
dnl convert a bsp alias $1 into its bsp directory $2
AC_DEFUN(RTEMS_BSP_ALIAS,
[
# account for "aliased" bsps which share source code
case $1 in
mcp750) $2=motorola_powerpc ;; # Motorola PPC board variant
mvme2307) $2=motorola_powerpc ;; # Motorola PPC board variant
mvme162lx) $2=mvme162 ;; # m68k - mvme162 board variant
gen68360_040) $2=gen68360 ;; # m68k - 68360 in companion mode
p4600) $2=p4000 ;; # mips64orion - p4000 board w/IDT 4600
p4650) $2=p4000 ;; # mips64orion - p4000 board w/IDT 4650
pc486) $2=pc386 ;; # i386 - PC with i486DX
pc586) $2=pc386 ;; # i386 - PC with Pentium
pc686) $2=pc386 ;; # i386 - PC with PentiumPro
*) $2=$1;;
esac
])

27
aclocal/canonical-host.m4 Normal file
View File

@@ -0,0 +1,27 @@
dnl $Id$
AC_DEFUN(RTEMS_CANONICAL_HOST,
[dnl
AC_REQUIRE([AC_CANONICAL_HOST])
RTEMS_HOST=$host_os
changequote(,)dnl
case "${target}" in
# hpux unix port should go here
i[34567]86-*linux*) # unix "simulator" port
RTEMS_HOST=Linux
;;
i[34567]86-*freebsd*) # unix "simulator" port
RTEMS_HOST=FreeBSD
;;
i[34567]86-pc-cygwin*) # Cygwin is just enough unix like :)
RTEMS_HOST=Cygwin
;;
sparc-sun-solaris*) # unix "simulator" port
RTEMS_HOST=Solaris
;;
*)
;;
esac
changequote([,])dnl
AC_SUBST(RTEMS_HOST)
])dnl

View File

@@ -2,16 +2,39 @@ dnl
dnl $Id$
dnl
dnl canonicalize target name
dnl canonicalize target cpu
dnl NOTE: Most rtems targets do not fullfil autoconf's
dnl target naming conventions "processor-vendor-os"
dnl Therefore autoconf's AC_CANONICAL_TARGET will fail for them
dnl and we have to fix it for rtems ourselves
AC_DEFUN(RTEMS_CANONICAL_TARGET_CPU,
[AC_MSG_CHECKING(rtems target cpu)
changequote(<<, >>)dnl
target_cpu=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
changequote([, ])dnl
AC_MSG_RESULT($target_cpu)
[
AC_CANONICAL_SYSTEM
AC_MSG_CHECKING(rtems target cpu)
changequote(,)dnl
case "${target}" in
# hpux unix port should go here
i[34567]86-*linux*) # unix "simulator" port
RTEMS_CPU=unix
;;
i[34567]86-*freebsd*) # unix "simulator" port
RTEMS_CPU=unix
;;
i[34567]86-pc-cygwin*) # Cygwin is just enough unix like :)
RTEMS_CPU=unix
;;
no_cpu-*rtems*)
RTEMS_CPU=no_cpu
;;
sparc-sun-solaris*) # unix "simulator" port
RTEMS_CPU=unix
;;
*)
RTEMS_CPU=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
;;
esac
changequote([,])dnl
AC_SUBST(RTEMS_CPU)
AC_MSG_RESULT($RTEMS_CPU)
])

View File

@@ -12,16 +12,8 @@ dnl 98/02/12 Ralf Corsepius (corsepiu@faw.uni-ulm.de)
dnl
AC_DEFUN(RTEMS_GCC_PRINT,
[ case $host_os in
*cygwin32*)
dnl FIXME: Hack for cygwin/egcs reporting mixed '\\' and '/'
dnl Should be removed once cygwin/egcs reports '/' only
$1=`$CC_FOR_TARGET --print-prog-name=$2 | sed -e 's%\\\\%/%g' `
;;
*)
[
$1=`$CC_FOR_TARGET --print-prog-name=$2`
;;
esac
])
AC_DEFUN(RTEMS_PATH_TOOL,
@@ -55,7 +47,7 @@ else
*) # invalid for AC_PATH_PROG
AC_MSG_RESULT("no")
AC_MSG_ERROR([***]
[Environment variable $1 should ether]
[Environment variable $1 should either]
[be unset (preferred) or contain an absolute path])
;;
esac
@@ -86,11 +78,12 @@ dnl special treatment of ranlib
else
AC_MSG_ERROR([***]
[Can't figure out how to build a library index]
[Nether ranlib nor ar -s seem to be available] )
[Neither ranlib nor ar -s seem to be available] )
fi
fi
dnl NOTE: These may not be available if not using gnutools
RTEMS_PATH_TOOL(OBJCOPY_FOR_TARGET,objcopy,no)
RTEMS_PATH_TOOL(SIZE_FOR_TARGET,size,no)
RTEMS_PATH_TOOL(STRIP_FOR_TARGET,strip,no)
])

View File

@@ -0,0 +1,17 @@
dnl $Id$
dnl RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
AC_DEFUN(RTEMS_CHECK_BSP_CACHE,
[
AC_REQUIRE([RTEMS_CHECK_CPU])dnl sets RTEMS_CPU, target
AC_REQUIRE([RTEMS_ENV_RTEMSBSP])dnl set RTEMS_BSP
AC_REQUIRE([RTEMS_TOP])dnl sets RTEMS_TOPdir
AC_CACHE_CHECK("for RTEMS_CPU_MODEL", rtems_cv_RTEMS_CPU_MODEL,
. $RTEMS_TOPdir/c/[$]$1/make/[$]$1.cache)
RTEMS_CPU_MODEL=$rtems_cv_RTEMS_CPU_MODEL
AC_SUBST(RTEMS_CPU_MODEL)
AC_CACHE_CHECK("for RTEMS_BSP_FAMILY", rtems_cv_RTEMS_BSP_FAMILY,
. $RTEMS_TOPdir/c/[$]$1/make/[$]$1.cache)
RTEMS_BSP_FAMILY=$rtems_cv_RTEMS_BSP_FAMILY
AC_SUBST(RTEMS_BSP_FAMILY)
])dnl

46
aclocal/check-bsps.m4 Normal file
View File

@@ -0,0 +1,46 @@
dnl $Id$
dnl Report all available bsps for a target,
dnl check if a bsp-subdirectory is present for all bsps found
dnl
dnl RTEMS_CHECK_BSPS(bsp_list)
AC_DEFUN(RTEMS_CHECK_BSPS,
[
AC_REQUIRE([RTEMS_CHECK_CPU])dnl sets RTEMS_CPU, target
AC_REQUIRE([RTEMS_TOP])dnl sets RTEMS_TOPdir
AC_MSG_CHECKING([for bsps])
files=`ls $srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU`
for file in $files; do
case $file in
shared*);;
Makefile*);;
READ*);;
CVS*);;
pxfl*);;
ac*);;
config*);;
# Now account for BSPs with build variants
gen68360) rtems_bsp="$rtems_bsp gen68360 gen68360_040";;
p4000) rtems_bsp="$rtems_bsp p4600 p4650";;
mvme162) rtems_bsp="$rtems_bsp mvme162 mvme162lx";;
motorola_powerpc) rtems_bsp="$rtems_bsp mvme2307 mcp750";;
pc386) rtems_bsp="$rtems_bsp pc386 pc486 pc586 pc686";;
*) $1="[$]$1 $file";;
esac;
done
dnl ;;
dnl esac
AC_MSG_RESULT([[$]$1 .. done])
])dnl
AC_DEFUN(RTEMS_CHECK_CUSTOM_BSP,
[dnl
AC_REQUIRE([RTEMS_TOP])
AC_MSG_CHECKING([for make/custom/[$]$1.cfg])
if test -r "$srcdir/$RTEMS_TOPdir/make/custom/[$]$1.cfg"; then
AC_MSG_RESULT([yes])
else
AC_MSG_ERROR([no])
fi
])dnl

17
aclocal/check-cpu.m4 Normal file
View File

@@ -0,0 +1,17 @@
dnl $Id$
dnl check if RTEMS support a cpu
AC_DEFUN(RTEMS_CHECK_CPU,
[dnl
AC_REQUIRE([RTEMS_TOP])
AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])
# Is this a supported CPU?
AC_MSG_CHECKING([if cpu $RTEMS_CPU is supported])
if test -d "$srcdir/$RTEMS_TOPdir/c/src/exec/score/cpu/$RTEMS_CPU"; then
AC_MSG_RESULT(yes)
else
AC_MSG_ERROR(no)
fi
])dnl

21
aclocal/check-cxx.m4 Normal file
View File

@@ -0,0 +1,21 @@
dnl $Id$
dnl
AC_DEFUN(RTEMS_CHECK_CXX,
[dnl
AC_REQUIRE([RTEMS_CHECK_CPU])dnl
AC_REQUIRE([RTEMS_PROG_CC_FOR_TARGET])dnl
AC_REQUIRE([RTEMS_PROG_CXX_FOR_TARGET])dnl
AC_CACHE_CHECK([whether to build rtems++],
rtems_cv_HAS_CPLUSPLUS,
[ if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
if test -n "$CXX_FOR_TARGET"; then
rtems_cv_HAS_CPLUSPLUS="yes"
else
rtems_cv_HAS_CPLUSPLUS="no"
fi
else
rtems_cv_HAS_CPLUSPLUS="no"
fi])
HAS_CPLUSPLUS="$rtems_cv_HAS_CPLUSPLUS";
AC_SUBST(HAS_CPLUSPLUS)dnl
])

View File

@@ -1,24 +0,0 @@
dnl
dnl $Id$
dnl
dnl RTEMS_CHECK_FILES_IN(path,file,var)
dnl path .. path relative to srcdir, where to start searching for files
dnl file .. name of the files to search for
dnl var .. shell variable to append files found
AC_DEFUN(RTEMS_CHECK_FILES_IN,
[
AC_MSG_CHECKING(for $2.in in $1)
if test -d $srcdir/$1; then
rtems_av_save_dir=`pwd`;
cd $srcdir;
rtems_av_tmp=`find $1 -name "$2.in" -print | sed "s/$2\.in/%/" | sort | sed "s/%/$2/"`
$3="$$3 $rtems_av_tmp";
cd $rtems_av_save_dir;
AC_MSG_RESULT(done)
else
AC_MSG_RESULT(no)
fi
])

29
aclocal/check-itron.m4 Normal file
View File

@@ -0,0 +1,29 @@
dnl $Id$
dnl
AC_DEFUN(RTEMS_CHECK_ITRON_API,
[dnl
AC_REQUIRE([RTEMS_CHECK_CPU])dnl
AC_REQUIRE([RTEMS_ENABLE_ITRON])dnl
AC_CACHE_CHECK([whether BSP supports libitron],
rtems_cv_HAS_ITRON_API,
[dnl
case "$RTEMS_CPU" in
unix*)
rtems_cv_HAS_ITRON_API="no"
;;
*)
if test "${RTEMS_HAS_ITRON_API}" = "yes"; then
rtems_cv_HAS_ITRON_API="yes";
else
rtems_cv_HAS_ITRON_API="disabled";
fi
;;
esac])
if test "$rtems_cv_HAS_ITRON_API" = "yes"; then
HAS_ITRON_API="yes";
else
HAS_ITRON_API="no";
fi
AC_SUBST(HAS_ITRON_API)dnl
])

View File

@@ -1,12 +0,0 @@
dnl
dnl $Id$
dnl
dnl RTEMS_CHECK_MAKEFILE(path)
dnl Search for Makefile.in's within the directory starting
dnl at path and append an entry for Makefile to global variable
dnl "makefiles" (from configure.in) for each Makefile.in found
dnl
AC_DEFUN(RTEMS_CHECK_MAKEFILE,
[RTEMS_CHECK_FILES_IN($1,Makefile,makefiles)
])

View File

@@ -0,0 +1,31 @@
dnl
dnl $Id$
dnl
AC_DEFUN(RTEMS_CHECK_MULTIPROCESSING,
[dnl
AC_REQUIRE([RTEMS_ENV_RTEMSBSP])dnl
AC_REQUIRE([RTEMS_TOP])dnl
AC_REQUIRE([RTEMS_CHECK_CPU])dnl
AC_REQUIRE([RTEMS_ENABLE_MULTIPROCESSING])dnl
AC_CACHE_CHECK([whether BSP supports multiprocessing],
rtems_cv_HAS_MP,
[dnl
RTEMS_BSP_ALIAS(${$1},bspdir)
if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}/${bspdir}/shmsupp"; then
if test "$RTEMS_HAS_MULTIPROCESSING" = "yes"; then
rtems_cv_HAS_MP="yes" ;
else
rtems_cv_HAS_MP="disabled";
fi
else
rtems_cv_HAS_MP="no";
fi])
if test "$rtems_cv_HAS_MP" = "yes"; then
HAS_MP="yes"
else
HAS_MP="no"
fi
AC_SUBST(HAS_MP)
])

View File

@@ -0,0 +1,29 @@
dnl $Id$
dnl
AC_DEFUN(RTEMS_CHECK_NETWORKING,
[dnl
AC_REQUIRE([RTEMS_CHECK_CPU])dnl
AC_REQUIRE([RTEMS_ENABLE_NETWORKING])dnl
AC_CACHE_CHECK([whether BSP supports networking],
rtems_cv_HAS_NETWORKING,
[dnl
case "$RTEMS_CPU" in
unix*)
rtems_cv_HAS_NETWORKING="no"
;;
*)
if test "${RTEMS_HAS_NETWORKING}" = "yes"; then
rtems_cv_HAS_NETWORKING="yes";
else
rtems_cv_HAS_NETWORKING="disabled";
fi
;;
esac])
if test "$rtems_cv_HAS_NETWORKING" = "yes"; then
HAS_NETWORKING="yes";
else
HAS_NETWORKING="no";
fi
AC_SUBST(HAS_NETWORKING)dnl
])

31
aclocal/check-newlib.m4 Normal file
View File

@@ -0,0 +1,31 @@
dnl $Id$
AC_DEFUN(RTEMS_CHECK_NEWLIB,
[dnl
AC_REQUIRE([RTEMS_PROG_CC_FOR_TARGET])dnl
AC_REQUIRE([RTEMS_CANONICALIZE_TOOLS])dnl
AC_CACHE_CHECK([for newlib],
rtems_cv_use_newlib,
[
rtems_save_CC=$CC
CC=$CC_FOR_TARGET
dnl some versions of newlib provide not_required_by_rtems
AC_TRY_LINK(
[extern int not_required_by_rtems() ;],
[not_required_by_rtems()],
rtems_cv_use_newlib="yes")
dnl older versions of newlib provided rtems_provides_crt0
if test -z "$rtems_cv_use_newlib"; then
AC_TRY_LINK(
[extern int rtems_provides_crt0 ;],
[rtems_provides_crt0 = 0],
rtems_cv_use_newlib="yes",
rtems_cv_use_newlib="no")
fi
CC=$rtems_save_CC])
RTEMS_USE_NEWLIB="$rtems_cv_use_newlib"
AC_SUBST(RTEMS_USE_NEWLIB)
])

30
aclocal/check-posix.m4 Normal file
View File

@@ -0,0 +1,30 @@
dnl $Id$
dnl
AC_DEFUN(RTEMS_CHECK_POSIX_API,
[dnl
AC_REQUIRE([RTEMS_ENV_RTEMSBSP])dnl
AC_REQUIRE([RTEMS_CHECK_CPU])dnl
AC_REQUIRE([RTEMS_ENABLE_POSIX])dnl
AC_CACHE_CHECK([whether BSP supports libposix],
rtems_cv_HAS_POSIX_API,
[dnl
case "$RTEMS_CPU" in
unix*)
rtems_cv_HAS_POSIX_API="no"
;;
*)
if test "${RTEMS_HAS_POSIX_API}" = "yes"; then
rtems_cv_HAS_POSIX_API="yes";
else
rtems_cv_HAS_POSIX_API="disabled";
fi
;;
esac])
if test "$rtems_cv_HAS_POSIX_API" = "yes"; then
HAS_POSIX_API="yes";
else
HAS_POSIX_API="no";
fi
AC_SUBST(HAS_POSIX_API)dnl
])

24
aclocal/check-rdbg.m4 Normal file
View File

@@ -0,0 +1,24 @@
dnl $Id$
dnl
AC_DEFUN(RTEMS_CHECK_RDBG,
[dnl
AC_REQUIRE([RTEMS_TOP])dnl
AC_REQUIRE([RTEMS_CHECK_CPU])dnl
AC_REQUIRE([RTEMS_CHECK_NETWORKING])dnl
AC_REQUIRE([RTEMS_ENABLE_RDBG])dnl
AC_CACHE_CHECK([whether BSP supports librdbg],
rtems_cv_HAS_RDBG,
[
if test -d "$srcdir/${RTEMS_TOPdir}/c/src/librdbg/src/${RTEMS_CPU}/${$1}";
then
rtems_cv_HAS_RDBG="yes" ;
elif test -d "$srcdir/${RTEMS_TOPdir}/c/src/librdbg/src/${RTEMS_CPU}/any";
then
rtems_cv_HAS_RDBG="yes" ;
else
rtems_cv_HAS_RDBG="no";
fi
])
HAS_RDBG="$rtems_cv_HAS_RDBG"
AC_SUBST(HAS_RDBG)
])

View File

@@ -1,21 +0,0 @@
dnl
dnl $Id$
dnl
dnl Detect the Cygwin32 environment (unix under Win32)
dnl
dnl 98/06/16 David Fiddes (D.J.Fiddes@hw.ac.uk)
dnl Hacked from automake-1.3
# Check to see if we're running under Cygwin32, without using
# AC_CANONICAL_*. If so, set output variable CYGWIN32 to "yes".
# Otherwise set it to "no".
dnl RTEMS_CYGWIN32()
AC_DEFUN(RTEMS_CYGWIN32,
[AC_CACHE_CHECK(for Cygwin32 environment, rtems_cv_cygwin32,
[AC_TRY_COMPILE(,[return __CYGWIN32__;],
rtems_cv_cygwin32=yes, rtems_cv_cygwin32=no)
rm -f conftest*])
CYGWIN32=
test "$rtems_cv_cygwin32" = yes && CYGWIN32=yes])

21
aclocal/enable-bare.m4 Normal file
View File

@@ -0,0 +1,21 @@
AC_DEFUN(RTEMS_ENABLE_BARE,
[
AC_ARG_ENABLE(bare-cpu-cflags,
[ --enable-bare-cpu-cflags specify a particular cpu cflag]
[ (bare bsp specific)],
[case "${enableval}" in
no) BARE_CPU_CFLAGS="" ;;
*) BARE_CPU_CFLAGS="${enableval}" ;;
esac],
[BARE_CPU_CFLAGS=""])
AC_ARG_ENABLE(bare-cpu-model,
[ --enable-bare-cpu-model specify a particular cpu model]
[ (bare bsp specific)],
[case "${enableval}" in
no) BARE_CPU_MODEL="" ;;
*) BARE_CPU_MODEL="${enableval}" ;;
esac],
[BARE_CPU_MODEL=""])
])

13
aclocal/enable-cxx.m4 Normal file
View File

@@ -0,0 +1,13 @@
dnl $Id$
AC_DEFUN(RTEMS_ENABLE_CXX,
[
AC_ARG_ENABLE(cxx,
[ --enable-cxx enable C++ support,]
[ and build the rtems++ library],
[case "${enableval}" in
yes) RTEMS_HAS_CPLUSPLUS=yes ;;
no) RTEMS_HAS_CPLUSPLUS=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-cxx option) ;;
esac], [RTEMS_HAS_CPLUSPLUS=no])
])

12
aclocal/enable-gcc28.m4 Normal file
View File

@@ -0,0 +1,12 @@
dnl $Id$
AC_DEFUN(RTEMS_ENABLE_GCC28,
[
AC_ARG_ENABLE(gcc28,
[ --enable-gcc28 enable use of gcc 2.8.x features],
[case "${enableval}" in
yes) RTEMS_USE_GCC272=no ;;
no) RTEMS_USE_GCC272=yes ;;
*) AC_MSG_ERROR(bad value ${enableval} for gcc-28 option) ;;
esac],[RTEMS_USE_GCC272=no])
])

15
aclocal/enable-hwapi.m4 Normal file
View File

@@ -0,0 +1,15 @@
dnl $Id$
dnl
dnl FIXME: this needs to be reworked
AC_DEFUN(RTEMS_ENABLE_HWAPI,
[dnl
AC_ARG_ENABLE(hwapi, \
[ --enable-hwapi enable hardware API library],
[case "${enableval}" in
yes) RTEMS_HAS_HWAPI=yes ;;
no) RTEMS_HAS_HWAPI=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for hwapi option) ;;
esac],[RTEMS_HAS_HWAPI=no])
AC_SUBST(RTEMS_HAS_HWAPI)dnl
])dnl

13
aclocal/enable-inlines.m4 Normal file
View File

@@ -0,0 +1,13 @@
dnl $Id$
AC_DEFUN(RTEMS_ENABLE_INLINES,
[AC_ARG_ENABLE(rtems-inlines,
[ --enable-rtems-inlines enable RTEMS inline functions]
[ (default:enabled, disable to use macros)],
[case "${enableval}" in
yes) RTEMS_USE_MACROS=no ;;
no) RTEMS_USE_MACROS=yes ;;
*) AC_MSG_ERROR(bad value ${enableval} for disable-rtems-inlines option) ;;
esac],[RTEMS_USE_MACROS=no])
AC_SUBST(RTEMS_USE_MACROS)dnl
])

35
aclocal/enable-itron.m4 Normal file
View File

@@ -0,0 +1,35 @@
dnl $Id$
AC_DEFUN(RTEMS_ENABLE_ITRON,
[
## AC_BEFORE([$0], [RTEMS_CHECK_ITRON_API])dnl
AC_ARG_ENABLE(itron,
[ --enable-itron enable itron interface],
[case "${enableval}" in
yes) RTEMS_HAS_ITRON_API=yes ;;
no) RTEMS_HAS_ITRON_API=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-itron option) ;;
esac],[RTEMS_HAS_ITRON_API=yes])
changequote(,)dnl
case "${target}" in
# hpux unix port should go here
i[34567]86-pc-linux*) # unix "simulator" port
RTEMS_HAS_ITRON_API=no
;;
i[34567]86-*freebsd*) # unix "simulator" port
RTEMS_HAS_ITRON_API=no
;;
no_cpu-*rtems*)
RTEMS_HAS_ITRON_API=no
;;
sparc-sun-solaris*) # unix "simulator" port
RTEMS_HAS_ITRON_API=no
;;
*)
;;
esac
changequote([,])dnl
AC_SUBST(RTEMS_HAS_ITRON_API)
])

10
aclocal/enable-libcdir.m4 Normal file
View File

@@ -0,0 +1,10 @@
dnl $Id$
AC_DEFUN(RTEMS_ENABLE_LIBCDIR,
[
AC_ARG_ENABLE(libcdir,
[ --enable-libcdir=directory set the directory for the C library],
[ RTEMS_LIBC_DIR="${enableval}" ; \
test -d ${enableval} || AC_MSG_ERROR("$enableval is not a directory" ) ] )
AC_SUBST(RTEMS_LIBC_DIR)dnl
])

View File

@@ -0,0 +1,13 @@
dnl $Id$
AC_DEFUN(RTEMS_ENABLE_MULTIPROCESSING,
[
AC_ARG_ENABLE(multiprocessing,
[ --enable-multiprocessing enable multiprocessing interface],
[case "${enableval}" in
yes) RTEMS_HAS_MULTIPROCESSING=yes ;;
no) RTEMS_HAS_MULTIPROCESSING=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-multiprocessing option) ;;
esac],[RTEMS_HAS_MULTIPROCESSING=no])
AC_SUBST(RTEMS_HAS_MULTIPROCESSING)dnl
])

View File

@@ -0,0 +1,15 @@
dnl $Id$
AC_DEFUN(RTEMS_ENABLE_NETWORKING,
[
## AC_BEFORE([$0], [RTEMS_CHECK_NETWORKING])dnl
AC_ARG_ENABLE(networking,
[ --enable-networking enable TCP/IP stack],
[case "${enableval}" in
yes) RTEMS_HAS_NETWORKING=yes ;;
no) RTEMS_HAS_NETWORKING=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-networking option) ;;
esac],[RTEMS_HAS_NETWORKING=yes])
AC_SUBST(RTEMS_HAS_NETWORKING)dnl
])

35
aclocal/enable-posix.m4 Normal file
View File

@@ -0,0 +1,35 @@
dnl $Id$
AC_DEFUN(RTEMS_ENABLE_POSIX,
[
## AC_BEFORE([$0], [RTEMS_CHECK_POSIX_API])dnl
AC_ARG_ENABLE(posix,
[ --enable-posix enable posix interface],
[case "${enableval}" in
yes) RTEMS_HAS_POSIX_API=yes ;;
no) RTEMS_HAS_POSIX_API=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-posix option) ;;
esac],[RTEMS_HAS_POSIX_API=yes])
changequote(,)dnl
case "${target}" in
# hpux unix port should go here
i[34567]86-pc-linux*) # unix "simulator" port
RTEMS_HAS_POSIX_API=no
;;
i[34567]86-*freebsd*) # unix "simulator" port
RTEMS_HAS_POSIX_API=no
;;
no_cpu-*rtems*)
RTEMS_HAS_POSIX_API=no
;;
sparc-sun-solaris*) # unix "simulator" port
RTEMS_HAS_POSIX_API=no
;;
*)
;;
esac
changequote([,])dnl
AC_SUBST(RTEMS_HAS_POSIX_API)
])

15
aclocal/enable-rdbg.m4 Normal file
View File

@@ -0,0 +1,15 @@
dnl $Id$
AC_DEFUN(RTEMS_ENABLE_RDBG,
[
AC_BEFORE([$0], [RTEMS_CHECK_RDBG])dnl
AC_ARG_ENABLE(rdbg,
[ --enable-rdbg enable remote debugger],
[case "${enableval}" in
yes) RTEMS_HAS_RDBG=yes ;;
no) RTEMS_HAS_RDBG=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-rdbg option) ;;
esac],[RTEMS_HAS_RDBG=no])
AC_SUBST(RTEMS_HAS_RDBG)dnl
])

View File

@@ -0,0 +1,36 @@
dnl $Id$
dnl Override the set of BSPs to be built.
dnl used by the toplevel configure script
dnl RTEMS_ENABLE_RTEMSBSP(rtems_bsp_list)
AC_DEFUN(RTEMS_ENABLE_RTEMSBSP,
[
AC_BEFORE([$0], [RTEMS_ENV_RTEMSBSP])dnl
AC_ARG_ENABLE(rtemsbsp,
[ --enable-rtemsbsp=bsp1 bsp2 .. BSPs to include in build],
[case "${enableval}" in
yes|no) AC_MSG_ERROR([missing argument to --enable-rtemsbsp=\"bsp1 bsp2\"]);;
*) $1=$enableval;;
esac],[$1=""])
])
dnl Pass a single BSP via an environment variable
dnl used by per BSP configure scripts
AC_DEFUN(RTEMS_ENV_RTEMSBSP,
[dnl
AC_BEFORE([$0], [RTEMS_ENABLE_RTEMSBSP])dnl
AC_BEFORE([$0], [RTEMS_PROJECT_ROOT])dnl
AC_BEFORE([$0], [RTEMS_CHECK_CUSTOM_BSP])dnl
AC_MSG_CHECKING([for RTEMS_BSP])
AC_CACHE_VAL(rtems_cv_RTEMS_BSP,
[dnl
test -n "${RTEMS_BSP}" && rtems_cv_RTEMS_BSP="$RTEMS_BSP";
])dnl
if test -z "$rtems_cv_RTEMS_BSP"; then
AC_MSG_ERROR([Missing RTEMS_BSP])
fi
RTEMS_BSP="$rtems_cv_RTEMS_BSP"
AC_MSG_RESULT(${RTEMS_BSP})
AC_SUBST(RTEMS_BSP)
])

15
aclocal/enable-tests.m4 Normal file
View File

@@ -0,0 +1,15 @@
dnl $Id$
AC_DEFUN(RTEMS_ENABLE_TESTS,
[
# If the tests are enabled, then find all the test suite Makefiles
AC_MSG_CHECKING([if the test suites are enabled? ])
AC_ARG_ENABLE(tests,
[ --enable-tests enable tests (default:disabled)],
[case "${enableval}" in
yes) tests_enabled=yes ;;
no) tests_enabled=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for tests option) ;;
esac], [tests_enabled=no])
AC_MSG_RESULT([$tests_enabled])
])

View File

@@ -1,38 +0,0 @@
dnl
dnl $Id$
dnl
dnl Set the EXE extension
dnl
dnl 98/06/16 David Fiddes (D.J.Fiddes@hw.ac.uk)
dnl Hacked from automake-1.3
# Check to see if we're running under Win32, without using
# AC_CANONICAL_*. If so, set output variable EXEEXT to ".exe".
# Otherwise set it to "".
dnl RTEMS_EXEEXT()
dnl This knows we add .exe if we're building in the Cygwin32
dnl environment. But if we're not, then it compiles a test program
dnl to see if there is a suffix for executables.
AC_DEFUN(RTEMS_EXEEXT,
[AC_REQUIRE([RTEMS_CYGWIN32])
AC_MSG_CHECKING([for executable suffix])
AC_CACHE_VAL(rtems_cv_exeext,
[if test "$CYGWIN32" = yes; then
rtems_cv_exeext=.exe
else
cat > rtems_c_test.c << 'EOF'
int main() {
/* Nothing needed here */
}
EOF
${CC-cc} -o rtems_c_test $CFLAGS $CPPFLAGS $LDFLAGS rtems_c_test.c $LIBS 1>&5
rtems_cv_exeext=`echo rtems_c_test.* | grep -v rtems_c_test.c | sed -e s/rtems_c_test//`
rm -f rtems_c_test*])
test x"${rtems_cv_exeext}" = x && rtems_cv_exeext=no
fi
EXEEXT=""
test x"${rtems_cv_exeext}" != xno && EXEEXT=${rtems_cv_exeext}
AC_MSG_RESULT(${rtems_cv_exeext})
AC_SUBST(EXEEXT)])

View File

@@ -3,8 +3,6 @@ dnl $Id$
dnl
dnl Check whether the target compiler accepts -pipe
dnl
dnl 98/02/11 Ralf Corsepius corsepiu@faw.uni-ulm.de
dnl
AC_DEFUN(RTEMS_GCC_PIPE,
[AC_REQUIRE([RTEMS_PROG_CC])
@@ -13,17 +11,11 @@ AC_CACHE_CHECK(whether $CC_FOR_TARGET accepts --pipe,rtems_cv_gcc_pipe,
[
rtems_cv_gcc_pipe=no
if test "$rtems_cv_prog_gcc" = "yes"; then
case "$host_os" in
cygwin32*)
;;
*)
echo 'void f(){}' >conftest.c
if test -z "`${CC_FOR_TARGET} --pipe -c conftest.c 2>&1`";then
rtems_cv_gcc_pipe=yes
fi
rm -f conftest*
;;
esac
fi
])
])

View File

@@ -3,8 +3,6 @@ dnl $Id$
dnl
dnl Check whether the target compiler accepts -specs
dnl
dnl 98/02/11 Ralf Corsepius corsepiu@faw.uni-ulm.de
dnl
AC_DEFUN(RTEMS_GCC_SPECS,
[AC_REQUIRE([RTEMS_PROG_CC])

View File

@@ -6,7 +6,7 @@ dnl check for i386 gas supporting 16 bit mode
dnl - binutils 2.9.1.0.7 and higher
AC_DEFUN(RTEMS_I386_GAS_CODE16,
if test "${target_cpu}" = "i386"; then
[ if test "${target_cpu}" = "i386"; then
AC_CACHE_CHECK([for 16 bit mode assembler support],
rtems_cv_prog_gas_code16,
[cat > conftest.s << EOF
@@ -22,5 +22,6 @@ EOF
fi])
RTEMS_GAS_CODE16="$rtems_cv_prog_gas_code16"
fi
)
AC_SUBST(RTEMS_GAS_CODE16)
])

View File

@@ -1,41 +0,0 @@
dnl
dnl $Id$
dnl
dnl macro to detect mkdir
AC_DEFUN(RTEMS_PATH_MKDIR,
[AC_PATH_PROG(MKDIR,mkdir)
])
dnl macro to check for mkdir -p
AC_DEFUN(RTEMS_PROG_MKDIR_P,
[
AC_REQUIRE([RTEMS_PATH_MKDIR])
AC_MSG_CHECKING([for working $MKDIR -p])
AC_CACHE_VAL(rtems_cv_prog_mkdir_p,
[rm -rf conftestdata
if $MKDIR -p conftestdata 2>/dev/null ;then
rtems_cv_prog_MKDIR_P="yes"
else
rtems_cv_prog_MKDIR_P="no"
fi])dnl
rm -rf conftestdata
AC_MSG_RESULT($rtems_cv_prog_MKDIR_P)
])
dnl macro to check for mkdir -m 0755
AC_DEFUN(RTEMS_PROG_MKDIR_M,
[
AC_REQUIRE([RTEMS_PATH_MKDIR])
AC_MSG_CHECKING([for working $MKDIR -m 0755])
AC_CACHE_VAL(rtems_cv_prog_MKDIR_P,
[rm -rf conftestdata
if $MKDIR -m 0775 conftestdata 2>/dev/null; then
rtems_cv_prog_MKDIR_M="yes"
else
rtems_cv_prog_MKDIR_M="no"
fi])dnl
rm -rf conftestdata
AC_MSG_RESULT($rtems_cv_prog_MKDIR_M)
])

14
aclocal/path-ksh.m4 Normal file
View File

@@ -0,0 +1,14 @@
dnl $Id$
AC_DEFUN(RTEMS_PATH_KSH,
[
dnl NOTE: prefer bash over ksh over sh
AC_PATH_PROGS(KSH,bash ksh sh)
if test -z "$KSH"; then
dnl NOTE: This cannot happen -- /bin/sh must always exist
AC_MSG_ERROR(
[***]
[ Cannot determine a usable shell bash/ksh/sh]
[ Please contact your system administrator] );
fi
])

12
aclocal/path-perl.m4 Normal file
View File

@@ -0,0 +1,12 @@
dnl $Id$
AC_DEFUN(RTEMS_PATH_PERL,
[
AC_PATH_PROG(PERL,perl)
if test -z "$PERL" ; then
AC_MSG_WARN(
[***]
[ perl was not found]
[ Note: Some tools will not be built.])
fi
])

View File

@@ -10,7 +10,9 @@ AC_DEFUN(RTEMS_PROG_CC,
[
AC_BEFORE([$0], [AC_PROG_CPP])dnl
AC_BEFORE([$0], [AC_PROG_CC])dnl
AC_BEFORE([$0], [RTEMS_CANONICALIZE_TOOLS])dnl
AC_REQUIRE([RTEMS_TOOL_PREFIX])dnl
AC_REQUIRE([RTEMS_ENABLE_LIBCDIR])dnl
dnl Only accept gcc and cc
dnl NOTE: This might be too restrictive for native compilation
@@ -63,3 +65,28 @@ unset ac_cv_prog_cc_g
unset ac_cv_prog_cc_works
unset ac_cv_prog_cc_cross
])
AC_DEFUN(RTEMS_PROG_CC_FOR_TARGET,
[
dnl check target cc
RTEMS_PROG_CC
dnl check if the compiler supports --specs
RTEMS_GCC_SPECS
dnl check if the target compiler may use --pipe
RTEMS_GCC_PIPE
dnl check if the compiler supports --specs if gcc28 is requested
if test "$RTEMS_USE_GCC272" != "yes" ; then
if test "$rtems_cv_gcc_specs" = "no"; then
AC_MSG_WARN([*** disabling --enable-gcc28])
RTEMS_USE_GCC272=yes
fi
fi
test "$rtems_cv_gcc_pipe" = "yes" && CC_FOR_TARGET="$CC_FOR_TARGET --pipe"
dnl FIXME: HACK for egcs/cygwin mixing '\\' and '/' in gcc -print-*
case $host_os in
*cygwin*) GCCSED="| sed 's%\\\\%/%g'" ;;
*) ;;
esac
AC_SUBST(GCCSED)
])

View File

@@ -10,7 +10,9 @@ AC_DEFUN(RTEMS_PROG_CXX,
[
AC_BEFORE([$0], [AC_PROG_CXXCPP])dnl
AC_BEFORE([$0], [AC_PROG_CXX])dnl
AC_BEFORE([$0], [RTEMS_CANONICALIZE_TOOLS])dnl
AC_REQUIRE([RTEMS_TOOL_PREFIX])dnl
AC_REQUIRE([RTEMS_ENABLE_LIBCDIR])dnl
dnl Only accept g++ and c++
dnl NOTE: This might be too restrictive for native compilation
@@ -62,4 +64,18 @@ unset ac_cv_prog_gxx
unset ac_cv_prog_cc_g
unset ac_cv_prog_cxx_works
unset ac_cv_prog_cxx_cross
dnl somehow autoconf macros leave this file
rm -f conftest.C
])
AC_DEFUN(RTEMS_PROG_CXX_FOR_TARGET,
[
RTEMS_PROG_CXX
if test "$rtems_cv_prog_cc_cross" != "$rtems_cv_prog_cxx_cross"; then
AC_MSG_ERROR([***]
[Inconsistency in compiler configuration:]
[Target C compiler and Target C++ compiler]
[must both either be cross compilers or native compilers]
[Hint: If building a posix bsp: LD_LIBRARY_PATH?] )
fi
])

27
aclocal/project-root.m4 Normal file
View File

@@ -0,0 +1,27 @@
dnl
dnl $Id$
dnl
AC_DEFUN(RTEMS_PROJECT_ROOT,
[dnl
AC_REQUIRE([RTEMS_TOP])
if test "$TARGET_SUBDIR" = "." ; then
PROJECT_ROOT=$RTEMS_TOPdir/'$(top_builddir)';
else
PROJECT_ROOT=../$RTEMS_TOPdir/'$(top_builddir)'
fi
AC_SUBST(PROJECT_ROOT)
RTEMS_ROOT=$RTEMS_TOPdir/'$(top_builddir)'/c/$RTEMS_BSP
AC_SUBST(RTEMS_ROOT)
PACKHEX="\$(PROJECT_ROOT)/tools/build/packhex"
AC_SUBST(PACKHEX)
PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
AC_SUBST(PROJECT_INCLUDE)
PROJECT_RELEASE="\$(PROJECT_ROOT)/$RTEMS_BSP"
AC_SUBST(PROJECT_RELEASE)
])

36
aclocal/rtems-top.m4 Normal file
View File

@@ -0,0 +1,36 @@
dnl $Id$
dnl
dnl RTEMS_TOP($1)
dnl
dnl $1 .. relative path from this configure.in to the toplevel configure.in
dnl
AC_DEFUN(RTEMS_TOP,
[dnl
AC_BEFORE([$0], [AC_CONFIG_AUX_DIR])dnl
AC_BEFORE([$0], [AM_INIT_AUTOMAKE])dnl
AC_ARG_WITH(target-subdir,
[ --with-target-subdir=DIR],
TARGET_SUBDIR="$withval",
TARGET_SUBDIR=".")
RTEMS_TOPdir="$1";
AC_SUBST(RTEMS_TOPdir)
dnl Determine RTEMS Version string from the VERSION file
dnl Hopefully, Joel never changes its format ;-
AC_MSG_CHECKING([for RTEMS Version])
if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then
changequote(,)dnl
RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \
sed -e 's%RTEMS[ ]*Version[ ]*\(.*\)[ ]*%\1%g'`
changequote([,])dnl
else
AC_MSG_ERROR(Unable to find ${RTEMS_TOPdir}/VERSION)
fi
if test -z "$RTEMS_VERSION"; then
AC_MSG_ERROR(Unable to determine version)
fi
AC_MSG_RESULT($RTEMS_VERSION)
])dnl

View File

@@ -16,26 +16,44 @@ dnl All of the calls use IPC_PRIVATE, so tests will not unintentionally
dnl modify any existing key sets. See the man pages for semget, shmget,
dnl msgget, semctl, shmctl and msgctl for details.
AC_DEFUN(RTEMS_UNION_SEMUN,
[
AC_CACHE_CHECK([whether $RTEMS_HOST defines union semun],
rtems_cv_HAS_UNION_SEMUN,
[AC_TRY_COMPILE([
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/sem.h>],
[union semun arg ;],
[rtems_cv_HAS_UNION_SEMUN="yes"],
[rtems_cv_HAS_UNION_SEMUN="no"])
if test "$rtems_cv_HAS_UNION_SEMUN" = "yes"; then
AC_DEFINE(HAS_UNION_SEMUN)
fi])
])
AC_DEFUN(RTEMS_SYSV_SEM,
[AC_REQUIRE([RTEMS_PROG_CC])
AC_REQUIRE([AC_CANONICAL_HOST])
[AC_REQUIRE([AC_PROG_CC])
AC_REQUIRE([RTEMS_CANONICAL_HOST])
AC_CACHE_CHECK(whether $RTEMS_HOST supports System V semaphores,
rtems_cv_sysv_sem,
[
AC_TRY_RUN([
AC_TRY_RUN(
[
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/sem.h>
int main () {
#if !defined(sun)
union semun arg ;
#else
#if !HAS_UNION_SEMUN
union semun {
int val;
struct semid_ds *buf;
ushort *array;
} arg;
} ;
#endif
int main () {
union semun arg ;
int id=semget(IPC_PRIVATE,1,IPC_CREAT|0400);
if (id == -1)
exit(1);
@@ -50,8 +68,8 @@ rtems_cv_sysv_sem="yes", rtems_cv_sysv_sem="no", :)
])
AC_DEFUN(RTEMS_SYSV_SHM,
[AC_REQUIRE([RTEMS_PROG_CC])
AC_REQUIRE([AC_CANONICAL_HOST])
[AC_REQUIRE([AC_PROG_CC])
AC_REQUIRE([RTEMS_CANONICAL_HOST])
AC_CACHE_CHECK(whether $RTEMS_HOST supports System V shared memory,
rtems_cv_sysv_shm,
[
@@ -73,8 +91,8 @@ rtems_cv_sysv_shm="yes", rtems_cv_sysv_shm="no", :)
])
AC_DEFUN(RTEMS_SYSV_MSG,
[AC_REQUIRE([RTEMS_PROG_CC])
AC_REQUIRE([AC_CANONICAL_HOST])
[AC_REQUIRE([AC_PROG_CC])
AC_REQUIRE([RTEMS_CANONICAL_HOST])
AC_CACHE_CHECK(whether $RTEMS_HOST supports System V messages,
rtems_cv_sysv_msg,
[
@@ -94,3 +112,22 @@ int main () {
rtems_cv_sysv_msg="yes", rtems_cv_sysv_msg="no", :)
])
])
AC_DEFUN(RTEMS_CHECK_SYSV_UNIX,
[AC_REQUIRE([RTEMS_CANONICAL_HOST])
if test "$RTEMS_CPU" = "unix" ; then
RTEMS_UNION_SEMUN
RTEMS_SYSV_SEM
if test "$rtems_cv_sysv_sem" != "yes" ; then
AC_MSG_ERROR([System V semaphores don't work, required by simulator])
fi
RTEMS_SYSV_SHM
if test "$rtems_cv_sysv_shm" != "yes" ; then
AC_MSG_ERROR([System V shared memory doesn't work, required by simulator])
fi
RTEMS_SYSV_MSG
if test "$rtems_cv_sysv_msg" != "yes" ; then
AC_MSG_ERROR([System V messages don't work, required by simulator])
fi
fi
])

129
aclocal/target.m4 Normal file
View File

@@ -0,0 +1,129 @@
dnl $Id$
AC_DEFUN(RTEMS_CONFIG_SUBDIRS,
[
define([RTEMS_TGT_SUBDIRS],
ifdef([RTEMS_TGT_SUBDIRS], [RTEMS_TGT_SUBDIRS ],)[$1])dnl
target_subdirs="RTEMS_TGT_SUBDIRS"
AC_SUBST(target_subdirs)
])
dnl This is a subroutine of AC_OUTPUT.
dnl It is called after running config.status.
dnl AC_OUTPUT_SUBDIRS(DIRECTORY...)
AC_DEFUN(RTEMS_OUTPUT_SUBDIRS,
[
if test "$no_recursion" != yes; then
if test $target_alias != $host_alias; then
target_subdir="$target_alias"
else
target_subdir="."
fi
# Remove --cache-file and --srcdir arguments so they do not pile up.
ac_sub_configure_args=
ac_prev=
for ac_arg in $ac_configure_args; do
if test -n "$ac_prev"; then
ac_prev=
continue
fi
case "$ac_arg" in
-cache-file | --cache-file | --cache-fil | --cache-fi \
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
ac_prev=cache_file ;;
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
;;
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
ac_prev=srcdir ;;
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
;;
*) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
esac
done
test -d $target_subdir || mkdir $target_subdir
for ac_config_dir in $1; do
# Do not complain, so a configure script can configure whichever
# parts of a large source tree are present.
if test ! -d $srcdir/$ac_config_dir; then
continue
fi
echo configuring in $target_subdir/$ac_config_dir
case "$srcdir" in
## .) ;;
*)
if test -d $target_subdir/$ac_config_dir || mkdir $target_subdir/$ac_config_dir; then :;
else
AC_MSG_ERROR(can not create `pwd`/$target_subdir/$ac_config_dir)
fi
;;
esac
ac_popdir=`pwd`
cd $target_subdir/$ac_config_dir
changequote(, )dnl
# A "../" for each directory in /$ac_config_dir.
ac_dots=`echo $target_subdir/$ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
changequote([, ])dnl
case "$srcdir" in
## .) # No --srcdir option. We are building in place.
## ac_sub_srcdir=$srcdir ;;
/*) # Absolute path.
ac_sub_srcdir=$srcdir/$ac_config_dir ;;
*) # Relative path.
ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
esac
# Check for guested configure; otherwise get Cygnus style configure.
if test -f $ac_sub_srcdir/configure; then
ac_sub_configure=$ac_sub_srcdir/configure
elif test -f $ac_sub_srcdir/configure.in; then
ac_sub_configure=$ac_configure
else
AC_MSG_WARN(no configuration information is in $ac_config_dir)
ac_sub_configure=
fi
# The recursion is here.
if test -n "$ac_sub_configure"; then
# Make the cache file name correct relative to the subdirectory.
if test "$target_alias" != "$host_alias"; then
ac_sub_cache_file=$cache_file
else
case "$cache_file" in
/*) ac_sub_cache_file=$cache_file ;;
*) # Relative path.
ac_sub_cache_file="$ac_dots$cache_file" ;;
esac
fi
ifdef([AC_PROVIDE_AC_PROG_INSTALL],
[ case "$ac_given_INSTALL" in
changequote(, )dnl
[/$]*) INSTALL="$ac_given_INSTALL" ;;
changequote([, ])dnl
*) INSTALL="$ac_dots$ac_given_INSTALL" ;;
esac
])dnl
echo "[running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file] --srcdir=$ac_sub_srcdir"
# The eval makes quoting arguments work.
if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure \
$ac_sub_configure_args --srcdir=$ac_sub_srcdir \
--with-target-subdir=$target_subdir --cache-file=$ac_sub_cache_file
then :
else
AC_MSG_ERROR($ac_sub_configure failed for $ac_config_dir)
fi
fi
cd $ac_popdir
done
fi
])

23
aclocal/tool-paths.m4 Normal file
View File

@@ -0,0 +1,23 @@
AC_DEFUN(RTEMS_TOOLPATHS,
[
# tooldir='$(exec_prefix)/'$target_alias
# Temporary work-around until building in source tree is supported
AC_REQUIRE([RTEMS_PROJECT_ROOT])
tooldir='$(PROJECT_ROOT)'
AC_SUBST(tooldir)
project_includedir='$(tooldir)'/include
AC_SUBST(project_includedir)
project_libdir='$(tooldir)/lib$(MULTISUBDIR)'
AC_SUBST(project_libdir)
project_bindir='$(tooldir)/bin'
AC_SUBST(project_bindir)
rtems_bspdir='$(prefix)/${RTEMS_BSP}'
AC_SUBST(rtems_bspdir)
rtems_makedir='$(prefix)/make'
AC_SUBST(rtems_makedir)
])

View File

@@ -10,11 +10,13 @@ AC_DEFUN(RTEMS_TOOL_PREFIX,
[AC_REQUIRE([AC_CANONICAL_TARGET])dnl
AC_REQUIRE([AC_CANONICAL_BUILD])dnl
if [[ "${program_prefix}" = "NONE" ]] ; then
if [[ "${target}" = "${host}" ]] ; then
changequote(,)dnl
if [ "${program_prefix}" = "NONE" ] ; then
if [ "${target}" = "${host}" ] ; then
program_prefix=
else
program_prefix=${target}-
fi
fi
changequote([,])dnl
])

122
bootstrap Executable file
View File

@@ -0,0 +1,122 @@
#!/bin/sh
#
# helps bootstrapping, when checked out from CVS
# requires GNU autoconf and GNU automake
#
# $Id$
# this is not meant to be exported outside the source tree
# NOTE: Inspired by libtool's autogen script
# to be run from the toplevel directory of RTEMS'
# source tree
progname=`basename $0`
top_srcdir=`dirname $0`
verbose="";
quiet="false"
mode="generate"
usage()
{
echo
echo "usage: ${progname} [-h|-q|-v]"
echo
echo "options:"
echo " -h .. display this message and exit";
echo " -q .. quiet, don't display directories";
echo " -v .. verbose, pass -v to automake when invoking automake"
echo " -c .. clean, remove all aclocal/autoconf/automake generated files"
echo
exit 1;
}
if test ! -f $top_srcdir/VERSION; then
echo "${progname}:"
echo " Installation problem: Can't find file VERSION"
exit 1;
fi
while test $# -gt 0; do
case $1 in
-h|--he|--hel|--help)
usage ;;
-q|--qu|--qui|--quie|--quiet)
quiet="true";
shift;;
-v|--ve|--ver|--verb|--verbo|--verbos|--verbose)
verbose="-v";
shift;;
-c|--cl|--cle|--clea|--clean)
mode="clean";
shift;;
-*) echo "unknown option $1" ;
usage ;;
*) echo "invalid parameter $1" ;
usage ;;
esac
done
case $mode in
generate)
case $top_srcdir in
/* ) aclocal_dir=$top_srcdir/aclocal
;;
*) aclocal_dir=`pwd`/$top_srcdir/aclocal
;;
esac
confs=`find . -name 'configure.in' -print`
for i in $confs; do
dir=`dirname $i`;
( test "$quiet" = "true" || echo "$dir";
cd $dir;
aclocal -I $aclocal_dir;
autoconf;
test -n "`grep CONFIG_HEADER configure.in`" && autoheader ;
test -f Makefile.am && automake $verbose ;
test -f Makefile.am && test -n "`grep 'stamp-h\.in' Makefile.in`" \
&& echo timestamp > stamp-h.in
)
done
;;
clean)
test "$quiet" = "true" || echo "removing automake generated Makefile.in files"
files=`find . -name 'Makefile.am' -print | sed -e 's%\.am%\.in%g'` ;
for i in $files; do if test -f $i; then
rm -f $i
test "$verbose" = "-v" && echo "$i"
fi; done
test "$quiet" = "true" || echo "removing configure files"
files=`find . -name 'configure' -print` ;
test "$verbose" = "-v" && test -n "$files" && echo "$files" ;
for i in $files; do if test -f $i; then
rm -f $i
test "$verbose" = "-v" && echo "$i"
fi; done
test "$quiet" = "true" || echo "removing aclocal.m4 files"
files=`find . -name 'aclocal.m4' -print` ;
test "$verbose" = "-v" && test -n "$files" && echo "$files" ;
for i in $files; do if test -f $i; then
rm -f $i
test "$verbose" = "-v" && echo "$i"
fi; done
find . -name '*~' -print | xargs rm -f
find . -name '*.orig' -print | xargs rm -f
find . -name '*.rej' -print | xargs rm -f
find . -name 'config.status' -print | xargs rm -f
find . -name 'config.log' -print | xargs rm -f
find . -name 'config.cache' -print | xargs rm -f
find . -name 'Makefile' -print | xargs rm -f
find . -name '.deps' -print | xargs rm -rf
find . -name '.libs' -print | xargs rm -rf
find . -name 'stamp-h.in' | xargs rm -rf
;;
esac

13
c/.cvsignore Normal file
View File

@@ -0,0 +1,13 @@
Makefile
Makefile.in
aclocal.m4
config.cache
config.guess
config.log
config.status
config.sub
configure
depcomp
install-sh
missing
mkinstalldirs

View File

@@ -120,7 +120,8 @@ The following persons/organizations have made contributions:
+ Ralf Corsepius (corsepiu@faw.uni-ulm.de) of the Research Institute for
Applied Knowledge Processing at the University of Ulm (FAW), Germany,
for numerous enhancements to the RTEMS autoconf support as well as
for the Hitachi SH port.
for the Hitachi SH port. His contributions are too many to list but
also include work on RPMs for RTEMS tools.
+ Dario Alcocer <alcocer@connectnet.com> submitted a port of the
RTEMS port to FreeBSD.
@@ -136,6 +137,37 @@ The following persons/organizations have made contributions:
Puchheim,Germany submitted some improvements to the PPC403
support and added the helas403 BSP.
+ Jay Monkman (jmonkman@frasca.com) of Frasca International, Inc
submitted the support for the Motorola MPC860 CPU including the
'eth_comm' BSP
+ Charles Gauthier <Charles.Gauthier@iit.nrc.ca> of the Institute for
Information Technology for the National Research Council of Canada
submitted the Motorola MVME167 BSP.
+ Tony Ambardar (tonya@ece.ubc.ca) at the University of British Columbia
ported RTEMS to the TS-1325 embedded PC from Technologic Systems
(http://www.t-systems.com), and provided patches to enable software
floating-point emulation for x86 targets.
+ Jay Kulpinski (jskulpin@eng01.gdds.com) of General Dynamics Defense
Systems (Pittsfield, MA) submitted a board support package for the
Motorola MVME230x PowerPC family, borrowing from the PSIM and MPC750
BSPs. This includes support for the Raven ASIC, DEC21140 ethernet,
16550 serial port, and MK48T59 NVRAM.
+ Eric Valette <valette@crf.canon.fr> and Emmanuel Raguet <raguet@crf.canon.fr>
of Canon CRF - Communication Dept for numerous submissions including
remote debugging on the i386 and PowerPC, port of RPC, port of the
GoAhead web server, BSP for the Motorola MCP750 PowerPC board, and
numerous improvements to the i386 and PowerPC ports of RTEMS
including a new enhanced interrupt management API that reduces
interrupt latency while making it easier to support external interrupt
controllers.
+ Mark Bronson <mark@ramix.com> of RAMIX for submitting i960RP
support and the rxgen960 board support package.
Finally, the RTEMS project would like to thank those who have contributed
to the other free software efforts which RTEMS utilizes. The primary RTEMS
development environment is from the Free Software Foundation (the GNU

42
c/Makefile.am Normal file
View File

@@ -0,0 +1,42 @@
##
## $Id$
##
AUTOMAKE_OPTIONS = foreign 1.4
ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
## NOTE: This Makefile.am is rather fragile to the value of RTEMS_BSP
## Esp. make clean and make distclean have unwanted side-effects
## if RTEMS_BSP is not properly set up.
RTEMS_BSP = $(RTEMS_BSP_LIST)
## The '.' in SUBDIRS ensures that local make-targets (xxx-am) will be
## triggered before $(RTEMS_BSP_LIST) subdirectories are made.
SUBDIRS = make . $(RTEMS_BSP)
## Use @RTEMS_BSP_LIST@ here, using $(RTEMS_BSP_LIST) would trigger
## this rule for invalid BSPs
@RTEMS_BSP_LIST@: src/configure
@set fnord $(MAKEFLAGS); amf=$$2; \
test -n "${RTEMS_BSP}" && for i in ${RTEMS_BSP}; do \
echo "Configuring RTEMS_BSP=$$i"; \
test -d $$i || mkdir $$i; \
( cd $$i && \
RTEMS_BSP=$$i $(rtems_bsp_configure) \
&& $(MAKE) $(AM_MAKEFLAGS) preinstall ) \
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done
## Let all RTEMS' make targets depend on ${RTEMS_BSP}
all-local: ${RTEMS_BSP}
preinstall-am: ${RTEMS_BSP}
depend-am: ${RTEMS_BSP}
## Pull in extra files intro the distribution
EXTRA_DIST = ACKNOWLEDGEMENTS README.DOS REQUIRES PROBLEMS TESTED README \
UPDATE_HELP
DIST_SUBDIRS = ${RTEMS_BSP}
## -------------------------------------------------------
include $(top_srcdir)/../automake/subdirs.am
include $(top_srcdir)/../automake/host.am

View File

@@ -1,133 +0,0 @@
#
# $Id$
#
# top level directory for RTEMS build tree
# This Makefile is *not* a good example of a directory Makefile.
#
@SET_MAKE@
srcdir = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
libdir = @libdir@
includedir = @includedir@
target = @target@
manext = 1
mandir = @mandir@/man$(manext)
program_prefix = @program_prefix@
VPATH = @srcdir@
RTEMS_ROOT = @top_srcdir@
PROJECT_ROOT = @PROJECT_ROOT@
include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
include $(RTEMS_ROOT)/make/directory.cfg
SUB_DIRS=build-tools src
# We only make the install point for the networking header files if needed.
LIBNETWORKING_yes_V = lib/include/networking lib/include/networking/sys \
lib/include/networking/machine lib/include/networking/rtems \
lib/include/networking/vm lib/include/networking/net \
lib/include/networking/netinet lib/include/networking/arpa \
lib/include/networking/nfs
LIBNETWORKING = $(LIBNETWORKING_$(HAS_NETWORKING)_V)
# We only make the rtems++ install point if it is enabled.
LIBRTEMSCPLUSPLUS_yes_V = lib/include/rtems++
LIBRTEMSCPLUSPLUS = $(LIBRTEMSCPLUSPLUS_$(HAS_CPLUSPLUS)_V)
# directories to be created in install point
CREATE_DIRS = \
lib lib/include lib/include/sys lib/include/rtems \
lib/include/rtems/score lib/include/rtems/rtems lib/include/rtems/posix \
lib/include/libc lib/include/libc/sys \
lib/include/motorola lib/include/zilog \
$(LIBNETWORKING) \
$(LIBRTEMSCPLUSPLUS) \
bin samples \
tests tests/screens tests/screens/sptests \
tests/screens/psxtests tests/screens/mptests \
tests/screens/mptests/node1 tests/screens/mptests/node2 \
build-tools update-tools
# Make all/install must include 'env'
# if something is added to TARGET_VARIANTS, then account for it here
make_src_makefiles: Makefile.in Makefile
-find . -name Makefile \
-exec grep -l "^preinstall" {} \; > make_src_makefiles.tmp
-grep tools make_src_makefiles.tmp > make_src_makefiles
-grep -v tools make_src_makefiles.tmp >> make_src_makefiles
-rm make_src_makefiles.tmp
pre_install_src: env make_src_makefiles
cd build-tools/scripts; $(MAKE)
@echo "Order of preinstall directories"
cat make_src_makefiles
@echo
CURRDIR=`pwd`; \
for i in `cat make_src_makefiles` ; do \
DIR=`dirname $$i`; \
cd $$DIR; \
$(MAKE) preinstall; \
cd $$CURRDIR; \
done
all: pre_install_src env
debug: pre_install_src env
profile: pre_install_src env
install: all install_files
debug_install: env debug install_files
profile_install: env profile install_files
debug_all: debug
profile_all: profile
# top level clean/clobber will delete the install points
clean_WRAPUP = $(MAKE) clean_wrapup
clobber_WRAPUP = $(MAKE) clean_wrapup
clean_wrapup: clean_tools clean_dirs clean_modules
.PHONY: dirs clean_wrapup clean_dirs clean_tools clean_modules env install
dirs:
-$(MKDIR) ${CREATE_DIRS:%=$(PROJECT_ROOT)/$(RTEMS_BSP)/%}
if test -d $(PROJECT_ROOT)/c/src/lib/libhwapi; then \
(cd $(PROJECT_ROOT)/c/src/lib/libhwapi ; $(MAKE) mkdirs) \
fi
distclean: clobber
clean_dirs:
$(RM) -r $(PROJECT_RELEASE)
clean_tools:
cd build-tools; $(MAKE) clean
$(PROJECT_ROOT)/$(RTEMS_BSP)/Makefile.inc: $(PROJECT_ROOT)/make/Templates/Makefile.inc
echo "RTEMS_BSP = $(RTEMS_BSP)" > $@
$(CAT) $< >> $@
# NOTE: The wildcard on the install should pick up everything except
# the tests directory. This significantly minimizes the install size.
install_files: $(PROJECT_ROOT)/$(RTEMS_BSP)/Makefile.inc
-$(MKDIR) $(prefix)/
-$(MKDIR) $(prefix)/rtems
-$(RM) -rf $(prefix)/rtems/$(RTEMS_BSP)
cd ../; tar cf - $(RTEMS_BSP)/[bilsuM]* | \
(cd $(prefix)/rtems; tar xpBf - )
cd ../make; $(MAKE) RTEMS_BSP=$(RTEMS_BSP) install
tests:
cd src/tests; $(MAKE) all
debug_tests: debug
cd src/tests; $(MAKE) debug
profile_tests: profile
cd src/tests; $(MAKE) profile
env: $(SRCS) dirs

View File

@@ -1,72 +0,0 @@
#
# $Id$
#
tools
-----
The RTEMS build procedure was designed with the capabilitiies of a
typical UNIX computer in mind. Making this procedure work under MS-DOS
is not that difficult but requires that MS-DOS versions of a number
of UNIX utilities be acquired and installed. For time being, the
best advice which can be offered is:
"This is a nasty question, since when I first set up the DOS machine
(long before I acquired RTEMS) I ftp'd a bunch of different tool
sets (all from SimTel), and then picked individual tools from each
set that worked best for me. The djgpp tools are probably a good
starting point, especially to get a working sed. Next the gnu tools
in SimTel/msdos/gnuish, and then others. Sorry I can't give you more
specific names. The only real requirement for the tools is that
they *must* accept redirection of command line arguments from a file
using the '@' notation (i.e., "mkdir @/tmp/args" reads the argument
list from file /tmp/args)."
There is a special version (source and executable) of GNU make 3.71 for
MS-DOS which minimizes the amount of memory used by recursive makes
available on lancelot.gcs.redstone.army.mil in the file:
/pub/msdos/gmake371.tgz
Many of the RTEMS specific utilities used in the build and installation
are UNIX shell scripts. On a UNIX host, these are normally interpreted
by the Bourne Again Shell (BASH) or the Korn Shell (ksh). Most of these
scripts can be successfully executed with the following shell from the
MS-DOS archives from Simtel.
SimTel/msdos/sysutil/ms_sh23b.zip
Please be sure to use the 16-bit version. The Simtel archives are
available from ftp.cdrom.com as well as a number of mirror sites.
go32
----
go32 dumps the stack when a program seg-faults, and if this happens while
on an alternate stack an infinite loop can ensue. Setting the environment
variable GO32="core /tmp/core" will prevent more than 20 lines or
so of stack information from being dumped after a crash, and the output
will go to a file rather than the screen.
The go32 debuggers get confused by the relocated stacks used by tasks,
and tend to crash when variables are inspected.
djgcc include files
-------------------
In general, we use RTEMS include files because these contain the proper
declarations for the libc, and in particular, the stdio functions.
When calling go32-specific functions it is necessary to include some
djgpp include files, as well. Unfortunately, there are some disagreements
between RTEMS and djgpp as to how certain functions and types are
declared. In these cases, the RTEMS source have been modified to
special-case the differences.
other
-----
* Pressing F12 will immediately abort the program.
See lib/libbsp/i386/go32/console/inch.c.
* lib/libbsp/i386/go32/timer uses the on-board timer chip by default,
which has a resolution of about 1 microsecond. However, if executing
on a Pentium processor you can use the on-chip 64-bit cycle counter,
which counts at whatever clock rate your processor runs at. To enable
this, set RTEMS_CPU_MODEL=pentium in make/custom/go32.cfg.

View File

@@ -2,16 +2,15 @@
# $Id$
#
This file is current for the 4.0.0 release.
The RTEMS project uses Intel x86 based computers running the RedHat
distribution of the Linux operating system internally for development.
This release has been tested on the following Languages/CPUs/Targets using
RedHat Linux 4.2 as the host environment:
RedHat Linux 5.1 as the host environment:
CPU CPU
FAMILY MODEL TARGET SUITES
======== ========= ======================= ===============
m66k mfc5200 no BSP (note 9)
m68k m68000 efi68k (note 1)
m68k m68020 Motorola MVME136 (note 1, 6)
m68k m68030 Motorola MVME147 (note 1)
@@ -19,6 +18,7 @@ RedHat Linux 4.2 as the host environment:
m68k m68lc040 Motorola MVME162 (note 1)
m68k m68lc040 Motorola MVME162LX (note 1)
m68k m68ec040 Motorola IDP (note 1)
m68k m68040 Motorola MVME167 (note 1, 6)
m68k m68020 DY-4 DMV152 (note 1)
m68k m68302 generic 68302 (note 1)
m68k m68302 ods 68302 (note 1)
@@ -27,17 +27,31 @@ RedHat Linux 4.2 as the host environment:
m68k m68360 68360 in companion mode (note 1, 6)
i386 i386_fp Force CPU-386 (note 1, 7)
i386 i386ex generic i386ex (note 1, 6)
i386 ix86 bare PC (pc386) (note 1, 6)
i386 i386ex Technologic Systems TS-1325 (note 1, 6)
i386 i386+ PC clone (pc386) (note 1, 6)
i386 i486 PC clone (pc486) (note 1, 6)
i386 Pentium PC clone (pc586) (note 1, 6)
i386 i486 DJGPP/PC-AT (note 7)
i386 pentium DJGPP/PC-AT (note 7)
i960 i960ca Cyclone CVME961 (note 4)
i960 i960ha no BSP (note 9)
i960 i960rp rxgen960 (note 1)
hppa hppa7100 simhppa (note 1)
mips idt4600 p4000 (note 1)
mips idt4650 p4000 (note 1)
powerpc ppc403 helas403 (note 1, 6)
powerpc ppc403 Papyrus (note 1)
powerpc ppc403 psim (note 5)
powerpc ppc603e Radstone PPCn_60x (note 1, 8)
powerpc ppc603e DY-4 DMV-177 (note 1)
powerpc ppc603e Vista Score603e (note 1)
powerpc ppc603e Motorola MVME2307 (note 1)
powerpc mpc750 Motorola MCP750 (note 1)
powerpc mpc821 no BSP (note 9)
powerpc mpc823 no BSP (note 9)
powerpc mpc860 eth_comm (custom) (note 1, 6)
sh sh7032 generic sh1 (note 1)
sh sh7035 generic sh2 (note 1)
sparc erc32 generic erc32 ALL TESTS (note 5)
a29k a29k port sw (note 2)
UNIX NA Solaris 2 (SPARC) (note 2)
@@ -58,7 +72,7 @@ immediately preceding the snapshot.
"ALL TESTS" does not include the multiprocessor tests.
(2) RTEMS Project cannot internally compile or test this target.
As of 4.0.0, the HP-UX is not recognized in the configure script
The HP-UX is not recognized in the configure script.
The a29k does not use GNU tools and may suffer from bit rot.
(3) Target is not intended to be executed. It is only an example.
@@ -72,3 +86,9 @@ immediately preceding the snapshot.
(7) The BSP is deprecated. For information on what would be
required to update it contact rtems@OARcorp.com.
(8) The Radstone ppcn_60x BSP was written by Radstone and designed
to support any Radstone PowerPC board with only minor modifications.
(9) This CPU model is supported but there are no BSPs using this CPU
model included in the current distribution.

56
c/TOOL_TARGETS Normal file
View File

@@ -0,0 +1,56 @@
#
# $Id$
#
The following are targets for the GNU tools (egcs, binutils, newlib, and gdb)
that are for RTEMS, their object format, and status notes
hppa:
hppa1.1-rtems ELF
i386:
i386-rtems ELF
i386-rtemself ELF
i386-rtemscoff COFF Obsoleted
i386-go32-rtems COFF Obsoleted - no supporting BSP
i960:
i960-rtems COFF Switch to ELF when possible
i960-rtemscoff COFF
i960-rtemself ELF Not currently in any tools
NOTE: i960-elf is in post binutils 2.9.1 snapshots.
m68k:
m68k-rtems COFF Switch to ELF when possible
m68k-rtemscoff COFF
m68k-rtemself ELF Not in all tools
NOTE: m68k-elf is in post egcs 1.1.2 snapshots.
mips:
mips*-rtems ELF Big endian
mips*el-rtems ELF Little endian
NOTE: Little endian configuration is not in all tools and
is untested for RTEMS itself.
powerpc:
powerpc-rtems ELF
powerpcle-rtems ELF Little endian
NOTE: Little endian configuration is not in all tools and
is untested for RTEMS itself.
sh:
sh-rtems COFF
sh-rtemscoff COFF
sh-rtemself ELF
NOTE: ELF is not completely stable for SH yet.
sparc:
sparc-rtems ELF
sparc-rtemself ELF
sparc-rtemsaout A.OUT

View File

@@ -1,14 +0,0 @@
#
# $Id$
#
@SET_MAKE@
srcdir = @srcdir@
VPATH = @srcdir@
RTEMS_ROOT = @top_srcdir@
PROJECT_ROOT = @PROJECT_ROOT@
include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
include $(RTEMS_ROOT)/make/directory.cfg
SUB_DIRS=os scripts src

View File

@@ -1,14 +0,0 @@
#
# $Id$
#
@SET_MAKE@
srcdir = @srcdir@
VPATH = @srcdir@
RTEMS_ROOT = @top_srcdir@
PROJECT_ROOT = @PROJECT_ROOT@
include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
include $(RTEMS_ROOT)/make/directory.cfg
SUB_DIRS=$(wildcard $(RTEMS_HOST))

View File

@@ -1,39 +0,0 @@
#
# $Id$
#
@SET_MAKE@
srcdir = @srcdir@
VPATH = @srcdir@
RTEMS_ROOT = @top_srcdir@
PROJECT_ROOT = @PROJECT_ROOT@
include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
include $(RTEMS_ROOT)/make/leaf.cfg
DESTDIR=$(PROJECT_RELEASE)/build-tools
INSTALLED=$(DESTDIR)/ifc.exe \
$(DESTDIR)/cklength.exe \
$(DESTDIR)/fixtimer.exe
all: $(DESTDIR) $(PGMS) install
$(DESTDIR):
@INSTALL@ $(INSTDIRFLAGS) $@
install: $(INSTALLED)
# Install the programs
$(DESTDIR)/ifc.exe: ifc_exe.uue
uudecode <ifc_exe.uue
mv ifc.exe $(DESTDIR)/ifc.exe
$(DESTDIR)/cklength.exe: cklength.uue
uudecode <cklength.uue
mv cklength.exe $(DESTDIR)/cklength.exe
$(DESTDIR)/fixtimer.exe: fixtimer.uue
uudecode <fixtimer.uue
mv fixtimer.exe $(DESTDIR)/fixtimer.exe

View File

@@ -1,12 +0,0 @@
#
# $Id$
#
ifc is an MS-DOS executable which is equivalent to the program
install-if-change. It was compiled using Borland C 2.00.
cklength is a precompiled version of the program cklength.c from
the main source tree.
fixtimer is a program to restore the clock if the program does not
exit cleanly.

View File

@@ -1,286 +0,0 @@
#
# $Id$
#
begin 664 cklength
M?T5,1@$" 0 " ( ! $,% #0 "T8 T "
M!0 H !H %P 8 T $ - "@ H 4 P
M -0 !$ ! ! ! 7
M2P %TL % $ $ !=, (73 &\ %? < 0
M @ %U A=0 (@ !P O=7-R+VQI8B]L9"YS
M;RXQ $, !6 20 #P
M #@ $4 /0 !P !# &@
M A 30 #\ *0 $X !" D
M $@ W $8 )@ "
M ! %( 4P Z *@ 00
M $H 'P $L !5 3P L .P %0 H
M-@ #$ P 40
M
M
M G
M '0 C ; N
M "( -0 E #D R - !X
M "T ,P !$ *P
M ^ "\ 3 % !'
M 0#4 , $ $ Z # "
M ! U0 P P 0BT , 0 $*W #
M % !"S P !@ 0P4 , < $32
M # ( !$^ P "0 1/L , H $3
M] # + !% P # A=, , T
M (74 # . "%]@ P #P ACP , !
M (9" # 1 P $@ ,
M !, # 4 P %0
M , !8 # 7 P &
M , !D ! (8. 2 " !$_0 $0 "P !8
M 0P4 =!( < = (8U 2 (@ "&$0 $@
M "< 1/L !$ H U (8O 2 / "&0@ $$0
M$0 $4 AB8 !( !. (9# 01 1 5P "',@
M$0#_\0 %P 1+ 2!( < !B $2> $@2 ' 9P !$8@
M "H$@ !P &\ AD8 !0"$ !$ !T (73 1 /_Q B@ "
M&*0 $@ ) A@( !( "7 (8% 2
MG !$T@ $@ " *( ACT !!$ ! "J (9$ 01 1
M M "&E@ )@$0 $0 , AB !( #' (8\ 01
M 0 S0 "%U $0#_\0 -8 0[H !0!( < #> (9&
M 4 1 1 Y "&E@ )@$0 $0 /$ AC@ !( #W (8
M+ 2 _P "&" $@ 04 AD, !"$ !$ $-
M (<N 01 1 !$P "&+ $@ 1H 1 H !8!( <
M $@ (8_ 01 0 !,P "'+P $$0 $0 3H AC( !(
M $_ (<P 01 1 !1@ "&&@ $@ 4P AS$
M!!$ !$ %3 (8^ 01 0 !9P "&0@ $0#_\0 6X A?8
M !$ __$ &( (87 2 !C@ "&1 $$0 $0 9<
M 1,( /!( < &I $3\ 1 * !M@ !%TL $0#_\0
M ;T 10 !!$ P '* $2, $@2 ' !SP "&(P $@
M =8 0R( !( < 'H $3^ 1 + !]0 !#10 '4
M$@ !P ?H AD !!$ ! (& (8= 2 "#0 !$^
M $@ "0 A, AA0 !( 9V5T;W!T %]?1%1/4E],25-47U\
M7W-T87)T ')E860 871O:0!?7T-43U)?3$E35%]? '-T<G1O; !P<F]G;F%M
M90!V9G!R:6YT9@!?96YV:7)O;@!?96YD %=R:71E %)E860 9V5T<&%R;0!?
M:6]B %]'3$]"04Q?3T9&4T547U1!0DQ%7P!A8F]R= !A=&5X:70 97AI= !?
M:6YI= !V97)B;W-E %]S>7-?;F5R<@!S>7-?97)R;&ES= !F8VQO<V4 55-!
M1T4 7T193D%-24, <')O8V5S<P!?7VEO8@!?<WES7V5R<FQI<W0 =W)I=&4
M<W1R<F-H<@!?97AI= !E;G9I<F]N &5R<FYO '-T<F-H<@!E<G)O<@!R97!O
M<G1?;&EN95]L96YG=&@ ;W!T:6YD &]P96X ;W!T87)G &9G971S &]P=&5R
M<@!R97!O<G1?;&EN95]N=6UB97)S %]E9&%T80!?4%)/0T5$55)%7TQ)3DM!
M1T5?5$%"3$5? &9O<&5N '-Y<U]N97)R %]?9&]?9VQO8F%L7V1T;W)S %]?
M0U1/4E]%3D1?7P!?971E>'0 7VQI8E]V97)S:6]N $]P96X 9F9L=7-H %]?
M9&]?9VQO8F%L7V-T;W)S %]?1%1/4E]%3D1?7P!M86EN &QI;F5?;&5N9W1H
M '-T<FQE;@!?9FEN:0!F<')I;G1F &QI8F,N<V\N,0 AD, C$P
M AS$ !#$P AS !!$P AR\ _$P AD8 U
M$P " AD0 !($P AI8 P$P A@( K%0 A@4
M L%0 A@@ Y%0 A@L X%0 A@X :%0
M AA$ >%0 AA0 !5%0 AA< !'%0 AAH !"%0
M AAT !3%0 AB Q%0 AB, !.%0 AB8 B
M%0 ABD J%0 ABP \%0 AB\ @%0 AC(
M ! %0 AC4 =%0 AC@ W%0 "\$" X .@0*(#H$2<
M(Z @@) 0* 20$ !0 !"]@$ 1 !$D!(CX$ 0O(! 0 !P $
M "0$ 0DA $94L( *4 J $E 1 "A< (:6$N$,U"+ $ "D! 0 !"
MYP$ ! $+H 0 ('#X @! $0 1-0"(^R HK__$H #9(2(^S0 F $
M@*(@ * F4$" E@)@!)(0( "2 F $T ) "X"B( 2O__]E *@ 9*2@ "
M@ ,$0 1!$ $2B$B/LH2I@ M $ !&?P@ 0 *"$/_PRO__]T 0 $1$
M $1 $+!D!(C"(''X B!Z G>._F*@0 !BB$" L! @ - &0 ! $+!DA @
M+Q, (: HB $H !- B80@0@ $T 9 - "80B0 B !T")A"!$ (;0 B$(
MT"9 !$ (? (B#$(0 AB< (8E "&%0 19 0 !22$ 90 !"KI02H:"
MHC__ H ,X"B(&PB@ 1$0 AQ2 F HB!N@*(@/P* "J HB!. H '- $
M(/@0O__P%0 10* !. HB!V H 'M $H/00O__J%0 14 0IO0 B# E!
M"!$ (: HJ( "+__XM0B(0 3 !%$0@ $ (N2$F&H$+__W14 $70!"#X
M@* ")!@/_\0O__7T"0@^("@ B08#__T"0@^- $X/R H (D& __Q"__\_0
M).#\@* ")!@/_\0O__+T"2@]!"__\FB$" !@*1@ "* L1 "'%0 AA$
M (:0$B$X$P 19(28<A $)VU *@\$ 0F60$" !DA "- "(+R1*B "T 9
M"("B( "@ 1(0 A] "8+R1*B "0 #] &0 B HC__(H K 0/__0!""\
MD (@ = D(+R1*B "T 9 "("B( 2O__SDA $(''X B!Z G>.]F) 0 !@3
M !%0 !"6I(28="JD@ $H !Z80( 1& $P 19(28=A !%E! &* 0
M( &H![WX)0 ABT (:0$ 4DA B $ 0DV4$ 5@*(@ * #4! 0 !"
M2Y 0 !2B C__$0 AM "(0" I$ (!( *X"DX 2@ +$0 AA, $60%*$X
MDA)A^$ 0C64$ 8T 6@^("B( "@ B$0 AM "(/2 HB H !Q, $60
M%*$XDA)B )00 !! $(HE@>]^- %H/B HB H $A$ (;0 B#\@*(@ *
M D3 !%D!2A.)(28AB4$ 00 !"&Y80 !$0@ (I@3@ 1, $60%*$XDA)B
M($ 0A24$ 0I@3@ 1"__\B@!" !0 !"&Y 0 !6P$" @<?@"('H "=X[^0
M\B>@2/0GH$SV)Z!0^">@5/HGH%@1 "&0 !"$I 2(2@1' LBX "!$0 "
MC@ ( H !*('H$P1 "'\@(@N. 'H$@5 "&-0 AI 6H3@3 !%DA)B*$
M0?/4 J$(D!:A.)(0 !! $(!E! $8"F8 "@ :$0 A@2 !*0$B$X$0
MAM "(1" ID (-H #!$ (85 "&E!*B6)<N8 *0%J$X$P 19(28C! $'=
MU + "A" X1 "&D!(A.!, $62$F(X0 !!UI00 !D0@ '$0 AI 2(3@3
M !%0 !!T)(28E 1 "&0 !!W) 2(3@1# @(X " * !41" @(X " *
M R IF H !1$ $41 !%$( Y(2(EB2$B)P?___M) 0( ! $&MD!
M&9 0( 3 !%?___KI(28GA $'+ 0 (''X B!Z G>._F* 0 !@1 !%
MD!(BD$ 0<;23 @*(@ !* F0$ 0$0@ !, $62$F*@?___G)00 ! 0
M@ :L! &9(0( ! $&\E! @ + 0 B I@ 9!H !("F !H$@ 1 0 ("F
M0!H2@ ($0@ !, $62$F*XE! $'___XF6$ :,( !Q, $62$F+0E!
M&Y80 !E___^"F! &H''X B!Z G>._F* 0 !B0$ 0DA &4 0:*4$ :
ML! "("F/_\2@ ($1@ !, $62$F+PE! $)80 !E___]PF! &H''X B!
MZ G>._F* 0 !B0$ 0DA &4 09.4$ :L! "("F/_\2@ ($1@ !,
M $62$F,0E! $)80 !E___]>F! &H''X B!Z G>._F* 0 !B0$ 0DA
M&4 0824$ :L! "("F/_\2@ ($1@ !, $62$F,PE! $)80 !E___],
MF! &H''X B!Z G>._F!$ $32 B/X@*)@ * F@$B/XT 0 )_" "@
M!" $T 0 ("B( 2O__[ 0 (''X B!Z G>._F)WCOZ"!Z G>._F!$
M $34 B/L@**__Q* V2$B/LT )@!("B( "@ )E! @ )8"8 22$" D@)@
M!- "0 N HB $K___90"H &2DH H #!$ $01 !$HA(C[*$J8 +0! 1
MG\( $ "@A#_\,K___= $ !$1 !$0 !!$) 2(PB!Q^ (@>@ (''X B!
MZ G>._H(''X B!Z _____P #_____ ! '5S
M86=E.B @8VML96YG=&@@(%L@+78@72!;(&%R9R N+BX@72!F:6QE<RXN+B *
M(" @(" @(" @(" @+6P@;&5N9W1H(" @+2T@;6%X:6UU;2!L:6YE(&QE;F=T
M: H@(" @(" @(" @(" M;B @(" @(" @(" M+2!R97!O<G0@;&EN92!N=6UB
M97)S(&9O<B!O9F9E;F1I;F<@;&EN97,*(" @(" @(" @(" @+4X@(" @(" @
M(" @+2T@<F5P;W)T(&QI;F4@;G5M8F5R<R!A;F0@;&5N9W1H(&9O<B!O9F9E
M;F1I;F<@;&EN97,*(" @(" @(" @(" @+78@(" @(" @(" @+2T@=F5R8F]S
M90H*4')I;G0@=&AE(&YA;64@;V8@9FEL97,@=VAI8V@@:&%V92!A="!L96%S
M=" Q(&QI;F4@=VAI8V@@97AC965D<R!T:&4*;6%X:6UU;2!L:6YE(&QE;F=T
M:"X@(%1H92!D969A=6QT(&UA>&EM=6T@;&EN92!L96YG=&@@:7,@.# N"@
M &PZ;DYV *"5D*2!I<R!I;&QE9V%L(&QI;F4@;&5N9W1H"@ E<P
M '( 56YA8FQE('1O(&]P96X@9FEL92 H)7,I"@ E
M<PH %1/3R!,3TY'.B5D.B E<PH "5D.B E9 H )60*
M E<SH@ " H)7,I"@ ("AU;FMN;W=N(&5R<FYO/25D*0H "@
M !F871A;"!E<G)O<BP@97AI=&EN9P !E>&ET:6YG &9A=&%L(&5R
M<F]R+"!A8F]R=&EN9P # Q,C,T-38W.#DM G)7,G(&ES(&YO="!A
M(&YU;6)E<@ E<R!C86X@;VYL>2!B92 E;&0 E<R!M=7-T(&)E
M(&)E='=E96X@)6QD(&%N9" E;&0 &]P96XH)R5S)RP@,'@E>"P@,"5O*2!F
M86EL960 <F5A9"@E9"P@,'@E>"P@)60I(&9A:6QE9 !W<FET
M92@E9"P@,'@E>"P@)60I(&9A:6QE9 (74 $ (; # !$T@
M - $3X 0 0#H !0 !"+0 * ")0 8 0-4 "P
M ! 5 , A?8 @ .0 4 !P !< 0LP
M!P !"MP ( !. D ,
M # P,+__\P$ #
M \,+__\ $ # !(,+__[0$ # !4,+__Z@$ # !@,+__YP$
M # !L,+__Y $ # !X,+__X0$ # "$,+__W@$ # "0,+__
MVP$ # "<,+__V $ # "H,+__U0$ # "T,+__T@$ # #
M,+__SP$ # #,,+__S $ # #8,+__R0$ # #D,+__Q@$ #
M #P,+__PP$ # #\,+__P $ # $(,+__O0$ ! $4"
M % $
M 0 __$ $ U # ! ! .@ P @ 0-4
M , , $(M # $ !"MP P !0
M 0LP , 8 $,% # ' !$T@ P "
M 1/@ , D $3[ # * !$_0 P
M"P 10 , P (73 # - "%U
M P #@ A?8 , \ (8\ # 0 "&0@
M P $0 , !( # 3
M P % , !4 # 6
M P %P , !@ # 9
M #P ! #_\0 !8 0 __$ B $
M /_Q +0 !$U @ " $, 0R( < !2 (8\
M ! 0 8 ! #_\0 &L 0T4 < !Z
M $ /_Q A ! #_\0 (\ 1-$ ( < "E
M $31 ' M "&00 0 $ ,( 0 __$
M #) (8. 2 T !$_0 $0 "P -X 0P4 =!(
M < #E (8U 2 Z@ "&$0 $@ .\ 1/L
M !$ H #] (8O 2 !! "&0@ $$0 $0 0T AB8
M !( $6 (9# 01 1 !'P "',@ $0#_\0 20
M 1+ 2!( < $J $2> $@2 ' !+P !$8@ "H$@ !P
M 3< AD8 !0"$ !$ $\ (73 1 /_Q !4@ "&*0 $@
M 5@ A@( !( %? (8% 2 !9 !$T@
M$@ " 6H ACT !!$ ! %R (9$ 01 1 !? "&E@
M )@$0 $0 8@ AB !( &/ (8\ 01 0 !E0 "
M%U $0#_\0 9X 0[H !0!( < &F (9& 4 1 1 !
MK "&E@ )@$0 $0 ;D AC@ !( &_ (8+ 2
M !QP "&" $@ <T AD, !"$ !$ '5 (<N 01
M 1 !VP "&+ $@ >( 1 H !8!( < 'H (8_
M 01 0 !^P "'+P $$0 $0 @( AC( !( (' (<
MP 01 1 "#@ "&&@ $@ A0 AS$ !!$ !$ (;
M (8^ 01 0 "+P "&0@ $0#_\0 C8 A?8 !$ __$
M )0 (87 2 "5@ "&1 $$0 $0 E\ 1,( /!(
M < )Q $3\ 1 * "?@ !%TL $0#_\0 H4 10
M!!$ P *2 $2, $@2 ' "EP "&(P $@ IX 0R(
M !( < *P $3^ 1 + "O0 !#10 '4$@ !P L(
M AD !!$ ! +. (8= 2 "U0 !$^ $@ "0
M ML AA0 !( 9V\S,B]C:VQE;F=T: !C<G1I+G, =F%L=65S+5AA
M+F, 8W)T<W1U9F8N8P!?7V1O7V=L;V)A;%]C=&]R<U]A=7@ 9V-C,E]C;VUP
M:6QE9"X 9F]R8V5?=&]?9&%T80!C:VQE;F=T:"YC &=C8S)?8V]M<&EL960N
M &QI8F=C8S(N8P!C<G1S='5F9BYC %]?9&]?9VQO8F%L7V-T;W)S7V%U> !G
M8V,R7V-O;7!I;&5D+@!F;W)C95]T;U]D871A &-R=&XN<P!G971O<'0 7U]$
M5$]27TQ)4U1?7P!?<W1A<G0 <F5A9 !A=&]I %]?0U1/4E],25-47U\ <W1R
M=&]L '!R;V=N86UE '9F<')I;G1F %]E;G9I<F]N %]E;F0 5W)I=&4 4F5A
M9 !G971P87)M %]I;V( 7T=,3T)!3%]/1D93151?5$%"3$5? &%B;W)T &%T
M97AI= !E>&ET %]I;FET '9E<F)O<V4 7W-Y<U]N97)R '-Y<U]E<G)L:7-T
M &9C;&]S90!54T%'10!?1%E.04U)0P!P<F]C97-S %]?:6]B %]S>7-?97)R
M;&ES= !W<FET90!S=')R8VAR %]E>&ET &5N=FER;VX 97)R;F\ <W1R8VAR
M &5R<F]R ')E<&]R=%]L:6YE7VQE;F=T: !O<'1I;F0 ;W!E;@!O<'1A<F<
M9F=E=', ;W!T97)R ')E<&]R=%]L:6YE7VYU;6)E<G, 7V5D871A %]04D]#
M14154D5?3$E.2T%'15]404),15\ 9F]P96X <WES7VYE<G( 7U]D;U]G;&]B
M86Q?9'1O<G, 7U]#5$]27T5.1%]? %]E=&5X= !?;&EB7W9E<G-I;VX 3W!E
M;@!F9FQU<V@ 7U]D;U]G;&]B86Q?8W1O<G, 7U]$5$]27T5.1%]? &UA:6X
M;&EN95]L96YG=&@ <W1R;&5N %]F:6YI &9P<FEN=&8 $ %
MFP UD "]D # %$X ((X
M $8\ ! *",I4W5N3U,@-2XS($=E;F5R:6,@4V5P=&5M
M8F5R(#$Y.3, &%S.B!30S,N,"!E87)L>2!A8V-E<W,@,#$@4V5P(#$Y.3,*
M $=#0SH@*$=.52D@,BXV+C, &%S.B!30S,N,"!E87)L>2!A8V-E<W,@,#$@
M4V5P(#$Y.3,* $=#0SH@*$=.52D@,BXV+C, &%S.B!30S,N,"!E87)L>2!A
M8V-E<W,@,#$@4V5P(#$Y.3,* $=#0SH@*$=.52D@,BXV+C, &%S.B!30S,N
M,"!E87)L>2!A8V-E<W,@,#$@4V5P(#$Y.3,* $=#0SH@*$=.52D@,BXV+C,
M;&0Z("A31U4I(%-U;D]3+T5,1B H3$LM,2XS*0 0 "D 8?
M"V0 1,( (60 1,( +3P /(
M 7H <( EX L(
M SH !$H !5H !=(
M !EH !LX !SX !
MX8 !]( "#( ".8
M "5( "<( "D8 "G8
M "R( #&8 $GH %+(
M & %.8 ) %0X -< %3H #0 %
M6H #4 %9( #8 %;X #< %>8 #@
M %A( #D %CX #H %FH $8 %IX
M %T( &T %]( "X &"20 !\L 1,( "YI;G1E
M<G +FAA<V@ +F1Y;G-Y;0 N9'EN<W1R "YR96QA+F)S<P N<F5L82YP;'0
M+G1E>'0 +FEN:70 +F9I;FD +F-T;W)S "YD=&]R<P N<F]D871A "YG;W0
M+F1Y;F%M:6, +G!L= N9&%T80 N8G-S "YS>6UT86( +G-T<G1A8@ N<W1A
M8BYI;F1E> N8V]M;65N= N<W1A8@ N<VAS=')T86( +G-T86(N:6YD97AS
M='( +G-T86)S='( '9A;'5E<RU882YC "\Q,#DS+V]N,3 Y,U]W<R]U<W(O
M<W)C+VQI8B]L:6)C+P!P;W)T+V=E;B]V86QU97,M6&$N8P %AT(#L@5CTR
M+C +VYE="]M;W)G86YA+W5S<C$O<G1E;7,M,RXU+C P+V,O8G5I;&0M=&]O
M;',O<W)C "]U<W(O8V-S+VQI8B]V86QU97,M6&$N;P ;&EB9V-C,BYC "]U
M<W(T+T=.050O9V-C+3(N-BXS+P N+VQI8F=C8S(N8P!G8V,R7V-O;7!I;&5D
M+@!I;G0Z=#$]<C$[+3(Q-#<T.#,V-#@[,C$T-S0X,S8T-SL 8VAA<CIT,CUR
M,CLP.S$R-SL ;&]N9R!I;G0Z=#,]<C$[+3(Q-#<T.#,V-#@[,C$T-S0X,S8T
M-SL =6YS:6=N960@:6YT.G0T/7(Q.S [+3$[ &QO;F<@=6YS:6=N960@:6YT
M.G0U/7(Q.S [+3$[ &QO;F<@;&]N9R!I;G0Z=#8]<C$[,#$P,# P,# P,# P
M,# P,# P,# P,# [,#<W-S<W-S<W-S<W-S<W-S<W-S<W-SL ;&]N9R!L;VYG
M('5N<VEG;F5D(&EN=#IT-SUR,3LP,# P,# P,# P,# P.S Q-S<W-S<W-S<W
M-S<W-S<W-S<W-S<W.P!S:&]R="!I;G0Z=#@]<C$[+3,R-S8X.S,R-S8W.P!S
M:&]R="!U;G-I9VYE9"!I;G0Z=#D]<C$[,#LV-34S-3L <VEG;F5D(&-H87(Z
M=#$P/7(Q.RTQ,C@[,3(W.P!U;G-I9VYE9"!C:&%R.G0Q,3UR,3LP.S(U-3L
M9FQO870Z=#$R/7(Q.S0[,#L 9&]U8FQE.G0Q,SUR,3LX.S [ &QO;F<@9&]U
M8FQE.G0Q-#UR,3LX.S [ &-O;7!L97@@:6YT.G0Q-3US.')E86PZ,2PP+#,R
M.VEM86<Z,2PS,BPS,CL[ &-O;7!L97@@9FQO870Z=#$V/7(Q-CLT.S [ &-O
M;7!L97@@9&]U8FQE.G0Q-SUR,3<[.#LP.P!C;VUP;&5X(&QO;F<@9&]U8FQE
M.G0Q.#UR,3@[.#LP.P!V;VED.G0Q.3TQ.0!A<F-H7W1Y<&4Z5#(P/65!4D-(
M7S,R0DE4.C L05)#2%\V-$))5#HQ+#L <F5G7V-L87-S.E0R,3UE3D]?4D5'
M4SHP+$=%3D5204Q?4D5'4SHQ+$907U)%1U,Z,BQ!3$Q?4D5'4SHS+$Q)35]2
M14=?0TQ!4U-%4SHT+#L ;6%C:&EN95]M;V1E.E0R,CUE5D])1&UO9&4Z,"Q1
M26UO9&4Z,2Q(26UO9&4Z,BQ04TEM;V1E.C,L4TEM;V1E.C0L4$1);6]D93HU
M+$1);6]D93HV+%1);6]D93HW+$]);6]D93HX+%%&;6]D93HY+$A&;6]D93HQ
M,"Q4449M;V1E.C$Q+%-&;6]D93HQ,BQ$1FUO9&4Z,3,L6$9M;V1E.C$T+%1&
M;6]D93HQ-2Q30VUO9&4Z,38L1$-M;V1E.C$W+%A#;6]D93HQ."Q40VUO9&4Z
M,3DL0U%);6]D93HR,"Q#2$EM;V1E.C(Q+$-326UO9&4Z,C(L0T1);6]D93HR
M,RQ#5$EM;V1E.C(T+$-/26UO9&4Z,C4L0DQ+;6]D93HR-BQ#0VUO9&4Z,C<L
M0T-8;6]D93HR."Q#0U].3T]6;6]D93HR.2Q#0UA?3D]/5FUO9&4Z,S L0T-&
M4&UO9&4Z,S$L0T-&4$5M;V1E.C,R+$U!6%]-04-(24Y%7TU/1$4Z,S,L.P!M
M;V1E7V-L87-S.E0R,SUE34]$15]204Y$3TTZ,"Q-3T1%7TE.5#HQ+$U/1$5?
M1DQ/050Z,BQ-3T1%7U!!4E1)04Q?24Y4.C,L34]$15]#0SHT+$U/1$5?0T]-
M4$Q%6%])3E0Z-2Q-3T1%7T-/35!,15A?1DQ/050Z-BQ-05A?34]$15]#3$%3
M4SHW+#L <'1R9&EF9E]T.G0Q '-I>F5?=#IT- !W8VAA<E]T.G0S %51271Y
M<&4Z=#$Q %-)='EP93IT,0!54TET>7!E.G0T $1)='EP93IT-@!51$ET>7!E
M.G0W %-&='EP93IT,3( 1$9T>7!E.G0Q,P!W;W)D7W1Y<&4Z=#$ 1$ES=')U
M8W0Z5#(T/7,X:&EG:#HQ+# L,S([;&]W.C$L,S(L,S([.P!$275N:6]N.G0R
M-3UU.',Z,C0L,"PV-#ML;#HV+# L-C0[.P!F=6YC7W!T<CIT,C8]*C(W/68Q
M.0!?7V1O7V=L;V)A;%]D=&]R<SI&,3D
M $ ! @ ! -0 #4 $0
M 0 ) !0 ( 0#H Z FP #
M 0 $ #P L " $#5 U0 5@ ! !H $
M $ !< # @ !"+0 BT ")0 0
M ? ! ( 0K< *W %0 # $0 0 , *0
M 0 " $+, "S #D P \ $ # #, !
M!@ !#!0 P4 '- ! Y 0 8 1-(
M 32 )@ 0 /P $ & $3X $^
M , $ $4 ! !@ !$^P !/L "
M ! !, 0 8 1/T 3] @
M 0 4P $ " $4 % -+ (
M %L ! P "%TP !=, ! ! 0
M !@ !@ , A=0 74 (@ $ 0 ( :0
M $ ' (7V %]@ $8 $ # &X !
M P "&/ !CP % ! !T " , AD(
M 9" \ @ >0 ( &0@
M 90 $P "D $ $ ($ # !]8 "XP
M 0 ") 0 B/ $@
M 0 , E0 $ (H0 $; !
M )X ! ".@ !^ ! P
M "D P EF ,8 $ K@
M , )EX "; ! +T #
= ";Y &'P 0 !
end

View File

@@ -1,111 +0,0 @@
/*
* $Id$
*/
#include <stdio.h>
#include <dos.h>
#define IO_RTC 0x70 /* RTC */
#define RTC_SEC 0x00 /* seconds */
#define RTC_MIN 0x02 /* minutes */
#define RTC_HRS 0x04 /* hours */
#define RTC_WDAY 0x06 /* week day */
#define RTC_DAY 0x07 /* day of month */
#define RTC_MONTH 0x08 /* month of year */
#define RTC_YEAR 0x09 /* month of year */
#define RTC_STATUSA 0x0a /* status register A */
#define RTCSA_TUP 0x80 /* time update, don't look now */
#define RTC_STATUSB 0x0b /* status register B */
#define RTC_DIAG 0x0e /* status register E - bios diagnostic */
#define RTCDG_BITS "\020\010clock_battery\007ROM_cksum\006config_unit\005memory_size\004fixed_disk\003invalid_time"
/* convert 2 digit BCD number */
static int bcd( unsigned int i )
{
return ((i/16)*10 + (i%16));
}
static unsigned int rtcin( unsigned int what )
{
outportb( IO_RTC, what );
return inportb( IO_RTC+1 );
}
void fix_date( void )
{
int s;
struct date date;
struct time time;
/* initialize brain-dead battery powered clock */
outportb( IO_RTC, RTC_STATUSA );
outportb( IO_RTC+1, 0x26 );
outportb( IO_RTC, RTC_STATUSB );
outportb( IO_RTC+1, 2 );
outportb( IO_RTC, RTC_DIAG );
s = inportb( IO_RTC+1 );
if (s) printf("RTC BIOS diagnostic error %b\n", s, RTCDG_BITS);
/* check for presence of clock */
s = rtcin(RTC_STATUSA);
if ( s == 0xff || s == 0 ) {
printf( "Real-time clock not found\n" );
return;
}
/* ready for a read? */
while ((s & RTCSA_TUP) == RTCSA_TUP)
s = rtcin(RTC_STATUSA);
date.da_year = bcd(rtcin(RTC_YEAR)) + 1900; /* year */
if ( date.da_year < 1970) date.da_year += 100;
date.da_year -= 1980;
date.da_mon = bcd(rtcin(RTC_MONTH)); /* month */
date.da_day = bcd(rtcin(RTC_DAY)); /* day */
(void)bcd(rtcin(RTC_WDAY)); /* weekday */
time.ti_hour = bcd(rtcin(RTC_HRS)); /* hour */
time.ti_min = bcd(rtcin(RTC_MIN)); /* minutes */
time.ti_sec = bcd(rtcin(RTC_SEC)); /* seconds */
time.ti_hund = 0;
setdate( & date );
settime( & time );
}
void fix_timer( void )
{
#define PIT_PORT 0x40
#define TIMER_CNTR0 (PIT_PORT + 0) /* timer 0 counter port */
#define TIMER_MODE (PIT_PORT + 3) /* timer mode port */
#define TIMER_SEL0 0x00 /* select counter 0 */
#define TIMER_RATEGEN 0x04 /* mode 2, rate generator */
#define TIMER_16BIT 0x30 /* r/w counter 16 bits, LSB first */
/* set timer 0 to generate interrupts every period */
outportb( TIMER_MODE, TIMER_SEL0|TIMER_RATEGEN|TIMER_16BIT );
outportb( TIMER_CNTR0, 0 ); /* counter low */
outportb( TIMER_CNTR0, 0 ); /* counter high */
}
int main(void)
{
/* Make timer count at correct pace */
fix_timer();
/* Fix the date */
fix_date();
return 0;
}

View File

@@ -1,162 +0,0 @@
#
# $Id$
#
begin 664 fixtimer.exe
M35IF 0X 0 @ T __^; 8 (@ $ ^R!R:@$
M
M
M
M
M
M
M
M
M
M
M "Z3 $NB1;X ;0PS2&++@( BQXL ([:HY( C :0
M (D>C ")+JP QP:6 /__Z#0!Q#Z* (O'B]BY_W\F@3TX-W49)HM5 H#Z/740
M@.;?_P:6 (#^674$_P:6 /*NXV%#)C@%==: S8#WV8D.B@"Y 0#3XX/#"(/C
M^(D>C@",VBOJBSY\ H'_ )S![\ HD^? *!Q^P$<B@#/GH"<B*Q!-/O1SOO
M<AF#/GP" '0'@SYZ @!U#K\ $#OO=P>+_>L#Z2$!B]\#VHD>I ")'J@ H9
M*]B.P+1*5\TA7]/G^H[2B^?[,\ NC@;X ;^F!+GL!"O/\ZH._Q:8!.BU NB=
M [0 S1J)%I@ B0Z: /\6G 3_-H@ _S:& /\VA #H%P)0Z%H"+HX>^ 'H? .
M_Q::!#/ B_"Y+P"0_ ($@-0 1N+X+3<-D'0*N1D D+HO .B+ (OLM$R*1@+-
M(;D. )"Z2 #IAP >N US2&)'G0 C 9V +@$-<TAB1YX (P&>@"X!37-(8D>
M? ",!GX N 8US2&)'H C :" +@ )8S*CMJZ6 '-(1_#'K@ )<46= #-(1\>
MN 0EQ19X ,TA'QZX!27%%GP S2$?'K@&)<46@ #-(1_#QP:6 R\.T0+L"
M ,TAP[D> )"Z5@ NCA[X >CI_[@# %#H*?\ %6+[(M&!+$$T^BZ"@#WXHM6
M!('B#P #PNL 7<-5B^R*1@3F<.1QM #K %W#58OL@^P(5K *YG"P)N9QL OF
M<+ "YG&P#N9PY'&T (OP"_9T#[BR 5!6N)0!4.B<"8/$!K@* %#HM?]9B_"!
M_O\ = 0+]G4+N/P!4.A^"5GIJ0#K"K@* %#HE/]9B_"+QB6 #V '3LN D
M4.B _UE0Z%__605L!XE&^(%^^+('?02#1OAD@6[XO >X" !0Z%W_65#H//]9
MB$;[N < 4.A-_UE0Z"S_68A&^K@& %#H/?]94.@<_UFX! !0Z##_65#H#_]9
MB$;]N ( 4.@@_UE0Z/_^68A&_#/ 4.@1_UE0Z/#^68A&_\9&_@"-1OA0Z'H1
M68U&_%#HA1%97HOE7<.P-.9#L #F0+ YD##Z/#_Z.S^,\#K ,-5B^Q6BW8$
M"_9\%(/^6'8#OE< B388 HJ$&@*8ENL-]]Z#_B-WZL<&& +__XO&HY0 N/__
MZP!>7<(" ,-5B^SK"HL>?@+1X_^7I@2A?@+_#GX""\!UZ_\6= +_%G8"_Q9X
M O]V!.AZ_5E=PP "Z/!JH#+HP>K /\C@:0 +Z #+D)JQ C,6'UI.+
M-HH @\8"N0$ @#Z2 -R$8X&C "+_K%_,L#RKN-V@/%_@^P"N $ \,#P27^
M_XO\*_AR8(OGC,".V(S0CL!12?.D,L"JCMV'\H?9B\.+T$/H&0!W!W) Z!(
M=_D\('0(/ UT!#P)=>@RP.OD"\!T!T*J"L!U 4.&X#+ ^>,5K$DL(G0/!"(\
M7'4'@#PB=0*L20OVP^E^_5D#RBZ.'JP#B1Z$ $,#VXOTB^PKZW+FB^6)+H8
MXPZ)=@"#Q0(VK K X/IT\#/ B48 +O\FJ@.+#HH 4>A' 5F+^ O ="0>'@>.
M'HP ,_;\\Z0?B_@&_S:. .@I 8/$ HO8!Z.( O =0/I$?TSP+G__XD_@\,"
M\JXF. 5U](D'PU6+[(,^?@(@=06X 0#K%8M&!(L>?@+1XXF'I@3_!GX",\#K
M %W#58OL5E>+?@2+10:CZ 0[QW4(QP;H! ZQ"+=02+'N@$B7<$H>@$B40&
M7UY=PU6+[%97BWX$BT8&*06+-0/WBT8&0(D$B7P"H>8$.\=U!HDVY@3K"(O^
M WX&B74"B\8%! #K %]>7<-5B^Q6BT8$,](E__^!X@ 4E#H] !968OP@_[_
M=00SP.L8H>8$B40"BT8$0(D$B3;F!*'F! 4$ .L 7EW#58OL5HM&!#/2)?__
M@>( %)0Z+< 65F+\(/^_W4$,\#K%8DVZ@2)-N8$BT8$0(D$B\8%! #K %Y=
MPU6+[%97BWX$"_]U!#/ ZUJ+QP4+ "7X_XOX@S[J! !U!U?HH?]9ZT*+-N@$
MB\8+P'0QBP2+UX/"*#O"<@E75N@-_UE9ZR2+!#O'<@Y6Z-'^6?\$B\8%! #K
M$(MT!CLVZ 1USU?H(O]9ZP!?7EW#58OLBT8$B]2!Z@ !.\)S!Z.> #/ ZPO'
M!I0 " "X___K %W#58OLBT8$BU8& P:> (/2 (O(@<$ 8/2 O2=0H[S',&
MAP:> .L+QP:4 @ N/__ZP!=PU6+[/]V!.B?_UGK %W#58OLBT8$F5)0Z++_
MB^7K %W#58OL@^P"5E>+7@2+-XO&B4;^BUX$]T<"0 !T!(O&ZQ^+7@2+?PKK
M"XO?1X _"G4#_T;^B\9."\!U[HM&_NL 7UZ+Y5W" @!5B^Q6BW8$5NA3!%D+
MP'0%N/__ZTR#?@H!=1"#/ !^"U;HE?^9*48&&58(@60"7_['! BT0(B40*
M_W8*_W8(_W8&BD0$F%#HW *#Q B#^O]U"CW__W4%N/__ZP(SP.L 7EW#58OL
M@^P$5HMV!%;H[ -9"\!T"+K__[C__^L_N $ 4#/ 4%"*1 284.B8 H/$"(E6
M_HE&_(,\ 'X9BU;^BT;\4E!6Z!#_F8O8B\I86BO#&]'K!HM6_HM&_.L 7HOE
M7<-5B^RX $2+7@3-(;@ '($T>+1T.L 7<-5B^Q65XM^"HMV!(M$#CO&=0R#
M?@@"?P:!__]_=@:X___IJ@"#/NH# '4/N) ".\9U",<&Z@,! .L4@S[H P!U
M#;B CO&=0;'!N@# 0"#/ !T#[@! % SP%!05NC&_H/$"/=$ @0 = ?_= CH
M"PQ9@60"\__'1 8 (O&!04 B40(B40*@WX( G0_"_]V.\<&= +$"(-^!@!U
M&%?H6?U9B48&"\!T!X%, @0 ZP6X___K&XM&!HE$"HE$"(E\!H-^" %U!8%,
M @@ ,\#K %]>7<-65[\$ +Z NL0]T0" P!T!5;HG )93X/&$ O_=>Q?7L-5
MB^R![(H 5E>+1@A /0( <P4SP.GV (M>!-'C]X? P" =!+_=@C_=@;_=@3H
MXP"#Q ;IUP"+7@31XX&GP /__8M&!HF&?/^+1@B)AGC_C;9^_^MM_XYX_XN>
M?/__AGS_B@>(AGO_/ IU!,8$#4:*AGO_B 1&C89^_XO6*]"!^H ?#Z-AG[_
MB_XK^%>-AG[_4/]V!.A[ (/$!HF&=O\[QW0;@[YV_P!S!;C__^L-BT8(*X9X
M_P.&=O\KQ^M/C;9^_X.^>/\ = /IB?^-AG[_B_XK^(O'"\!V+E>-AG[_4/]V
M!.@M (/$!HF&=O\[QW07@[YV_P!S!;C__^L)BT8( X9V_RO'ZP6+1@CK %]>
MB^5=PU6+[(M>!-'C]X? P (=!"X @!0,\!04/]V!.@H (OEM$"+7@2+3@B+
M5@;-(7(/4(M>!-'C@8_ P 06.L&4.@%^>L 7<-5B^R+7@31XX&GP /__;1"
MBD8*BUX$BTX(BU8&S2%R NL'4.C;^)GK %W#58OL@^PB5E<&BWX*'@>+7@B#
M^R1W6(#[ G)3BT8,BTX."\E]$8!^!@!T"\8%+4?WV??8@]D C7;>XP^1*]+W
M\Y'W\X@41N,)Z_$KTO?SB!1&"\!U]8U.WO?9 \[\3HH$+ IS! 0ZZP,"1@2J
MXN^P *H'BT8*ZP!?7HOE7<(, %6+[(-^" IU!HM&!)GK!8M&!#/24E#_=@;_
M=@BP 5"P85#H7/_K %W#58OL_W8&_W8$_W8(_W8*L !0L&%0Z$#_ZP!=PU6+
M[/]V!O]V!/]V"/]V"H-^"@IU!;@! .L",\!0L&%0Z!G_ZP!=P[KL ^L#NO$#
MN04 D+1 NP( S2&Y)P"0NO8#M$#-(>EM]E6+[%97BW8$BT0..\9T!;C__^MF
M@SP ?"WW1 (( '4,BT0*B]:#P@4[PG46QP0 (M$"HO6@\(%.\)U!HM$"(E$
M"C/ ZS2+? 8#/$<I/%>+1 B)1 I0BD0$F%#H$OV#Q 8[QW01]T0" )U"H%,
M A N/__ZP0SP.L 7UY=PU6+[+AK#5"XD )0_W8$C48&4.A, NL 7<-5B^R+
M7@;_#_]V!HI&!)A0Z 8 B^7K %W#58OL@^P"5HMV!HI&!(A&__\$?3:*1O__
M1 J+7 J(1__W1 (( '0;@'[_"G0&@'[_#74/5N@9_UD+P'0&N/__Z>D BD;_
MM #IX0#_#/=$ I =0?W1 (" '4+@4P"$ "X___IQ@"!3 ( 8-\!@!T)H,\
M '015NC7_ED+P'0&N/__Z:< ZPJX__^+5 8KPHD$Z7W_Z94 @S[J P!U.;B0
M CO&=3**1 284.@)^UD+P'4%@60"__VX )0]T0" )T!;@" .L",\!0,\!0
M5NC]^H/$".F/_X!^_PIU'_=$ D =1BX 0!0N!X$4(I$!)A0Z.#\@\0&/0$
M=1BX 0!0C48$4(I$!)A0Z,C\@\0&/0$ =!'W1 ( G4*@4P"$ "X___K!XI&
M_[0 ZP!>B^5=PU6+[%:+=@2XD )05NC!_EE9ZP!>7<-5B^R#[ )65XMV!(M^
M!D?W1 (( '0CZP+K $^+QPO =!56BUX(_T8(B@>84.B+_EE9/?__=>+I=0#W
M1 ) '0W@WP& '0QBT0&.\=S*H,\ '0-5NBT_5D+P'0$,\#K4T]7_W8(BD0$
MF%#H(?R#Q :)1OXK?O[K-^L"ZP!/B\<+P'0L_P1]%8M>"/]&"(H'_T0*BUP*
MB$?_M #K#E:+7@C_1@C_-^CZ_5E9/?__=<N+Q^L 7UZ+Y5W"!@#_)IX$58OL
MBU8$N00/NR<$_(K&TNC7JHK&(L77JHK"TNC7JHK"(L77JNL 7<(" %6+[('L
ME@!65\=&J@ QD:M4.LX5[G__S+ \J[WT4E?PX@%1_Y.K7XB4U%2!HU&KBOX
MC4:N4%?_=@C_5@K&1JU0 7ZJC7ZN!UI96\,&_(U^KHF^;/^+OFS_BW8&K K
M=!$\)700B 5'_DZM?^_HN?_KZNEU!(FV>/^L/"5TYXF^;/\SR8F.=O^)CFK_
MB(YU_\>&</___\>&<O___^L!K#+DB]"+V(#K((#[8'-'BI\W!(O#/1< =@/I
M'02+V-'C+O^G& ]C#TL/I ]7#\D/TP\5$!\0+Q"*#V00/Q!#$$<0Z1";$3P1
M7!'_$BP3+!,L$W8/@ _IX0. _0!W^(..:O\!ZYN _0!W[(..:O\"ZX^ _0!W
MX("^=?\K= 2(EG7_Z7S_@Z9J_]^U!>ER_X..:O\@M07I:/^ _0!W1/>&:O\"
M '4A@XYJ_PBU >E1_^F( XM^!(L%@T8$ H#] G,)B89P_[4#Z3?_@/T$=>&)
MAG+__L7I*?^ _01ST[4$Z1__DBPPF(#] G<;M0*'AG#_"\!\TM'@B]#1X-'@
M \(!AG#_Z?O^@/T$=:6'AG+_"\!\M-'@B]#1X-'@ \(!AG+_Z=W^@XYJ_Q"U
M!>G3_H&.:O\ 8.F:O_OM07IP_Z#IFK_[X&.:O^ +4%Z;/^MPCK"K<*ZPNW
M$+/I MK&AG7_ ,:&;_\ B)9N_XM^!(L%,]+K$;<*QH9O_P&(EF[_BWX$BP69
M1T>)=@;WAFK_$ !T!(L51T>)?@2-OGO_"\!U,PO2=2^#OG+_ '4MB[YL_XN.
M</_C&X/Y_W06BX9J_R4( '0$LC#K K(@BL+HMOWB^>GI_8..:O\$4E!7BL>8
M4(J&;_]04^B0^18'BY9R_PO2?P/I% 'I(0&(EF[_B78&C;YZ_XM>!/\W0T.)
M7@3WAFK_( !T#_\W0T.)7@06!^@7_; ZJA8'Z _]Q@4 QH9O_P"#IFK_^XV.
M>O\K^8?/BY9R_SO1?P*+T>F^ (EV!HB6;O^+?@2+!8-&! (6!XV^>_\RY(D%
MN0$ Z=@ B78&B)9N_XM^!/>&:O\@ '4,BSV#1@0"'@<+_^L*Q#V#1@0$C, +
MQW4%'@>_( 3HVOP[CG+_=@2+CG+_Z9D B78&B)9N_XM^!(N.<O\+R7T#N08
M5U&-GGO_4U*X 0 CAFK_4(N&:O^I@ !T"K@" ,=&_@0 ZQ>I %T"K@( ,=&
M_@H ZPC'1OX( +@& %#H-_R+1OX!1@06!XV^>__WAFK_" !T$XN6</\+TGX+
MZ%O\*]%^!(F6=O^*AG7_"L!T%": /2UT#H.N=O\!@Y9V_P!/)H@%Z#3\B_>+
MOFS_BYYP_[@% ".&:O\]!0!U%HJF;O^ _&]U$(.^=O\ ?P;'AG;_ 0#K'Y"
M_'AT!8#\6'44@XYJ_T!+2X.N=O\"?0;'AG;_ #CG;_]X9J_P( =0SK!K @
MZ.'[2SO9?_;WAFK_0 !T#+ PZ,_[BH9N_^C(^XN6=O\+TGXG*\HKVB:*!#PM
M= @\('0$/"MU!R:LZ*C[24N'RN,'L##HG?OB^8?*XQ$KV2:LB 5'_DZM?P/H
MD/OB\0O;?@F+R[ @Z'O[XOGIKON)=@:+?@3WAFK_( !U"HL]@T8$ AX'ZP;$
M/8-&! 2X4 J1JT#1JHFB07I??N+MGC_B[YL_[ EZ#S[K K =?B ?JU0?0/H
M-OL'BT:JZP!?7HOE7<(( %6+[%97BW8$@S[H! !T'(L>Z 2+?P:+'N@$B7<&
MB74$B7P&H>@$B40$ZPJ)-N@$B70$B70&7UY=PU6+[(/L E97BW8&BWX$BP0!
M!:'F!#O&=0:)/N8$ZPV+! /&B4;^BU[^B7\"5NA-\5E?7HOE7<-6H>H$.P;F
M!'42_S;J!.C:\EDSP*/F!*/J!.L[BQ[F!(MW O<$ 0!U(E;H&?%9.S;J!'4*
M,\"CY@2CZ@3K!HM$ J/F!%;HH_)9ZPS_-N8$Z)GR68DVY@1>PU6+[(/L E97
MBW8$_PR+! /&B4;^BWP"]P4! '44.S;J!'0.BP0!!8M>_HE_ HOWZP56Z +_
M68M>_O<' 0!U"?]V_E;H*O]965]>B^5=PU6+[%:+=@0+]G4"ZQ>+Q@7\_XOP
M.S;F!'4%Z#S_ZP56Z(__65Y=PU6+[%:T*XMV!(L,BU0"S2%>7<-5B^Q6M"V+
M=@2+#(M4 LTA7EW# !4=7)B;RU#("T@0V]P>7)I9VAT("AC
M*2 Q.3@X($)O<FQA;F0@26YT;"X 3G5L;"!P;VEN=&5R(&%S<VEG;FUE;G0-
M"D1I=FED92!E<G)O<@T*06)N;W)M86P@<')O9W)A;2!T97)M:6YA=&EO;@T*
M .P$[ 3L
M!
M
M
M
M
M 4E1#($))3U,@9&EA9VYO<W1I8R!E<G)O<B E
M8@H $ AC;&]C:U]B871T97)Y!U)/35]C:W-U;09C;VYF:6=?=6YI= 5M96UO
M<GE?<VEZ901F:7AE9%]D:7-K VEN=F%L:61?=&EM90!296%L+71I;64@8VQO
M8VL@;F]T(&9O=6YD"@ $P("! 4&" @(%!4%$_\6!1$"____________
M_____P4%_____________________P__(P+_#_____\3__\" @4/ O___Q/_
M_________R/_____(_\3_P!Z WH#>@, 0 D" ( "
M * @$ "0 @ @(" H ( $," P
M + " !" @0 # @ #_ T ( _P
M . " /\ #P @ #_ , _P
M ! # /\ @ P #_ , ,
M_P $ # /\ !0 P #_ 8 ,
M _P ' # /\ " P #_
MD , _P * # /\ "P P$@ B "( 2@ J#_
M______________________________________\ <')I;G0@<V-A;F8@
M.B!F;&]A=&EN9R!P;VEN="!F;W)M871S(&YO="!L:6YK960-"@ - "AN=6QL
M*0 P,3(S-#4V-S@Y04)#1$5& !04 105%!04% ( % ,$% D%!04%!04%!044
M%!04%!04%!04% \7#P@4%!0'%!84%!04%!04%!0-%!04%!04%!04%! *#P\/
G" H4% 84$@L.%!01% P4% T4%!04%!04 -(!T@'9 50+60M9"UD+
end

View File

@@ -1,331 +0,0 @@
/*
* $Id$
*/
#include <stdio.h>
#include <string.h>
#include <process.h>
#include <io.h>
void * xmalloc( int size )
{
void * p = (void *)malloc( size );
if ( !p ) {
fprintf( stderr, "out of memory\n" );
exit( 1 );
}
return p;
}
void * xrealloc( void * old, int size )
{
void * p = (void *)realloc( old, size );
if ( !p ) {
fprintf( stderr, "out of memory\n" );
exit( 1 );
}
return p;
}
char ** argv_fix( int * argc, char ** argv )
{
char ** new = NULL;
int max = 20;
int cnt = 0;
int j;
for ( j = 1; argv[j]; ++j )
if ( argv[j][0] == '@' && access(argv[j]+1,0)==0 )
break;
if ( argv[j] == NULL )
return argv;
new = (char **)xmalloc( max * sizeof *new );
new[cnt++] = *argv++;
for ( ; *argv; ++argv ) {
if ( cnt >= max )
new = (char **)realloc( new, (max*=2) * sizeof *new );
if ( argv[0][0] != '@' || access(argv[0]+1,0) ) {
new[cnt++] = *argv;
} else {
char line[ 1000 ];
FILE * f = fopen( argv[0]+1, "r" );
if ( !f ) {
perror( argv[0]+1 );
exit( 2 );
}
while ( fgets( line, sizeof line, f ) ) {
int len = strlen( line );
/* delete trailing newlines */
while ( line[len-1] == '\n' || line[len-1] == '\r' )
line[--len] = '\0';
if ( cnt >= max )
new = (char **)xrealloc( new, (max*=2) * sizeof *new );
new[cnt] = (char *)xmalloc( len+1 );
strcpy( new[cnt], line );
++cnt;
}
fclose( f );
}
}
if ( cnt >= max )
new = (char **)xrealloc( new, (max+1) * sizeof *new );
new[cnt] = NULL;
*argc = cnt;
return new;
}
const char * USAGE =
"usage: $progname [ -cNvmV ] file [ file ... ] dest-directory-or-file\n"
" -v -- verbose\n"
" -V suffix -- suffix to append to targets (before any . suffix)\n"
" eg: -V _g would change 'foo' to 'foo_g' and\n"
" 'libfoo.a' to 'libfoo_g.a'\n"
" -m mode -- mode for new file(s)\n"
" -c -- copy instead of move (always on)\n"
" -N -- copy only if source is newer than target\n"
;
void fatal( char * msg )
{
if ( msg )
fprintf( stderr, "%s\n", msg );
fprintf( stderr, "%s", USAGE );
exit( 1 );
}
char * basename( char * f )
{
char * b = strrchr( f, '/' );
if ( b ) ++b;
else b = f;
return b;
}
#include <sys/stat.h>
int is_dir( char * path )
{
struct stat buf;
if ( stat( path, &buf ) )
return 0;
return buf.st_mode & S_IFDIR;
}
int is_file( char * path )
{
struct stat buf;
if ( stat( path, &buf ) )
return 0;
return buf.st_mode & S_IFREG;
}
int newer( char * p1, char * p2 )
{
struct stat buf1;
struct stat buf2;
if ( stat( p1, &buf1 ) )
return 0;
if ( stat( p2, &buf2 ) )
return 0;
return buf1.st_mtime > buf2.st_mtime;
}
int filecopy( char * d, char * s, int preserve_time )
{
#if 0
int status;
char * argv[ 5 ];
argv[0] = "cp";
argv[1] = "-p";
argv[2] = s;
argv[3] = d;
argv[4] = NULL;
status = spawnvp( P_WAIT, argv[0], argv );
if ( status )
perror( "cp" );
return status;
#else
FILE * fs;
FILE * fd;
char buffer[ 8192 ];
int n;
struct ftime When;
struct stat Stat;
fs = fopen( s, "rb" );
if ( fs == NULL ) {
perror( s );
return 1;
}
fd = fopen( d, "wb" );
if ( fd == NULL ) {
perror( d );
fclose( fs );
return 2;
}
if ( preserve_time )
if ( getftime( fileno(fs), &When ) ) {
perror( s );
preserve_time = 0;
}
do {
n = fread( buffer, 1, sizeof buffer, fs );
if ( n > 0 )
if ( fwrite( buffer, 1, n, fd ) < 0 ) {
perror( d );
return 3;
}
} while ( n > 0 );
fclose( fs );
/* Fix time stamp */
if ( preserve_time )
if ( setftime( fileno(fd), &When ) ) {
perror( s );
preserve_time = 0;
}
fclose( fd );
/* Fix access rights */
if ( stat( s, &Stat ) )
perror( s );
else if ( chmod( d, Stat.st_mode ) )
perror( d );
return 0;
#endif
}
int main( int argc, char * argv[] )
{
char * progname;
int verbose = 0;
int only_if_newer= 0;
char * suffix = NULL;
char * mode = NULL;
char * dest;
char ** pp;
argv = argv_fix( &argc, argv );
progname = basename( *argv++ );
/* process the options */
while ( argv[0] && argv[0][0] == '-' ) {
switch ( argv[0][1] ) {
case 'N':
++argv;
only_if_newer = 1;
break;
case 'c':
++argv;
/* We always copy, regardless */
break;
case 'v':
++argv;
verbose = 1;
break;
case 'V':
++argv;
suffix = *argv;
++argv;
break;
case 'm':
++argv;
mode = *argv;
++argv;
break;
default:
fatal( NULL );
}
}
/* Separate source file(s) from dest directory or file */
#if 0
if ( !argv[0] || !argv[1] )
fatal( "missing files or invalid destination" );
#else
/* We used to require at least one file; not any more */
if ( !argv[0] )
fatal( "missing files or invalid destination" );
if ( !argv[1] )
return 0;
#endif
for ( pp = argv; *pp; ++pp )
continue;
--pp;
dest = *pp;
*pp = NULL;
/* Process the arguments */
for (; *argv; ++argv ) {
char * f = *argv;
char * leaf = basename( f );
char target[ 128 ];
strcpy( target, dest );
if ( is_dir( target ) ) {
strcat( target, "/" );
/* if we were given a suffix, then add it as appropriate */
if ( suffix ) {
char * dot = strchr( leaf, '.' );
if ( dot ) {
strncat( target, leaf, dot-leaf );
strcat( target, suffix );
strcat( target, dot );
if ( verbose )
printf( "%s: %s will be installed as %s",
progname, f, strrchr(target,'/')+1 );
} else {
strcat( target, leaf );
strcat( target, suffix );
}
} else {
strcat( target, leaf );
}
}
if ( access( f, 0 ) ) {
char buf[200];
sprintf( buf, "cannot read %s", f );
fatal( buf );
}
if ( only_if_newer && is_file( target ) && !newer( f, target ) ) {
if ( verbose )
printf( "'%s' not newer than '%s'\n", f, target );
continue;
}
if ( verbose )
printf( "rm -f %s\n", target );
if ( chmod( target, 0777 ) )
if ( verbose )
perror( target );
if ( unlink( target ) )
if ( verbose )
perror( target );
if ( verbose )
printf( "cp -p %s %s\n", f, target );
if ( filecopy( target, f, 1 ) )
return 1;
if ( mode ) {
char buf[ 255 ];
sprintf( buf, "chmod %s %s\n", mode, target );
if ( verbose )
printf( "%s\n", buf );
system( buf );
}
}
return 0;
}

View File

@@ -1,163 +0,0 @@
#
# $Id$
#
begin 664 ifc.exe
M(VEN8VQU9&4@/'-T9&EO+F@^#0HC:6YC;'5D92 \<W1R:6YG+F@^#0HC:6YC
M;'5D92 \<')O8V5S<RYH/@T*#0HC:6YC;'5D92 \:6\N:#X-"@T*=F]I9" J
M('AM86QL;V,H(&EN="!S:7IE("D-"GL-"B @("!V;VED("H@<" ]("AV;VED
M("HI;6%L;&]C*"!S:7IE("D[#0H@(" @:68@*" A<" I("![#0H)9G!R:6YT
M9B@@<W1D97)R+" B;W5T(&]F(&UE;6]R>5QN(B I.PT*"65X:70H(#$@*3L-
M"B @("!]#0H@(" @<F5T=7)N(' [#0I]#0IV;VED("H@>')E86QL;V,H('9O
M:60@*B!O;&0L(&EN="!S:7IE("D-"GL-"B @("!V;VED("H@<" ]("AV;VED
M("HI<F5A;&QO8R@@;VQD+"!S:7IE("D[#0H@(" @:68@*" A<" I("![#0H)
M9G!R:6YT9B@@<W1D97)R+" B;W5T(&]F(&UE;6]R>5QN(B I.PT*"65X:70H
M(#$@*3L-"B @("!]#0H@(" @<F5T=7)N(' [#0I]#0H-"F-H87(@*BH@87)G
M=E]F:7@H(&EN=" J(&%R9V,L(&-H87(@*BH@87)G=B I#0I[#0H@(" @8VAA
M<B J*B!N97<@/2!.54Q,.PT*(" @(&EN=" @(" @;6%X(#T@,C [#0H@(" @
M:6YT"2 @("!C;G0@/2 P.PT*(" @(&EN= D@(" @:CL-"@T*(" @(&9O<B H
M(&H@/2 Q.R!A<F=V6VI=.R K*VH@*0T*"6EF("@@87)G=EMJ75LP72 ]/2 G
M0"<@)B8@86-C97-S*&%R9W9;:ETK,2PP*3T]," I#0H)(" @(&)R96%K.PT*
M(" @(&EF("@@87)G=EMJ72 ]/2!.54Q,("D-"@ER971U<FX@87)G=CL-"@T*
M(" @(&YE=R ]("AC:&%R("HJ*7AM86QL;V,H(&UA>" J('-I>F5O9B J;F5W
M("D[#0H@(" @;F5W6V-N="LK72 ]("IA<F=V*RL[#0H@(" @9F]R("@@.R J
M87)G=CL@*RMA<F=V("D@('L-"@EI9B H(&-N=" ^/2!M87@@*0T*"2 @("!N
M97<@/2 H8VAA<B J*BER96%L;&]C*"!N97<L("AM87@J/3(I("H@<VEZ96]F
M("IN97<@*3L-"@D@(" @#0H):68@*"!A<F=V6S!=6S!=("$]("= )R!\?"!A
M8V-E<W,H87)G=ELP72LQ+# I("D@('L-"@D@(" @;F5W6V-N="LK72 ]("IA
M<F=V.PT*"7T@96QS92![#0H)(" @(&-H87(@;&EN95L@,3 P,"!=.PT*"2 @
M("!&24Q%("H@9B ](&9O<&5N*"!A<F=V6S!=*S$L(")R(B I.PT*"2 @("!I
M9B H("%F("D@('L-"@D)<&5R<F]R*"!A<F=V6S!=*S$@*3L-"@D)97AI="@@
M,B I.PT*"2 @("!]#0H)(" @('=H:6QE("@@9F=E=',H(&QI;F4L('-I>F5O
M9B!L:6YE+"!F("D@*2 @>PT*"0EI;G0@;&5N(#T@<W1R;&5N*"!L:6YE("D[
M#0H)"2\J(&1E;&5T92!T<F%I;&EN9R!N97=L:6YE<R J+PT*"0EW:&EL92 H
M(&QI;F5;;&5N+3%=(#T]("=<;B<@?'P@;&EN95ML96XM,5T@/3T@)UQR)R I
M#0H)"2 @("!L:6YE6RTM;&5N72 ]("=<,"<[#0H)"6EF("@@8VYT(#X](&UA
M>" I#0H)"2 @("!N97<@/2 H8VAA<B J*BEX<F5A;&QO8R@@;F5W+" H;6%X
M*CTR*2 J('-I>F5O9B J;F5W("D[#0H)"6YE=UMC;G1=(#T@*&-H87(@*BEX
M;6%L;&]C*"!L96XK,2 I.PT*"0ES=')C<'DH(&YE=UMC;G1=+"!L:6YE("D[
M#0H)"2LK8VYT.PT*"2 @("!]#0H)(" @(&9C;&]S92@@9B I.PT*"7T)#0H@
M(" @?0T*(" @(&EF("@@8VYT(#X](&UA>" I#0H);F5W(#T@*&-H87(@*BHI
M>')E86QL;V,H(&YE=RP@*&UA>"LQ*2 J('-I>F5O9B J;F5W("D[#0H@(" @
M;F5W6V-N=%T@/2!.54Q,.PT*(" @("IA<F=C(#T@8VYT.PT*(" @(')E='5R
M;B!N97<[#0I]#0H-"@T*8V]N<W0@8VAA<B J(%5304=%(#T@#0HB=7-A9V4Z
M("1P<F]G;F%M92!;("UC3G9M5B!=(&9I;&4@6R!F:6QE("XN+B!=(&1E<W0M
M9&ER96-T;W)Y+6]R+69I;&5<;B(-"B(@(" @(" @("UV(" @(" @(" @("TM
M('9E<F)O<V5<;B(-"B(@(" @(" @("U6('-U9F9I>" @("TM('-U9F9I>"!T
M;R!A<'!E;F0@=&\@=&%R9V5T<R H8F5F;W)E(&%N>2 N('-U9F9I>"E<;B(-
M"B(@(" @(" @(" @(" @(" @(" @(" @("!E9SH@+58@7V<@=V]U;&0@8VAA
M;F=E("=F;V\G('1O("=F;V]?9R<@86YD7&XB#0HB(" @(" @(" @(" @(" @
M(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" G;&EB9F]O+F$G('1O
M("=L:6)F;V]?9RYA)UQN(@T*(B @(" @(" @+6T@;6]D92 @(" @+2T@;6]D
M92!F;W(@;F5W(&9I;&4H<RE<;B(-"B(@(" @(" @("UC(" @(" @(" @("TM
M(&-O<'D@:6YS=&5A9"!O9B!M;W9E("AA;'=A>7,@;VXI7&XB#0HB(" @(" @
M(" M3B @(" @(" @(" M+2!C;W!Y(&]N;'D@:68@<V]U<F-E(&ES(&YE=V5R
M('1H86X@=&%R9V5T7&XB#0H[#0H-"G9O:60@9F%T86PH(&-H87(@*B!M<V<@
M*0T*>PT*(" @(&EF("@@;7-G("D-"@EF<')I;G1F*"!S=&1E<G(L("(E<UQN
M(BP@;7-G("D[#0H@(" @9G!R:6YT9B@@<W1D97)R+" B)7,B+"!54T%'12 I
M.PT*(" @(&5X:70H(#$@*3L-"GT-"@T*8VAA<B J(&)A<V5N86UE*"!C:&%R
M("H@9B I#0I[#0H@(" @8VAA<B J(&(@/2!S=')R8VAR*"!F+" G+R<@*3L-
M"B @("!I9B H(&(@*0DK*V([#0H@(" @96QS90EB(#T@9CL-"B @("!R971U
M<FX@8CL-"GT-"@T*(VEN8VQU9&4@/'-Y<R]S=&%T+F@^#0II;G0@:7-?9&ER
M*"!C:&%R("H@<&%T:" I#0I[#0H@(" @<W1R=6-T('-T870@8G5F.PT*(" @
M(&EF("@@<W1A="@@<&%T:"P@)F)U9B I("D-"@ER971U<FX@,#L-"B @("!R
M971U<FX@8G5F+G-T7VUO9&4@)B!37TE&1$E2.PT*?0T*:6YT(&ES7V9I;&4H
M(&-H87(@*B!P871H("D-"GL-"B @("!S=')U8W0@<W1A="!B=68[#0H@(" @
M:68@*"!S=&%T*"!P871H+" F8G5F("D@*0T*"7)E='5R;B P.PT*(" @(')E
M='5R;B!B=68N<W1?;6]D92 F(%-?249214<[#0I]#0II;G0@;F5W97(H(&-H
M87(@*B!P,2P@8VAA<B J(' R("D-"GL-"B @("!S=')U8W0@<W1A="!B=68Q
M.PT*(" @('-T<G5C="!S=&%T(&)U9C([#0H@(" @:68@*"!S=&%T*"!P,2P@
M)F)U9C$@*2 I#0H)<F5T=7)N(# [#0H@(" @:68@*"!S=&%T*"!P,BP@)F)U
M9C(@*2 I#0H)<F5T=7)N(# [#0H@(" @<F5T=7)N(&)U9C$N<W1?;71I;64@
M/B!B=68R+G-T7VUT:6UE.PT*?0T*#0II;G0@9FEL96-O<'DH(&-H87(@*B!D
M+"!C:&%R("H@<RP@:6YT('!R97-E<G9E7W1I;64@*0T*>PT*(VEF(# -"B @
M("!I;G0)"7-T871U<SL-"B @("!C:&%R(" @(" @*B!A<F=V6R U(%T[#0H@
M(" @87)G=ELP72 ](")C<"([#0H@(" @87)G=ELQ72 ]("(M<"([#0H@(" @
M87)G=ELR72 ](',[#0H@(" @87)G=ELS72 ](&0[#0H@(" @87)G=ELT72 ]
M($Y53$P[#0H@(" @<W1A='5S(#T@<W!A=VYV<"@@4%]704E4+"!A<F=V6S!=
M+"!A<F=V("D[#0H@(" @:68@*"!S=&%T=7,@*0T*"7!E<G)O<B@@(F-P(B I
M.PT*(" @(')E='5R;B!S=&%T=7,[#0HC96QS90T*(" @($9)3$4@(" @(" J
M(&9S.PT*(" @($9)3$4@(" @(" J(&9D.PT*(" @(&-H87()8G5F9F5R6R X
M,3DR(%T[#0H@(" @:6YT"0EN.PT*(" @('-T<G5C="!F=&EM90E7:&5N.PT*
M(" @('-T<G5C="!S=&%T"0E3=&%T.PT*#0H@(" @9G,@/2!F;W!E;B@@<RP@
M(G)B(B I.PT*(" @(&EF("@@9G,@/3T@3E5,3" I("![#0H)<&5R<F]R*"!S
M("D[#0H)<F5T=7)N(#$[#0H@(" @?0T*(" @(&9D(#T@9F]P96XH(&0L(")W
M8B(@*3L-"B @("!I9B H(&9D(#T]($Y53$P@*2 @>PT*"7!E<G)O<B@@9" I
M.PT*"69C;&]S92@@9G,@*3L-"@ER971U<FX@,CL-"B @("!]#0H-"B @("!I
M9B H('!R97-E<G9E7W1I;64@*0T*"6EF("@@9V5T9G1I;64H(&9I;&5N;RAF
M<RDL("97:&5N("D@*2 @>PT*"2 @("!P97)R;W(H(',@*3L-"@D@(" @<')E
M<V5R=F5?=&EM92 ](# [#0H)?0T*#0H@(" @9&\@>PT*"6X@/2!F<F5A9"@@
M8G5F9F5R+" Q+"!S:7IE;V8@8G5F9F5R+"!F<R I.PT*"6EF("@@;B ^(# @
M*0T*"2 @("!I9B H(&9W<FET92@@8G5F9F5R+" Q+"!N+"!F9" I(#P@," I
M("![#0H)"7!E<G)O<B@@9" I.PT*"0ER971U<FX@,SL-"@D@(" @?0T*(" @
M('T@=VAI;&4@*"!N(#X@," I.R @(" -"@T*(" @(&9C;&]S92@@9G,@*3L-
M"@T*(" @("\J($9I>"!T:6UE('-T86UP("HO#0H@(" @:68@*"!P<F5S97)V
M95]T:6UE("D-"@EI9B H('-E=&9T:6UE*"!F:6QE;F\H9F0I+" F5VAE;B I
M("D@('L-"@D@(" @<&5R<F]R*"!S("D[#0H)(" @('!R97-E<G9E7W1I;64@
M/2 P.PT*"7T-"B @("!F8VQO<V4H(&9D("D[#0H-"B @(" O*B!&:7@@86-C
M97-S(')I9VAT<R J+PT*(" @(&EF("@@<W1A="@@<RP@)E-T870@*2 I#0H)
M<&5R<F]R*"!S("D[#0H@(" @96QS92!I9B H(&-H;6]D*"!D+"!3=&%T+G-T
M7VUO9&4@*2 I#0H)<&5R<F]R*"!D("D[#0H-"B @("!R971U<FX@,#L-"B-E
M;F1I9@T*?0T*#0H-"@T*#0H-"FEN="!M86EN*"!I;G0@87)G8RP@8VAA<B J
M(&%R9W9;72 I#0I[#0H@(" @8VAA<B J"7!R;V=N86UE.PT*(" @(&EN= D)
M=F5R8F]S92 ](# [#0H@(" @:6YT"0EO;FQY7VEF7VYE=V5R/2 P.PT*(" @
M(&-H87(@*@ES=69F:7@@(#T@3E5,3#L-"B @("!C:&%R("H);6]D90D]($Y5
M3$P[#0H@(" @8VAA<B J( ED97-T.PT*(" @(&-H87(@*BH)<' [#0H-"B @
M("!A<F=V(#T@87)G=E]F:7@H("9A<F=C+"!A<F=V("D[#0H-"B @("!P<F]G
M;F%M92 ](&)A<V5N86UE*" J87)G=BLK("D[#0H-"B @(" O*B!P<F]C97-S
M('1H92!O<'1I;VYS("HO#0H@(" @=VAI;&4@*"!A<F=V6S!=(" F)B @87)G
M=ELP75LP72 ]/2 G+2<@*2 @>PT*"7-W:71C:" H(&%R9W9;,%U;,5T@*2 @
M>PT*"2 @("!C87-E("=.)SH-"@D@(" @(" @("LK87)G=CL-"@D);VYL>5]I
M9E]N97=E<B ](#$[#0H)"6)R96%K.PT*"2 @("!C87-E("=C)SH-"@D@(" @
M(" @("LK87)G=CL-"@D)+RH@5V4@86QW87ES(&-O<'DL(')E9V%R9&QE<W,@
M*B\-"@D)8G)E86L[#0H)(" @(&-A<V4@)W8G.@T*"0DK*V%R9W8[#0H)"79E
M<F)O<V4@/2 Q.PT*"0EB<F5A:SL-"@D@(" @8V%S92 G5B<Z#0H)"2LK87)G
M=CL-"@D)<W5F9FEX(#T@*F%R9W8[#0H)"2LK87)G=CL-"@D)8G)E86L[#0H)
M(" @(&-A<V4@)VTG.@T*"0DK*V%R9W8[#0H)"6UO9&4@/2 J87)G=CL-"@D)
M*RMA<F=V.PT*"0EB<F5A:SL-"@D@(" @9&5F875L=#H-"@D)9F%T86PH($Y5
M3$P@*3L-"@E]#0H@(" @?0T*#0H@(" @+RH@4V5P87)A=&4@<V]U<F-E(&9I
M;&4H<RD@9G)O;2!D97-T(&1I<F5C=&]R>2!O<B!F:6QE("HO#0HC:68@, T*
M(" @(&EF("@@(6%R9W9;,%T@?'P@(6%R9W9;,5T@*0T*"69A=&%L*" B;6ES
M<VEN9R!F:6QE<R!O<B!I;G9A;&ED(&1E<W1I;F%T:6]N(B I.PT*(V5L<V4-
M"B @(" O*B!792!U<V5D('1O(')E<75I<F4@870@;&5A<W0@;VYE(&9I;&4[
M(&YO="!A;GD@;6]R92 J+PT*(" @(&EF("@@(6%R9W9;,%T@*0T*"69A=&%L
M*" B;6ES<VEN9R!F:6QE<R!O<B!I;G9A;&ED(&1E<W1I;F%T:6]N(B I.PT*
M(" @(&EF("@@(6%R9W9;,5T@*0T*"7)E='5R;B P.PT*(V5N9&EF#0H@(" @
M9F]R("@@<' @/2!A<F=V.R J<' [("LK<' @*0T*"6-O;G1I;G5E.PT*(" @
M("TM<' [#0H@(" @9&5S=" ]("IP<#L-"B @(" J<' @/2!.54Q,.PT*#0H@
M(" @+RH@4')O8V5S<R!T:&4@87)G=6UE;G1S("HO#0H@(" @9F]R("@[("IA
M<F=V.R K*V%R9W8@*2 @>PT*"6-H87(@*B!F(#T@*F%R9W8[#0H)8VAA<B J
M(&QE868@/2!B87-E;F%M92@@9B I.PT*"6-H87(@=&%R9V5T6R Q,C@@73L-
M"@T*"7-T<F-P>2@@=&%R9V5T+"!D97-T("D[#0H-"@EI9B H(&ES7V1I<B@@
M=&%R9V5T("D@*2 @>PT*"2 @("!S=')C870H('1A<F=E="P@(B\B("D[#0H)
M(" @("\J(&EF('=E('=E<F4@9VEV96X@82!S=69F:7@L('1H96X@861D(&ET
M(&%S(&%P<')O<')I871E("HO#0H)(" @(&EF("@@<W5F9FEX("D@('L-"@D)
M8VAA<B J(&1O=" ]('-T<F-H<B@@;&5A9BP@)RXG("D[#0H)"6EF("@@9&]T
M("D@('L-"@D)(" @('-T<FYC870H('1A<F=E="P@;&5A9BP@9&]T+6QE868@
M*3L-"@D)(" @('-T<F-A="@@=&%R9V5T+"!S=69F:7@@*3L-"@D)(" @('-T
M<F-A="@@=&%R9V5T+"!D;W0@*3L-"@D)(" @(&EF("@@=F5R8F]S92 I#0H)
M"0EP<FEN=&8H("(E<SH@)7,@=VEL;"!B92!I;G-T86QL960@87,@)7,B+ T*
M"0D)(" @(" @('!R;V=N86UE+"!F+"!S=')R8VAR*'1A<F=E="PG+R<I*S$@
M*3L-"@D)?2!E;'-E('L-"@D)(" @('-T<F-A="@@=&%R9V5T+"!L96%F("D[
M#0H)"2 @("!S=')C870H('1A<F=E="P@<W5F9FEX("D[#0H)"7T-"@D@(" @
M?2!E;'-E('L-"@D)<W1R8V%T*"!T87)G970L(&QE868@*3L-"@D@(" @?0T*
M"7T-"@T*"6EF("@@86-C97-S*"!F+" P("D@*2 @>PT*"2 @("!C:&%R(&)U
M9ELR,#!=.PT*"2 @("!S<')I;G1F*"!B=68L(")C86YN;W0@<F5A9" E<R(L
M(&8@*3L-"@D@(" @9F%T86PH(&)U9B I.PT*"7T-"@T*"6EF("@@;VYL>5]I
M9E]N97=E<B F)B!I<U]F:6QE*"!T87)G970@*2 F)B A;F5W97(H(&8L('1A
M<F=E=" I("D@('L-"@D@(" @:68@*"!V97)B;W-E("D-"@D)<')I;G1F*" B
M)R5S)R!N;W0@;F5W97(@=&AA;B G)7,G7&XB+"!F+"!T87)G970@*3L-"@D@
M(" @8V]N=&EN=64[#0H)?0T*#0H):68@*"!V97)B;W-E("D-"@D@(" @<')I
M;G1F*" B<FT@+68@)7-<;B(L('1A<F=E=" I.PT*"6EF("@@8VAM;V0H('1A
M<F=E="P@,#<W-R I("D-"@D@(" @:68@*"!V97)B;W-E("D-"@D)<&5R<F]R
M*"!T87)G970@*3L-"@EI9B H('5N;&EN:R@@=&%R9V5T("D@*0T*"2 @("!I
M9B H('9E<F)O<V4@*0T*"0EP97)R;W(H('1A<F=E=" I.PT*"6EF("@@=F5R
M8F]S92 I#0H)(" @('!R:6YT9B@@(F-P("UP("5S("5S7&XB+"!F+"!T87)G
M970@*3L-"@EI9B H(&9I;&5C;W!Y*"!T87)G970L(&8L(#$@*2 I#0H)(" @
M(')E='5R;B Q.PT*"6EF("@@;6]D92 I("![#0H)(" @(&-H87(@8G5F6R R
M-34@73L-"@D@(" @<W!R:6YT9B@@8G5F+" B8VAM;V0@)7,@)7-<;B(L(&UO
M9&4L('1A<F=E=" I.PT*"2 @("!I9B H('9E<F)O<V4@*0T*"0EP<FEN=&8H
M("(E<UQN(BP@8G5F("D[#0H)(" @('-Y<W1E;2@@8G5F("D[#0H)?0T*(" @
:('T-"@T*(" @(')E='5R;B P.PT*?0T*#0IE
end

View File

@@ -1,36 +0,0 @@
#
# $Id$
#
# RTEMS build tools
# NOTE: of course we can't use any of these tools
# in this Makefile. Most notably: install-if-change
#
@SET_MAKE@
srcdir = @srcdir@
VPATH = @srcdir@
RTEMS_ROOT = @top_srcdir@
PROJECT_ROOT = @PROJECT_ROOT@
include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
include $(RTEMS_ROOT)/make/leaf.cfg
include $(RTEMS_ROOT)/make/rtems.cfg
DESTDIR=$(PROJECT_RELEASE)/build-tools
BUILD_PGMS=install-if-change rcs-clean lock-directory unlock-directory
PGMS = $(BUILD_PGMS) search-id.sh
CLEAN_ADDITIONS += $(BUILD_PGMS)
INSTALLED_PGMS=$(PGMS:%=$(DESTDIR)/%)
all: $(DESTDIR) $(PGMS) install
$(DESTDIR):
@INSTALL@ $(INSTDIRFLAGS) $@
$(INSTALLED_PGMS): $(PGMS)
@INSTALL@ $(INSTBINFLAGS) $^ $(DESTDIR)
install: $(DESTDIR) $(INSTALLED_PGMS)

View File

@@ -1,73 +0,0 @@
#!@KSH@ -p
#
# $Id$
#
# Delete all files from the current directory that can be recreated
# via RCS 'co' commonds
# Used by 'make clobber'
#
progname=${0##*/} # fast basename hack for ksh, bash
USAGE=\
"usage: $progname [ -v ]"
fatal() {
if [ "$1" ]
then
echo $* >&2
fi
echo "$USAGE" 1>&2
exit 1
}
#
# process the options
#
verbose=""
while getopts v OPT
do
case "$OPT" in
v)
verbose="yes";;
*)
fatal
esac
done
let $((shiftcount = $OPTIND - 1))
shift $shiftcount
args=$*
[ "$args" ] && fatal
[ -d RCS/. ] || exit 0
# there is probably a better way to do this
rcs_files=`echo RCS/*,v | sed -e 's?RCS/??g' -e's/,v//g'`
kills=""
for f in $rcs_files
do
# build list of all files in RCS/*,v that are *not* locked
if [ -f $f ] && [ ! -w $f ] && [ -f RCS/$f,v ]
then
locked=`rlog -L -R $f`
[ "$locked" = "" ] && kills="$kills $f"
fi
done
if [ "$kills" ]
then
[ "$verbose" ] && echo rm -f $kills
rm -f $kills
fi
exit 0
# Local Variables: ***
# mode:ksh ***
# End: ***

View File

@@ -1,70 +0,0 @@
#
# $Id$
#
@SET_MAKE@
srcdir = @srcdir@
exec_prefix = @exec_prefix@
bindir = @bindir@
libdir = @libdir@
includedir = @includedir@
manext = 1
mandir = @mandir@/man$(manext)
# FIXME: $EXEEXT should be set in a central cfg-file used for native
# compiling (e.g. gcc.cfg) instead of setting EXEEXE here.
EXEEXT=@EXEEXT@
VPATH = @srcdir@
RTEMS_ROOT = @top_srcdir@
PROJECT_ROOT = @PROJECT_ROOT@
# we use host compiler in this directory
USE_HOST_COMPILER=yes
# C source names, if any, go here -- minus the .c
C_PIECES=cklength eolstrip packhex unhex
C_FILES=$(C_PIECES:%=%.c)
C_O_FILES=$(C_PIECES:%=$(ARCH)/%.o)
H_FILES=
SRCS=$(C_FILES) $(CC_FILES) $(H_FILES)
OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
# FIXME: building into $(ARCH) doesn't make sense for host programs
PGMS=$(ARCH)/cklength$(EXEEXT) $(ARCH)/eolstrip$(EXEEXT) \
$(ARCH)/packhex$(EXEEXT) $(ARCH)/unhex$(EXEEXT)
include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
include $(RTEMS_ROOT)/make/leaf.cfg
#
# (OPTIONAL) Add local stuff here using +=
#
DEFINES +=
CPPFLAGS += -I.
CFLAGS +=
LD_PATHS +=
LD_LIBS +=
LDFLAGS +=
#
# Add your list of files to delete here. The config files
# already know how to delete some stuff, so you may want
# to just run 'make clean' first to see what gets missed.
# 'make clobber' already includes 'make clean'
#
CLEAN_ADDITIONS += $(HOST_ARCH)
CLOBBER_ADDITIONS +=
DESTDIR=${PROJECT_RELEASE}/build-tools
$(DESTDIR):
@INSTALL@ $(INSTDIRFLAGS) $@
all: $(ARCH) $(DESTDIR) $(SRCS) $(PGMS)
@INSTALL@ $(INSTBINFLAGS) $(PGMS) $(DESTDIR)

View File

@@ -1,9 +0,0 @@
/*
* This file is editted automatically by autoconf.
*
* $Id$
*/
/* Define if you have the strerror function. */
#undef HAVE_STRERROR

113
c/configure.in Normal file
View File

@@ -0,0 +1,113 @@
dnl Process this file with autoconf to produce a configure script.
dnl
dnl $Id$
AC_PREREQ(2.13)
AC_INIT(src)
RTEMS_TOP(..)
AC_CONFIG_AUX_DIR(..)
RTEMS_CANONICAL_TARGET_CPU
AM_INIT_AUTOMAKE(rtems-c,$RTEMS_VERSION,no)
AM_MAINTAINER_MODE
dnl These options are used within this file.
RTEMS_ENABLE_BARE
RTEMS_ENABLE_RTEMSBSP(rtems_bsp)
RTEMS_CHECK_CPU
RTEMS_CANONICAL_HOST
if test -z "$rtems_bsp"; then
RTEMS_CHECK_BSPS(rtems_bsp)
fi
for i in $rtems_bsp; do
# make sure there is a make/custom file for the bsp
RTEMS_CHECK_CUSTOM_BSP(i)
RTEMS_BSP_ALIAS($i,bspdir)
# Is there code where there should be for this BSP?
# The bare bsp is a special case as it is not under the RTEMS_CPU path
case $bspdir in
bare)
bspcpudir=
if test "X${BARE_CPU_CFLAGS}" = "X" ; then
AC_MSG_ERROR([--enable-bare-cpu-cflags not specified for bare bsp])
fi
if test "X${BARE_CPU_MODEL}" = "X" ; then
AC_MSG_ERROR([--enable-bare-cpu-model not specified for bare bsp])
fi
;;
*)
bspcpudir=$RTEMS_CPU/
;;
esac
if test -d "$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$bspcpudir$bspdir"; then
RTEMS_BSP_LIST="$RTEMS_BSP_LIST $i"
else
AC_MSG_ERROR([unable to find libbsp directory ($bspdir) for $i])
fi
done
#
# Compose the configuration arguments to be passed to c/src/configure
#
##
## Partially borrowed from autoconf-2.13
##
## Adjust paths
case $srcdir in
/*) rtems_bsp_configure="$srcdir/src/configure";;
*) rtems_bsp_configure="../$srcdir/src/configure";;
esac
## Remove --cache-file, --srcdir and --enable-rtemsbsp arguments
## so they do not pile up
rtems_bsp_configure_args=
for ac_arg in $ac_configure_args; do
if test -n "$ac_prev"; then
ac_prev=
continue
fi
case "$ac_arg" in
-cache-file | --cache-file | --cache-fil | --cache-fi \
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
ac_prev=cache_file ;;
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
;;
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
ac_prev=srcdir ;;
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
;;
--enable-rtemsbsp*) ;;
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
;;
*) rtems_bsp_configure_args="$rtems_bsp_configure_args $ac_arg" ;;
esac
done
rtems_bsp_configure="$rtems_bsp_configure $rtems_bsp_configure_args"
AC_SUBST(rtems_bsp_configure)
AC_SUBST(RTEMS_BSP_LIST)
AC_CONFIG_SUBDIRS(make)
# Explicitly list all Makefiles here
AC_OUTPUT(
Makefile
)
echo
echo target architecture: $target_cpu.
echo available BSPs: $rtems_bsp.
echo \'make all\' will build the following BSPs: $RTEMS_BSP_LIST.
echo other BSPs can be built with \'make RTEMS_BSP=\"bsp1 bsp2 ...\"\'
echo

14
c/make/.cvsignore Normal file
View File

@@ -0,0 +1,14 @@
Makefile
Makefile.in
aclocal.m4
config.cache
config.guess
config.log
config.status
config.sub
configure
depcomp
install-sh
missing
mkinstalldirs
target.cfg

16
c/make/Makefile.am Normal file
View File

@@ -0,0 +1,16 @@
##
## $Id$
##
AUTOMAKE_OPTIONS = foreign 1.4
ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
rtems_makedir = $(prefix)/make
GENERIC_FILES = target.cfg
rtems_make_DATA = $(GENERIC_FILES)
EXTRA_DIST = target.cfg.in
include $(top_srcdir)/../../automake/host.am

53
c/make/configure.in Normal file
View File

@@ -0,0 +1,53 @@
dnl Process this file with autoconf to produce a configure script.
dnl
dnl $Id$
dnl
dnl This script configures the configuration files below c/make/
dnl
AC_PREREQ(2.13)
AC_INIT(target.cfg.in)
RTEMS_TOP(../..)
AC_CONFIG_AUX_DIR(../..)
RTEMS_CANONICAL_TARGET_CPU
AM_INIT_AUTOMAKE(rtems-c-make,$RTEMS_VERSION,no)
AM_MAINTAINER_MODE
RTEMS_ENABLE_MULTIPROCESSING
RTEMS_ENABLE_POSIX
RTEMS_ENABLE_ITRON
RTEMS_ENABLE_NETWORKING
RTEMS_ENABLE_RDBG
RTEMS_ENABLE_INLINES
RTEMS_ENABLE_CXX
RTEMS_ENABLE_GCC28
RTEMS_CHECK_CPU
RTEMS_CANONICAL_HOST
RTEMS_PROJECT_ROOT
RTEMS_PROG_CC_FOR_TARGET
dnl check for g++
if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
RTEMS_PROG_CXX_FOR_TARGET
fi
RTEMS_CANONICALIZE_TOOLS
AC_SUBST(rtems_cv_prog_cc_cross)
AC_SUBST(RTEMS_HAS_POSIX)
AC_SUBST(RTEMS_HOST)
AC_SUBST(RTEMS_HAS_CPLUSPLUS)
AC_SUBST(RTEMS_USE_GCC272)
AC_SUBST(RTEMS_CPU)
# Explicitly list all Makefiles here
AC_OUTPUT(
Makefile
target.cfg
)

View File

@@ -11,7 +11,6 @@ CPPFLAGS = @CPPFLAGS@
DEFS = @DEFS@
LDFLAGS =
LIBS = @LIBS@
CC_FOR_BUILD = @CC@
CC = @CC_FOR_TARGET@
AS = @AS_FOR_TARGET@
@@ -19,6 +18,7 @@ AR = @AR_FOR_TARGET@
NM = @NM_FOR_TARGET@
LD = @LD_FOR_TARGET@
SIZE = @SIZE_FOR_TARGET@
STRIP = @STRIP_FOR_TARGET@
OBJCOPY = @OBJCOPY_FOR_TARGET@
RANLIB = @RANLIB_FOR_TARGET@
@@ -37,21 +37,17 @@ export CXX
RTEMS_CROSS_TARGET=@rtems_cv_prog_cc_cross@
RTEMS_HOST = @RTEMS_HOST@
RTEMS_USE_OWN_PDIR = @RTEMS_USE_OWN_PDIR@
RTEMS_HAS_MULTIPROCESSING = @RTEMS_HAS_MULTIPROCESSING@
RTEMS_HAS_POSIX_API = @RTEMS_HAS_POSIX_API@
RTEMS_HAS_POSIX_1H_API = @RTEMS_HAS_POSIX_1H_API@
RTEMS_HAS_ITRON_API = @RTEMS_HAS_ITRON_API@
RTEMS_HAS_NETWORKING = @RTEMS_HAS_NETWORKING@
RTEMS_HAS_RDBG = @RTEMS_HAS_RDBG@
RTEMS_HAS_CPLUSPLUS = @RTEMS_HAS_CPLUSPLUS@
RTEMS_USE_MACROS = @RTEMS_USE_MACROS@
RTEMS_USE_GCC272 = @RTEMS_USE_GCC272@
RTEMS_LIBC_DIR = @RTEMS_LIBC_DIR@
RTEMS_CPU = @target_cpu@
RTEMS_CPU = @RTEMS_CPU@
# the following are only used for the bare bsp
BARE_CPU_MODEL = @BARE_CPU_MODEL@
BARE_CPU_CFLAGS = @BARE_CPU_CFLAGS@
INSTALL=$(PROJECT_ROOT)/$(RTEMS_BSP)/build-tools/install-if-change
XCFLAGS=$(CFLAGS_FOR_TARGET)
export RTEMS_BSP

13
c/src/.cvsignore Normal file
View File

@@ -0,0 +1,13 @@
Makefile
Makefile.in
aclocal.m4
config.cache
config.guess
config.log
config.status
config.sub
configure
depcomp
install-sh
missing
mkinstalldirs

23
c/src/Makefile.am Normal file
View File

@@ -0,0 +1,23 @@
##
## $Id$
##
AUTOMAKE_OPTIONS = foreign 1.4
ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
SUBDIRS = @cfg_subdirs@ wrapup tests
rtems_bspdir = $(prefix)/@RTEMS_BSP@
# NOTE: The wildcard on the install should pick up everything except
# the tests directory. This significantly minimizes the install size.
install-data-local:
$(mkinstalldirs) $(rtems_bspdir)
cd $(PROJECT_ROOT); \
tar cf - @RTEMS_BSP@/[bilsuM]* | (cd $(DESTDIR)$(prefix); tar xpBf - );
uninstall-local:
rm -rf $(rtems_bspdir)/[bsl]*;
include $(top_srcdir)/../../automake/subdirs.am
include $(top_srcdir)/../../automake/host.am

View File

@@ -1,16 +0,0 @@
#
# $Id$
#
@SET_MAKE@
srcdir = @srcdir@
VPATH = @srcdir@
RTEMS_ROOT = @top_srcdir@
PROJECT_ROOT = @PROJECT_ROOT@
include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
include $(RTEMS_ROOT)/make/directory.cfg
SUB_DIRS=exec lib tests/tools tests/support tests/samples

64
c/src/configure.in Normal file
View File

@@ -0,0 +1,64 @@
dnl Process this file with autoconf to produce a configure script.
dnl
dnl $Id$
AC_PREREQ(2.13)
AC_INIT(exec)
RTEMS_TOP(../..)
AC_CONFIG_AUX_DIR(../..)
RTEMS_ENABLE_CXX
RTEMS_ENABLE_NETWORKING
RTEMS_ENABLE_RDBG
RTEMS_CANONICAL_TARGET_CPU
RTEMS_CANONICAL_HOST
AM_INIT_AUTOMAKE(rtems-c-src,$RTEMS_VERSION,no)
AM_MAINTAINER_MODE
RTEMS_ENV_RTEMSBSP
RTEMS_CHECK_CPU
RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
RTEMS_CHECK_NETWORKING(RTEMS_BSP)
## Note: the order of the directories below is essential
cfg_subdirs="make"
cfg_subdirs="$cfg_subdirs exec"
cfg_subdirs="$cfg_subdirs lib"
cfg_subdirs="$cfg_subdirs libmisc"
if test "$RTEMS_CPU" != "unix"; then
## HACK: Suppress libchip for unix
cfg_subdirs="$cfg_subdirs libchip"
fi
if test "$HAS_NETWORKING" = "yes"; then
cfg_subdirs="$cfg_subdirs libnetworking librpc"
if test "$RTEMS_HAS_RDBG" = "yes"; then
RTEMS_CHECK_RDBG(RTEMS_BSP)
fi
fi
if test "$HAS_RDBG" = "yes"; then
cfg_subdirs="$cfg_subdirs librdbg"
fi
AM_CONDITIONAL(HAS_NETWORKING, test "$HAS_NETWORKING" = "yes" )
AM_CONDITIONAL(HAS_RDBG, test "$HAS_RDBG" = "yes" )
if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
cfg_subdirs="$cfg_subdirs librtems++";
fi
AC_CONFIG_SUBDIRS($cfg_subdirs)
AC_SUBST(cfg_subdirs)
AC_CONFIG_SUBDIRS(tests)
RTEMS_PROJECT_ROOT
# Explicitly list all Makefiles here
AC_OUTPUT(
Makefile
wrapup/Makefile
)

13
c/src/exec/.cvsignore Normal file
View File

@@ -0,0 +1,13 @@
Makefile
Makefile.in
aclocal.m4
config.cache
config.guess
config.log
config.status
config.sub
configure
depcomp
install-sh
missing
mkinstalldirs

19
c/src/exec/Makefile.am Normal file
View File

@@ -0,0 +1,19 @@
##
## $Id$
##
AUTOMAKE_OPTIONS = foreign 1.4
ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
if HAS_POSIX
POSIX_SUBDIRS = posix
endif
if HAS_ITRON
ITRON_SUBDIRS = itron
endif
SUBDIRS = score rtems $(POSIX_SUBDIRS) $(ITRON_SUBDIRS) sapi wrapup
include $(top_srcdir)/../../../automake/subdirs.am
include $(top_srcdir)/../../../automake/local.am

View File

@@ -1,18 +0,0 @@
#
# $Id$
#
@SET_MAKE@
srcdir = @srcdir@
VPATH = @srcdir@
RTEMS_ROOT = @top_srcdir@
PROJECT_ROOT = @PROJECT_ROOT@
include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
include $(RTEMS_ROOT)/make/directory.cfg
POSIX_DIRS_yes_V=posix
POSIX_DIRS = $(POSIX_DIRS_$(RTEMS_HAS_POSIX_API)_V)
SUB_DIRS=score rtems $(POSIX_DIRS) sapi wrapup

111
c/src/exec/configure.in Normal file
View File

@@ -0,0 +1,111 @@
dnl Process this file with autoconf to produce a configure script.
dnl
dnl $Id$
AC_PREREQ(2.13)
AC_INIT(score)
RTEMS_TOP(../../..)
AC_CONFIG_AUX_DIR(../../..)
RTEMS_CANONICAL_TARGET_CPU
AM_INIT_AUTOMAKE(rtems-c-src-exec,$RTEMS_VERSION,no)
AM_MAINTAINER_MODE
RTEMS_ENABLE_MULTIPROCESSING
RTEMS_ENABLE_POSIX
RTEMS_ENABLE_ITRON
RTEMS_ENABLE_INLINES
RTEMS_ENABLE_GCC28
RTEMS_ENV_RTEMSBSP
RTEMS_CHECK_CPU
RTEMS_CANONICAL_HOST
RTEMS_PROJECT_ROOT
RTEMS_PROG_CC_FOR_TARGET
RTEMS_CANONICALIZE_TOOLS
RTEMS_CHECK_NEWLIB
# Check if there is custom/*.cfg for this BSP
RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
RTEMS_CHECK_POSIX_API(RTEMS_BSP)
RTEMS_CHECK_ITRON_API(RTEMS_BSP)
# If RTEMS macros are enabled, then use them. Otherwise, use inlines.
if test "$RTEMS_USE_MACROS" = "yes"; then
INLINEdir="macros"
if test "$HAS_POSIX_API" = "yes"; then
# The problem is that there is currently no code in posix/macros :)
AC_MSG_ERROR(Macros are not implemented for the POSIX API)
fi
if test "$HAS_ITRON_API" = "yes"; then
# The problem is that there is currently no code in itron/macros :)
AC_MSG_ERROR(Macros are not implemented for the ITRON API)
fi
else
INLINEdir="inline"
fi
AM_CONDITIONAL(INLINE,test "$INLINEdir" = "inline" )
AM_CONDITIONAL(MACROS,test "$INLINEdir" = "macros" )
AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes" )
AC_SUBST(RTEMS_VERSION)
AM_CONDITIONAL(HAS_POSIX,test "$HAS_POSIX_API" = "yes")
AM_CONDITIONAL(HAS_ITRON,test "$HAS_ITRON_API" = "yes")
if test "$HAS_POSIX_API" = "yes"; then
cfg_subdirs="posix"
fi
if test "$HAS_ITRON_API" = "yes"; then
cfg_subdirs="$cfg_subdirs itron"
fi
AC_CONFIG_SUBDIRS($cfg_subdirs)
AC_CONFIG_SUBDIRS(score/cpu/$RTEMS_CPU)
# Explicitly list all Makefiles here
AC_OUTPUT(
Makefile
rtems/Makefile
rtems/src/Makefile
rtems/include/Makefile
rtems/include/rtems/Makefile
rtems/include/rtems/rtems/Makefile
rtems/optman/Makefile
rtems/inline/Makefile
rtems/inline/rtems/Makefile
rtems/inline/rtems/rtems/Makefile
rtems/macros/Makefile
rtems/macros/rtems/Makefile
rtems/macros/rtems/rtems/Makefile
sapi/Makefile
sapi/src/Makefile
sapi/include/Makefile
sapi/include/rtems/Makefile
sapi/include/rtems/sptables.h
sapi/inline/Makefile
sapi/inline/rtems/Makefile
sapi/macros/Makefile
sapi/macros/rtems/Makefile
sapi/optman/Makefile
score/Makefile
score/cpu/Makefile
score/include/Makefile
score/include/rtems/Makefile
score/include/rtems/score/Makefile
score/inline/Makefile
score/inline/rtems/Makefile
score/inline/rtems/score/Makefile
score/macros/Makefile
score/macros/rtems/Makefile
score/macros/rtems/score/Makefile
score/src/Makefile
wrapup/Makefile
wrapup/rtems/Makefile
wrapup/itron/Makefile
wrapup/posix/Makefile
)

View File

@@ -0,0 +1,13 @@
Makefile
Makefile.in
aclocal.m4
config.cache
config.guess
config.log
config.status
config.sub
configure
depcomp
install-sh
missing
mkinstalldirs

View File

@@ -0,0 +1,11 @@
##
## $Id$
##
AUTOMAKE_OPTIONS = foreign 1.4
ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
SUBDIRS = include inline src
include $(top_srcdir)/../../../../automake/subdirs.am
include $(top_srcdir)/../../../../automake/local.am

View File

@@ -0,0 +1,71 @@
dnl Process this file with autoconf to produce a configure script.
dnl
dnl $Id$
AC_PREREQ(2.13)
AC_INIT(include/itronsys)
RTEMS_TOP(../../../..)
AC_CONFIG_AUX_DIR(../../../..)
RTEMS_CANONICAL_TARGET_CPU
AM_INIT_AUTOMAKE(rtems-c-src-exec-itron,$RTEMS_VERSION,no)
AM_MAINTAINER_MODE
RTEMS_ENABLE_MULTIPROCESSING
RTEMS_ENABLE_ITRON
RTEMS_ENABLE_INLINES
RTEMS_ENV_RTEMSBSP
RTEMS_CHECK_CPU
RTEMS_CANONICAL_HOST
RTEMS_PROJECT_ROOT
RTEMS_PROG_CC_FOR_TARGET
RTEMS_CANONICALIZE_TOOLS
# Check if there is custom/*.cfg for this BSP
RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
RTEMS_CHECK_ITRON_API(RTEMS_BSP)
# If RTEMS macros are enabled, then use them. Otherwise, use inlines.
if test "$RTEMS_USE_MACROS" = "yes"; then
INLINEdir="macros"
if test "$HAS_ITRON_API" = "yes"; then
# The problem is that there is currently no code in itron/macros :)
AC_MSG_ERROR(Macros are not implemented for the ITRON API)
fi
else
INLINEdir="inline"
fi
AM_CONDITIONAL(INLINE,test "$INLINEdir" = "inline" )
AM_CONDITIONAL(MACROS,test "$INLINEdir" = "macros" )
## Needed when using automake for libs/rels
RTEMS_CHECK_NEWLIB
# If RTEMS macros are enabled, then use them. Otherwise, refuse to build
if test "$RTEMS_USE_MACROS" = "yes"; then
# The problem is that there is currently no code in itron/macros :)
AC_MSG_ERROR(Macros are not implemented for the ITRON API)
fi
##
## FIXME: We configure and build the macros subdirectory, too.
## Should probably use AM_CONDITIONALs to disable them in future
# Explicitly list all Makefiles here
AC_OUTPUT(
Makefile
src/Makefile
include/Makefile
include/itronsys/Makefile
include/rtems/Makefile
include/rtems/itron/Makefile
inline/Makefile
inline/rtems/Makefile
inline/rtems/itron/Makefile
)

View File

@@ -0,0 +1,2 @@
Makefile
Makefile.in

View File

@@ -0,0 +1,24 @@
##
## $Id$
##
AUTOMAKE_OPTIONS = foreign 1.4
H_FILES = itron.h
noinst_HEADERS = $(H_FILES)
PREINSTALL_FILES += $(PROJECT_INCLUDE) \
$(noinst_HEADERS:%=$(PROJECT_INCLUDE)/%)
$(PROJECT_INCLUDE):
@$(mkinstalldirs) $@
$(PROJECT_INCLUDE)/%.h: %.h
$(INSTALL_DATA) $< $@
all-local: $(PREINSTALL_FILES)
SUBDIRS = rtems itronsys
include $(top_srcdir)/../../../../automake/subdirs.am
include $(top_srcdir)/../../../../automake/local.am

View File

@@ -0,0 +1,52 @@
/*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/
#ifndef __ITRON_h_
#define __ITRON_h_
#ifdef __cplusplus
extern "C" {
#endif
/*
* Include the basic requirements
*/
#include <rtems/system.h> /* basic RTEMS types defined by */
/* each port */
#include <itronsys/types.h> /* define all the TRON types */
/* in terms of the RTEMS base types */
#include <itronsys/status.h> /* define all ITRON status codes */
/*
* Now include the per manager include files
*/
#include <itronsys/eventflags.h>
#include <itronsys/fmempool.h>
#include <itronsys/intr.h>
#include <itronsys/mbox.h>
#include <itronsys/msgbuffer.h>
#include <itronsys/sysmgmt.h> /* network depends on this file */
#include <itronsys/network.h>
#include <itronsys/port.h>
#include <itronsys/semaphore.h>
#include <itronsys/task.h>
#include <itronsys/time.h>
#include <itronsys/vmempool.h>
#ifdef __cplusplus
}
#endif
#endif
/* end of include file */

View File

@@ -0,0 +1,2 @@
Makefile
Makefile.in

View File

@@ -0,0 +1,22 @@
##
## $Id$
##
AUTOMAKE_OPTIONS = foreign 1.4
H_FILES = eventflags.h fmempool.h intr.h mbox.h msgbuffer.h network.h port.h \
semaphore.h status.h sysmgmt.h task.h time.h types.h vmempool.h
noinst_HEADERS = $(H_FILES)
PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys \
$(noinst_HEADERS:%=$(PROJECT_INCLUDE)/itronsys/%)
$(PROJECT_INCLUDE)/itronsys:
@$(mkinstalldirs) $@
$(PROJECT_INCLUDE)/itronsys/%.h: %.h
$(INSTALL_DATA) $< $@
all-local: $(PREINSTALL_FILES)
include $(top_srcdir)/../../../../automake/local.am

View File

@@ -0,0 +1,9 @@
#
# $Id$
#
This directory contains the public interface of each manager.
Each file in this directory is included from <itron.h>.
The private header file for each ITRON manager is in
../rtems/itron.

View File

@@ -0,0 +1,146 @@
/*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/
#ifndef __ITRON_EVENTFLAGS_h_
#define __ITRON_EVENTFLAGS_h_
#ifdef __cplusplus
extern "C" {
#endif
/*
* Create Eventflags (cre_flg) Structure
*/
typedef struct t_cflg {
VP exinf; /* extended information */
ATR flgatr; /* eventflag attribute */
UINT iflgptn; /* initial eventflag */
/* additional information may be included depending on the implementation */
} T_CFLG;
/*
* flgatr
*/
#define TA_WSGL 0x00 /* multiple tasks are not allowed to wait (Wait
Single Task) */
#define TA_WMUL 0x08 /* multiple tasks are allowed to wait (Wait
Multiple Task) */
/*
* wfmode
*/
#define TWF_ANDW 0x00 /* AND wait */
#define TWF_ORW 0x02 /* OR wait */
#define TWF_CLR 0x01 /* clear specification */
/*
* Reference Eventflags (ref_flg) Structure
*/
typedef struct t_rflg {
VP exinf; /* extended information */
BOOL_ID wtsk; /* indicates whether or not there is a waiting task */
UINT flgptn; /* eventflag bit pattern */
/* additional information may be included depending on the implementation */
} T_RFLG;
/*
* Eventflag Functions
*/
/*
* cre_flg - Create Eventflag
*/
ER cre_flg(
ID flgid,
T_CFLG *pk_cflg
);
/*
* del_flg - Delete Eventflag
*/
ER del_flg(
ID flgid
);
/*
* set_flg - Set Eventflag
*/
ER set_flg(
ID flgid,
UINT setptn
);
/*
* clr_flg - Clear Eventflag
*/
ER clr_flg(
ID flgid,
UINT clrptn
);
/*
* wai_flg - Wait on Eventflag
*/
ER wai_flg(
UINT *p_flgptn,
ID flgid,
UINT waiptn,
UINT wfmode
);
/*
* pol_flg - Wait for Eventflag(Polling)
*/
ER pol_flg(
UINT *p_flgptn,
ID flgid,
UINT waiptn,
UINT wfmode
);
/*
* twai_flg - Wait on Eventflag with Timeout
*/
ER twai_flg(
UINT *p_flgptn,
ID flgid,
UINT waiptn,
UINT wfmode,
TMO tmout
);
/*
* ref_flg - Reference Eventflag Status
*/
ER ref_flg(
T_RFLG *pk_rflg,
ID flgid
);
#ifdef __cplusplus
}
#endif
#endif
/* end of include file */

View File

@@ -0,0 +1,125 @@
/*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/
#ifndef __ITRON_FIXED_MEMORYPOOL_h_
#define __ITRON_FIXED_MEMORYPOOL_h_
#ifdef __cplusplus
extern "C" {
#endif
/*
* Create Fixed Memory Pool (cre_mpf) Structure
*/
/* cre_mpf */
typedef struct t_cmpf {
VP exinf; /* extended information */
ATR mpfatr; /* memorypool attributes */
INT mpfcnt; /* block count for entire memorypool */
INT blfsz; /* fixed-size memory block size */
/* additional information may be included depending on the implementation */
} T_CMPF;
/*
* mpfatr
*/
#define TA_TFIFO 0x00 /* waiting tasks are handled by FIFO */
#define TA_TPRI 0x01 /* waiting tasks are handled by priority */
/*
* Reference Fixed Memory Pool (ref_mpf) Structure
*/
/* ref_mpf */
typedef struct t_rmpf {
VP exinf; /* extended information */
BOOL_ID wtsk; /* indicates whether or not there are waiting tasks */
INT frbcnt; /* free block count */
/* additional information may be included depending on the implementation */
} T_RMPF;
/*
* Fixed Memory Pool Functions
*/
/*
* cre_mpf - Create Fixed-Size Memorypool
*/
ER cre_mpf(
ID mpfid,
T_CMPF *pk_cmpf
);
/*
* del_mpf - Delete Fixed-Size Memorypool
*/
ER del_mpf(
ID mpfid
);
/*
* get_blf - Get Fixed-Size Memory Block
*/
ER get_blf(
VP *p_blf,
ID mpfid
);
/*
* pget_blf - Poll and Get Fixed-Size Memory Block
*/
ER pget_blf(
VP *p_blf,
ID mpfid
);
/*
* tget_blf - Get Fixed-Size Memory Block with Timeout
*/
ER tget_blf(
VP *p_blf,
ID mpfid,
TMO tmout
);
/*
* rel_blf - Release Fixed-Size Memory Block
*/
ER rel_blf(
ID mpfid,
VP blf
);
/*
* ref_mpf - Reference Fixed-Size Memorypool Status
*/
ER ref_mpf(
T_RMPF *pk_rmpf,
ID mpfid
);
#ifdef __cplusplus
}
#endif
#endif
/* end of include file */

View File

@@ -0,0 +1,106 @@
/*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/
#ifndef __ITRON_INTERRUPT_h_
#define __ITRON_INTERRUPT_h_
#ifdef __cplusplus
extern "C" {
#endif
/*
* Define Interrupt (def_int) Structure
*/
typedef struct t_dint {
ATR intatr; /* interrupt handler attributes */
FP inthdr; /* interrupt handler address */
/* additional information may be included depending on the implementation */
} T_DINT;
/*
* Interrupt Functions
*/
/*
* def_int - Define Interrupt Handler
*/
ER def_int(
UINT dintno,
T_DINT *pk_dint
);
/*
* ret_int - Return from Interrupt Handler
*/
void ret_int( void );
/*
* ret_wup - Return and Wakeup Task
*/
void ret_wup(
ID tskid
);
/*
* loc_cpu - Lock CPU
*/
ER loc_cpu( void );
/*
* unl_cpu - Unlock CPU
*/
ER unl_cpu( void );
/*
* dis_int - Disable Interrupt
*/
ER dis_int(
UINT eintno
);
/*
* ena_int - Enable Interrupt
*/
ER ena_int(
UINT eintno
);
/*
* chg_iXX - Change Interrupt Mask(Level or Priority)
*/
ER chg_iXX(
UINT iXXXX
);
/*
* ref_iXX - Reference Interrupt Mask(Level or Priority)
*/
ER ref_iXX(
UINT *p_iXXXX
);
#ifdef __cplusplus
}
#endif
#endif
/* end of include file */

View File

@@ -0,0 +1,138 @@
/*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/
#ifndef __ITRON_MBOX_h_
#define __ITRON_MBOX_h_
#ifdef __cplusplus
extern "C" {
#endif
/*
* Create Mailbox (cre_mbx) Structure
*/
typedef struct t_cmbx {
VP exinf; /* extended information */
ATR mbxatr; /* mailbox attributes */
/* Following is implementation-dependent function */
INT bufcnt; /* maximum number of messages to let pend */
/* additional information may be included depending on the implementation */
} T_CMBX;
/*
* mbxatr
*/
#define TA_TFIFO 0x00 /* waiting tasks are handled by FIFO */
#define TA_TPRI 0x01 /* waiting tasks are handled by priority */
#define TA_MFIFO 0x00 /* messages are handled by FIFO */
#define TA_MPRI 0x02 /* messages are handled by priority */
typedef struct t_msg {
/*
* A region (header) reserved by the OS may be included first
* depending on the implementation.
*
* NOTE: The first two fields are RTEMS specific.
*/
INT msgpri; /* priority of each message */
/* VB msgcont[]; XXX */
unsigned8 msgcont[1];
} T_MSG;
/*
* Reference Mailbox (ref_mbx) Structure
*/
typedef struct t_rmbx {
VP exinf; /* extended information */
BOOL_ID wtsk; /* indicates whether or not there is a waiting task */
T_MSG *pk_msg; /* message to be sent next */
/* additional information may be included depending on the implementation */
} T_RMBX;
/*
* Mailbox Functions
*/
/*
* cre_mbx - Create Mailbox
*/
ER cre_mbx(
ID mbxid,
T_CMBX *pk_cmbx
);
/*
* del_mbx - Delete Mailbox
*/
ER del_mbx(
ID mbxid
);
/*
* snd_msg - Send Message to Mailbox
*/
ER snd_msg(
ID mbxid,
T_MSG *pk_msg
);
/*
* rcv_msg - Receive Message from Mailbox
*/
ER rcv_msg(
T_MSG **ppk_msg,
ID mbxid
);
/*
* prcv_msg - Poll and Receive Message from Mailbox
*/
ER prcv_msg(
T_MSG **ppk_msg,
ID mbxid
);
/*
* trcv_msg - Receive Message from Mailbox with Timeout
*/
ER trcv_msg(
T_MSG **ppk_msg,
ID mbxid,
TMO tmout
);
/*
* ref_mbx - Reference Mailbox Status
*/
ER ref_mbx(
T_RMBX *pk_rmbx,
ID mbxid
);
#ifdef __cplusplus
}
#endif
#endif
/* end of include file */

Some files were not shown because too many files have changed in this diff Show More