Sprout from rtems-4-6-branch 2004-02-09 13:21:25 UTC cvs2git <rtems-devel@rtems.org> 'This commit was manufactured by cvs2svn to create branch 'rtems-4-6-branch'.'
Delete:
scripts/rtems/rtems-source.add
* HELP.html, index.html.in, rtems_footer.html.in, rtems_header.html.in,
rtems_support.html.in, FAQ/basic.t, gnu_docs/gnu_footer.html,
gnu_docs/index.html, gnu_docs/refcard.html,
gnu_docs/rtems_tools_index.html, started/binaries.t,
started/buildc.t, started/buildrt.t, started/intro.t,
started/require.t, started/sample.t, started/tversions.texi.in:
Attempt to make the documentation more accurately reflect the state
of the world. These changes were primarily concerned with server
layout.
PR pppd/564
* net/if_ppp.c, net/if_pppvar.h, net/ppp_tty.c: ppp0 Interface lose
packets if the system use a slow baudrate for the modem or the
tcp/ip-packet is fragmented.
PR 544/tests
* sp07/Makefile.am, sp07/init.c, sp07/system.h, sp07/task4.c,
sp07/tcreate.c, sp07/tdelete.c, sp07/trestart.c, sp07/tstart.c,
sp09/system.h, sp19/system.h, sp20/system.h: Various modifications to
make tests account for resources and not print at inappropriate
times.
* sp07/buffered_io.c: New file.
PR 523/filesystem
* src/malloc.c: Make malloc family safer for use from ISRs and
dispatching critical sections. If in a critical section while doing
a free(), then the free is deferred until the next malloc() attempt.
PR 513/doc
* Makefile.am, index.html.in: Rename Getting Started to be non-language
specific and remove link to Ada Getting Started. Also install missing
graphic.
PR 509/filesystem
* src/dosfs/fat.c: _fat_block_read and _fat_block_write return error
codes instead of -1 in case of errors, as they are supposed to do
according to the comments documenting these functions.
* src/dosfs/msdos_file.c (msdos_file_read, msdos_file_write):
Use '0' as initial value for ret instead of RC_OK.
2003-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/dosfs/msdos_conv.c: Remove isupper, islower, toupper, tolower
(Unused).
* Makefile.am, binaries.t, buildc.t, intro.t, nextstep.t, require.t,
sample.t, started.texi: General improvements and merge enough Ada
information to justify dropping the Ada specific manual. There is
likely still Ada specific information to merge though.
PR 503/bsps
* clock/ckinit.c, include/bsp.h, startup/efi68k_tcp.c, timer/timer.c:
Do not include DP8570A.h from bsp.h but still install it. This avoids
polluting the namespace.
PR 497/bsps
* ChangeLog, bootloader/head.S, startup/bspstart.c: Disable code that
returned to the firmware when the loader starts.
* startup/sbrk.c: New file.
PR 496/bsps
* startup/Makefile.am: Use PowerPC shared sbrk() implementation which
is used when initial heap size is limited to first 32 MB of RAM to
satisfy boot loader requirements.
PR 497/bsps
* BOOTING: Document letting the bootloader shut down the
network interface since it continues to run after loading
RTEMS application and has to be dealt with.
PR 497/bsps
* bootloader/head.S: Let the bootloader shut down the
network interface. NOTE: this involves a PPCBug system
call and will hence fail if other software is used
to boot. Need to #undef USE_PPCBUG in such cases!
PR 499/rtems_misc
* serial/mc68681.c: Miscellaneous corrections:
- Correction of ACR_BIT[7] (Baudrate table) Configuration
- Correction of Parity Bit Configuration (Odd was forced)
- Correction of Stop Bit configuration (inversed)
- Correction of ISR Handler to call
rtems_termios_dequeue_character() only if is a Tx Empty IRQ.
- Add RTS CTS Hardware flow control Configuration
PR 498/rtems
* src/printk.c: RTEMS printk() does not support the %i format which is
used by a lot of driver/BSP etc. code. The trivial patch allows %i/%I
as an alias for %d/%D.
PR 501/rtems_misc
* console.c: console_open disables ICANON on non-console port, which
should be ok for the first open but not for subsequent ones. If you
open one serial port, you will configure it, when you reopen it you
will lost the ICANON parameters if you had put it. Should be done by
console only at first open.
PR 479/rtems_misc
* src/malloc.c: Per multiple standards realloc does not free the
original memory if the allocation of the requested larger block
fails.
* binutils/base-binutils.add: Preps for 2.14 (Merger from CVS trunk).
* binutils/binutils.add: Use %{binutils_version} instead of
@binutils_version@ (Missed in previous patches).
* binutils/Makefile.am: Minor cleanups.
* binutils/binutils.add, binutils/base-binutils.add,
binutils/target-binutils.add: Add support for %{rpmprefix},
%{rpmgroup}. Use %{binutils_target} and %{binutils_version}.
* binutils/mkspec.in:: Add support for @rpmprefix@, @rpmgroup@.
* ch07.t: Don't use raisesections/lowersections (texi2www can't deal
with them); Use @itemize instead of subsubsubsection (Too deep).
* posix1003_1.texi: Use ifnottex instead of ifinfo.
* preface.texi: Use ifnottex instead of ifinfo
* started.texi: include common/rtems.texi.
* Makefile.am: Reflect changes to $(top_srcdir)/project.am.
* binaries.t: Fix list of supported binary packages.
Comment out references to cygwin rpms.
Fix definition of RPM. Add Java to optional langs.
Use RTEMSPREFIX instead of /opt/rtems.
* buildc.t: Use RTEMSPREFIX instead of /opt/rtems.
* buildrt.t: Various minor fixes.
Use --disable-networking instead of --disable-tcpip.
Use RTEMSPREFIX instead of /opt/rtems.
* nextstep.t: Remove some more refs to oarcorp.com.
Use RTEMSHTTPURL instead of www.rtems.com.
* started/tversions.texi.in: Use @value{VERSION} instead of
hard-coded "4.6.0"
* bsp_howto.texi: include common/rtems.texi.
* Makefile.am: Reflect changes to $(top_srcdir)/project.am.
* target.t: Use RTEMSHTTPURL instead of www.rtems.com.
* FAQ.texi: include common/rtems.texi.
* Makefile.am: Reflect changes to $(top_srcdir)/project.am.
* basic.t: Use RTEMSHTTPURL instead of http://www.rtems.com.
* build45.t: Use RTEMSPREFIX instead of /opt/rtems.
* HELP.html, index.html.in, rtems_footer.html.in, rtems_header.html.in,
rtems_support.html.in, FAQ/basic.t, FAQ/build45.t,
bsp_howto/analog.t, bsp_howto/discrete.t, bsp_howto/nvmem.t,
bsp_howto/target.t, common/cpright.texi, gnu_docs/gnu_footer.html,
gnu_docs/gnu_header.html, gnu_docs/index.html, gnu_docs/refcard.html,
gnu_docs/rtems_tools_index.html, relnotes/install.texi,
relnotes/intro.texi, relnotes/status.texi, started/nextstep.t,
started_ada/intro.t, started_ada/tversions.texi: Migrate many
obsolete references from oarcorp.com to rtems.com. Also send people
to the support.html page rather than duplicate information.
* images/rtems_logo.jpg: New file.
* SUPPORT: Removed.
* common/commom.am: New.
* Makefile.am: Remove TEMPLATES.
Put setup.cache into CONFIG_STATUS_DEPENDENCIES instead of
CONFIGURE_DEPENDENCIES.
* configure.ac: Remove AC_PREFIX_DEFAULT.
* binutils/Makefile.am: include common.am.
* common/common.add.in: Use rtems.com gnats.
* cpukit/Makefile.am: include common.am.
* gcc3newlib/Makefile.am: include common.am.
* gccnewlib/Makefile.am: include common.am.
* gdb/Makefile.am: include common.am.
* rtems/Makefile.am: include common.am.
* rtemsdoc/Makefile.am: include common.am.
PR 470/bsps
* custom/mcp750.cfg, custom/mtx603e.cfg, custem/mvme2307.cfg (make-exe):
Rearrange arguments in calls to OBJCOPY to $(OBJCOPY) options infile outfile.
(Reported for mcp750.cfg by Andrew Harris <Andrew.Harris@jhuapl.edu>).
PR 449/rtems:
* src/getegid.c: New (Copied from ../posix/src).
* src/geteuid.c: New (Copied from ../posix/src).
* src/getgid.c: New (Copied from ../posix/src).
* src/getgroups.c: New (Copied from ../posix/src).
* src/getlogin.c: New (Copied from ../posix/src).
* src/getpgrp.c: New (Copied from ../posix/src).
* src/getpid.c: New (Copied from ../posix/src).
* src/getppid.c: New (Copied from ../posix/src).
* src/getuid.c: New (Copied from ../posix/src).
* src/setpgid.c: New (Copied from ../posix/src).
* src/setsid.c: New (Copied from ../posix/src).
* src/no_posix: Remove getpid and _getpid_r.
* Makefile.am: Reflect changes above.
Cherrypick from master 2003-08-13 17:49:22 UTC Joel Sherrill <joel.sherrill@OARcorp.com> '2003-08-13 Joel Sherrill <joel@OARcorp.com>':
cpukit/libmisc/fsmount/.cvsignore
Cherrypick from master 2003-08-13 17:48:27 UTC Joel Sherrill <joel.sherrill@OARcorp.com> '2003-08-13 Joel Sherrill <joel@OARcorp.com>':
c/src/tests/samples/fileio/.cvsignore
PR 369/filesystem
* Makefile.am, configure.ac: sample application to show the use of the
DOSFS functions
* fileio/Makefile.am, fileio/fileio.doc, fileio/init.c,
fileio/system.h: New files.
PR 369/filesystem
* Makefile.am, shell/cmds.c, wrapup/Makefile.am: sample application to
show the use of the DOSFS functions
* fsmount/Makefile.am, fsmount/README, fsmount/fsmount.c,
fsmount/fsmount.h: New files.
PR 437/bsps
* irq/irc.c: calls to bspIo/printk must not use '%i' format which is
apparently not supported
* pci/pci.c: calls to bspIo/printk must not use '%i' format which is
apparently not supported
PR 441/filesystem
*src/dosfs/msdos.h: add rename support to DOSFS
*src/dosfs/msdos_create.c: add rename support to DOSFS
*src/dosfs/msdos_file.c: add rename support to DOSFS
*src/dosfs/msdos_init.c: add rename support to DOSFS
*src/dosfs/msdos_mknod.c: add rename support to DOSFS
PR 441/filesystem
*src/dosfs/msdos.h: add rename support to DOSFS
*src/dosfs/msdos_create.c: add rename support to DOSFS
*src/dosfs/msdos_file.c: add rename support to DOSFS
*src/dosfs/msdos_init.c: add rename support to DOSFS
*src/dosfs/msdos_mknod.c: add rename support to DOSFS
PR 288/rtems
* irq/irq_asm.S, startup/bspstart.c: _ISR_Nest_level is now properly
maintained and any BSP which does not do so will trip a panic in the
shared code.
PR 415/bsps
* pci/detect_raven_bridge.c, startup/bspstart.c:
This patch reverts enabling MCP interrupts for the motorola_powerpc
BSPs. REASON: pci config space scanning (as e.g. done by the DEC
Ethernet driver) would raise machine check exceptions.
PR 429/bsps
PR 432/bsps
* network/elnk.c: Due to a bug in the driver, if multiple packets
are queued onto an elnk board, the ISR will deadlock the device with
a tx complete interrupt. Lighter tx loads are not affected as they
end up submitting single packets to the device.
PR 428/bsps
PR 432/bsps
* bootloader/pci.c: Re-instated code that prevents remapping small
IO regions, which if remapped would cause i8259 registers to move
out from under the #define'd base addresses.
* startup/bspstart.c: Reduced BAT2 PCI memory allocation to 256
megs, I incorrectly had extended it which would cause problems with
PCI devices that defined prefetchable memory.
PR 430/rtems
* include/rtems/score/watchdog.h: _Watchdog_Ticks_since_boot should
be a VOLATILE variable.
* src/watchdoginsert.c: 'restart' algorithm needs to enforce
reloading the list head in case a TICK interrupt during ISR_Flash()
modified the list. This is achieved by a proper VOLATILE cast.
Also _Watchdog_Sync_count++ should be protected by _ISR_Disable
(prevent corruption in case ISR calls watchdoginsert)
* src/watchdogadjust.c: ISR protection added.
* src/watchdogtickle.c: ISR protection added.
NOTE: PowerPC BSPs using the new exception processing MUST BE UPDATED
to maintain _ISR_Nest_level. See also PR288 which provides fixes
for the affected BSPs distributed with RTEMS.
PR 433/tools
* mips-stub.c: Patch from C. M. Heard <heard@pobox.com> described as:
The purpose of the patch is to make the stub ignore all
characters except '+' (ack) or '-' (nak) when it has transmitted a
packet and expects an acknowledgment. Without the patch,
putpacket() will retransmit each time it receives anything other
than '+' when expecting an ack, and that, bitter experience has
found, frequently results in the stub failing to sync up when
initially attaching to gdb.
I think that rtems users will notice significant improvement in
the of the mips stub if this patch is incorporated in the
distribution; certainly I did in my stand-aline environment. I
should hasten to add that it is only an improvement and not a 100%
cure for synchronization problems because '+' characters can (and
do) during as message data, and it's still possible for these to
be mistaken as acks. I have no idea how to fix that short of
redesigning the gdb-remote protocol.
* aclocal/multi.m4: Don't add --enable-multilib.
Rename AC_ENABLE_MULTILIB into AM_ENABLE_MULTILIB.
Increment serial to 103 (automake's multi.m4 version + 100).
* configure.ac: Use AM_ENABLE_MULTILIB instead of
AC_ENABLE_MULTILIB.
2003-07-03 Joel Sherrill <joel@OARcorp.com>
* aclocal/version.m4: Updated to rtems-4.6.0pre4.
PR 416/bsps
* ppc403/ictrl/ictrl.c (ictrl_isr): We acknolwegde the interrupt in
interrupt controller (clr_exisr(mask)) before calling the interrupt
handler that will acnowledge the interrupt source. This results in
the interrupt beeing seen a second time by the interrupt controller.
Reported and fixed by El Kolli Yacine <yacine.elkolli@crf.canon.fr>.
PR414 - Fixed the global interupt vector register.
Linker command file to have the boot code in the first 8K.
The chip select remap needed to be volatile.
PR 405/bsps
PR 393/networking
* network/dec21140.c: Fix leak also known as PR393.
* network/elnk.c, network/if_media.h, network/mii.h: New files.
* network/Makefile.am: Reflect new files.
PR 405/bsps
* bootloader/pci.c: Added support for configuring devices for pci
busses > 0
* pci/pci.c, pci/pci.h: Added FixupPCI() to store vectors in the
INTERRUPT_LINE register of pci devices any # of hops away
from the host processor.
* motorola/motorola.c, motorola/motorola.h: Added interrupt
routing tables in support of FixupPCI. This is board-specific,
each board will have to supply information for FixupPCI() to do
anything for it.
* startup/bspstart.c: Extended bat2 to cover entire PCI address space.
* irq/irq.c, irq/irq.h: Added support for shared interrupts.
Existing single hander vectors are undisturbed, a new function
added to allow adding/removing handlers from a vector.
PR 415/bsps
* include/bsp.h, pci/detect_raven_bridge.c, startup/bspstart.c:
Support enabling MCP exceptions on the host bridge. This can
be used for memory probing on the VME bus.
PR 399/rtems_misc
* src/termios.c: In canonical mode, when input is present in the
input buffer that contains an EOL character and some following
characters, a read call read data behind the EOL character, although
it should stop reading with the EOL character.
PR 385/filesystem
* src/ramdisk.c: The "from" and "to" locations are calculated as
the start of the block within the ram that data is to be transferred
from/to for reads and writes respectively. However, within
the loops, the "from" and "to" locations are never updated. The loop
should have been updated as:
from += rd->block_size;
and
to += rd->block_size;
within the for loops in the ramdisk_read and ramdisk_write routines,
respectively.
PR 380/bsps
* vmeUniverse/vmeUniverse.c, vmeUniverse/vmeUniverse.h:
make printk format strings compliant with libcpu/printk.
minor fixes and lazy init bugfix.
PR 379/bsps
* console/polled_io.c: libcpu provides 'printk' already.
Therefore, the implementation in this file was removed (still
used for the bootloader, though). It now provides BSP_output_char()
for libcpu's printk().
* console/uart.c, console/uart.h: BSP_output_char_via_serial()
prototype changed to match the BSP_output_char_function_type. Note
that the motorola BSPs use polled-io for the output_char routine, not
the uart.c version. The latter can be used be other BSPs however
(e.g. SVGM).
* console/console.c, console/consoleIo.h, console/polled_io.c,
irq/irq_init.c, openpic/openpic.c, pci/detect_raven_bridge.c:
Unfortunately, the supported 'printk' format string subset of the
polled-io and libcpu implementations are different - hence, a few
format strings in the ppc/shared BSP were changed.
PR 371/pppd
* pppd/auth.c, pppd/chat.c, pppd/demand.c, pppd/fsm.c, pppd/lcp.c,
pppd/options.c, pppd/pppd.h, pppd/rtemsmain.c, pppd/rtemspppd.c:
Change many symbols to static. There are still global symbols in
rtemspppd.h which might need to be changed or converted into member
of a structure which is dereferenced with a pointer that is managed
as a per task variable. But this patch should avoid many conflicts.
* ide/Makefile.am: ATA code depends upon libchip/ide which is not
allowed in the cpukit source code since it must be buildable
independent of any BSP. These files were moved to libchip/ide.
* ide/ata.c, ide/ata.h, ide/ata_internal.h: New files.
* Makefile.am: ATA code depends upon libchip/ide which is not allowed
in the cpukit source code since it must be buildable independent of
any BSP. These files were moved to libchip/ide.
* include/rtems/ata.h, include/rtems/ata_internal.h, src/ata.c: Removed.
PR 374/networking
* Makefile.am, rtems/rtems_bsdnet.h, rtems/rtems_glue.c:
The patch sent as part of PR270 got applied to the wrong place.
The effect was that (1) startup was no faster than before and
(2) malloc starvation messages came way too quickly. The attached
patch fixes both these problems and also provides a mechanism for
applications to handle malloc starvation conditions as they see fit.
* rtems/rtems_bsdnet_malloc_starvation.c: New file.
PR 368/filesystems
* startup/ldsegs.S: Increase alignment.
* Makefile.am, configure.ac, include/bsp.h, wrapup/Makefile.am:
Added IDE supporting infrastructure.
* ide/Makefile.am, ide/ide.c, ide/idecfg.c: New files. Added
BSP support for libchip standard ide driver.
PR 367/filesystem
* Makefile.am, include/rtems/ide_part_table.h, src/ata.c,
src/ide_part_table.c: Some bugs were still present in the DOSFS
implementation:
- FAT12 did not work properly on Big-Endian machines
- Some synchronization and error handling problems were present
- Some legal codings for EOC were not recognized
PR 367/filesystem
* src/dosfs/Makefile.am, src/dosfs/fat.c, src/dosfs/fat.h,
src/dosfs/fat_fat_operations.c, src/dosfs/fat_file.c,
src/dosfs/msdos.h, src/dosfs/msdos_dir.c: Some bugs were still
present in the DOSFS implementation:
- FAT12 did not work properly on Big-Endian machines
- Some synchronization and error handling problems were present
- Some legal codings for EOC were not recognized
PR 360/bsps
* irq/irq.c, irq/irq_init.c, openpic/openpic.c, openpic/openpic.h:
BSP code had set the task priority register multiple times of
the OpenPIC instead of setting the individual source priorities.
This patch adds openpic_get_source_priority() and
openpic_set_source_priority() calls and lets IRQ management code
use them.
PR 349/bsps
* irq/irq.c, vme/VME.h, vme/vmeconfig.c: Fixes library dependency
on the vmeUniverse driver. It is now possible to use the ppc/shared/irq
code on non-VME BSPs without triggering linkage of the vmeUniverse
driver.
PR 356/bsps
* sys/linker_set.h: This patch makes RTEMS/PowerPC eabi compliant.
Declare all linker-script defined addresses as
variables of unknown size and not as short objects
like 'int', 'void*' etc. Since only addresses are used and never those
variable's values, the type used in a declaration is not important.
PR 356/bsps
This patch makes RTEMS/powerpc/shared EABI compliant.
* irq/irq_init.c, start/Makefile.am, start/start.S, startup/bspstart.c,
startup/pgtbl_setup.c, vectors/vectors.h, vectors/vectors_init.c:
zero_bss() should clear not only bss but sbss and sbss2
also (this is probably a bugfix, as sbss/sbss2 are
probably used even if -msdata=eabi is not specified).
* start/rtems_crti.S: New file which must
be linked immediately after ecrti.o. rtems_crti.o contains
a code snippet who lets __init() return immediately. Also,
a new entry point '_init' to the C++ Ctors is generated
for use by the RTEMS Thread_Handler.
PR 356/bsps
* src/threadhandlerc: This patch makes RTEMS/PowerPC eabi compliant.
Let Thread_Handler verify that _init/_main are non-NULL
before calling them (gives the linker script/user more
freedom to handle special cases).
PR 356/bsps
* bsp_specs, start/Makefile.am, startup/linkcmds
This patch makes RTEMS/powerpc/shared EABI compliant.
Declare all linker-script defined addresses as
variables of unknown size and not as short objects
like 'int', 'void*' etc.
This prevents the compiler from generating a relocation
who assumes the existence of an __rtems_end object in
one of the short data areas (which would result in a
linker error).
PR 349/bsps
* mpc6xx/exceptions/raw_exception.c, mpc6xx/mmu/bat.c,
mpc6xx/mmu/pte121.c, shared/include/cpuIdent.c,
shared/include/cpuIdent.h, shared/src/Makefile.am, shared/src/stack.c,
shared/src/stackTrace.h, powerpc/registers.h:
- undo improper 'fix' who broke mpc604r identification
- fix: 7400 identification PVR value was wrong
- enhance 'setdbat()' to switch OFF a given BAT if called with 0 size
- fix: page table support bugfix
- enhancement: provide routines to take and print stack trace
snapshots
- add definitions for HID1 and DABR SPRs
Cherrypick from master 2003-02-20 22:07:22 UTC Joel Sherrill <joel.sherrill@OARcorp.com> '2003-02-20 Till Straumann <strauman@slac.stanford.edu>':
c/src/lib/libcpu/powerpc/shared/src/stack.c
c/src/lib/libcpu/powerpc/shared/src/stackTrace.h
PR 349/bsps
* startup/Makefile.am, startup/linkcmds startup/Makefile.am,
startup/bspstart.c, startup/pgtbl_activate.c, startup/pgtbl_setup.c:
Let the powerpc/shared (+derived) BSPs use pagetable support
from libcpu.
PR 349/bsps
* startup/Makefile.am, startup/linkcmds startup/Makefile.am,
startup/bspstart.c, startup/pgtbl_activate.c, startup/pgtbl_setup.c:
Let the powerpc/shared (+derived) BSPs use pagetable support
from libcpu.
PR 349/bsps
* Makefile.am, configure.ac: Add glue to the powerpc/shared BSP
to use the vmeUniverse VME-PCI bridge driver.
* vme/.cvsignore, vme/Makefile.am, wrapup/Makefile.am: New files.
PR 349/bsps
* openpic/Makefile.am, pci/Makefile.am:
- install the 'openpic.h' and 'pci.h' headers
- avoid a name clash by renaming 'vsprintf' & friends
to 'k_vsprintf' etc.
- let 'rtemsReboot' print a stack trace (in case an 'assert' failed)
- irq.c:
* fix: remove implicit assumption that ISA interrupt vectors start
at 0
* add BSP hook to let a VME interrupt acknowledge the PCI/openpic
IRQ. (SEE ALSO THE ppc-sharedbsp-vme.diff patch)
- fix: EABI compliance; isr/exception lowlevel handlers must not
clobber R2 or R13
- fix: openpic_init was called with the polarity/senses tables
swapped (fixed wrong order of arguments)
- cosmetics: use new _read_SPRXX() _write_SPRXX() macros
PR 349/bsps
* console/polled_io.c, console/reboot.c, irq/irq.c, irq/irq_asm.S,
irq/irq_init.c, openpic/Makefile.am, startup/linkcmds,
vectors/vectors.S, vectors/vectors_init.c:
- install the 'openpic.h' and 'pci.h' headers
- avoid a name clash by renaming 'vsprintf' & friends
to 'k_vsprintf' etc.
- let 'rtemsReboot' print a stack trace (in case an 'assert' failed)
- irq.c:
* fix: remove implicit assumption that ISA interrupt vectors start
at 0
* add BSP hook to let a VME interrupt acknowledge the PCI/openpic
IRQ. (SEE ALSO THE ppc-sharedbsp-vme.diff patch)
- fix: EABI compliance; isr/exception lowlevel handlers must not
clobber R2 or R13
- fix: openpic_init was called with the polarity/senses tables
swapped (fixed wrong order of arguments)
- cosmetics: use new _read_SPRXX() _write_SPRXX() macros
PR 349/bsps
* startup/pgtbl_setup.c, startup/pgtbl_activate.c: New files
* startup/Makefile.am, startup/bspstart.c, startup/linkcmds:
Let the powerpc/shared (+derived) BSPs use pagetable support
from libcpu.
PR 349/bsps
* vme/.cvsignore, vme/Makefile.am, vme/VME.h, vme/VMEConfig.h,
vme/vmeconfig.c: Add glue to the powerpc/shared BSP to use
the vmeUniverse VME-PCI bridge driver.
PR 349/bsps
* console/console.c, console/uart.c, console/uart.h: implement
IOCTLs for the serial (UART) console to install/retrieve a BREAK-IRQ
callback. The callback routine (if installed) is invoked from the
UART ISR when a BREAK interrupt is detected. This can be used
e.g. to enforce a "hotkey" reboot a la vxWorks Ctrl-X (although we
use the serial line break condition) NOTE: The callback runs in
ISR context.
PR 354/networkign
* network/if_fxp.c (Intel eepro network driver): re-enabled the chip
against a table of supported chips. The untested
ones are still commented out, however.
* buildc.t: Add several @ifset BUILDTOOLS-TAR.
* sample.t: Use @code{make/README} instead of
@code{@value{RTEMS-UNTAR}/make/README} (Workaround to PR 345).
* interrupts.t: Rework logic that decides when to call
_Thread_Dispatch. Analysis by Sergei Organov <osv@javad.ru>
determined that _ISR_Signals_to_thread_executing was not being
honored and/or cleared properly.
* cpu_asm.c: Rework logic that decides when to call
_Thread_Dispatch. Analysis by Sergei Organov <osv@javad.ru>
determined that _ISR_Signals_to_thread_executing was not being
honored and/or cleared properly.
* irq.c: Rework logic that decides when to call
_Thread_Dispatch. Analysis by Sergei Organov <osv@javad.ru>
determined that _ISR_Signals_to_thread_executing was not being
honored and/or cleared properly.
* score/cpu_asm.c: Rework logic that decides when to call
_Thread_Dispatch. Analysis by Sergei Organov <osv@javad.ru>
determined that _ISR_Signals_to_thread_executing was not being
honored and/or cleared properly.
* score/cpu_asm.c: Rework logic that decides when to call
_Thread_Dispatch. Analysis by Sergei Organov <osv@javad.ru>
determined that _ISR_Signals_to_thread_executing was not being
honored and/or cleared properly.
* rtems/rtems_glue.c: A small patch to the network daemon task
code. I just added code to check the return value of
the rtems_bsdnet_event_receive function. Only when
this function returns a SUCCESSFUL status, will the
event flags be checked. This is more of a code cleanup issue
than a bug. The patch will just ensure the ipintr() and
arpintr() functions are only called when a event is signaled.
* gdb/gdb.add, gdb/mkspec.in, gdb/target-gdb.add: Use RPM logic to
determine which targets have simulators, configure with appropriate
arguments, and package the correct files.
* i386-cygwin-gcc.spec.in: Use %_prefix instead of %prefix.
Add gnatlib.
Add %defattr(-,root,root).
Provide virtual packages i386-cygwin-[c++|g++|gnat].
* gcc3newlib/target-gcc.add: Remove %{_exeext} from gccbug.
* gcc3newlib/gccnewlib.add: Add %gcj to support to disabling building
gcj from rpmbuild command line.
Copy gsyslimits.h for CDN-X compilation.
PR 342/networking
* kern/uipc_mbuf.c: The RTEMS version of the m_copyback is changing
the m_len value of the mbuf. I looked into the source from another
BSD system and the mbuf length is not changed inside this function.
The m_copyback function is only being used in the net/rtsock.c file.
So I think this problem is only visable under certain routing table
conditions.
* Makefile.am, configure.ac: Added new test loopback which shows how to
use the loopback interface. Thank you Eric Norum for a portable
target independent test which exercises the TCP/IP. This should
prevent massive failures in the TCP/IP stack from reaching the
street.
* loopback/.cvsignore, loopback/Makefile.am, loopback/README,
loopback/init.c, loopback/loopback.scn: New files.
* Makefile.am, configure.ac: Added new test loopback which shows how to
use the loopback interface. Thank you Eric Norum for a portable
target independent test which exercises the TCP/IP. This should
prevent massive failures in the TCP/IP stack from reaching the
street.
* loopback/.cvsignore, loopback/Makefile.am, loopback/README,
loopback/init.c, loopback/loopback.scn: New files.
* setup.def, sparc-solaris-binutils.spec.in: Updated and
used to build sparc-solaris 3.2.1-1 C language only.
2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Reformat.
Add autom4te*cache.
Remove autom4te.cache.
2001-04-16 Joel Sherrill <joel@OARcorp.com>
* .cvsignore: Added missing files.
* setup.def: New shot using gcc 3.0.4 RPMs.
* sparc-solaris-binutils.spec.in: Switched to bz2 file.
* sparc-solaris-gcc.spec.in: Use gcc3 file naming for archive
and use find to pick up all files.
2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:
AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
AM_INIT_AUTOMAKE([no-define foreign 1.6]).
* Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-02-08 Joel Sherrill <joel@OARcorp.com>
* .cvsignore: New file.
2001-02-05 Joel Sherrill <joel@OARcorp.com>
* Makefile.am: New file, missed previously.
2004-02-05 Joel Sherrill <joel@OARcorp.com>
* ChangeLog, configure.ac, setup, setup.def,
sparc-solaris-binutils.spec.in, sparc-solaris-gcc.spec.in,
sparc-solaris-libs.spec.in: New files.
* stackchk/check.c: Fix problem where _Objects_Get_information()
will dereference a null pointer when checking the interrupt stack.
If there's something at 0, you may be ok at run time but it is wrong.
* BSP_TIMES, bsp.t, c4x.texi, callconv.t, cpumodel.t, cputable.t,
fatalerr.t, intr_NOTIMES.t, memmodel.t, preface.texi, timeBSP.t:
New files. These should have been added long ago.
* configure.ac: Add check for weak function attribute.
Remove AM_CONDITIONAL([RTEMS_LIBSHELL].
Add AM_CONDITIONAL(LIBSHELL), AM_CONDITIONAL(LIBSERDBG).
* capture/Makefile.am: Use *.a instead of *-tmp.a.
* cpuuse/Makefile.am: Use *.a instead of *-tmp.a.
* devnull/Makefile.am: Use *.a instead of *-tmp.a.
* dummy/Makefile.am: Use *.a instead of *-tmp.a.
* dumpbuf/Makefile.am: Use *.a instead of *-tmp.a.
* monitor/Makefile.am: Use *.a instead of *-tmp.a.
* mw-fb/Makefile.am: Use *.a instead of *-tmp.a.
* rtmonuse/Makefile.am: Use *.a instead of *-tmp.a.
* serdbg/Makefile.am: Use *.a instead of *-tmp.a.
Build iff LIBSERDBG is true.
* shell/Makefile.am: Use *.a instead of *-tmp.a.
Build iff LIBSHELL is true.
* stackchk/Makefile.am: Use *.a instead of *-tmp.a.
* untar/Makefile.am: Use *.a instead of *-tmp.a.
* wrapup/Makefile.am: Reflect changes above.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* hw_init/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* liblnk/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* shmsupp/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* scitab/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* gdbsci/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* scitab/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* trap34/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* shmsupp/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* tty/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* shmsupp/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* liblnk/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* 3c509/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* ne2000/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* wd8003/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* ada.am, samples/ticker/Makefile.am, sptests/sp01/Makefile.am,
sptests/sp01/config.h, sptests/sp04/Makefile.am,
sptests/sp04/config.h, support/init.c: Modified build rules slightly
so gnat_main is used as the Ada main entry point. Modified
sp01 and sp04 Makefile.am's to compile and link with init.o.
The test config.h's specified the Ada application requirements -- not
the Classic API ones.
* unlimited/test1.c: PR296. Only fails if more tasks than allowed
can be created.
* unlimited/system.h: PR296. Reference the number of tasks in the
configuration table rather than a hardcoded number.
* Makefile.am: Added sys/linker_set.h
* kern/Makefile.am: Added kern_mib.c and kern_sysctl.c.
* kern/uipc_socket.c: OID changed from KERN_SOMAXCONN to KIPC_SOMAXCONN.
* kern/uipc_socket2.c: OID changed from KERN_MAXSOCKBUF to
KIPC_MAXSOCKBUF.
* net/if_ethersubr.c: FreeBSD 2.2.2 does not have a _net_link node
while 5.0 does.
* net/if_ppp.c: Removed the TEXT_SET define as these macros are
now implemented.
* net/rtsock.c: Enable sysctl support plus fix the bug with the
lastest FreeBSD sysctl header file.
* netinet/icmp_var.h: FreeBSD 2.2.2 does not have a _net_inet_icmp
node while 5.0 does.
* netinet/if_ether.c: FreeBSD 2.2.2 does not have a _net_link_ether
node while 5.0 does.
* netinet/igmp_var.h: FreeBSD 2.2.2 does not have a _net_inet_igmp
node while 5.0 does.
* netinet/in_pcb.c: Fixed the arguments to the sysctl call. Add
inp_gencnt and ipi_count. These are used when listing connections.
* netinet/in_pcb.h: Added counters to aid the listing of connections.
* netinet/in_var.h: Provide the _net_inet_ip and _net_inet_raw nodes.
* netinet/ip_fw.c: Disable the firewall sysctl calls.
* netinet/tcp_subr.c: Merge tcp_pcblist from the lastest FreeBSD source.
* netinet/tcp_var.h: Add structures needed by net-snmp to list
connections.
* netinet/udp_usrreq.c: Merged udp_pcblist from the lastest FreeBSD
source.
* netinet/udp_var.h: Added the sysctl id UDPCTL_PCBLIST. Used by
net-snmp.
* rtems_glue.c: Call sysctl_register_all when initialising the
network stack to register all the sysctl calls. These are in the
special sections and required an updated linker script.
* rtems/rtems_syscall.c: Add the sysctl call.
* sys/kernel.h: Use the lastest FreeBSD method of handling sysctl
structures. This now held in the sys/linker_set.h file.
* sys/queue.h: This is from the lastest FreeBSD code with the circular
code merged back in as it is not used in the lastest FreeBSD kernel.
* sys/sysctl.h: The lastest sysctl. This was needed to use with the new
linker set method. The FreeBSD 2.2.2 version has asm hacks. The lastest
version of the FreeBSD does not have these hacks. It uses gcc attribute
directives.
* bootloader/head.S: Added support for optional debug via PPCbug.
Also turn off mmu/caches for the bootstrap phase, which seems to
cause trouble with the 603. The cpu init functions in the bsp
get all that stuff going properly.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* network/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* i2c/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* nvram/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* tod/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* consolex/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* network/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* tod/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* shmsupp/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* shmsupp/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* shmsupp/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* spurious/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* network/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* spurious/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* Makefile.am: Eliminate *_O_FILES.
Use install-data-local instead of bsplist_DATA.
* configure.ac: Require autoconf-2.57/automake-1.7.2.
Apply 4th arg to AC_INIT to prevent autoconf to corrupt package name.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* spurious/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
Various fixes to get it compiling again.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* network/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* network/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* bootloader/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* irq/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* motorola/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* openpic/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* pci/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* residual/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* vectors/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* network/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* nvram/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* pci/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* tod/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* universe/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* vectors/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* PCI_bus/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* tod/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* vectors/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* scv64/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* sonic/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* tod/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* dlentry/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* flashentry/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* shmsupp/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* vectors/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* erc32sonic/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* gnatsupp/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* gnatsupp/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* scitab/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* irq/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* network/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* irq/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* .cvsignore: Moved to rtems/cpukit/libmisc.
* ChangeLog: Moved to rtems/cpukit/libmisc.
* Makefile.am: Moved to rtems/cpukit/libmisc.
* README: Moved to rtems/cpukit/libmisc.
* configure.ac: Moved to rtems/cpukit/libmisc.
* capture/Makefile.am: Moved to rtems/cpukit/libmisc.
* capture/README: Moved to rtems/cpukit/libmisc.
* capture/capture-cli.c: Moved to rtems/cpukit/libmisc.
* capture/capture-cli.h: Moved to rtems/cpukit/libmisc.
* capture/capture.c: Moved to rtems/cpukit/libmisc.
* capture/capture.h: Moved to rtems/cpukit/libmisc.
* cpuuse/Makefile.am: Moved to rtems/cpukit/libmisc.
* cpuuse/README: Moved to rtems/cpukit/libmisc.
* cpuuse/cpuuse.c: Moved to rtems/cpukit/libmisc.
* cpuuse/cpuuse.h: Moved to rtems/cpukit/libmisc.
* devnull/.cvsignore: Moved to rtems/cpukit/libmisc.
* devnull/Makefile.am: Moved to rtems/cpukit/libmisc.
* devnull/devnull.c: Moved to rtems/cpukit/libmisc.
* devnull/devnull.h: Moved to rtems/cpukit/libmisc.
* dummy/.cvsignore: Moved to rtems/cpukit/libmisc.
* dummy/Makefile.am: Moved to rtems/cpukit/libmisc.
* dummy/README: Moved to rtems/cpukit/libmisc.
* dummy/dummy.c: Moved to rtems/cpukit/libmisc.
* dumpbuf/.cvsignore: Moved to rtems/cpukit/libmisc.
* dumpbuf/Makefile.am: Moved to rtems/cpukit/libmisc.
* dumpbuf/dumpbuf.c: Moved to rtems/cpukit/libmisc.
* dumpbuf/dumpbuf.h: Moved to rtems/cpukit/libmisc.
* monitor/.cvsignore: Moved to rtems/cpukit/libmisc.
* monitor/Makefile.am: Moved to rtems/cpukit/libmisc.
* monitor/README: Moved to rtems/cpukit/libmisc.
* monitor/mon-command.c: Moved to rtems/cpukit/libmisc.
* monitor/mon-config.c: Moved to rtems/cpukit/libmisc.
* monitor/mon-dname.c: Moved to rtems/cpukit/libmisc.
* monitor/mon-driver.c: Moved to rtems/cpukit/libmisc.
* monitor/mon-extension.c: Moved to rtems/cpukit/libmisc.
* monitor/mon-itask.c: Moved to rtems/cpukit/libmisc.
* monitor/mon-manager.c: Moved to rtems/cpukit/libmisc.
* monitor/mon-monitor.c: Moved to rtems/cpukit/libmisc.
* monitor/mon-mpci.c: Moved to rtems/cpukit/libmisc.
* monitor/mon-object.c: Moved to rtems/cpukit/libmisc.
* monitor/mon-prmisc.c: Moved to rtems/cpukit/libmisc.
* monitor/mon-queue.c: Moved to rtems/cpukit/libmisc.
* monitor/mon-server.c: Moved to rtems/cpukit/libmisc.
* monitor/mon-symbols.c: Moved to rtems/cpukit/libmisc.
* monitor/mon-task.c: Moved to rtems/cpukit/libmisc.
* monitor/monitor.h: Moved to rtems/cpukit/libmisc.
* monitor/symbols.h: Moved to rtems/cpukit/libmisc.
* mw-fb/.cvsignore: Moved to rtems/cpukit/libmisc.
* mw-fb/Makefile.am: Moved to rtems/cpukit/libmisc.
* mw-fb/mw_fb.c: Moved to rtems/cpukit/libmisc.
* mw-fb/mw_fb.h: Moved to rtems/cpukit/libmisc.
* mw-fb/mw_uid.c: Moved to rtems/cpukit/libmisc.
* mw-fb/mw_uid.h: Moved to rtems/cpukit/libmisc.
* rtmonuse/.cvsignore: Moved to rtems/cpukit/libmisc.
* rtmonuse/Makefile.am: Moved to rtems/cpukit/libmisc.
* rtmonuse/rtmonuse.c: Moved to rtems/cpukit/libmisc.
* rtmonuse/rtmonuse.h: Moved to rtems/cpukit/libmisc.
* serdbg/.cvsignore: Moved to rtems/cpukit/libmisc.
* serdbg/Makefile.am: Moved to rtems/cpukit/libmisc.
* serdbg/README: Moved to rtems/cpukit/libmisc.
* serdbg/serdbg.c: Moved to rtems/cpukit/libmisc.
* serdbg/serdbg.h: Moved to rtems/cpukit/libmisc.
* serdbg/serdbgcnf.h: Moved to rtems/cpukit/libmisc.
* serdbg/serdbgio.c: Moved to rtems/cpukit/libmisc.
* serdbg/termios_printk.c: Moved to rtems/cpukit/libmisc.
* serdbg/termios_printk.h: Moved to rtems/cpukit/libmisc.
* serdbg/termios_printk_cnf.h: Moved to rtems/cpukit/libmisc.
* shell/.cvsignore: Moved to rtems/cpukit/libmisc.
* shell/Makefile.am: Moved to rtems/cpukit/libmisc.
* shell/README: Moved to rtems/cpukit/libmisc.
* shell/cmds.c: Moved to rtems/cpukit/libmisc.
* shell/shell.c: Moved to rtems/cpukit/libmisc.
* shell/shell.h: Moved to rtems/cpukit/libmisc.
* stackchk/.cvsignore: Moved to rtems/cpukit/libmisc.
* stackchk/Makefile.am: Moved to rtems/cpukit/libmisc.
* stackchk/README: Moved to rtems/cpukit/libmisc.
* stackchk/check.c: Moved to rtems/cpukit/libmisc.
* stackchk/internal.h: Moved to rtems/cpukit/libmisc.
* stackchk/stackchk.h: Moved to rtems/cpukit/libmisc.
* untar/.cvsignore: Moved to rtems/cpukit/libmisc.
* untar/Makefile.am: Moved to rtems/cpukit/libmisc.
* untar/README: Moved to rtems/cpukit/libmisc.
* untar/untar.c: Moved to rtems/cpukit/libmisc.
* untar/untar.h: Moved to rtems/cpukit/libmisc.
* wrapup/.cvsignore: Moved to rtems/cpukit/libmisc.
* wrapup/Makefile.am: Moved to rtems/cpukit/libmisc.
* .cvsignore: Moved to rtems/cpukit/libmisc.
* ChangeLog: Moved to rtems/cpukit/libmisc.
* Makefile.am: Moved to rtems/cpukit/libmisc.
* README: Moved to rtems/cpukit/libmisc.
* configure.ac: Moved to rtems/cpukit/libmisc.
* capture/Makefile.am: Moved to rtems/cpukit/libmisc.
* capture/README: Moved to rtems/cpukit/libmisc.
* capture/capture-cli.c: Moved to rtems/cpukit/libmisc.
* capture/capture-cli.h: Moved to rtems/cpukit/libmisc.
* capture/capture.c: Moved to rtems/cpukit/libmisc.
* capture/capture.h: Moved to rtems/cpukit/libmisc.
* cpuuse/Makefile.am: Moved to rtems/cpukit/libmisc.
* cpuuse/README: Moved to rtems/cpukit/libmisc.
* cpuuse/cpuuse.c: Moved to rtems/cpukit/libmisc.
* cpuuse/cpuuse.h: Moved to rtems/cpukit/libmisc.
* devnull/.cvsignore: Moved to rtems/cpukit/libmisc.
* devnull/Makefile.am: Moved to rtems/cpukit/libmisc.
* devnull/devnull.c: Moved to rtems/cpukit/libmisc.
* devnull/devnull.h: Moved to rtems/cpukit/libmisc.
* dummy/.cvsignore: Moved to rtems/cpukit/libmisc.
* dummy/Makefile.am: Moved to rtems/cpukit/libmisc.
* dummy/README: Moved to rtems/cpukit/libmisc.
* dummy/dummy.c: Moved to rtems/cpukit/libmisc.
* dumpbuf/.cvsignore: Moved to rtems/cpukit/libmisc.
* dumpbuf/Makefile.am: Moved to rtems/cpukit/libmisc.
* dumpbuf/dumpbuf.c: Moved to rtems/cpukit/libmisc.
* dumpbuf/dumpbuf.h: Moved to rtems/cpukit/libmisc.
* monitor/.cvsignore: Moved to rtems/cpukit/libmisc.
* monitor/Makefile.am: Moved to rtems/cpukit/libmisc.
* monitor/README: Moved to rtems/cpukit/libmisc.
* monitor/mon-command.c: Moved to rtems/cpukit/libmisc.
* monitor/mon-config.c: Moved to rtems/cpukit/libmisc.
* monitor/mon-dname.c: Moved to rtems/cpukit/libmisc.
* monitor/mon-driver.c: Moved to rtems/cpukit/libmisc.
* monitor/mon-extension.c: Moved to rtems/cpukit/libmisc.
* monitor/mon-itask.c: Moved to rtems/cpukit/libmisc.
* monitor/mon-manager.c: Moved to rtems/cpukit/libmisc.
* monitor/mon-monitor.c: Moved to rtems/cpukit/libmisc.
* monitor/mon-mpci.c: Moved to rtems/cpukit/libmisc.
* monitor/mon-object.c: Moved to rtems/cpukit/libmisc.
* monitor/mon-prmisc.c: Moved to rtems/cpukit/libmisc.
* monitor/mon-queue.c: Moved to rtems/cpukit/libmisc.
* monitor/mon-server.c: Moved to rtems/cpukit/libmisc.
* monitor/mon-symbols.c: Moved to rtems/cpukit/libmisc.
* monitor/mon-task.c: Moved to rtems/cpukit/libmisc.
* monitor/monitor.h: Moved to rtems/cpukit/libmisc.
* monitor/symbols.h: Moved to rtems/cpukit/libmisc.
* mw-fb/.cvsignore: Moved to rtems/cpukit/libmisc.
* mw-fb/Makefile.am: Moved to rtems/cpukit/libmisc.
* mw-fb/mw_fb.c: Moved to rtems/cpukit/libmisc.
* mw-fb/mw_fb.h: Moved to rtems/cpukit/libmisc.
* mw-fb/mw_uid.c: Moved to rtems/cpukit/libmisc.
* mw-fb/mw_uid.h: Moved to rtems/cpukit/libmisc.
* rtmonuse/.cvsignore: Moved to rtems/cpukit/libmisc.
* rtmonuse/Makefile.am: Moved to rtems/cpukit/libmisc.
* rtmonuse/rtmonuse.c: Moved to rtems/cpukit/libmisc.
* rtmonuse/rtmonuse.h: Moved to rtems/cpukit/libmisc.
* serdbg/.cvsignore: Moved to rtems/cpukit/libmisc.
* serdbg/Makefile.am: Moved to rtems/cpukit/libmisc.
* serdbg/README: Moved to rtems/cpukit/libmisc.
* serdbg/serdbg.c: Moved to rtems/cpukit/libmisc.
* serdbg/serdbg.h: Moved to rtems/cpukit/libmisc.
* serdbg/serdbgcnf.h: Moved to rtems/cpukit/libmisc.
* serdbg/serdbgio.c: Moved to rtems/cpukit/libmisc.
* serdbg/termios_printk.c: Moved to rtems/cpukit/libmisc.
* serdbg/termios_printk.h: Moved to rtems/cpukit/libmisc.
* serdbg/termios_printk_cnf.h: Moved to rtems/cpukit/libmisc.
* shell/.cvsignore: Moved to rtems/cpukit/libmisc.
* shell/Makefile.am: Moved to rtems/cpukit/libmisc.
* shell/README: Moved to rtems/cpukit/libmisc.
* shell/cmds.c: Moved to rtems/cpukit/libmisc.
* shell/shell.c: Moved to rtems/cpukit/libmisc.
* shell/shell.h: Moved to rtems/cpukit/libmisc.
* stackchk/.cvsignore: Moved to rtems/cpukit/libmisc.
* stackchk/Makefile.am: Moved to rtems/cpukit/libmisc.
* stackchk/README: Moved to rtems/cpukit/libmisc.
* stackchk/check.c: Moved to rtems/cpukit/libmisc.
* stackchk/internal.h: Moved to rtems/cpukit/libmisc.
* stackchk/stackchk.h: Moved to rtems/cpukit/libmisc.
* untar/.cvsignore: Moved to rtems/cpukit/libmisc.
* untar/Makefile.am: Moved to rtems/cpukit/libmisc.
* untar/README: Moved to rtems/cpukit/libmisc.
* untar/untar.c: Moved to rtems/cpukit/libmisc.
* untar/untar.h: Moved to rtems/cpukit/libmisc.
* wrapup/.cvsignore: Moved to rtems/cpukit/libmisc.
* wrapup/Makefile.am: Moved to rtems/cpukit/libmisc.
* capture/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* cpuuse/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* devnull/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* dummy/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* dumpbuf/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* monitor/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* mw-fb/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* rtmonuse/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* serdbg/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* shell/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* stackchk/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* untar/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* wrapup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* serial/Makefile.am: Don't include @RTEMS_BSP@.cfg.
Don't use LIBC_DEFINES.
* rtc/Makefile.am: Don't include @RTEMS_BSP@.cfg.
Don't use LIBC_DEFINES.
* network/Makefile.am: Don't include @RTEMS_BSP@.cfg.
Don't use LIBC_DEFINES.
* setup.def: Updated patch to fix m68k cut and paste bug which turned
a tab into spaces in a Makefile fragment.
* gcc3newlib/gccnewlib.add: If building gnat for the mips, the library
must be built with a -G0 option.
* setup.def: Updated patch to fix m68k cut and paste bug which turned
a tab into spaces in a Makefile fragment.
* gcc3newlib/gccnewlib.add: If building gnat for the mips, the library
must be built with a -G0 option.
* inline/rtems/posix/cond.inl, macros/rtems/posix/cond.inl:
Implemented PTHREAD_COND_INITIALIZER support. Vladimir implemented
the inline version and Joel adapted it to the macro version.
* include/rtems/posix/timer.h, src/keygetspecific.c,
src/posixtimespecsubtract.c, src/ptimer1.c, src/semunlink.c:
Added casts to eliminate warnings on 16-bit targets like the h8300.
* include/rtems/libio.h: Internally use a union of an unsigned64
and major/minor device so we don't get into trouble shifting.
The h8300 seemed to be impossible to remove warnings otherwise.
Eventually the structure definition of a dev_t might be better anyway.
* include/sys/ioccom.h: Added casts to remove warnings on 16 bit
targets.
* gcc3newlib/gccnewlib.add:
Remove *.la's to make rpm-4.1/RH-8.0 happy.
Remove libiberty.a to make rpm-4.1/RH-8.0 happy.
Change gcc/version.c to reflect us having patched gcc.
* configure.ac: Check for sys/cdefs.h, Add NEED_SYS_CDEFS_H.
Add check for CHAR_BIT.
* Makefile.am: Conditionally install sys/cdefs.h iff using newlib or
if the host does not provide sys/cdefs.h (Fixes Linux/posix).
* bsp_specs: Added crtbegin,crtend objects so C++ global objects
constructors/destructors run correctly.
* startup/linkcmds: Increased code length and updated the ctor/dtor
sections to handle crtbegin, crtend objects.
>
* psx01/psx01.scn, psx02/psx02.scn, psx03/psx03.scn, psx04/psx04.scn,
psx05/psx05.scn, psx06/psx06.scn, psx07/psx07.scn, psx08/psx08.scn,
psx09/psx09.scn, psx10/psx10.scn, psx11/psx11.scn, psx12/psx12.scn:
Per PR239 update the IDs in the various screens.
* sp02/sp02.scn, sp15/sp15.scn, sp16/sp16.scn, sp20/sp20.scn,
sp22/sp22.scn, sp23/sp23.scn, sp25/sp25.scn, sp31/sp31.scn: Per PR239
update the IDs in the screens.
* acinclude.m4: _RTEMS_OUTPUT_SUBDIRS: Move ac_subconfigure_vars to the
end of the args passed to sub-configure-scripts. (Reported by
Wulf Hofbauer <wh73@cornell.edu>)
* compilers/gcc-target-default.cfg: Remove obsolete reference to
src/libxil/Makefile.
Comment out LD_PATHS from LDFLAGS (Now implicitly handled by gcc
-spec).
* setup.def, gcc3newlib/gccnewlib.add: Patch includes updates
which were patch changes for -3 and -4 RPM revisions. Disabled
build of gnat for i386-rtems as it failed to build.
* Makefile.am: Use "'"-quotes to pass args to bsp.mak.
* configure.ac: Use "'"-quotes for args to RTEMS_CONFIG_SUBDIRS.
Fix braino in comment on "exec".
Extend --enable-ada handling.
Further preparations for autoconf > 2.52:
* aclocal/enable-inlines.m4: Use AS_IF instead of if/then/else.
* aclocal/quoting.m4: Use `eval echo $ac_args` to unquote $ac_arg.
* aclocal/target.m4: Use `eval echo $rtems_args` to unquote $ac_arg.
* rtems/new-exceptions/cpu.h: Remove sections on
CPU_INLINE_ENABLE_DISPATCH and CPU_UNROLL_ENQUEUE_PRIORITY.
* rtems/old-exceptions/cpu.h: Remove sections on
CPU_INLINE_ENABLE_DISPATCH and CPU_UNROLL_ENQUEUE_PRIORITY.
* rtems/score/cpu.h: Insert sections on
CPU_INLINE_ENABLE_DISPATCH and CPU_UNROLL_ENQUEUE_PRIORITY.
* bootstrap: Add generate_bspdir_acinclude to automatically update
c/src/lib/libbsp/<cpu>/acinclude.m4.
Use #! /bin/sh instead of #!/bin/sh.
Remove autom4te*.cache during ./bootstrap --clean.
* gcc3newlib/gccnewlib.add: Remove %{target} != %{build} comment
(RH-8.0/rpm-4.1 bogusly expands the macros and chokes.)
* binutils/binutils.add: Remove %{target} != %{build} comment
(RH-8.0/rpm-4.1 bogusly expands the macros and chokes.).
Comment out CONFIGURE_ARGS (RH-8.0/rpm-4.1 is broken wrt. _build_os
and _target_os)
* gcc3newlib/base-gcc.add: Add gccint*infos.
* gcc3newlib/base-gcj.add: Add gcj*infos.
Mark manpages as %doc and pickup the gzipped versions.
* aclocal/enable-bare.m4: Improve quoting of AC_HELP_STRING.
* aclocal/enable-cxx.m4: Improve quoting of AC_HELP_STRING.
* aclocal/enable-inlines.m4: Improve quoting of AC_HELP_STRING.
* aclocal/enable-itron.m4: Improve quoting of AC_HELP_STRING.
* aclocal/enable-multiprocessing.m4: Improve quoting of AC_HELP_STRING.
* aclocal/enable-networking.m4: Improve quoting of AC_HELP_STRING.
* aclocal/enable-posix.m4: Improve quoting of AC_HELP_STRING.
* aclocal/enable-rdbg.m4: Improve quoting of AC_HELP_STRING.
* aclocal/enable-rtemsbsp.m4: Improve quoting of AC_HELP_STRING.
* aclocal/enable-tests.m4: Improve quoting of AC_HELP_STRING.
(autoconf > 2.54 seems to have problems with the old form of
quoting).
* Pass to eliminate warnings.
* kern/uipc_mbuf.c: Conditional SYSINIT() usage on __rtems__.
Fix return statement without a value.
* lib/ftpfs.c: read and write filesystem routines return ssize_t.
* lib/syslog.c: Add include of <string.h> to eliminate warning.
* lib/tftpDriver.c: read and write filesystem routines return ssize_t.
* libc/gethostbydns.c: Prototype abort().
* libc/inet_ntoa.c: Prototype strcpy().
* libc/rcmd.c: Add include of <sys/select.h>
* net/if_loop.c: Turn token at end of endif to comment.
* net/rtsock.c, nfs/bootp_subr.c: Conditional SYSINIT() usage
on __rtems__.
* rtems/rtems_bootp.c: Add include of <rtems/rtems_bsdnet_internal.h>.
* rtems/rtems_bsdnet_internal.h: Added prototypes for memcpy() and
memset() since the BSD code tries to avoid using libc .h files
since it is used to being in the kernel.
* rtems/rtems_syscall.c: read and write filesystem routines
return ssize_t.
* src/rpc/clnt_tcp.c, src/rpc/clnt_udp.c, src/rpc/pmap_rmt.c,
src/rpc/rtime.c, src/rpc/svc_tcp.c: Add include of <sys/select.h>
to eliminate warning.
* src/rpc/rpcdname.c: Add prototype of getdomainname() to eliminate
warning.
* setup.def: Update gcc 3.2 pathc to includ epatch for gcc PR8314.
* gcc3newlib/gccnewlib.add: Don't build mips/gnat as we do not
currently include the patch referenced in PR8344.
* samples/hello/config.h: Change CONFIGURE_SPTEST to
CONFIGURE_APPLICATION to reflect current usage.
* support/init.c: Include stdlib.h not unistd.h to remove warning.
* src/imfs/memfile.c: Fixed case where last close of unlinked file
did not remove the resources associated with that file. Reported
by Till Straumann <strauman@slac.stanford.edu> on the mailing list.
* src/getpwent.c: Per PR283, reimplement to address reentrancy problems.
* src/getgrent.c: Removed as functionality is now just a wrapper for
common routines in src/getpwent.c.
* Makefile.am: Reflect file removal.
* src/dosfs/fat.c, src/imfs/deviceio.c, src/imfs/imfs.h,
src/imfs/imfs_directory.c, src/imfs/imfs_fchmod.c,
src/imfs/memfile.c: Eliminated warnings. A lot of this focus
was on changing read and write entry points to return ssize_t
as read(2) and write(2) now do.
* PR271 was not applicable against the current source but included
a nice test that Joel decided to add to the tree as sp32.
* sp32/Makefile.am, sp32/init.c, sp32/sp32.scn: New file.
* Makefile.am, configure.ac: Modified to reflect addition.
* kern/uipc_socket.c: Fix case on SO_RCVTIMEO and SO_SNDTIMEO where
conversion into ticks can result in a 0 ticks timeout which is
the same as requesting no timeout. Reported by Sergei Organov
<osv@javad.ru>.
* Part of addressing PR281.
* main.cfg: Added recognition of VARIANT=DEBUG on command line.
* compilers/gcc-target-default.cfg: Removed remaining support for
RTEMS_USE_GCC272 and RTEMS_LIBC_DIR as well as added -qrtems_debug
as one of the LDFLAGS when the debug variant is specified.
* network/Makefile.am, network/README.cs8900, network/cs8900.c,
network/cs8900.h: Significant update which corrects the problem
where the cs8900.c file was actually the BSP glue. Joel did
some hacking so this file will compile. Previously it required
providing a target.h file to compile.
* network/cs8900.c.bsp: New file.
* src/bdbuf.c: Per PR282, correct problem in function
rtems_bdbuf_read() where device ioctl() is called with the
logical device number used instead of corresponding physical
device number.
* base_mp now builds and can be considered a bit of an example for
the other mptests.
* mptests/mp01/node1/Makefile.am, mptests/mp01/node2/Makefile.am,
samples/base_mp/mptest.adb, samples/base_mp/mptest.ads,
samples/base_mp/node1/Makefile.am, samples/base_mp/node2/Makefile.am:
Modified to make compile.
* mptests/mp01/node1/mptest-per_node_configuration.adb,
mptests/mp01/node2/mptest-per_node_configuration.adb,
mptests/mp02/node1/mptest-per_node_configuration.adb,
mptests/mp02/node2/mptest-per_node_configuration.adb,
mptests/mp03/node1/mptest-per_node_configuration.adb,
mptests/mp03/node2/mptest-per_node_configuration.adb,
mptests/mp04/node1/mptest-per_node_configuration.adb,
mptests/mp04/node2/mptest-per_node_configuration.adb,
mptests/mp05/node1/mptest-per_node_configuration.adb,
mptests/mp05/node2/mptest-per_node_configuration.adb,
mptests/mp06/node1/mptest-per_node_configuration.adb,
mptests/mp06/node2/mptest-per_node_configuration.adb,
mptests/mp07/node1/mptest-per_node_configuration.adb,
mptests/mp07/node2/mptest-per_node_configuration.adb,
mptests/mp08/node1/mptest-per_node_configuration.adb,
mptests/mp08/node2/mptest-per_node_configuration.adb,
mptests/mp09/node1/mptest-per_node_configuration.adb,
mptests/mp09/node2/mptest-per_node_configuration.adb,
mptests/mp10/node1/mptest-per_node_configuration.adb,
mptests/mp10/node2/mptest-per_node_configuration.adb,
mptests/mp11/node1/mptest-per_node_configuration.adb,
mptests/mp11/node2/mptest-per_node_configuration.adb,
mptests/mp12/node1/mptest-per_node_configuration.adb,
mptests/mp12/node2/mptest-per_node_configuration.adb,
mptests/mp13/node1/mptest-per_node_configuration.adb,
mptests/mp13/node2/mptest-per_node_configuration.adb,
mptests/mp14/node1/mptest-per_node_configuration.adb,
mptests/mp14/node2/mptest-per_node_configuration.adb,
samples/base_mp/node1/mptest-per_node_configuration.adb,
samples/base_mp/node2/mptest-per_node_configuration.adb: Removed
as this information should come from config.h.
* score/include/Makefile.am: Remove cpuopt.h generation.
* configure.ac: Correct package name.
Don't build ada if POSIX is disabled.
Generate cpuopt.h on the fly, filter out autoconf-2.53 PACKAGE crap.
* sptests/sp09/sptest.adb: Add Result to SCREEN_13.
Remove Status from TASK_1.
* sptests/sp21/sptest.adb: Add Result to TASK_1.
* tmtests/tm20/tmtest.adb: Remove various RETURN_VALUEs.
* ada.am: Remove ADACOMPILE, ADAC. Add AM_LDFLAGS, LDFLAGS.
* configure.ac: Check for m4. Abort if HAS_GNAT = no.
* mptests/mp01/mptest.ads, mptests/mp02/mptest.ads,
mptests/mp03/mptest.ads, mptests/mp04/mptest.ads,
mptests/mp05/mptest.ads, mptests/mp06/mptest.ads,
mptests/mp07/mptest.ads, mptests/mp08/mptest.ads,
mptests/mp09/mptest.ads, mptests/mp10/mptest.ads,
mptests/mp11/mptest.ads, mptests/mp12/mptest.ads,
mptests/mp13/mptest.ads, mptests/mp14/mptest.adb,
mptests/mp14/mptest.ads: Per PR274, identify the need for the
BSP_MPCI package. It was a trivial dependency and eliminated.
* src/adjtime.c: New file -- adjtime() support required by the
Network Time Protocol (NTP) port to RTEMS.
* src/Makefile.am: Modified to reflect above.
* configure.ac, shared/misc/Makefile.am: PR217 required that the
idle task be moved to libcpu so it could be more acutely aware of
the CPU model. This file was modified to pick up the idle task
from there.
* shared/misc/m68kidle.c: New file.
* wrapup/Makefile.am: PR217 required that the idle task be moved to
libcpu so it could be more acutely aware of the CPU model. This
file was modified to pick up the idle task from there.
* include/Makefile.am: Remove.
* Makefile.am: Merge in former include/Makefile.am.
* configure.ac: Reflect changes above.
Take out unnecessary autoconf macros.
* .cvsignore, ChangeLog, Makefile.am, README, TODO, buildall.in,
configure.ac, install-sh, missing, mkbinutilspec.in, mkbspspec.in,
mkgdbspec.in, mkgnatnewlibspec.in, mkinstalldirs, mkrpms, mkspec,
setup, setup.def, binutils/.cvsignore, binutils/Makefile.am,
binutils/binutils.spec.in, gdb/.cvsignore, gdb/Makefile.am,
gdb/gdb.spec.in, gnatnewlib/.cvsignore, gnatnewlib/Makefile.am,
gnatnewlib/gnatnewlib.spec.in: Per PR238 GNAT support is now
included in the main RPM specs which support gcc 3.1 and newer
since GNAT is in that source base now.
* rtems/rtems_glue.c: Per PR270, the BSD network code expects that
the value of the number of seconds since boot is non-zero. The
RTEMS network initialization code assures this by waiting for a
second. A more efficient technique is to simply wait until the
number of seconds since boot is non-zero.
* gcc3newlib/gccnewlib.add: Re-add i386-rtems Ada.
Add %_gnat and --define 'gnat [0|1]' support.
Enable gnat for gcc-3.2/Disable for gcc-3.1.
Add hacks to build gnatlib.
Re-activate commented out fragments for old gcc versions.
Add @target_alias@-gnatgcc.
* gcc3newlib/Makefile.am: Remove c_only remnants.
* gcc3newlib/gccnewlib.add: Reflect gcc-3.2 putting c++
headers into c++ instead of g++.
* gcc3newlib/target-c++.add: Ditto.
* cpu_asm.S: Per PR267, the _ISR_Handler() function never was modifying
_ISR_Nest_level, and _Watchdog_Insert() requires this variable
to be modified to determine if an interrupt may have modified
the watchdog chain. Prior to modifying _ISR_Handler(), I had
a test that would fail if _ISR_Flash was not commented out in
_Watchdog_Insert(). After this modification was made, my test
ran flawlessly.
* mips-stub.c: Re-debugged a breakpoint problem, zbreak target
address was a char * which caused the target instruction to not
be fully copied, so the zbreak logic corrupted the original
instruction and didn't insert a valid break instruction.
* gcc3newlib/base-gnat.add: Don't use %{%prefix}/bin/gnat*.
* gcc3newlib/Makefile.am: Use mkspec for c4x.
* gcc3newlib/gccnewlib.add: Rework processing of %if %build_XXX.
Rework handing Ada.
Don't put adalib and adainclude into files.gcc.
* gcc3newlib/target-gnat.add: Add adalib.
Add adainclude.
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* shmsupp/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* PCI_bus/Makefile.am: Use .$(OBJEXT) instead of .o.
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* tod/Makefile.am: Use .$(OBJEXT) instead of .o.
* vectors/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* shmsupp/Makefile.am: Use .$(OBJEXT) instead of .o.
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* vectors/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* network/Makefile.am: Use .$(OBJEXT) instead of .o.
* nvram/Makefile.am: Use .$(OBJEXT) instead of .o.
* pci/Makefile.am: Use .$(OBJEXT) instead of .o.
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* tod/Makefile.am: Use .$(OBJEXT) instead of .o.
* universe/Makefile.am: Use .$(OBJEXT) instead of .o.
* vectors/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* irq/Makefile.am: Use .$(OBJEXT) instead of .o.
* network/Makefile.am: Use .$(OBJEXT) instead of .o.
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* vectors/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* bootloader/Makefile.am: Use .$(OBJEXT) instead of .o.
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* irq/Makefile.am: Use .$(OBJEXT) instead of .o.
* motorola/Makefile.am: Use .$(OBJEXT) instead of .o.
* openpic/Makefile.am: Use .$(OBJEXT) instead of .o.
* pci/Makefile.am: Use .$(OBJEXT) instead of .o.
* residual/Makefile.am: Use .$(OBJEXT) instead of .o.
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* vectors/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* bootloader/Makefile.am: Use .$(OBJEXT) instead of .o.
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* irq/Makefile.am: Use .$(OBJEXT) instead of .o.
* motorola/Makefile.am: Use .$(OBJEXT) instead of .o.
* openpic/Makefile.am: Use .$(OBJEXT) instead of .o.
* pci/Makefile.am: Use .$(OBJEXT) instead of .o.
* residual/Makefile.am: Use .$(OBJEXT) instead of .o.
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* vectors/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* irq/Makefile.am: Use .$(OBJEXT) instead of .o.
* network/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* vectors/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* dlentry/Makefile.am: Use .$(OBJEXT) instead of .o.
* flashentry/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* dlentry/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* canbus/Makefile.am: Use .$(OBJEXT) instead of .o.
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* irq/Makefile.am: Use .$(OBJEXT) instead of .o.
* network/Makefile.am: Use .$(OBJEXT) instead of .o.
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* vectors/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* scv64/Makefile.am: Use .$(OBJEXT) instead of .o.
* sonic/Makefile.am: Use .$(OBJEXT) instead of .o.
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* tod/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* shmsupp/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* liblnk/Makefile.am: Use .$(OBJEXT) instead of .o.
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* fatal/Makefile.am: Use .$(OBJEXT) instead of .o.
* network/Makefile.am: Use .$(OBJEXT) instead of .o.
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* consolex/Makefile.am: Use .$(OBJEXT) instead of .o.
* network/Makefile.am: Use .$(OBJEXT) instead of .o.
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* tod/Makefile.am: Use .$(OBJEXT) instead of .o.
* tools/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* shmsupp/Makefile.am: Use .$(OBJEXT) instead of .o.
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* spurious/Makefile.am: Use .$(OBJEXT) instead of .o.
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* i2c/Makefile.am: Use .$(OBJEXT) instead of .o.
* nvram/Makefile.am: Use .$(OBJEXT) instead of .o.
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* tod/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* network/Makefile.am: Use .$(OBJEXT) instead of .o.
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* spurious/Makefile.am: Use .$(OBJEXT) instead of .o.
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* spurious/Makefile.am: Use .$(OBJEXT) instead of .o.
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* shmsupp/Makefile.am: Use .$(OBJEXT) instead of .o.
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* shmsupp/Makefile.am: Use .$(OBJEXT) instead of .o.
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* tty/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* network/Makefile.am: Use .$(OBJEXT) instead of .o.
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* 3c509/Makefile.am: Use .$(OBJEXT) instead of .o.
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* ne2000/Makefile.am: Use .$(OBJEXT) instead of .o.
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* wd8003/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* irq/Makefile.am: Use .$(OBJEXT) instead of .o.
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* pppd/Makefile.am: Use .$(OBJEXT) instead of .o.
* rtems_servers/Makefile.am: Use .$(OBJEXT) instead of .o.
* rtems_telnetd/Makefile.am: Use .$(OBJEXT) instead of .o.
* rtems_webserver/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* src/i386/any/Makefile.am: Use .$(OBJEXT) instead of .o.
* src/m68k/any/Makefile.am: Use .$(OBJEXT) instead of .o.
* src/powerpc/new_exception_processing/Makefile.am: Use .$(OBJEXT) instead of .o.
* capture/Makefile.am: Use .$(OBJEXT) instead of .o.
* cpuuse/Makefile.am: Use .$(OBJEXT) instead of .o.
* devnull/Makefile.am: Use .$(OBJEXT) instead of .o.
* dummy/Makefile.am: Use .$(OBJEXT) instead of .o.
* dumpbuf/Makefile.am: Use .$(OBJEXT) instead of .o.
* monitor/Makefile.am: Use .$(OBJEXT) instead of .o.
* mw-fb/Makefile.am: Use .$(OBJEXT) instead of .o.
* rtmonuse/Makefile.am: Use .$(OBJEXT) instead of .o.
* serdbg/Makefile.am: Use .$(OBJEXT) instead of .o.
* shell/Makefile.am: Use .$(OBJEXT) instead of .o.
* stackchk/Makefile.am: Use .$(OBJEXT) instead of .o.
* untar/Makefile.am: Use .$(OBJEXT) instead of .o.
* network/Makefile.am: Use .$(OBJEXT) instead of .o.
* rtc/Makefile.am: Use .$(OBJEXT) instead of .o.
* serial/Makefile.am: Use .$(OBJEXT) instead of .o.
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* hw_init/Makefile.am: Use .$(OBJEXT) instead of .o.
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* scitab/Makefile.am: Use .$(OBJEXT) instead of .o.
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* gdbsci/Makefile.am: Use .$(OBJEXT) instead of .o.
* scitab/Makefile.am: Use .$(OBJEXT) instead of .o.
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* trap34/Makefile.am: Use .$(OBJEXT) instead of .o.
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* gnatsupp/Makefile.am: Use .$(OBJEXT) instead of .o.
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* erc32sonic/Makefile.am: Use .$(OBJEXT) instead of .o.
* gnatsupp/Makefile.am: Use .$(OBJEXT) instead of .o.
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* m68040/fpsp/Makefile.am: Use .$(OBJEXT) instead of .o.
* mcf5206/clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* mcf5206/console/Makefile.am: Use .$(OBJEXT) instead of .o.
* mcf5206/mbus/Makefile.am: Use .$(OBJEXT) instead of .o.
* mcf5206/timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* shared/cache/Makefile.am: Use .$(OBJEXT) instead of .o.
* shared/misc/Makefile.am: Use .$(OBJEXT) instead of .o.
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* milli/Makefile.am: Use .$(OBJEXT) instead of .o.
* semaphore/Makefile.am: Use .$(OBJEXT) instead of .o.
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc505/ictrl/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc505/timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc505/vectors/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc6xx/clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc6xx/exceptions/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc6xx/mmu/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc6xx/timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8260/clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8260/console-generic/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8260/cpm/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8260/exceptions/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8260/mmu/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8260/timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8xx/clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8xx/console-generic/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8xx/cpm/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8xx/exceptions/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8xx/mmu/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8xx/timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* ppc403/clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* ppc403/console/Makefile.am: Use .$(OBJEXT) instead of .o.
* ppc403/ictrl/Makefile.am: Use .$(OBJEXT) instead of .o.
* ppc403/timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* ppc403/tty_drv/Makefile.am: Use .$(OBJEXT) instead of .o.
* ppc403/vectors/Makefile.am: Use .$(OBJEXT) instead of .o.
* shared/include/Makefile.am: Use .$(OBJEXT) instead of .o.
* shared/src/Makefile.am: Use .$(OBJEXT) instead of .o.
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* mongoosev/duart/Makefile.am: Use .$(OBJEXT) instead of .o.
* mongoosev/vectorisrs/Makefile.am: Use .$(OBJEXT) instead of .o.
* r46xx/vectorisrs/Makefile.am: Use .$(OBJEXT) instead of .o.
* shared/cache/Makefile.am: Use .$(OBJEXT) instead of .o.
* shared/interrupts/Makefile.am: Use .$(OBJEXT) instead of .o.
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* tx39/vectorisrs/Makefile.am: Use .$(OBJEXT) instead of .o.
* i960ca/Makefile.am: Use .$(OBJEXT) instead of .o.
* i960ka/Makefile.am: Use .$(OBJEXT) instead of .o.
* i960rp/Makefile.am: Use .$(OBJEXT) instead of .o.
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* sci/Makefile.am: Use .$(OBJEXT) instead of .o.
* score/Makefile.am: Use .$(OBJEXT) instead of .o.
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* delay/Makefile.am: Use .$(OBJEXT) instead of .o.
* sci/Makefile.am: Use .$(OBJEXT) instead of .o.
* score/Makefile.am: Use .$(OBJEXT) instead of .o.
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* cache/Makefile.am: Use .$(OBJEXT) instead of .o.
* reg_win/Makefile.am: Use .$(OBJEXT) instead of .o.
* syscall/Makefile.am: Use .$(OBJEXT) instead of .o.
* base_mp/node1/Makefile.am: Use .$(OBJEXT) instead of .o.
* base_mp/node2/Makefile.am: Use .$(OBJEXT) instead of .o.
* base_sp/Makefile.am: Use .$(OBJEXT) instead of .o.
* cdtest/Makefile.am: Use .$(OBJEXT) instead of .o.
* hello/Makefile.am: Use .$(OBJEXT) instead of .o.
* minimum/Makefile.am: Use .$(OBJEXT) instead of .o.
* paranoia/Makefile.am: Use .$(OBJEXT) instead of .o.
* ticker/Makefile.am: Use .$(OBJEXT) instead of .o.
* unlimited/Makefile.am: Use .$(OBJEXT) instead of .o.
* itronhello/Makefile.am: Use .$(OBJEXT) instead of .o.
* itronmbf01/Makefile.am: Use .$(OBJEXT) instead of .o.
* itronmbox01/Makefile.am: Use .$(OBJEXT) instead of .o.
* itronsem01/Makefile.am: Use .$(OBJEXT) instead of .o.
* itrontask01/Makefile.am: Use .$(OBJEXT) instead of .o.
* itrontask02/Makefile.am: Use .$(OBJEXT) instead of .o.
* itrontask03/Makefile.am: Use .$(OBJEXT) instead of .o.
* itrontask04/Makefile.am: Use .$(OBJEXT) instead of .o.
* itrontime01/Makefile.am: Use .$(OBJEXT) instead of .o.
* psx01/Makefile.am: Use .$(OBJEXT) instead of .o.
* psx02/Makefile.am: Use .$(OBJEXT) instead of .o.
* psx03/Makefile.am: Use .$(OBJEXT) instead of .o.
* psx04/Makefile.am: Use .$(OBJEXT) instead of .o.
* psx05/Makefile.am: Use .$(OBJEXT) instead of .o.
* psx06/Makefile.am: Use .$(OBJEXT) instead of .o.
* psx07/Makefile.am: Use .$(OBJEXT) instead of .o.
* psx08/Makefile.am: Use .$(OBJEXT) instead of .o.
* psx09/Makefile.am: Use .$(OBJEXT) instead of .o.
* psx10/Makefile.am: Use .$(OBJEXT) instead of .o.
* psx11/Makefile.am: Use .$(OBJEXT) instead of .o.
* psx12/Makefile.am: Use .$(OBJEXT) instead of .o.
* psx13/Makefile.am: Use .$(OBJEXT) instead of .o.
* psxcancel/Makefile.am: Use .$(OBJEXT) instead of .o.
* psxchroot01/Makefile.am: Use .$(OBJEXT) instead of .o.
* psxfile01/Makefile.am: Use .$(OBJEXT) instead of .o.
* psxhdrs/Makefile.am: Use .$(OBJEXT) instead of .o.
* psxmount/Makefile.am: Use .$(OBJEXT) instead of .o.
* psxmsgq01/Makefile.am: Use .$(OBJEXT) instead of .o.
* psxreaddir/Makefile.am: Use .$(OBJEXT) instead of .o.
* psxsem01/Makefile.am: Use .$(OBJEXT) instead of .o.
* psxstat/Makefile.am: Use .$(OBJEXT) instead of .o.
* psxtime/Makefile.am: Use .$(OBJEXT) instead of .o.
* psxtimer/Makefile.am: Use .$(OBJEXT) instead of .o.
* sp01/Makefile.am: Use $(OBJEXT) instead of .o.
* sp02/Makefile.am: Use $(OBJEXT) instead of .o.
* sp03/Makefile.am: Use $(OBJEXT) instead of .o.
* sp04/Makefile.am: Use $(OBJEXT) instead of .o.
* sp05/Makefile.am: Use $(OBJEXT) instead of .o.
* sp06/Makefile.am: Use $(OBJEXT) instead of .o.
* sp07/Makefile.am: Use $(OBJEXT) instead of .o.
* sp08/Makefile.am: Use $(OBJEXT) instead of .o.
* sp09/Makefile.am: Use $(OBJEXT) instead of .o.
* sp11/Makefile.am: Use $(OBJEXT) instead of .o.
* sp12/Makefile.am: Use $(OBJEXT) instead of .o.
* sp13/Makefile.am: Use $(OBJEXT) instead of .o.
* sp14/Makefile.am: Use $(OBJEXT) instead of .o.
* sp15/Makefile.am: Use $(OBJEXT) instead of .o.
* sp16/Makefile.am: Use $(OBJEXT) instead of .o.
* sp17/Makefile.am: Use $(OBJEXT) instead of .o.
* sp19/Makefile.am: Use $(OBJEXT) instead of .o.
* sp20/Makefile.am: Use $(OBJEXT) instead of .o.
* sp21/Makefile.am: Use $(OBJEXT) instead of .o.
* sp22/Makefile.am: Use $(OBJEXT) instead of .o.
* sp23/Makefile.am: Use $(OBJEXT) instead of .o.
* sp24/Makefile.am: Use $(OBJEXT) instead of .o.
* sp25/Makefile.am: Use $(OBJEXT) instead of .o.
* sp26/Makefile.am: Use $(OBJEXT) instead of .o.
* sp27/Makefile.am: Use $(OBJEXT) instead of .o.
* sp28/Makefile.am: Use $(OBJEXT) instead of .o.
* sp29/Makefile.am: Use $(OBJEXT) instead of .o.
* sp30/Makefile.am: Use $(OBJEXT) instead of .o.
* sp31/Makefile.am: Use $(OBJEXT) instead of .o.
* spfatal/Makefile.am: Use $(OBJEXT) instead of .o.
* spsize/Makefile.am: Use $(OBJEXT) instead of .o.
* cpuuse/Makefile.am: Use $(OBJEXT) instead of .o.
* malloctest/Makefile.am: Use $(OBJEXT) instead of .o.
* monitor/Makefile.am: Use $(OBJEXT) instead of .o.
* putenvtest/Makefile.am: Use $(OBJEXT) instead of .o.
* rtems++/Makefile.am: Use $(OBJEXT) instead of .o.
* rtmonuse/Makefile.am: Use $(OBJEXT) instead of .o.
* stackchk/Makefile.am: Use $(OBJEXT) instead of .o.
* termios/Makefile.am: Use $(OBJEXT) instead of .o.
* tm01/Makefile.am: Use $(OBJEXT) instead of .o.
* tm02/Makefile.am: Use $(OBJEXT) instead of .o.
* tm03/Makefile.am: Use $(OBJEXT) instead of .o.
* tm04/Makefile.am: Use $(OBJEXT) instead of .o.
* tm05/Makefile.am: Use $(OBJEXT) instead of .o.
* tm06/Makefile.am: Use $(OBJEXT) instead of .o.
* tm07/Makefile.am: Use $(OBJEXT) instead of .o.
* tm08/Makefile.am: Use $(OBJEXT) instead of .o.
* tm09/Makefile.am: Use $(OBJEXT) instead of .o.
* tm10/Makefile.am: Use $(OBJEXT) instead of .o.
* tm11/Makefile.am: Use $(OBJEXT) instead of .o.
* tm12/Makefile.am: Use $(OBJEXT) instead of .o.
* tm13/Makefile.am: Use $(OBJEXT) instead of .o.
* tm14/Makefile.am: Use $(OBJEXT) instead of .o.
* tm15/Makefile.am: Use $(OBJEXT) instead of .o.
* tm16/Makefile.am: Use $(OBJEXT) instead of .o.
* tm17/Makefile.am: Use $(OBJEXT) instead of .o.
* tm18/Makefile.am: Use $(OBJEXT) instead of .o.
* tm19/Makefile.am: Use $(OBJEXT) instead of .o.
* tm20/Makefile.am: Use $(OBJEXT) instead of .o.
* tm21/Makefile.am: Use $(OBJEXT) instead of .o.
* tm22/Makefile.am: Use $(OBJEXT) instead of .o.
* tm23/Makefile.am: Use $(OBJEXT) instead of .o.
* tm24/Makefile.am: Use $(OBJEXT) instead of .o.
* tm25/Makefile.am: Use $(OBJEXT) instead of .o.
* tm26/Makefile.am: Use $(OBJEXT) instead of .o.
* tm27/Makefile.am: Use $(OBJEXT) instead of .o.
* tm28/Makefile.am: Use $(OBJEXT) instead of .o.
* tm29/Makefile.am: Use $(OBJEXT) instead of .o.
* tmck/Makefile.am: Use $(OBJEXT) instead of .o.
* tmoverhd/Makefile.am: Use $(OBJEXT) instead of .o.
* mp01/node1/Makefile.am: Use $(OBJEXT) instead of .o.
* mp01/node2/Makefile.am: Use $(OBJEXT) instead of .o.
* mp02/node1/Makefile.am: Use $(OBJEXT) instead of .o.
* mp02/node2/Makefile.am: Use $(OBJEXT) instead of .o.
* mp03/node1/Makefile.am: Use $(OBJEXT) instead of .o.
* mp03/node2/Makefile.am: Use $(OBJEXT) instead of .o.
* mp04/node1/Makefile.am: Use $(OBJEXT) instead of .o.
* mp04/node2/Makefile.am: Use $(OBJEXT) instead of .o.
* mp05/node1/Makefile.am: Use $(OBJEXT) instead of .o.
* mp05/node2/Makefile.am: Use $(OBJEXT) instead of .o.
* mp06/node1/Makefile.am: Use $(OBJEXT) instead of .o.
* mp06/node2/Makefile.am: Use $(OBJEXT) instead of .o.
* mp07/node1/Makefile.am: Use $(OBJEXT) instead of .o.
* mp07/node2/Makefile.am: Use $(OBJEXT) instead of .o.
* mp08/node1/Makefile.am: Use $(OBJEXT) instead of .o.
* mp08/node2/Makefile.am: Use $(OBJEXT) instead of .o.
* mp09/node1/Makefile.am: Use $(OBJEXT) instead of .o.
* mp09/node2/Makefile.am: Use $(OBJEXT) instead of .o.
* mp10/node1/Makefile.am: Use $(OBJEXT) instead of .o.
* mp10/node2/Makefile.am: Use $(OBJEXT) instead of .o.
* mp11/node1/Makefile.am: Use $(OBJEXT) instead of .o.
* mp11/node2/Makefile.am: Use $(OBJEXT) instead of .o.
* mp12/node1/Makefile.am: Use $(OBJEXT) instead of .o.
* mp12/node2/Makefile.am: Use $(OBJEXT) instead of .o.
* mp13/node1/Makefile.am: Use $(OBJEXT) instead of .o.
* mp13/node2/Makefile.am: Use $(OBJEXT) instead of .o.
* mp14/node1/Makefile.am: Use $(OBJEXT) instead of .o.
* mp14/node2/Makefile.am: Use $(OBJEXT) instead of .o.
* dlentry/dlentry.S: Removed fake __eabi to avoid conflict with
the real one provided by gcc. I don't know if this makes this
BSP work for C++ but it at least lets simple programs link again.
* Makefile.am: Use @RTEMS_BSP_FAMILY@ instead of $(@RTEMS_BSP_FAMILY).
* configure.ac: Remove RTEMS_BSP_ALIAS.
Add RTEMS_CHECK_BSP_CACHE.
Use RTEMS_BSP_FAMILY to detect the bare BSP.
* start/Makefile.am: Pick up rest of Ralf'f changes and use
cp not make-rel since there is no point in this case.
* start/debugreset.S: Rights were not assigned.
* start/reset.S: Add ifdef to avoid core dump until Chris can
track it down.
* start/cpuboot.c: Moved to startup.
* startup/Makefile.am: Account for above.
* src/coretodset.c: Correct calculation of ticks until next section
boundary. It was incorrectly based upon current time not the
time that is being set.
* bsp_specs, configure.ac, startup/bspstart.c: Update and fix
minor things so this BSP compiles and almost completely links.
* startup/Makefile.am: New file.
* setup.def: Updating gcc3/newlib patches and tool versions. The
focus of this round of patches was ot eliminate header file name
conflicts between RTEMS and newlib.
* pci/pcibios.c: Per PR262, removed all asserts so probes for
devices that are not present will work. This lets you have
multiple PCI Ethernet drivers in an application and dynamically
use the one for the card othat is present.
* Per PR260 eliminate use of make-target-options. This impacted
RTEMS allowing a distinction between the CPU32 and CPU32+ in the
SuperCore and required that the m68k optimized memcpy be moved
to libcpu.
* custom/gen68360.cfg: Remove make-target-options.
* Per PR260 eliminate use of make-target-options. This impacted
RTEMS allowing a distinction between the CPU32 and CPU32+ in the
SuperCore and required that the m68k optimized memcpy be moved
to libcpu.
* memcpy.c: Moved to libcpu.
* Makefile.am: Modified to reflect above.
* Per PR260 eliminate use of make-target-options. This impacted
RTEMS allowing a distinction between the CPU32 and CPU32+ in the
SuperCore and required that the m68k optimized memcpy be moved
to libcpu.
* shared/misc/memcpy.c: Moved from score/cpu/m68k.
* configure.ac, shared/Makefile.am: Modified to reflect new directory.
* shared/misc/.cvsignore, shared/misc/Makefile.am: New file.
* Per PR260 eliminate use of make-target-options. This impacted
RTEMS allowing a distinction between the CPU32 and CPU32+ in the
SuperCore and required that the m68k optimized memcpy be moved
to libcpu.
* wrapup/Makefile.am: Pick up memcpy.o from libcpu.
* startup/bspstart.c, startup/linkcmds: Per PR247 , fix the linkcmds
to avoid overlapping sections and reworked the way the heap and
workspace are calculated.
* Per PR47 add support for buffered test output. This involved
adding defines to redirect output to a buffer and dump it when
full, at "test pause", and at exit. To avoid problems when redefining
exit(), all tests were modified to call rtems_test_exit().
Some tests, notable psxtests, had to be modified to include
the standard test macro .h file (pmacros.h or tmacros.h) to
enable this support.
* cdtest/init.c: Modified.
* Per PR47 add support for buffered test output. This involved
adding defines to redirect output to a buffer and dump it when
full, at "test pause", and at exit. To avoid problems when redefining
exit(), all tests were modified to call rtems_test_exit().
Some tests, notable psxtests, had to be modified to include
the standard test macro .h file (pmacros.h or tmacros.h) to
enable this support.
* cpuuse/task2.c, malloctest/task1.c, putenvtest/init.c,
rtmonuse/task1.c, termios/init.c: Modified.
* Per PR47 add support for buffered test output. This involved
adding defines to redirect output to a buffer and dump it when
full, at "test pause", and at exit. To avoid problems when redefining
exit(), all tests were modified to call rtems_test_exit().
Some tests, notable psxtests, had to be modified to include
the standard test macro .h file (pmacros.h or tmacros.h) to
enable this support.
* tmitronsem01/init.c: Modified.
* Per PR47 add support for buffered test output. This involved
adding defines to redirect output to a buffer and dump it when
full, at "test pause", and at exit. To avoid problems when redefining
exit(), all tests were modified to call rtems_test_exit().
Some tests, notable psxtests, had to be modified to include
the standard test macro .h file (pmacros.h or tmacros.h) to
enable this support.
* itronhello/init.c, itronmbf01/init.c, itronmbox01/init.c,
itronsem01/init.c, itrontask01/task1.c, itrontask02/init.c,
itrontask03/task1.c, itrontask04/task3.c, itrontime01/init.c: Modified.
* Per PR47 add support for buffered test output. This involved
adding defines to redirect output to a buffer and dump it when
full, at "test pause", and at exit. To avoid problems when redefining
exit(), all tests were modified to call rtems_test_exit().
Some tests, notable psxtests, had to be modified to include
the standard test macro .h file (pmacros.h or tmacros.h) to
enable this support.
* include/pmacros.h, psx01/task.c, psx02/init.c, psx02/task.c,
psx03/init.c, psx04/init.c, psx05/init.c, psx06/init.c, psx07/init.c,
psx08/task3.c, psx09/init.c, psx10/init.c, psx11/init.c,
psx12/init.c, psx13/Makefile.am, psx13/main.c, psx13/test.c,
psxcancel/init.c, psxchroot01/Makefile.am, psxchroot01/main.c,
psxchroot01/test.c, psxfile01/Makefile.am, psxfile01/main.c,
psxfile01/test.c, psxfile01/test_cat.c, psxfile01/test_extend.c,
psxfile01/test_write.c, psxmount/Makefile.am, psxmount/main.c,
psxmount/test.c, psxmsgq01/init.c, psxreaddir/Makefile.am,
psxreaddir/main.c, psxreaddir/test.c, psxsem01/init.c,
psxstat/Makefile.am, psxstat/main.c, psxstat/test.c, psxtime/main.c,
psxtime/test.c, psxtimer/psxtimer.c: Modified.
* Per PR47 add support for buffered test output. This involved
adding defines to redirect output to a buffer and dump it when
full, at "test pause", and at exit. To avoid problems when redefining
exit(), all tests were modified to call rtems_test_exit().
Some tests, notable psxtests, had to be modified to include
the standard test macro .h file (pmacros.h or tmacros.h) to
enable this support.
* mp01/task1.c, mp02/task1.c, mp03/task1.c, mp04/task1.c, mp05/task1.c,
mp06/task1.c, mp07/task1.c, mp08/task1.c, mp09/task1.c, mp10/init.c,
mp11/init.c, mp12/init.c, mp13/init.c, mp13/task2.c: Modified.
* Per PR47 add support for buffered test output. This involved
adding defines to redirect output to a buffer and dump it when
full, at "test pause", and at exit. To avoid problems when redefining
exit(), all tests were modified to call rtems_test_exit().
Some tests, notable psxtests, had to be modified to include
the standard test macro .h file (pmacros.h or tmacros.h) to
enable this support.
* include/timesys.h, tm01/task1.c, tm02/task1.c, tm03/task1.c,
tm04/task1.c, tm05/task1.c, tm06/task1.c, tm07/task1.c, tm08/task1.c,
tm09/task1.c, tm10/task1.c, tm11/task1.c, tm12/task1.c, tm13/task1.c,
tm14/task1.c, tm15/task1.c, tm16/task1.c, tm17/task1.c, tm18/task1.c,
tm19/task1.c, tm20/task1.c, tm21/task1.c, tm22/task1.c, tm23/task1.c,
tm24/task1.c, tm25/task1.c, tm26/task1.c, tm27/task1.c, tm28/task1.c,
tm29/task1.c, tmck/task1.c, tmoverhd/testtask.c: Modified.
* Per PR47 add support for buffered test output. This involved
adding defines to redirect output to a buffer and dump it when
full, at "test pause", and at exit. To avoid problems when redefining
exit(), all tests were modified to call rtems_test_exit().
Some tests, notable psxtests, had to be modified to include
the standard test macro .h file (pmacros.h or tmacros.h) to
enable this support.
* sp01/task1.c, sp02/task1.c, sp03/task2.c, sp04/task1.c, sp05/task1.c,
sp06/task1.c, sp07/taskexit.c, sp08/task1.c, sp09/task1.c,
sp11/task1.c, sp12/pritask.c, sp12/task5.c, sp13/task1.c,
sp14/task2.c, sp15/task1.c, sp16/task1.c, sp17/task1.c,
sp19/fptask.c, sp20/task1.c, sp21/task1.c, sp22/task1.c,
sp23/task1.c, sp24/task1.c, sp25/task1.c, sp26/init.c, sp26/task1.c,
sp30/task1.c, sp31/task1.c, spsize/init.c, spsize/size.c: Modified.
* Per PR47 add support for buffered test output. This involved
adding defines to redirect output to a buffer and dump it when
full, at "test pause", and at exit. To avoid problems when redefining
exit(), all tests were modified to call rtems_test_exit().
Some tests, notable psxtests, had to be modified to include
the standard test macro .h file (pmacros.h or tmacros.h) to
enable this support.
* include/buffer_test_io.h: New file.
* machine/param.h, sys/syslimits.h: In the continued effort to
eliminate .h conflicts between newlib and RTEMS, these were moved to
newlib.
* machine/Makefile.am, sys/Makefile.am: Reflect above.
* BSP_TIMES, wksheets.texi: Updated to reflect ARM times
reported by Jay Monkman <jmonkman@adventnetworks.com>. These
times are subject to change as he tunes the ARM port and their BSP.
* include/coverhd.h: Per PR261 removed include of
<rtems/score/targopts.h> because the file is no longer being
generated and really wasn't being used anyway.
* .cvsignore, ChangeLog, asm.h, configure.ac, cpu.c, cpu_asm.c,
rtems/score/.cvsignore, rtems/score/cpu.h, rtems/score/cpu_asm.h,
rtems/score/or16.h, rtems/score/types.h: Removed as the or16 port
was just a stub and only the OR32 port is getting worked on.
* machine/types.h: Removed as a simpler version of this file is
now part of the RTEMS newlib support.
* machine/Makefile.am, machine/endian.h, nfs/bootp_subr.c,
rtems/rtems_bsdnet_internal.h, sys/Makefile.am, sys/systm.h:
Minor modifications to use the simpler machine/types.h. Mostly
more complete sets of #include's to account for machine/types.h
no longer doing this.
* include/sys/utime.h: Removed as file is now part of the RTEMS
newlib support.
* Makefile.am: Reflect above.
* include/rtems/termiostypes.h: Avoid use of __P.
* irq/irq_asm.S: ARM port works well enough to run all sptests,
tmtests, and ttcp. In addition to general cleanup, there
has been considerable optimization to interrupt disable/enable,
endian swapping, and context switching.
* cpu.c, cpu_asm.S, rtems/score/arm.h, rtems/score/cpu.h,
rtems/score/cpu_asm.h, rtems/score/types.h: ARM port works
well enough to run all sptests, tmtests, and ttcp.
In addition to general cleanup, there has been considerable
optimization to interrupt disable/enable, endian swapping,
and context switching.
* configure.ac: Use AC_CONFIG_FILES(script, chmod +x script)
to generate mk*spec scripts.
* mkbspspec.in: Use ',' as pattern delimiter in sed expression
for $rpm_build_root.
* mkbinutilsspec.in: Use ',' as pattern delimiter in sed
expression for $rpm_build_root.
* cpukit/mkspec.in: Cosmetical changes.
* ChangeLog: Fix 2002-07-22 ChangeLog entry bogusly referring to
Joel.
* cpukit/Makefile.am: New.
* cpukit/mkspec.in: New.
* cpukit/rtems-cpukit.spec.in: New.
* cpukit/.cvsignore: New.
* configure.ac: Add cpukit.
Add RTEMS_TOP to pickup _RTEMS_VERSION (required by cpukit).
* Makefile.am: Add cpukit. Add ACLOCAL_AMFLAGS (required to pickup
RTEMS_VERSION).
* setup.def: Use %{_tmppath} as default for $rpm_build_root.
* mkbinutilsspec.in: Use ',' as pattern delimiter in sed expression
for $rpm_build_root.
* mkgccnewlibspec.in: Use ',' as pattern delimiter in sed
expression for $rpm_build_root.
* mkgcc3newlibspec.in: Use ',' as pattern delimiter in sed
expression for $rpm_build_root.
* mkgdbspec.in: Use ',' as pattern delimiter in sed expression for
$rpm_build_root.
* configure.ac: Disable LIBRPC for the c4x.
Check for presence of score/cpu/${RTEMS_CPU}/cpu.c.
* wrapup/Makefile.am: Reflect changes above.
Let librtemscpu.a depend upon libscorecpu.a.
* include/rtems/score/apimutex.h (_API_Mutex_Lock): Per PR253
add the missing _ISR_Disable. This fix was already applied to
the old location (c/src/exec/score/...).
* startup/bspstart.c: Per PR252 removed hack that tripled size of
RTEMS Workspace when POSIX is configured. This was probably done to
account for confdefs.h missing some application requirements.
* wrapup/Makefile.am: Use project_libdir instead of
$(PROJECT_RELEASE)/lib. Eliminate LIBNAME. Pickup *.o's instead of
*.rels for CPU_OBJS. Manually create $(project_libdir)$(MULTISUBDIR).
* aclocal/bsp-configure.m4: Add RTEMS_CHECK_MULTIPROCESSING.
* automake/compile.am: Add test -d $(ARCH) || mkdir $(ARCH) to all
compilation rules (Work-around to an automake bug).
* automake/lib.am: Add test -d $(ARCH) || mkdir $(ARCH) to
make-library.
* aclocal/env-rtemsbsp.m4: Remove RTEMS_BSP_SPECS, PROJECT_RELEASE.
Add project_libdir, libdir. New GCC_SPECS. Various cleanups.
* aclocal/env-rtemscpu.m4: Remove RTEMS_BSP_SPECS, PROJECT_RELEASE.
Add project_libdir, libdir. New GCC_SPECS. Various cleanups.
* aclocal/rtems-top.m4: New PROJECT_ROOT handling.
* automake/compile.am: Remove RTEMS_BSP_SPECS, LD* flags, LINK,
references to bsp_specs. Use project_libdir instead of
$(PROJECT_RELEASE)/lib.
* src/dosfs/Makefile.am: Use AM_CPPFLAGS instead of INCLUDES and
AM_CFLAGS. Eliminate LIBNAME.
* src/imfs/Makefile.am: Use AM_CPPFLAGS instead of INCLUDES and
AM_CFLAGS. Eliminate LIBNAME.
* wrapup/Makefile.am: Eliminate LIBNAME.
* acinclude.m4: Cleanups.
* configure.ac: Build ${srcdir}/../../cpukit/ as ./exec/ instead of
${srcdir}/exec/.
Further adaptations to autoconf >= 2.50.
* rtems/score/cpu_asm.h: Enhanced to include register offsets.
* Makefile.am: Install rtems/score/cpu_asm.h.
* cpu.c: Significantly enhanced including the implementation of
_CPU_ISR_Get_level.
* cpu_asm.S: Improved behavior of context switch and interrupt
dispatching.
* rtems/score/arm.h: Improved the CPU model name determination.
* rtems/score/cpu.h: Improved interrupt disable/enable functions.
* New driver for the Intel EtherExpressPro (82559ER) chip.
* network/if_fxp.c, network/if_fxpreg.h, network/if_fxpvar.h,
network/pci.h: New file.
* network/Makefile.am: Modified to reflect above.
* console/console.c: Others on the rtems-users list have expressed
concern about this run-time selection, so I've enclosed the changes
in a #ifdef RTEMS_RUNTIME_CONSOLE_SELECT conditional.
* comm/uart.c: I am using a PC-104 card with no video output. I
found that things would lock up if a printk was followed closely by
a printf when BSPConsolePort = BSP_UART_COM2 and
BSPPrintkPort = BSP_UART_COM1. With this change in place,
printf/printk calls can be intermingled with no apparent problems.
* macros/rtems/score/object.inl: Corrected implementation of
_Objects_Open, _Objects_Close, and _Objects_Namespace_remove
to be consistent with the inline implementation.
* src/dpmemident.c, src/msgqident.c, src/partident.c,
src/ratemonident.c, src/regionident.c, src/semident.c,
src/timerident.c: Corrected use of name parameter to
be consistent with fixes implemented to string name processing
which were committed with the POSIX Message Queue update.
* include/rtems/posix/cancel.h, src/cancel.c, src/cancelrun.c,
src/mqueue.c, src/pthread.c, src/semaphore.c, src/setcancelstate.c,
src/setcanceltype.c, src/testcancel.c: Per PR164, corrected the
behavior of thread cancellation and did some cleanup as a side-effect.
* psxcancel/Makefile.am, psxcancel/init.c, psxcancel/psxcancel.scn:
Updated as part of PR164 which reported problems with the RTEMS
implementation of pthread_cancel.
* Jump table for single entry point removed.
* include/rtems/directives.h, src/entrytable.c: Removed.
* include/Makefile.am, src/Makefile.am, src/exinit.c: Modified to
reflect above.
* Mega patch merge to change the format of the object IDs to
loosen the dependency between the SCORE and the various APIs.
There was considerable work to simplify the object name management
and it appears that the name_table field is no longer needed.
This patch also includes the addition of the internal mutex
which is currently only used to protect some types of allocation
and deallocation. This significantly can reduce context
switch latency under certain circumstances. In particular,
some heap/region operations were O(n) and had dispatching
disabled. This should help enormously. With this merge,
the patch is not as clean as it should be. In particular,
the documentation has not been modified to reflect the new object
ID layout, the IDs in the test screens are not updated, and
_Objects_Get_information needs to be a real routine not inlined.
As part of this patch a lot of MP code for thread/proxy blocking
was made conditional and cleaned up.
* src/bdbuf.c: Modified as part of above.
* Mega patch merge to change the format of the object IDs to
loosen the dependency between the SCORE and the various APIs.
There was considerable work to simplify the object name management
and it appears that the name_table field is no longer needed.
This patch also includes the addition of the internal mutex
which is currently only used to protect some types of allocation
and deallocation. This significantly can reduce context
switch latency under certain circumstances. In particular,
some heap/region operations were O(n) and had dispatching
disabled. This should help enormously. With this merge,
the patch is not as clean as it should be. In particular,
the documentation has not been modified to reflect the new object
ID layout, the IDs in the test screens are not updated, and
_Objects_Get_information needs to be a real routine not inlined.
As part of this patch a lot of MP code for thread/proxy blocking
was made conditional and cleaned up.
* src/cre_mbf.c, src/cre_sem.c, src/eventflags.c, src/fmempool.c,
src/itronsem.c, src/mbox.c, src/msgbuffer.c, src/port.c, src/task.c,
src/vmempool.c: Modified as part of above.
* Mega patch merge to change the format of the object IDs to
loosen the dependency between the SCORE and the various APIs.
There was considerable work to simplify the object name management
and it appears that the name_table field is no longer needed.
This patch also includes the addition of the internal mutex
which is currently only used to protect some types of allocation
and deallocation. This significantly can reduce context
switch latency under certain circumstances. In particular,
some heap/region operations were O(n) and had dispatching
disabled. This should help enormously. With this merge,
the patch is not as clean as it should be. In particular,
the documentation has not been modified to reflect the new object
ID layout, the IDs in the test screens are not updated, and
_Objects_Get_information needs to be a real routine not inlined.
As part of this patch a lot of MP code for thread/proxy blocking
was made conditional and cleaned up.
* include/rtems/posix/key.h, src/cond.c, src/condinit.c, src/intr.c,
src/key.c, src/keycreate.c, src/keydelete.c, src/killinfo.c,
src/mqueue.c, src/mqueuecreatesupp.c, src/mutex.c, src/mutexinit.c,
src/psignal.c, src/pthread.c, src/semaphore.c,
src/semaphorecreatesupp.c: Modified as part of above.
* Mega patch merge to change the format of the object IDs to
loosen the dependency between the SCORE and the various APIs.
There was considerable work to simplify the object name management
and it appears that the name_table field is no longer needed.
This patch also includes the addition of the internal mutex
which is currently only used to protect some types of allocation
and deallocation. This significantly can reduce context
switch latency under certain circumstances. In particular,
some heap/region operations were O(n) and had dispatching
disabled. This should help enormously. With this merge,
the patch is not as clean as it should be. In particular,
the documentation has not been modified to reflect the new object
ID layout, the IDs in the test screens are not updated, and
_Objects_Get_information needs to be a real routine not inlined.
As part of this patch a lot of MP code for thread/proxy blocking
was made conditional and cleaned up.
* include/rtems.h, inline/rtems/rtems/region.inl,
macros/rtems/rtems/region.inl, src/dpmem.c, src/dpmemcreate.c,
src/msg.c, src/msgqcreate.c, src/part.c, src/partcreate.c,
src/ratemon.c, src/ratemoncreate.c, src/region.c, src/regioncreate.c,
src/regiondelete.c, src/regionextend.c, src/regiongetinfo.c,
src/regiongetsegment.c, src/regiongetsegmentsize.c,
src/regionident.c, src/regionreturnsegment.c, src/rtemstimer.c,
src/sem.c, src/semcreate.c, src/taskcreate.c, src/taskident.c,
src/tasks.c, src/timercreate.c: Modified as part of above.
* Mega patch merge to change the format of the object IDs to
loosen the dependency between the SCORE and the various APIs.
There was considerable work to simplify the object name management
and it appears that the name_table field is no longer needed.
This patch also includes the addition of the internal mutex
which is currently only used to protect some types of allocation
and deallocation. This significantly can reduce context
switch latency under certain circumstances. In particular,
some heap/region operations were O(n) and had dispatching
disabled. This should help enormously. With this merge,
the patch is not as clean as it should be. In particular,
the documentation has not been modified to reflect the new object
ID layout, the IDs in the test screens are not updated, and
_Objects_Get_information needs to be a real routine not inlined.
As part of this patch a lot of MP code for thread/proxy blocking
was made conditional and cleaned up.
* include/confdefs.h, src/exinit.c, src/extension.c, src/itronapi.c,
src/posixapi.c, src/rtemsapi.c: Modified as part of above.
* Mega patch merge to change the format of the object IDs to
loosen the dependency between the SCORE and the various APIs.
There was considerable work to simplify the object name management
and it appears that the name_table field is no longer needed.
This patch also includes the addition of the internal mutex
which is currently only used to protect some types of allocation
and deallocation. This significantly can reduce context
switch latency under certain circumstances. In particular,
some heap/region operations were O(n) and had dispatching
disabled. This should help enormously. With this merge,
the patch is not as clean as it should be. In particular,
the documentation has not been modified to reflect the new object
ID layout, the IDs in the test screens are not updated, and
_Objects_Get_information needs to be a real routine not inlined.
As part of this patch a lot of MP code for thread/proxy blocking
was made conditional and cleaned up.
* include/Makefile.am, include/rtems/score/coremsg.h,
include/rtems/score/coremutex.h, include/rtems/score/coresem.h,
include/rtems/score/object.h, include/rtems/score/threadq.h,
inline/rtems/score/object.inl, inline/rtems/score/thread.inl,
macros/rtems/score/object.inl, src/Makefile.am, src/coremsg.c,
src/coremutex.c, src/coresem.c, src/mpci.c,
src/objectcomparenameraw.c, src/objectextendinformation.c,
src/objectinitializeinformation.c, src/objectnametoid.c,
src/thread.c, src/threadclose.c, src/threadget.c, src/threadq.c,
src/threadqextractwithproxy.c: Modified as part of above.
* include/rtems/score/apimutex.h, src/objectgetnoprotection.c: New
files.
* rtems/score/cpu.h: Fixed comments and renamed
CPU_SYSTEM_INITIALIZATION_THREAD_EXTRA_STACK to
CPU_MPCI_RECEIVE_SERVER_EXTRA_STACK to be consistent with other code.
* capture/capture-cli.c, cpuuse/cpuuse.c, monitor/mon-monitor.c,
monitor/mon-object.c, monitor/monitor.h: Corrected use of
_Objects_Information_table now that it is a two dimensional
array based upon API and class. In addition, in the monitor,
corrected an error which occured when a target has 64 bit pointers.
* userext.t: Per PR228, correct the prototype of the task create
user extension to indicate it returns a boolean and augment the
documentation to explain the purpose of the boolean return value.
* Addition of a ftp client filesystem, comparable to the tftp one.
* lib/ftpfs.c, rtems/ftpfs.h: New files.
* lib/Makefile.am, rtems/Makefile.am: Modified to reflect above.
* With the addition of serdbg, the standard polled I/O functions
for gdbstub and/or printk are optionally routed to any termios-aware
device driver, that supports polled mode. See libmisc/serdbg/README.
* serdbg/Makefile.am, serdbg/README, serdbg/serdbg.c, serdbg/serdbg.h,
serdbg/serdbgcnf.h, serdbg/serdbgio.c, serdbg/termios_printk.c,
serdbg/termios_printk.h, serdbg/termios_printk_cnf.h,
serdbg/.cvsignore: New files.
* configure.ac, Makefile.am, wrapup/Makefile.am: Modified to
reflect addition.
* Thomas Doerfler <Thomas.Doerfler@imd-systems.de> added m68k
support to the shared gdb stub glue thus adding a directory at the
top shared level.
* shared/gdbstub: New directory.
* configure.ac: Modified to reflect above.
* Makefile.am, cpu.c, cpu_asm.S, rtems.S: Modified to make
this all compile again. It has been a while since we have
had a semi-working hppa1.1-rtems cross compiler. :)
* Thomas Doerfler <Thomas.Doerfler@imd-systems.de> added m68k
support to the shared gdb stub glue thus moving some of the
gdbstub support to a higher level.
* startup/Makefile.am: Modified to reflect above.
* Thomas Doerfler <Thomas.Doerfler@imd-systems.de> added m68k
support to the shared gdb stub glue necessitating a move up.
* Makefile.am: Reflect new gdbstub directory.
* Thomas Doerfler <Thomas.Doerfler@imd-systems.de> added m68k
support to the shared gdb stub glue necessitating a move up.
* ChangeLog, Makefile.am, .cvsignore: New file.
* rtems-stub-glue.c: Moved from mips/shared/gdbstub and
m68k/shared/gdbstub.
* Thomas Doerfler <Thomas.Doerfler@imd-systems.de> added m68k
support to the shared gdb stub glue thus adding a directory.
* configure.ac: Modified to reflect above.
* Thomas Doerfler <Thomas.Doerfler@imd-systems.de> added m68k
support to the shared gdb stub glue thus adding a directory.
* gdbstub: New directory.
* Makefile.am: Modified to reflect above.
* Per PR233, moved librpc to exec. Ralf will patch after move.
The patches associated with this PR are out of date.
* configure.ac, wrapup/Makefile.am: Modified.
* librpc, librpc/ChangeLog: Removed.
* Makefile.am: Include $(top_srcdir)/automake/*.am.
Use aclocal.
* sapi/include/Makefile.am: Include $(top_srcdir)/automake/*.am.
* sapi/Makefile.am: Include $(top_srcdir)/automake/*.am.
* sapi/inline/Makefile.am: Include $(top_srcdir)/automake/*.am.
* sapi/macros/Makefile.am: Include $(top_srcdir)/automake/*.am.
* sapi/src/Makefile.am: Include $(top_srcdir)/automake/*.am.
* score/include/Makefile.am: Include $(top_srcdir)/automake/*.am.
* score/Makefile.am: Include $(top_srcdir)/automake/*.am.
* score/cpu/Makefile.am: Include $(top_srcdir)/automake/*.am.
* score/inline/Makefile.am: Include $(top_srcdir)/automake/*.am.
* score/macros/Makefile.am: Include $(top_srcdir)/automake/*.am.
* score/src/Makefile.am: Include $(top_srcdir)/automake/*.am.
* wrapup/Makefile.am: Include $(top_srcdir)/automake/*.am.
* include/Makefile.am: Include $(top_srcdir)/automake/*.am.
* rtems/include/Makefile.am: Include $(top_srcdir)/automake/*.am.
* rtems/Makefile.am: Include $(top_srcdir)/automake/*.am.
* rtems/inline/Makefile.am: Include $(top_srcdir)/automake/*.am.
* rtems/macros/Makefile.am: Include $(top_srcdir)/automake/*.am.
* rtems/src/Makefile.am: Include $(top_srcdir)/automake/*.am.
* arpa/Makefile.am: Include $(top_srcdir)/../automake/*.am.
* kern/Makefile.am: Include $(top_srcdir)/../automake/*.am.
* Makefile.am: Include $(top_srcdir)/../automake/*.am.
Use ../aclocal.
* lib/Makefile.am: Include $(top_srcdir)/../automake/*.am.
* libc/Makefile.am: Include $(top_srcdir)/../automake/*.am.
* machine/Makefile.am: Include $(top_srcdir)/../automake/*.am.
* net/Makefile.am: Include $(top_srcdir)/../automake/*.am.
* netinet/Makefile.am: Include $(top_srcdir)/../automake/*.am.
* nfs/Makefile.am: Include $(top_srcdir)/../automake/*.am.
* rtems/Makefile.am: Include $(top_srcdir)/../automake/*.am.
* sys/Makefile.am: Include $(top_srcdir)/../automake/*.am.
* vm/Makefile.am: Include $(top_srcdir)/../automake/*.am.
* wrapup/Makefile.am: Include $(top_srcdir)/../automake/*.am.
* src/dosfs/Makefile.am: Include $(top_srcdir)/../automake/*.am.
* src/Makefile.am: Include $(top_srcdir)/../automake/*.am.
* src/imfs/Makefile.am: Include $(top_srcdir)/../automake/*.am.
* Makefile.am: Include $(top_srcdir)/../automake/*.am.
Use ../aclocal.
* wrapup/Makefile.am: Include $(top_srcdir)/../automake/*.am.
* include/Makefile.am: Include $(top_srcdir)/../automake/*.am.
* Makefile.am: Include $(top_srcdir)/../automake/*.am.
Use ../aclocal.
* src/Makefile.am: Include $(top_srcdir)/../automake/*.am.
* include/Makefile.am: Include $(top_srcdir)/../automake/*.am.
* Makefile.am: Include $(top_srcdir)/../automake/*.am.
Use ../aclocal.
* inline/Makefile.am: Include $(top_srcdir)/../automake/*.am.
* macros/Makefile.am: Include $(top_srcdir)/../automake/*.am.
* src/Makefile.am: Include $(top_srcdir)/../automake/*.am.
* automake/compile.am: Copied over from automake/.
* automake/lib.am: Copied over from automake/.
* automake/local.am: Copied over from automake/.
* automake/multilib.am: Copied over from automake/.
* automake/subdirs.am: Copied over from automake/.
* Makefile.am: Add automake/*.am.
* libc/envlock.c: Implemented code to let newlib's envlock share
the libio open/close mutex. Since both should be lightly used,
this should not lead to problems and saves resources.
* libc/newlibc.c: Per PR141, move the C library re-enterrant
support directly into the thread dispatch code. RTEMS needs
libc and so requiring libc to use a user extension with its
overhead is not the best solution. This patch lowers the
overhead to 2 pointer moves.
* include/rtems/score/thread.h, inline/rtems/score/thread.inl,
src/threaddispatch.c, src/threadinitialize.c:
Move the C library re-enterrant support directly into
the thread dispatch code. RTEMS needs libc and so requiring
libc to use a user extension with its overhead is not the best
solution. This patch lowers the overhead to 2 pointer moves.
* src/i386/any/remdeb_svc.c, src/m68k/any/remdeb_svc.c,
src/powerpc/new_exception_processing/remdeb_svc.c: Readding as
I accidentally deleted the incorrectly empty versions.
* Per PR212, added envlock support for newlib. This is used
by at least getenv()/putenv() to avoid race conditions.
* libc/envlock.c: New file.
* libc/Makefile.am: Modified to reflect above.
* include/sys/ioctl.h: Relocated from libnetworking/sys.
* include/sys/filio.h: Relocated from libnetworking/sys.
* include/sys/sockio.h: Relocated from libnetworking/sys.
* include/Makefile.am: Reflect changes above.
* configure.ac: Take out *NETWORKING*.
* bootloader/Makefile.am, console/Makefile.am, pci/Makefile.am:
Per PR215 address the following issues:
- _IO_BASE, _ISA_MEM_BASE and PCI_DRAM_OFFSET
are no longer defined by libcpu (powerpc/shared/include/io.h)
but by the BSP (who is the only one to know the values)
- the affected BSP (shared/motorola) headers have been fixed
in a separate "libbsp/powerpc/shared" patch.
- the DEC 21140 driver (libchip/network/dec21140.c) has been
fixed to use PCI_DRAM_OFFSET instead of PREP_PCI_DRAM_OFFSET.
and PCI_MEM_BASE instead of PREP_ISA_MEM_BASE. PCI_MEM_BASE
is to be defined by the BSP who is using this driver.
- the DEC driver also has been fixed to use the newer
rtems_bsp_delay_in_bus_cycles() instead of the obsolete
delay_in_bus_cycles().
* cpu.c: Per PR211 fix
saving/restoring floating point context. The fpsave and fprestore
routines are only used in a executing context which _is_ fp and hence
has the FPU enabled. The current behavior required the FPU always to
be on which is very dangerous if lazy context switching is used.
[Joel Note: Some ports explicitly enabled the FPU in the FP save and
restore routines to avoid this.]
The patch also makes sure (on powerpc only) that the FPU is disabled
for integer tasks. Note that this is crucial if deferred fp context
switching is used. Otherwise, fp context corruption may go undetected!
Also note that even tasks which merely push/pop FP registers to/from
the stack without modifying them still MUST be FP tasks - otherwise
(if lazy FP context switching is used), FP register corruption (of
other, FP, tasks may occur)!
Furthermore, (on PPC) by default, lazy FP context save/restore
is _disabled_.
* rtems/new-exceptions/cpu.h: Per PR211 fix
saving/restoring floating point context. The fpsave and fprestore
routines are only used in a executing context which _is_ fp and hence
has the FPU enabled. The current behavior required the FPU always to
be on which is very dangerous if lazy context switching is used.
[Joel Note: Some ports explicitly enabled the FPU in the FP save and
restore routines to avoid this.]
The patch also makes sure (on powerpc only) that the FPU is disabled
for integer tasks. Note that this is crucial if deferred fp context
switching is used. Otherwise, fp context corruption may go undetected!
Also note that even tasks which merely push/pop FP registers to/from
the stack without modifying them still MUST be FP tasks - otherwise
(if lazy FP context switching is used), FP register corruption (of
other, FP, tasks may occur)!
Furthermore, (on PPC) by default, lazy FP context save/restore
is _disabled_.
* src/threaddispatch.c, src/threadhandler.c: Per PR211 fix
saving/restoring floating point context. The fpsave and fprestore
routines are only used in a executing context which _is_ fp and hence
has the FPU enabled. The current behavior required the FPU always to
be on which is very dangerous if lazy context switching is used.
[Joel Note: Some ports explicitly enabled the FPU in the FP save and
restore routines to avoid this.]
The patch also makes sure (on powerpc only) that the FPU is disabled
for integer tasks. Note that this is crucial if deferred fp context
switching is used. Otherwise, fp context corruption may go undetected!
Also note that even tasks which merely push/pop FP registers to/from
the stack without modifying them still MUST be FP tasks - otherwise
(if lazy FP context switching is used), FP register corruption (of
other, FP, tasks may occur)!
Furthermore, (on PPC) by default, lazy FP context save/restore
is _disabled_.
* bootloader/Makefile.am, console/Makefile.am, pci/Makefile.am:
Per PR215 address the following issues:
- _IO_BASE, _ISA_MEM_BASE and PCI_DRAM_OFFSET
are no longer defined by libcpu (powerpc/shared/include/io.h)
but by the BSP (who is the only one to know the values)
- the affected BSP (shared/motorola) headers have been fixed
in a separate "libbsp/powerpc/shared" patch.
- the DEC 21140 driver (libchip/network/dec21140.c) has been
fixed to use PCI_DRAM_OFFSET instead of PREP_PCI_DRAM_OFFSET.
and PCI_MEM_BASE instead of PREP_ISA_MEM_BASE. PCI_MEM_BASE
is to be defined by the BSP who is using this driver.
- the DEC driver also has been fixed to use the newer
rtems_bsp_delay_in_bus_cycles() instead of the obsolete
delay_in_bus_cycles().
Per PR216, "libbsp/powerpc/shared" BSP has been modified considerably
with the goal to make it more flexible and reusable by other
BSPs. The main strategies were:
- eliminate hardcoded base addresses; devices use offsets
and a BSP defined base address.
- separate functionality into different files (e.g. reboot from
inch.c to reboot.c) which can be overridden by a 'derived' BSP.
- separate initialization code into separate files (e.g. PCI
bridge detection/initialization was separated from the more
generic PCI access routines), also to make it easier for
'derived' BSPs to substitute their own initialization code.
There are also a couple of enhancements and fixes:
- IRQ handling code now has a hook for attaching a VME bridge.
- OpenPIC is now explicitely initialized (polarities, senses).
Eliminated the implicit assumption on the presence of an ISA PIC.
- UART and console driver now supports more than 1 port. The current
maximum of 2 can easily be extended by enlarging a table (it
would even be easier if the ISR API was not broken by design).
- fixed polled_io.c so it correctly supports console on COM2
- fixed TLB invalidation code (start.S).
- exception handler prints a stack backtrace.
- added BSP_pciFindDevice() to scan the pci bus for a particular
vendor/device/instance.
* bootloader/Makefile.am, console/Makefile.am, pci/Makefile.am:
Per PR216, "libbsp/powerpc/shared" BSP has been modified considerably
with the goal to make it more flexible and reusable by other
BSPs. The main strategies were:
- eliminate hardcoded base addresses; devices use offsets
and a BSP defined base address.
- separate functionality into different files (e.g. reboot from
inch.c to reboot.c) which can be overridden by a 'derived' BSP.
- separate initialization code into separate files (e.g. PCI
bridge detection/initialization was separated from the more
generic PCI access routines), also to make it easier for
'derived' BSPs to substitute their own initialization code.
There are also a couple of enhancements and fixes:
- IRQ handling code now has a hook for attaching a VME bridge.
- OpenPIC is now explicitely initialized (polarities, senses).
Eliminated the implicit assumption on the presence of an ISA PIC.
- UART and console driver now supports more than 1 port. The current
maximum of 2 can easily be extended by enlarging a table (it
would even be easier if the ISR API was not broken by design).
- fixed polled_io.c so it correctly supports console on COM2
- fixed TLB invalidation code (start.S).
- exception handler prints a stack backtrace.
- added BSP_pciFindDevice() to scan the pci bus for a particular
vendor/device/instance.
* bootloader/Makefile.am, console/Makefile.am, pci/Makefile.am:
Per PR216, "libbsp/powerpc/shared" BSP has been modified considerably
with the goal to make it more flexible and reusable by other
BSPs. The main strategies were:
- eliminate hardcoded base addresses; devices use offsets
and a BSP defined base address.
- separate functionality into different files (e.g. reboot from
inch.c to reboot.c) which can be overridden by a 'derived' BSP.
- separate initialization code into separate files (e.g. PCI
bridge detection/initialization was separated from the more
generic PCI access routines), also to make it easier for
'derived' BSPs to substitute their own initialization code.
There are also a couple of enhancements and fixes:
- IRQ handling code now has a hook for attaching a VME bridge.
- OpenPIC is now explicitely initialized (polarities, senses).
Eliminated the implicit assumption on the presence of an ISA PIC.
- UART and console driver now supports more than 1 port. The current
maximum of 2 can easily be extended by enlarging a table (it
would even be easier if the ISR API was not broken by design).
- fixed polled_io.c so it correctly supports console on COM2
- fixed TLB invalidation code (start.S).
- exception handler prints a stack backtrace.
- added BSP_pciFindDevice() to scan the pci bus for a particular
vendor/device/instance.
* bootloader/misc.c, console/Makefile.am, console/console.c,
console/consoleIo.h, console/inch.c, console/polled_io.c,
console/uart.c, console/uart.h, include/bsp.h, irq/Makefile.am,
irq/irq.c, irq/irq.h, irq/irq_init.c, openpic/openpic.c,
openpic/openpic.h, pci/Makefile.am, pci/pci.c, pci/pci.h,
residual/Makefile.am, start/start.S, startup/bspstart.c,
vectors/vectors.S, vectors/vectors.h, vectors/vectors_init.c:
Per PR216, "libbsp/powerpc/shared" BSP has been modified considerably
with the goal to make it more flexible and reusable by other
BSPs. The main strategies were:
- eliminate hardcoded base addresses; devices use offsets
and a BSP defined base address.
- separate functionality into different files (e.g. reboot from
inch.c to reboot.c) which can be overridden by a 'derived' BSP.
- separate initialization code into separate files (e.g. PCI
bridge detection/initialization was separated from the more
generic PCI access routines), also to make it easier for
'derived' BSPs to substitute their own initialization code.
There are also a couple of enhancements and fixes:
- IRQ handling code now has a hook for attaching a VME bridge.
- OpenPIC is now explicitely initialized (polarities, senses).
Eliminated the implicit assumption on the presence of an ISA PIC.
- UART and console driver now supports more than 1 port. The current
maximum of 2 can easily be extended by enlarging a table (it
would even be easier if the ISR API was not broken by design).
- fixed polled_io.c so it correctly supports console on COM2
- fixed TLB invalidation code (start.S).
- exception handler prints a stack backtrace.
- added BSP_pciFindDevice() to scan the pci bus for a particular
vendor/device/instance.
* network/dec21140.c: Per PR215 address the following issues:
- _IO_BASE, _ISA_MEM_BASE and PCI_DRAM_OFFSET
are no longer defined by libcpu (powerpc/shared/include/io.h)
but by the BSP (who is the only one to know the values)
- the affected BSP (shared/motorola) headers have been fixed
in a separate "libbsp/powerpc/shared" patch.
- the DEC 21140 driver (libchip/network/dec21140.c) has been
fixed to use PCI_DRAM_OFFSET instead of PREP_PCI_DRAM_OFFSET.
and PCI_MEM_BASE instead of PREP_ISA_MEM_BASE. PCI_MEM_BASE
is to be defined by the BSP who is using this driver.
- the DEC driver also has been fixed to use the newer
rtems_bsp_delay_in_bus_cycles() instead of the obsolete
delay_in_bus_cycles().
* shared/include/io.h: Per PR215 address the following issues:
- _IO_BASE, _ISA_MEM_BASE and PCI_DRAM_OFFSET
are no longer defined by libcpu (powerpc/shared/include/io.h)
but by the BSP (who is the only one to know the values)
- the affected BSP (shared/motorola) headers have been fixed
in a separate "libbsp/powerpc/shared" patch.
- the DEC 21140 driver (libchip/network/dec21140.c) has been
fixed to use PCI_DRAM_OFFSET instead of PREP_PCI_DRAM_OFFSET.
and PCI_MEM_BASE instead of PREP_ISA_MEM_BASE. PCI_MEM_BASE
is to be defined by the BSP who is using this driver.
- the DEC driver also has been fixed to use the newer
rtems_bsp_delay_in_bus_cycles() instead of the obsolete
delay_in_bus_cycles().
* vmeUniverse/README.universe, vmeUniverse/vmeUniverse.c,
vmeUniverse/vmeUniverse.h: New files.
* Makefile.am: Modified to reflect addition of files.
* Per PR214, contributes a driver for the TUNDRA UNIVERSE
VME-PCI bridge to libbsp/shared.
NOTE: This driver is maintained _outside_ RTEMS by Till. Please
forward future modifications to him.
* rtems/powerpc/registers.h, rtems/score/ppc.h: Per PR213, add
the following:
- support for the MPC74000 (AKA G4); there is no
AltiVec support yet, however.
- the cache flushing assembly code uses hardware-flush on the G4.
Also, a couple of hardcoded numerical values were replaced
by more readable symbolic constants.
- extended interrupt-disabled code section so enclose the entire
cache flush/invalidate procedure (as recommended by the book).
This is not (latency) critical as it is only used by
init code but prevents possible corruption.
- Trivial page table support as been added.
(1:1 effective-virtual-physical address mapping which is only
useful only on CPUs which feature hardware TLB replacement,
e.g. >604. This allows for write-protecting memory regions,
e.g. text/ro-data which makes catching corruptors a lot easier.
It also frees one DBAT/IBAT and gives more flexibility
for setting up address maps :-)
- setdbat() allows changing BAT0 also (since the BSP may use
a page table, BAT0 could be available...).
- asm_setdbatX() violated the SVR ABI by using
r20 as a scratch register; changed for r0
- according to the book, a context synchronizing instruction is
necessary prior to and after changing a DBAT -> isync added
* startup/linkcmds.bootp, startup/linkcmds.prom: Per PR192 add
sections needed by gcc 3.1. linkcmds had already been fixed on
a gcc 3.1 clean up sweep.
* c/src/libchip/network/i82586.c: Per PR210, adjust the mbuf
lengths to remove the ethernet header as the FreeBSD (RTEMS)
stack requires it to be stripped.
* src/m68k/rdbg_cpu_asm.S: Per PR163, Fix incorrect assumption that
exception stack frames on M68K members with VBR always are 6 byte long.
The incorrect assumption resulted in some gdb commands like "next"
to fail on the 68360.
* startup/linkcmds: In support of gcc 3.1, added one of more
of the sections .jcr, .rodata*, .data.*, .gnu.linkonce.s2.*,
.gnu.linkonce.sb2.*, and .gnu.linkonce.s.*. Spacing corrections
and direction of segments to memory regions may also have been
addressed. This was a sweep across all BSPs.
* startup/linkcmds.real: Ditto.
* clock/ckinit.c: Add volatile to Clock_driver_ticks.
* src/exinit.c: Slightly rework initialization so there
is a valid thread as _Thread_Executing when the pre_tasking
hook is called. This allows one directives and malloc
to potentially use mutex protection.
* startup/linkcmds: In support of gcc 3.1, added one of more
of the sections .jcr, .rodata*, .data.*, .gnu.linkonce.s2.*,
.gnu.linkonce.sb2.*, and .gnu.linkonce.s.*. Spacing corrections
and direction of segments to memory regions may also have been
addressed. This was a sweep across all BSPs.
* monitor/mon-command.c: Per PR192 the RTEMS monitor makes everything
lowercase. The capture engine need to set triggers or watches on task
with uppercase names.
Also stop the monitor repeating command when enter is pressed.
* include/rtems/score/object.h, inline/rtems/score/object.inl,
src/objectcomparenamestring.c: Address PR81 that
reworked POSIX message queues to add a descriptor separate from
the underlying message queue. This allows non-blocking to follow
the "open" not the underlying queue. As part of debugging this
it became clear that _Objects_Compare_name_string was broken
and a simple version using strncmp() was substituted.
* psxmsgq01/init.c: Reflect changes made to address PR81 that
reworked POSIX message queues to add a descriptor separate from
the underlying message queue. This allows non-blocking to follow
the "open" not the underlying queue.
* include/rtems/posix/mqueue.h, inline/rtems/posix/mqueue.inl,
src/mqueue.c, src/mqueueclose.c, src/mqueuecreatesupp.c,
src/mqueuegetattr.c, src/mqueuenotify.c, src/mqueueopen.c,
src/mqueuerecvsupp.c, src/mqueuesendsupp.c, src/mqueuesetattr.c:
Per PR81 reworked to add a message queue descriptor separate from
the underlying message queue. This allows non-blocking to follow
the "open" not the underlying queue.
* .cvsignore: Added missing files.
* setup.def: New shot using gcc 3.0.4 RPMs.
* sparc-solaris-binutils.spec.in: Switched to bz2 file.
* sparc-solaris-gcc.spec.in: Use gcc3 file naming for archive
and use find to pick up all files.
* src/threadinitialize.c: Per PR181, clear the array of user extension
pointers. This lets user extensions that have hooked the switch handler
know if a task has been processed by the user extension before. If a
user extension is created after a task is started it may not know it.
* include/Makefile.am: Add stdint.h and inttypes.h.
(reported by Mike Siers <mikes@poliac.com>)
* include/stdint.h: New file.
* include/inttypes.h: New file.
* doc/user/userext.t: Per PR138, updated the documentation to show
how to obtain an extension table index. Also provided some extra
background on the user extension API.
* network/rtems_bsdnet.h: To address PR59, added the drv_ctrl driver
control block field to the ifconfig network driver structure. This
field is needed by the i82586 driver which was ported from NetBSD
as it had better hardware abstraction.
* c/src/libnetworking/rtems/rtems_bsdnet.h: To address PR59, added
the drv_ctrl driver control block field to the ifconfig network driver
structure. This field is needed by the i82586 driver which was ported
from NetBSD as it had better hardware abstraction.
* cache.c: Include <rtems/score/registers.h> instead of
<libcpu/registers.h>.
* cpu.h: Ditto. Remove parts moved to score/cpu/i386.
* registers.h: Add BIG-FAT warning.
* macros/rtems/score/userext.inl: Now works after merging patch for
functionality requested in PR174.
* inline/rtems/score/userext.inl: Added a comment explaining the
order in which routines appear since it is not the obvious order.
* Per PR141 and PR174, make task switch extension its own list and
fix all odd problems introduced by providing macro version.
* inline/rtems/score/userext.inl: Fix.
* src/imfs/imfs_getchild.c: include <string.h>.
* src/imfs/imfs_gtkn.c: Include <string.h>.
* src/imfs/ioman.c: Include <string.h>.
* src/imfs/linearfile.c: Include <string.h>.
* src/imfs/memfile.c: Include <string.h>.
* macros/rtems/score/userext.inl: Updated to reflect modifications
to inline version from PR142.
* inline/rtems/score/userext.inl: Cleanup as side-effect of above.
* Per PR142, make task switch extension its own list.
* include/rtems/score/userext.h: Reflect above by adding
User_extensions_Switch_control and adding it to User_extenions_Control.
* inline/rtems/score/userext.inl: Allocate all memory in one chunk
to minimize overhead. Address processing dedicated switch chain.
* Per PR142, make task switch extension its own list.
* include/rtems/score/userext.h: Reflect above by adding
User_extensions_Switch_control and adding it to User_extenions_Control.
* inline/rtems/score/userext.inl: Allocate all memory in one chunk
to minimize overhead. Address processing dedicated switch chain.
* Per PR142, make task switch extension its own list.
* include/rtems/score/userext.h: Reflect above by adding
User_extensions_Switch_control and adding it to User_extenions_Control.
* inline/rtems/score/userext.inl: Allocate all memory in one chunk
to minimize overhead. Address processing dedicated switch chain.
* Closed PR57. The hack is OK as it allows a BSP to override
or not at its discretion.
* mpc8xx/timer/timer.c: Removed #warning declaring providing a
default definition for the macros
rtems_cpu_configuration_get_timer_least_valid and
rtems_cpu_configuration_get_timer_average_overhead.
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h.
* rtems/score/unixtypes.h: Removed.
* rtems/score/types.h: New file via CVS magic.
* Makefile.am, rtems/score/cpu.h: Account for name change.
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h.
* rtems/score/sparctypes.h: Removed.
* rtems/score/types.h: New file via CVS magic.
* Makefile.am, rtems/score/cpu.h: Account for name change.
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h.
* rtems/score/shtypes.h: Removed.
* rtems/score/types.h: New file via CVS magic.
* Makefile.am, rtems/score/cpu.h: Account for name change.
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h.
* rtems/score/ppctypes.h: Removed.
* rtems/score/types.h: New file via CVS magic.
* Makefile.am, rtems/score/cpu.h: Account for name change.
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h.
* rtems/score/or32types.h: Removed.
* rtems/score/types.h: New file via CVS magic.
* Makefile.am, rtems/score/cpu.h: Account for name change.
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h.
* rtems/score/or16types.h: Removed.
* rtems/score/types.h: New file via CVS magic.
* Makefile.am, rtems/score/cpu.h: Account for name change.
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h.
* rtems/score/no_cputypes.h: Removed.
* rtems/score/types.h: New file via CVS magic.
* Makefile.am, rtems/score/cpu.h: Account for name change.
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h.
* rtems/score/mipstypes.h: Removed.
* rtems/score/types.h: New file via CVS magic.
* Makefile.am, rtems/score/cpu.h: Account for name change.
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h.
* rtems/score/m68ktypes.h: Removed.
* rtems/score/types.h: New file via CVS magic.
* Makefile.am, rtems/score/cpu.h: Account for name change.
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h.
* rtems/score/i960types.h: Removed.
* rtems/score/types.h: New file via CVS magic.
* Makefile.am, rtems/score/cpu.h: Account for name change.
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h.
* rtems/score/i386types.h: Removed.
* rtems/score/types.h: New file via CVS magic.
* Makefile.am, rtems/score/cpu.h: Account for name change.
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h.
* rtems/score/hppa1.1types.h: Removed.
* rtems/score/types.h: New file via CVS magic.
* Makefile.am, rtems/score/cpu.h: Account for name change.
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h.
* rtems/score/h8300types.h: Removed.
* rtems/score/types.h: New file via CVS magic.
* Makefile.am, rtems/score/cpu.h: Account for name change.
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h.
* rtems/score/c4xtypes.h: Removed.
* rtems/score/types.h: New file via CVS magic.
* Makefile.am, rtems/score/cpu.h: Account for name change.
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h.
* rtems/score/a29ktypes.h: Removed.
* rtems/score/types.h: New file via CVS magic.
* Makefile.am, rtems/score/cpu.h: Account for name change.
* Per PR147 addressed problems when reseting and inserting a timer
into a timer chain that did not honor time passage since the last
time the timer server was scheduled and the new insertion.
* include/rtems/rtems/timer.h, src/timerreset.c, src/timerserver.c,
src/timerserverfireafter.c, src/timerserverfirewhen.c: Broke up
the "reset server" routine into a set of very specific routines
that allowed the server to be unscheduled, timer chains to be
"synchronized" with the current time before inserting a new timer.
* Per PR147 addressed problems when reseting and inserting a timer
into a timer chain that did not honor time passage since the last
time the timer server was scheduled and the new insertion.
* sp31/sp31.scn, sp31/task1.c: Added test code to detect this case.
* cpu.c: Replace NO_TABLE_MOVE-support by external function
(code moved to libcpu/sparc/tbr/tbr.c).
* cpu.h: Replace NO_TABLE_MOVE-support by external function
(code moved to libcpu/sparc/tbr/tbr.h).
* sparc.h: Add sparc_init_tbr (implemented in libcpu/sparc/tbr/tbr.c).
* PR132 requested some tinkering ot lower memory.
* include/confdefs.h: Lowered footprint of device driver table
and statically configure user extensions. Now if no static
extensions are configured, then the table is not instantiated.
* aclocal/version.m4: New file.
* aclocal/rtems-top.m4: Add RTEMS_VERSIONING, replace VERSION w/
aclocal/version.m4.
* bootstrap: Use aclocal/version.m4 instead of VERSION.
* configure.ac: Use aclocal/version.m4 instead of VERSION.
* aclocal/version.m4: New file.
* aclocal/rtems-top.m4: Add RTEMS_VERSIONING, replace VERSION w/
aclocal/version.m4.
* bootstrap: Use aclocal/version.m4 instead of VERSION.
* configure.ac: Use aclocal/version.m4 instead of VERSION.
* PR144
* nfs/bootp_subr.c bootpc_init(): Performs a write to memory address
0 when called for the first time. This is done when trying to clear
the variable "dhcp_hostname".
* PR162
* net/if_ppp.c ppp_txdaemon(), net/if_pppvar.h pppstart(): Local
variables must not be used in a device write routines. Now
ppp_softc structure have own character for writing to device
(sc_outchar). I think that converting local variables to static
is not a right solution, because problems will occur in the case
of two or more ppp instances.
* net/ppp_tty.c pppstart(): Type of the ioffset variable must be
u_long, otherwise in the case of the big output packet endless
loop may occur.
* src/bdbuf.c (avl_insert, avl_remove): Reimplemented from scratch
to avoid using GPLed sources in RTEMS core.
* src/bdbuf.c, include/rtems/bdbuf.h: Remove "binary tree"
implementation which was used for debugging only.
* PR158
* libc/rcmd.c, libc/rcmd.c: Enable the rcmd() library call by
commenting out the parts that deal with signals. This enables
RTEMS to 'rsh' command to a server connecting fd to remote stdio.
The 'server-side' parts of this file which deal with authentication
are disabled since they are not needed.
* PR145.
* sp04/task1.c, sp04/tswitch.c: Test fails if other tasks present
in system (e.g. driver tasks). Also exit on minimum number of
switches not precise number.
* cpu_asm.S: Fixed a sneaky return from int w/ ints disabled bug.
* rtems/score/cpu.h: Fixed register numbering in comments and made
interrupt enable/disable more robust.
* shared/interrupts/installisrentries.c: Added support for debug
exception vector.
* shared/interrupts/isr_entries.S: Added support for debug exception
vector.
* mips-stub.c: Debugged & tweaked the gdb command processing,
zbreak stuff, breakpoint and step code. Implemented 'T' command
support and debugged remote gdb support w/ the Mongoose bsp.
Added the memory segment support.
* memlimits.h: Disabled all contents in favor of memory sement
support. This file could probably go away.
* rtems-stub-glue.c (rtems_gdb_index_to_stub_id()): New routine.
rtems_gdb_stub_get_register_from_context(): Implemented MIPS version.
rtems_gdb_stub_get_offsets(): Implemented MIPS version.
* README: Updated.
* startup/gdb-support.c: Added calls into the mips-support gdb stub
for configuring the memory regions. Any bsp that wants to use the
gdbstub will need to do something similar.
* startup/Makefile.am: Added shared/gdbstub directory to include path.
* cpu_asm.S: Added support for the debug exception vector, cleaned
up the exception processing & exception return stuff. Re-added
EPC in the task context structure so the gdb stub will know where
a thread is executing. Should've left it there in the first place...
* idtcpu.h: Added support for the debug exception vector.
* cpu.c: Added ___exceptionTaskStack to hold a pointer to the
stack frame in an interrupt so context switch code can get the
userspace EPC when scheduling.
* rtems/score/cpu.h: Re-added EPC to the task context.
* src/pthreadonce.c: Task is not preemptable while running a
pthread_once init function. This is slightly less heavy handed
than disabling dispatching and seems better than consuming a mutex.
* libc/gxx_wrappers.c: Task is not preemptable while running a
pthread_once init function. This is slightly less heavy handed
than disabling dispatching and seems better than consuming a mutex.
* start/start.S: Added kseg1 test to enable cache flush code
* bsp_specs: Added -qnostartfile to disable including bsp's start.o
* startup/bspstart.c: Made clear_cache actually work, tweaked cpu
init to only turn on whats needed.
* startup/gdb-support.c: Added calls to uart 2 for gdb stub I/O and
a handy init function.
* cpu_asm.S: Fixed exception return address, modified FP context
switch so FPU is properly enabled and also doesn't screw up the
exception FP handling.
* idtcpu.h: Added C0_TAR, the MIPS target address register used for
returning from exceptions.
* iregdef.h: Added R_TAR to the stack frame so the target address
can be saved on a per-exception basis. The new entry is past the
end of the frame gdb cares about, so doesn't affect gdb or cpu.h
stuff.
* rtems/score/cpu.h: added an #ifdef so cpu_asm.S can include it
to obtain FPU defines without systax errors generated by the C
defintions.
* cpu.c: Improved interrupt level saves & restores.
* console/sci.c, console/sci.h,
console/console.c: Added new SCI driver.
* start/start.c: Removed file.
* start/start.S: New file, the asm portion of the updated start code.
* start/configure.am: Added start.S, removed start.c
* startup/start_c.c: New file, the C portion of the updated start code. Contains most of the code that was in the old start.c.
* startup/configure.am: Added start_c.c to C_FILES.
* include/bsp.h: Added include <rtems/bspIo.h>
* Submitted by Victor V. Vengerov <vvv@oktet.ru> and merged
into the RTEMS source.
* ChangeLog, Makefile.am, README, configure.ac, include/Makefile.am,
include/rtems/bdbuf.h, include/rtems/blkdev.h, include/rtems/diskdevs.h,
include/rtems/ramdisk.h, include/rtems/.cvsignore, include/.cvsignore,
src/Makefile.am, src/bdbuf.c, src/blkdev.c, src/diskdevs.c,
src/ramdisk.c, src/.cvsignore, .cvsignore: New files.
* net/if_ppp.c, pppd/auth.c, pppd/chat.c, pppd/pppd.h,
pppd/sys-rtems.c: Add server with pap-authorization
capabilities as well as eliminate some warnings.
* net/radix.c: Properly handle fetching the default route when there
is no route. This was a bug in the original FreeBSD code and this
fix is from an updated version of their code.
* Significant modifications including adding thread support, the 'X'
command, and reorganizing so that target CPU independent routines
could be reused.
* gdb_if.h: Added numerous prototypes.
* mips-stub.c: Added thread support as well as 'X' command.
Also noticed that the 'P' command was from the mips protocol.
* rtems-stub-glue.c: New file. This file contains all generic
support which should be able to be reused on another target CPU.
* mips-stub.c (handle_exception): Prototype changed to be an RTEMS
entry point. Added comments about possible need to flush cache.
(mips_gdb_stub_install): New routine.
* Makefile, stubinit.S, r46kstub.ld, ioaddr.h: Removed as unused
with RTEMS.
* r46kstub.c: Renamed to mips-stub.c.
* mips-stub.c: New file -- was r46kstub.c.
* memlimits.h: New file was limits.h.
* limits.h: Removed.
* r4600.h: Eliminated need for this file.
* README: Updated.
* gdb_if.h: Added CVS Id.
* mips-stub.c: Attempt to deal with MIPS1 versus MIPS3.
* Makefile, stubinit.S, r46kstub.ld, ioaddr.h: Removed as unused
with RTEMS.
* r46kstub.c: Renamed to mips-stub.c.
* mips-stub.c: New file -- was r46kstub.c.
* memlimits.h: New file was limits.h.
* limits.h: Removed.
* r4600.h: Eliminated need for this file.
* README: Updated.
* gdb_if.h: Added CVS Id.
* mips-stub.c: Attempt to deal with MIPS1 versus MIPS3.
* Merged r46kstub.c into RTEMS distribution without modification.
I got the code from Franz Fischer <Franz.Fischer@franz-fischer.de>
who had used this with an old version of RTEMS with the mips64orion
port of RTEMS. After adding this to the repository, I will tailor
this to work with the RTEMS exception processing model and trim
no longer needed parts.
* ChangeLog, gdb_if.h, ioaddr.h, limits.h, Makefile, mips_opcode.h,
r4600.h, r46kstub.c, r46kstub.ld, README, stubinit.S:
* mkbinutilspec.in, mkgccnewlibspec.in, gccnewlib/base-chill.add,
gccnewlib/base-g77.add, gccnewlib/base-gcc.add,
gccnewlib/base-gcj.add, gccnewlib/gccnewlib.add,
gccnewlib/target-chill.add, gccnewlib/target-g77.add,
gccnewlib/target-gcc.add, gccnewlib/target-gcj.add,
gccnewlib/target-objc.add: Added more support for Canadian Cross
building.
* isr_entries.S: Removed comment incorrectly indicating this
file was cpu_asm.S.
* vectorexceptions.c (mips_dump_exception_frame): New routine
broken out from default exception handler.
* cpu_asm.S: Enhanced to save/restore more registers on
exceptions.
* rtems/score/cpu.h (CPU_Interrupt_frame): Enhanced to list every
register individually and document when it is saved.
* idtcpu.h: Added constants for the coprocessor 1 registers
revision and status.
* include/lr33000.h, include/lr330x0.h, include/r3000.h, start/mg5.h:
New files missed in previous commit.
* timer/timer.c: Use rtems/bspIo.h not just bspIo.h.
* So many patches have been posted recently on the mailing list and
because we were unable to find correct solution to compile on various
linux distros (due to rpcgen incompatibilities), and because the coding
style of rdbg was rather inconsistant among various pieces of code, I
decided to:
1) make some cleaning regarding global coding style (using
indent + manual edits),
2) incorporate/review the paches send by various people
(S. Holford, T. Strauman),
3) Fix the bug due to varying rpcgen code generation
in remdeb_svc.c,
4) Remove some dead code,
5) Apply a patches enabling to call enterRdbg imediately
after rdbg initialization is done,
NB : the paches is huge but it is mainly due to coding styke chnages.
Only few lines of codes have been really changed and they do not impact
rdbg functionnality (AFAIKT).
* include/rdbg/servrpc.h, include/rdbg/i386/rdbg_f.h,
include/rdbg/m68k/rdbg_f.h, include/rdbg/powerpc/rdbg_f.h,
src/_servtgt.c, src/awk.svc, src/excep.c, src/ptrace.c, src/rdbg.c,
src/remdeb.x, src/servbkpt.c, src/servcon.c, src/servrpc.c,
src/servtgt.c, src/servtsp.c, src/servutil.c, src/i386/excep_f.c,
src/i386/rdbg_f.c, src/i386/any/Makefile.am, src/i386/any/remdeb.h,
src/i386/any/remdeb_svc.c, src/i386/any/remdeb_xdr.c,
src/m68k/excep_f.c, src/m68k/rdbg_f.c, src/m68k/any/Makefile.am,
src/m68k/any/remdeb.h, src/m68k/any/remdeb_svc.c,
src/m68k/any/remdeb_xdr.c, src/powerpc/excep_f.c, src/powerpc/rdbg_f.c,
src/powerpc/new_exception_processing/Makefile.am,
src/powerpc/new_exception_processing/remdeb.h,
src/powerpc/new_exception_processing/remdeb_svc.c,
src/powerpc/new_exception_processing/remdeb_xdr.c: Modified.
* include/lr33000.h, include/lr330x0.h, include/r3000.h, start/mg5.h:
New files missed in previous commit.
* timer/timer.c: Use rtems/bspIo.h not just bspIo.h.
* rtems.ads, rtems.adb: Formatting cleaned up. Task based timer
directives added. This is Timer_Initiate_Server,
Timer_Server_Fire_After, and Timer_Server_Fire_When.
because we were unable to find correct solution to compile on various
linux distros (due to rpcgen incompatibilities), and because the coding
style of rdbg was rather inconsistant among various pieces of code, I
decided to:
1) make some cleaning regarding global coding style (using
indent + manual edits),
2) incorporate/review the paches send by various people
(S. Holford, T. Strauman),
3) Fix the bug due to varying rpcgen code generation
in remdeb_svc.c,
4) Remove some dead code,
5) Apply a patches enabling to call enterRdbg imediately
after rdbg initialization is done,
NB : the paches is huge but it is mainly due to coding styke chnages.
Only few lines of codes have been really changed and they do not impact
rdbg functionnality (AFAIKT).
* include/rdbg/servrpc.h, include/rdbg/i386/rdbg_f.h,
include/rdbg/m68k/rdbg_f.h, include/rdbg/powerpc/rdbg_f.h,
src/_servtgt.c, src/awk.svc, src/excep.c, src/ptrace.c, src/rdbg.c,
src/remdeb.x, src/servbkpt.c, src/servcon.c, src/servrpc.c,
src/servtgt.c, src/servtsp.c, src/servutil.c, src/i386/excep_f.c,
src/i386/rdbg_f.c, src/i386/any/Makefile.am, src/i386/any/remdeb.h,
src/i386/any/remdeb_svc.c, src/i386/any/remdeb_xdr.c,
src/m68k/excep_f.c, src/m68k/rdbg_f.c, src/m68k/any/Makefile.am,
src/m68k/any/remdeb.h, src/m68k/any/remdeb_svc.c,
src/m68k/any/remdeb_xdr.c, src/powerpc/excep_f.c, src/powerpc/rdbg_f.c,
src/powerpc/new_exception_processing/Makefile.am,
src/powerpc/new_exception_processing/remdeb.h,
src/powerpc/new_exception_processing/remdeb_svc.c,
src/powerpc/new_exception_processing/remdeb_xdr.c: Modified.
* pppd/rtemspppd.c (rtems_pppd_disconnect): Modified to avoid bringing
the link down too fast.
NOTE: Mike reports successfully running at 56K baud on a direct link.
* Update of BSP to address problems restarting, provide more
information during boot, and better handle ROM vs RAM images.
* README, include/bsp.h, start/regs.S, start/start.S,
startup/bspstart.c, startup/linkcmds, timer/timer.c: Updated
* Lots of tinkering and tuning as part of improving interrupt latency
and improving the per-task interrupt level control and FP mask handling.
With these modifications interrupt latency was measured at a worst-case
of 100us, average below 60 us on a 12 Mhz R3000 class CPU with 50
RTEMS tasks in the application.
* mongoosev/README: Updated.
* mongoosev/include/mongoose-v.h: Masks modified.
* mongoosev/vectorisrs/vectorisrs.c: Significant overhaul to address
software prioritization of interrupts. If a higher priority interrupt
occurs while we are looking for new interrupts, we will reinitiate the
scan of all interrupts.
* shared/interrupts/vectorexceptions.c: Removed warning and deleted
blank lines.
* cpu.c: Enhancements and fixes for modifying the SR when changing
the interrupt level.
* cpu_asm.S: Fixed handling of FP enable bit so it is properly
managed on a per-task basis, improved handling of interrupt levels,
and made deferred FP contexts work on the MIPS.
* rtems/score/cpu.h: Modified to support above changes.
* Nice Update of PPPD support which eliminates the
requiremetn that drivers be in the termios TASK_DRIVEN mode.
Mike did significant testing and reports that it seems to be
more stable and handle larger packets better. This patch
replaces the termios tasks with more general pppd network
driver tasks. The functions pppinput() and pppstart() get
called from the interrupt service routine.
* libc/termios.c: Added PPCDISC.
* Nice Update of PPPD support which eliminates the
requiremetn that drivers be in the termios TASK_DRIVEN mode.
Mike did significant testing and reports that it seems to be
more stable and handle larger packets better. This patch
replaces the termios tasks with more general pppd network
driver tasks. The functions pppinput() and pppstart() get
called from the interrupt service routine.
* Makefile.am, configure.ac, net/Makefile.am, net/bpf.h,
net/ethernet.h, net/if.c, net/if.h, net/if_arp.h, net/if_dl.h,
net/if_ethersubr.c, net/if_llc.h, net/if_loop.c, net/if_ppp.h,
net/if_pppvar.h, net/if_types.h, net/netisr.h, net/ppp-comp.h,
net/ppp_defs.h, net/pppcompress.h, net/radix.c, net/radix.h,
net/raw_cb.c, net/raw_cb.h, net/raw_usrreq.c, net/route.c,
net/route.h, net/rtsock.c, pppd/Makefile.am, pppd/README,
pppd/STATUS, pppd/auth.c, pppd/cbcp.c, pppd/ccp.c, pppd/ccp.h,
pppd/chap.c, pppd/chap.h, pppd/chap_ms.c, pppd/chap_ms.h,
pppd/chat.c, pppd/demand.c, pppd/fsm.c, pppd/fsm.h, pppd/ipcp.c,
pppd/ipcp.h, pppd/ipxcp.c, pppd/ipxcp.h, pppd/lcp.c, pppd/lcp.h,
pppd/magic.c, pppd/magic.h, pppd/options.c, pppd/patchlevel.h,
pppd/pathnames.h, pppd/pppd.8, pppd/pppd.h, pppd/rtemsmain.c,
pppd/rtemspppd.c, pppd/rtemspppd.h, pppd/sys-rtems.c, pppd/upap.c,
pppd/upap.h, pppd/utils.c, pppd/example/README,
pppd/example/netconfig.h, wrapup/Makefile.am: Modified.
* net/bsd-comp.c, net/if_ppp.c, net/ppp-deflate.c, net/ppp.h,
net/ppp_tty.c, net/pppcompress.c, net/zlib.c, net/zlib.h: New file.
* modem/, modem/.cvsignore, modem/Makefile.am, modem/ppp.c,
modem/ppp.h, modem/ppp_tty.c, modem/pppcompress.c: Subdirectory removed.
* Fixed bug where resetting a timer that was not at the head
of one of the task timer chains resulted in the Timer Server
task waking up too far in the future.
* Added rtems_timer_get_information() directive to support testing.
* sp31/init.c, sp31/system.h, sp31/task1.c: Modified to test for
above condition.
* Fixed bug where resetting a timer that was not at the head
of one of the task timer chains resulted in the Timer Server
task waking up too far in the future.
* Added rtems_timer_get_information() directive to support testing.
* src/timerserver.c, include/rtems/rtems/timer.h,
* src/timergetinfo.c: New file.
* src/Makefile.am: Modified to reflect above.
* binutils/binutils.add: Add initial support for building
Canadian cross RPMs. It should work like this:
cd rtems/scripts
./configure --build=`../config.guess` --host=i386-cygwin
make install
rpm --target=i386-cygwin \
/usr/src/redhat/SPECS/<target>-binutils-..spec.
alien -t /usr/src/redhat/RPMS/....i386.rpm
.. and voila ... your tarball, with rpm-consistency checks etc. applied.
* buildalltar.in: Modified to support Canadian cross builds.
It was testing using a RedHat 7.2 host to build *-rtems tools
that run on an i386-cygwin host.
* configure.ac: Add --enable-docs support. Add
RTEMS_HOST_CONFIG_SUBDIRS(doc). Remove doc/Makefile.
* Makefile.am: Add HOST_SUBDIRS to SUBDIRS. Remove doc from
hard-coded SUBDIRS.
* README.configure: Added a bit of information on this new option.
* include/rtems/system.h: Only include cpuopts.h when building a
multilib configuration. Some ports still need targopts.h but this
small modification lets those ports work non-multilib while
fixing being fixed for multilib.
* include/rtems/system.h: Only include cpuopts.h when building a
multilib configuration. Some ports still need targopts.h but this
small modification lets those ports work non-multilib while
fixing being fixed for multilib.
* src/powerpc/excep_f.c: This patch addresses the following issues:
- exception handler needs to enable MSR_FP if the interrupted
thread is FP enabled.
- printk message for MSR fixed and added stacktrace
NOTE: this requires the stacktrace patch to
lib/libbsp/powerpc/shared/vectors/vector_init.c
(#ifdef DDEBUG only, however)
* src/powerpc/new_exception_processing/remdeb.h,
src/powerpc/new_exception_processing/remdeb_xdr.c: Regenerated since
I updated the main RTEMS development machine to RedHat 7.2 and
apparently got a new version of rpcgen.
* timer.t: Added task-based timer information including the
new directives rtems_timer_initiate(), rtems_timer_server_fire_after(),
and rtems_timer_server_fire_when().
* SUPPORT, LICENSE: New files.
* Numerous files touched as part of merging the 4.5 branch
onto the mainline development trunk and ensuring that the
script that cuts snapshots and releases works on the documentation.
* Added task-based timers to the Timer Manager. This added three
new directives:
- rtems_timer_initiate_server
- rtems_timer_server_fire_after
- rtems_timer_server_fire_when
In the process of doing this, a number of cleanups were made.
* src/timerserver.c, src/timerserverfireafter.c,
src/timerserverfirewhen.c: New files.
* include/timer/timer.h: Added new prototypes and supporting types.
* inline/rtems/rtems/timer.h, macros/rtems/rtems/timer.h: Enhanced
_Timer_Is_interval_class() to cover the class TIMER_INTERVAL_ON_TASK.
* src/Makefile.am: Accounted for new files.
* src/rtemstimer.c: Added initialization of _Timer_Server variable.
* src/timercancel.c, src/timerreset.c: Account for addition
of timer classes. Also corrected the headers.
* src/timercreate.c, src/timerdelete.c, src/timerfireafter.c,
src/timerfireafter.c, src/timerident.c: Corrected header.
* vector/vector.S, irq/irq_asm.S: Make sure vectors work properly
in RAM and Flash based code. The code executed for the Flash
version runs in both cases (code in Flash/code in RAM) but as it
is less efficient than the one optimized for RAM, it put it inside
ifdef. A compilation error is generated if code is linked in Flash
with the correct ifdef set...
* irq/irq.c: Correct minor bug in mbx8xx interrupt handling.
Quoting Eric, "In theory it should be applied in each mpc8xx
related BSP but as I cannot test it plase maintainer/users
submit patch accordingly."
* Added tests for task-based timers. This included the new tests
sp30 and sp31.
* Makefile.am, configure.ac: Modified to reflect new tests and files.
* sp09/screen14.c, sp09/sp09.scn: Modified to add error checks
for task-based timer services.
* sp30/.cvsignore, sp30/Makefile.am, sp30/init.c, sp30/resume.c,
sp30/sp30.doc, sp30/sp30.scn, sp30/system.h, sp30/task1.c,
sp31/.cvsignore, sp31/Makefile.am, sp31/delay.c, sp31/init.c,
sp31/prtime.c, sp31/sp31.doc, sp31/sp31.scn, sp31/system.h,
sp31/task1.c: New files.
* Added task-based timers to the Timer Manager. This added three
new directives:
- rtems_timer_initiate_server
- rtems_timer_server_fire_after
- rtems_timer_server_fire_when
In the process of doing this, a number of cleanups were made.
* src/timerserver.c, src/timerserverfireafter.c,
src/timerserverfirewhen.c: New files.
* include/timer/timer.h: Added new prototypes and supporting types.
* inline/rtems/rtems/timer.h, macros/rtems/rtems/timer.h: Enhanced
_Timer_Is_interval_class() to cover the class TIMER_INTERVAL_ON_TASK.
* src/Makefile.am: Accounted for new files.
* src/rtemstimer.c: Added initialization of _Timer_Server variable.
* src/timercancel.c, src/timerreset.c: Account for addition
of timer classes. Also corrected the headers.
* src/timercreate.c, src/timerdelete.c, src/timerfireafter.c,
src/timerfireafter.c, src/timerident.c: Corrected header.
* src/imfs/imfs_load_tar.c: Add include <sys/types.h>.
Add include <sys/stat.h>. Add include <fcntl.h>.
* src/imfs/imfs_rmnod.c: Add include <stdlib.h>.
* optman/, optman/.cvsignore, optman/Makefile.am, optman/no-dpmem.c,
optman/no-event.c, optman/no-mp.c, optman/no-msg.c, optman/no-part.c,
optman/no-region.c, optman/no-rtmon.c, optman/no-sem.c,
optman/no-signal.c, optman/no-timer.c: Removed entire contents of
optman/ directory since it has been moved.
* optman/, optman/.cvsignore, optman/Makefile.am, optman/no-ext.c,
optman/no-io.c: Removed entire contents of optman/ directory since
it has been moved.
* changes: Removed.
* ChangeLog: New file. This must have slipped through in some
automated changes.
2001-10-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
* configure.in: Remove.
* configure.ac: New file, generated from configure.in by autoupdate.
* mongoosev/vectorisrs/vectorisrs.c: Include rtems/bspIo.h instead of bspIo.h.
* r46xx/vectorisrs/vectorisrs.c: Include rtems/bspIo.h instead of bspIo.h.
* shared/interrupts/vectorexceptions.c: Include rtems/bspIo.h instead of bspIo.h.
* tx39/vectorisrs/vectorisrs.c: Include rtems/bspIo.h instead of bspIo.h.
* mpc6xx/clock/c_clock.c: Include rtems/bspIo.h instead of bspIo.h.
* mpc6xx/mmu/bat.h: Include rtems/bspIo.h instead of bspIo.h.
* mpc8260/console-generic/console-generic.c: Include rtems/bspIo.h instead of bspIo.h.
* mpc8260/cpm/brg.c: Include rtems/bspIo.h instead of bspIo.h.
* mpc8xx/console-generic/console-generic.c: Include rtems/bspIo.h instead of bspIo.h.
* shared/include/cpuIdent.c: Include rtems/bspIo.h instead of bspIo.h.
* configure.ac: Use AS_IF instead of if/then/else.
Add AC_DEFINE_UNQUOTED(RTEMS_UNIX) for RTEMS_CPU==unix.
Add AC_DEFINE_UNQUOTED(RTEMS_UNIXLIB) for RTEMS_CPU==unix.
Add include/Makefile to CONFIG_FILES.
Add AC_ENABLE_MULITLIB.
Remove wrapup/rtems, wrapup/itron, wrapup/posix.
Remove */optman/Makefile from CONFIG_FILES.
* Makefile.am: Add include to SUBDIRS.
* rtems/Makefile.am: Remove optman from SUBDIRS.
* sapi/Makefile.am: Remove optman from SUBDIRS.
* include/Makefile.am: New file.
* include/rtems/bspIo.h: Relocated from lib/include.
* include/rtems/libio_.h: Relocated from lib/include.
* clock/p_clock.c: Include rtems/bspIo.h instead of bspIo.h.
* console/console.c: Include rtems/bspIo.h instead of bspIo.h.
* irq/irq_init.c: Include rtems/bspIo.h instead of bspIo.h.
* shared/bspspuriousinit.c: Include rtems/bspIo.h instead of bspIo.h.
* shared/c3xspurious.c: Include rtems/bspIo.h instead of bspIo.h.
* shared/c4xspurious.c: Include rtems/bspIo.h instead of bspIo.h.
* configure.ac: Add AM_CONDITIONAL for enable_multilib,
enable_posix, enable_itron.
* Makefile.am: Compute MULTISUBDIR on-the-fly. Conditionally add
libposix and libitron to SRCS. Apply MULTISUBDIR for picking up
librtems, libposix and libitron.
* inline/rtems/score/object.inl, macros/rtems/score/object.inl: Add
add casts to Objects_Id in _Objects_Build_ids to avoid implicit
typecasts from enum to int16 on bit16 targets (here: h8300).
* lib/tftpDriver.c: Allow chdir() to work on TFTP `directories'
(path names with a / at the end) while disallowing open() operations
on TFTP `directories'.
This was tracked as PR91.
* include/rtems/score/isr.h, inline/rtems/score/isr.inl,
macros/rtems/score/isr.inl: Modified to allow any port to provide
its own implementation of the macro _ISR_Is_in_progress. If the
port overrides this macro, it must provide a non-inlined function
implementation.
This was tracked as PR87.
* README, configure.ac, include/Makefile.am, include/bsp.h,
start/start.S, startup/FPGA.c, startup/Makefile.am, tod/Makefile.am:
Eliminated conditional code for generation 1 boards as these are
no longer available.
* include/gen1.h, startup/82378zb.c, tod/tod_g1.c: Deleted.
This was tracked as PR91.
* rtems/score/cpu.h: Added CPU_PROVIDES_ISR_IS_IN_PROGRESS macro which
is used to specify if the port uses the standard macro for this (FALSE).
A TRUE setting indicates the port provides its own implementation.
This was tracked as PR91.
* rtems/score/cpu.h: Added CPU_PROVIDES_ISR_IS_IN_PROGRESS macro which
is used to specify if the port uses the standard macro for this (FALSE).
A TRUE setting indicates the port provides its own implementation.
* rtems/score/c_isr.inl: Deleted and contents merged into cpu.c.
* cpu.c: Received contents of c_isr.inl.
* Makefile.am: Deleted reference to c_isr.inl.
This was tracked as PR39.
* include/bsp.h, start/cpuboot.c, start/reset.S, startup/debugger,
startup/linkcmds, startup/rom: Eliminated required definition of
macros in the custom file for the BSP to compile. The ROM and ROM
address and size settings are now linker script items.
This was tracked as PR39.
* custom/ods68302.cfg: Eliminated required definition of macros in this
file for the BSP to compile. The ROM and ROM address and size settings
are now linker script items.
* support/new_exception_processing/Makefile.am,
support/old_exception_processing/Makefile.am,
support/old_exception_processing/cpu_asm.S,
support/old_exception_processing/irq_stub.S: Modified to reflect
old versus new exception processing being a per BSP option.
* support/new_exception_processing/c_isr.inl,
support/new_exception_processing/cpu.h,
support/old_exception_processing/c_isr.inl,
support/old_exception_processing/cpu.h,
support/old_exception_processing/ppc_offs.h: Removed.
* src/threadhandler.c: When __USE__MAIN__ is defined by the toolset,
invoke the global constructors via __main. Reported as tested by
Alexandra Kossovsky <sasha@oktet.ru> and Victor V. Vengerov
<vvv@oktet.ru> in conjunction with a new set of tool RPMs
(gcc2.95.3newlib1.9.0-3). This was tracked as GNATS PR tools/84.
* custom/eth_comm.cfg, custom/mbx860_005b.cfg, custom/mbx8xx.cfg,
custom/mcp750.cfg, custom/mpc8260ads.cfg, custom/mvme2307.cfg:
These are new exception processing model BSPs and thus do not
need to define PPC_USE_SPRG.
* new_exception_processing/cpu_asm.S: Support double or single
precision context switches. Note that doing a single precision
context save/restore on a double precision PowerPC machine does not
only result in rounding errors but also screws up the FPSCR register!
This modification is part of the submitted modifications necessary to
support the IBM PPC405 family. This submission was reviewed by
Thomas Doerfler <Thomas.Doerfler@imd-systems.de> who ensured it did
not negatively impact the ppc403 BSPs. The submission and tracking
process was captured as PR50.
* custom/gen405.cfg: New file.
* custom/helas403.cfg: Modified to generate Srecords.
This modification is part of the submitted modifications necessary to
support the IBM PPC405 family. This submission was reviewed by
Thomas Doerfler <Thomas.Doerfler@imd-systems.de> who ensured it did
not negatively impact the ppc403 BSPs. The submission and tracking
process was captured as PR50.
* ppc403/console/console405.c ppc403/tty_drv/.cvsignore,
ppc403/tty_drv/Makefile.am, ppc403/tty_drv/tty_drv.c,
ppc403/tty_drv/tty_drv.h: New files.
* Makefile.am, README, configure.ac, old_exception_processing/cpu.c,
old_exception_processing/cpu.h, ppc403/Makefile.am,
ppc403/clock/clock.c, ppc403/console/Makefile.am,
ppc403/console/console.c, ppc403/ictrl/ictrl.c, ppc403/ictrl/ictrl.h,
ppc403/timer/timer.c: Modified.
This modification is part of the submitted modifications necessary to
support the IBM PPC405 family. This submission was reviewed by
Thomas Doerfler <Thomas.Doerfler@imd-systems.de> who ensured it did
not negatively impact the ppc403 BSPs. The submission and tracking
process was captured as PR50.
* vectors/align_h.S: Added ppc405 support.
This modification is part of the submitted modifications necessary to
support the IBM PPC405 family. This submission was reviewed by
Thomas Doerfler <Thomas.Doerfler@imd-systems.de> who ensured it did
not negatively impact the ppc403 BSPs. The submission and tracking
process was captured as PR50.
* startup/spurious.c: Added ppc405 support.
This modification is part of the submitted modifications necessary to
support the IBM PPC405 family. This submission was reviewed by
Thomas Doerfler <Thomas.Doerfler@imd-systems.de> who ensured it did
not negatively impact the ppc403 BSPs. The submission and tracking
process was captured as PR50.
* include/bsp.h: Increase the interrupt stack size to 16K.
This modification is part of the submitted modifications necessary to
support the IBM PPC405 family. This submission was reviewed by
Thomas Doerfler <Thomas.Doerfler@imd-systems.de> who ensured it did
not negatively impact the ppc403 BSPs. The submission and tracking
process was captured as PR50.
* ChangeLog, Makefile.am, README, bsp_specs, bsp_specs.dl, configure.ac,
times, dlentry/.cvsignore, dlentry/Makefile.am, dlentry/dlentry.S,
include/.cvsignore, include/Makefile.am, include/bsp.h,
include/bspopts.h.in, include/coverhd.h, startup/.cvsignore,
startup/Makefile.am, startup/bspclean.c, startup/bspstart.c,
startup/linkcmds, startup/linkcmds.dl, startup/setvec.c,
wrapup/.cvsignore, wrapup/Makefile.am: New files that are
part of the new gen405 BSP.
This modification is a submission of the modifications necessary to
support the IBM PPC405 family. This submission was reviewed by
Thomas Doerfler <Thomas.Doerfler@imd-systems.de> who ensured it did
not negatively impact the ppc403 BSPs. The submission and tracking
process was captured as PR50.
* acinclude.m4: Added gen405 BSP.
* ChangeLog: Removed bogus comment on edit of generated file.
This modification is part of the submitted modifications necessary to
support the IBM PPC405 family. This submission was reviewed by
Thomas Doerfler <Thomas.Doerfler@imd-systems.de> who ensured it did
not negatively impact the ppc403 BSPs. The submission and tracking
process was captured as PR50.
* acinclude.m4: Added gen405 BSP.
* ChangeLog: Removed bogus comment on edit of generated file.
This modification is a submission of the modifications necessary to
support the IBM PPC405 family. This submission was reviewed by
Thomas Doerfler <Thomas.Doerfler@imd-systems.de> who ensured it did
not negatively impact the ppc403 BSPs. The submission and tracking
process was captured as PR50.
* aclocal.m4: Added gen405 BSP.
This modification is part of the submitted modifications necessary to
support the IBM PPC405 family. This submission was reviewed by
Thomas Doerfler <Thomas.Doerfler@imd-systems.de> who ensured it did
not negatively impact the ppc403 BSPs. The submission and tracking
process was captured as PR50.
* shared/asm.h, shared/ppc.h: Added PPC405 support.
This modification is part of the submitted modifications necessary to
support the IBM PPC405 family. This submission was reviewed by
Thomas Doerfler <Thomas.Doerfler@imd-systems.de> who ensured it did
not negatively impact the ppc403 BSPs. The submission and tracking
process was captured as PR50.
* README.configure: Added gen405 BSP.
This fix is response to test results reported by Jerry Needell
<jerry.needell@unh.edu> for the SPARC/ERC32 and tracked as PR80.
* tm27/task1.c: Account for overhead in starting and stopping
the timer.
This fix is in response to test results reported by Jerry Needell
<jerry.needell@unh.edu> for the SPARC/ERC32 and tracked as PR80.
* include/bsp.h: TM27 was not running properly because the ERC32
and LEON cannot nest interrupts at the same level. The BSP test support
had to be modified to support using two different interrupt sources.
Reported by Ibragimov Ilya <ibr@oktet.ru> and tracked as PR63.
* psxstat/test.c: Fix test ENOTDIR to correspond to chdir() change.
Since we check permissions before evaluating enough to see if it
a regular file or directory, this hack is needed to make the regular
file executable.
Reported by Ibragimov Ilya <ibr@oktet.ru> and tracked as PR63.
* libc/chdir.c: Check for search/execute permissions on chdir.
This requires passing RTEMS_LIBIO_PERMS_SEARCH to
rtems_filesystem_evaluate_path().
* configure.ac: Delete the commented out line that said that
the mpc8260 used the old exception processing model. This line
also appears to have caused ppc603e to miss this test.
Tracked as PR72 but related to the object id problem (PR36)
reported by Todor.Todorov@barco.com.
* include/tmacros.h: Added fatal_directive_check_status_only().
Tracked as PR72 but related to the object id problem (PR36)
reported by Todor.Todorov@barco.com.
but discovered independently.
* include/tmacros.h: Added fatal_directive_check_status_only().
Tracked as PR72 but related to the object id problem (PR36)
reported by Todor.Todorov@barco.com.
* mp03/delay.c: Dispatch disable level is actually 1 not 0.
* mp13/system.h: Configure enough tasks (CONFIGURE_MAXIMUM_TASKS=3).
* mp14/delay.c: Dispatch disable level may be arbitrarily > 0.
Discovered while fixing PR36 reported by Todor.Todorov@barco.com.
* include/rtems/itron/object.h: Corrected _ITRON_Objects_Get()
to use _Objects_Get_by_index().
Reported by Todor.Todorov@barco.com and tracked as PR36.
* include/rtems/score/object.h: Added prototype for
_Objects_Get_by_index().
* src/objectget.c, src/objectgetisr.c: Corrected procedure for
getting index from Id so it is correct and optimal for both single
and multiprocessor configurations.
* rtems++/Makefile.am: Make sure debug variant of librtems++
is linked against. Reported by Jerry Needell <jerry.needell@unh.edu>
and processed as PR78.
* include/bsp.h: Modify Install_tm27_vector() so this BSP will link tm27.
* startup/linkcmds: Fix definition of .init and .fini sections so this
BSP will properly link with new __USE_INIT_FINI__ support.
* mpc8xx/timer/timer.c: Added hack for two macros that are not defined
with the new exception processing model:
rtems_cpu_configuration_get_timer_least_valid()
rtems_cpu_configuration_get_timer_average_overhead()
This is captured as PR57.
* libc/unmount.c: Primarily restructuring and clean up to address
procedures which did not do what their name implied. Also addressed
problem situation where unmount fails and the filesystem was
inconsistent. The mounted filesystem could have been left hanging.
* libc/libio.c: Initialize more fields to NULL/0 during initialiation.
* include/rtems/libio_.h: Fix freenode macro so it works for sockets
which do not have the full set of filesystem operations and are
initialized via something other than open().
* timer: New subdirectory.
* timer/Makefile.am: New file.
* timer/.cvsignore: New file.
* Makefile.am: Modified to reflect above.
* configure.ac: Ditto.
* include/bsp.h: Stubs to let tm27 compile and link.
* timer: New subdirectory.
* timer/Makefile.am: New file.
* timer/.cvsignore: New file.
* Makefile.am: Modified to reflect above.
* configure.ac: Ditto.
* wrapup/Makefile.am: Ditto.
* include/bsp.h: Stubs to let tm27 compile and link.
* These changes were discussed and reviewed by many people but the
primary people were Jennifer Averett <jennifer@OARcorp.com>
and Eugeny Mints <jack@oktet.ru>.
* libc/utime.c: Add missing call to rtems_filesystem_freenode()
at verification that utime is supported by the filesystem.
* libc/link.c: Remove calls to freenode when the node was
not successfully allocated.
* libc/unmount.c: In the method file_systems_below_this_mountpoint()
added calls to correctly free fs_root_loc when a failure occurs.
* libc/open.c: Add freenode calls upon failure.
* libc/open.c, lib/libc/close.c: (PENDING -- NOT INCLUDED THIS TIMER)
Modifications the move the freenode from open() to close() (also part
of this patch) are pending further discussion.
* include/confdefs.h, include/rtems/config.h, include/rtems/io.h,
optman/no-io.c, src/exinit.c, src/io.c: Added a device driver
register/unregister interface to allow device drivers to be
installed and removed at runtime. This means you do not need devices
present in the device table when you build.
* setup.def: Bumped the gdb_patch_version to account for a configuration
problem on psim where it could not be enabled for powerpc-RTEMS.
* gdb/Makefile.am: Add i386-RTEMS and powerpc-RTEMS targets.
* configure.ac: Added support for START_HW_INIT.
* console/Makefile.am: Removed VPATH.
* include/Makefile.am: Added missing ramdisk.h to include_HEADERS.
* startup/linkcmds: Do not force output format to coff-sh.
* startup/linkcmds-le: Comment out force of output format and add
comment questioning need to have special linkcmds for little endian.
* wrapup/Makefile.am: Add ramdisk to list of BSP_PIECES.
* asm.h, cpu.c, rtems.c, rtems/score/cpu.h, rtems/score/sh.h,
rtems/score/sh_io.h, rtems/score/shtypes.h: Consistency changes
and made sure there were no includes from the libcpu tree.
* cpu.c, rtems/score/cpu.h, rtems/score/sh.h: Modified to
support SH4. Reviewed by Ralf Corsepius <corsepiu@faw.uni-ulm.de>
who did the original SH port.
* cpu_asm.S: _CPU_Context_save_fp in was incorrectly in conditional
compilation block with (CPU_HARDWARE_FP == FALSE). Reported by
Wayne Bullaughey <wayne@wmi.com>.
* libc/termios.c: Fixed a memory leak in the termios
software. Basically the tty open function was allocating an input
raw buffer, an output raw buffer, and a cooked buffer that were
not getting released. I have attached a patch for the latest
snapshot. The patch also has a fix to ensure the tty link list
is updated correctly when a tty is closed.
* custom/gensh4.cfg, custom/simsh4.cfg: New files in support
of Hitachi SH4 BSPs of the same name. Reviewed and some
cleanup by Joel Sherrill <joel@OARcorp.com>.
* cpu_asm.S: Small patch to fix a bug in the rtems sparc port. The
bug has been there all the time, but only hits the leon bsp since the
leon cpu has a 5-stage pipeline (erc32 has 4 stages).
* include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
* include/Makefile.am: Use 'PREINSTALL_FILES ='.
* inline/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
* macros/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
* include/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
* include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
* inline/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
* macros/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
* include/rtems/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
* include/Makefile.am: Use 'PREINSTALL_FILES ='.
* inline/rtems/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
* macros/rtems/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
* include/zilog/Makefile.am: Use 'PREINSTALL_FILES ='.
* include/motorola/Makefile.am: Use 'PREINSTALL_FILES ='.
* include/sys/Makefile.am: Use 'PREINSTALL_FILES ='.
* include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
* include/Makefile.am: Use 'PREINSTALL_FILES ='.
* untar/Makefile.am: Use 'PREINSTALL_FILES ='.
* monitor/Makefile.am: Use 'PREINSTALL_FILES ='.
* shell/Makefile.am: Use 'PREINSTALL_FILES ='.
* devnull/Makefile.am: Use 'PREINSTALL_FILES ='.
* dumpbuf/Makefile.am: Use 'PREINSTALL_FILES ='.
* mw-fb/Makefile.am: Use 'PREINSTALL_FILES ='.
* stackchk/Makefile.am: Use 'PREINSTALL_FILES ='.
* rtmonuse/Makefile.am: Use 'PREINSTALL_FILES ='.
* cpuuse/Makefile.am: Use 'PREINSTALL_FILES ='.
* rootfs/Makefile.am: Use 'PREINSTALL_FILES ='.
* old_exception_processing/cpu.h: Renamed delay() to rtems_bsp_delay().
Renamed delay_in_bus_cycles() to rtems_bsp_delay_in_bus_cycles().
* shared/include/cpu.h: Renamed delay() to rtems_bsp_delay().
Renamed delay_in_bus_cycles() to rtems_bsp_delay_in_bus_cycles().
* cpu_asm.S: Small patch to fix a bug in the rtems sparc port. The
bug has been there all the time, but only hits the leon bsp since the
leon cpu has a 5-stage pipeline (erc32 has 4 stages).
* cpu_asm.S: Small patch to fix a bug in the rtems sparc port. The
bug has been there all the time, but only hits the leon bsp since the
leon cpu has a 5-stage pipeline (erc32 has 4 stages).
* new_exception_processing/Makefile.am: Use 'PREINSTALL_FILES ='.
* old_exception_processing/Makefile.am: Use 'PREINSTALL_FILES ='.
* mpc6xx/mmu/Makefile.am: Use 'PREINSTALL_FILES ='.
* mpc6xx/clock/Makefile.am: Use 'PREINSTALL_FILES ='.
* mpc6xx/exceptions/Makefile.am: Use 'PREINSTALL_FILES ='.
* mpc8xx/include/Makefile.am: Use 'PREINSTALL_FILES ='.
* mpc8xx/exceptions/Makefile.am: Use 'PREINSTALL_FILES ='.
* shared/include/Makefile.am: Use 'PREINSTALL_FILES ='.
* shared/src/Makefile.am: Use 'PREINSTALL_FILES ='.
* shared/src/Makefile.am: Use 'CLEANFILES ='.
* tx39/include/Makefile.am: Use 'TMPINSTALL_FILES ='.
* mongoosev/include/Makefile.am: Use 'TMPINSTALL_FILES ='.
* mongoosev/duart/Makefile.am: Use 'PREINSTALL_FILES ='.
* shared/cache/Makefile.am: Use 'PREINSTALL_FILES ='.
* shared/cache/Makefile.am: Use 'CLEANFILES ='.
* console/Makefile.am: Use 'PREINSTALL_FILES ='.
* residual/Makefile.am: Use 'PREINSTALL_FILES ='.
* irq/Makefile.am: Use 'PREINSTALL_FILES ='.
* motorola/Makefile.am: Use 'PREINSTALL_FILES ='.
* vectors/Makefile.am: Use 'PREINSTALL_FILES ='.
* pci/Makefile.am: Use 'PREINSTALL_FILES ='.
* openpic/Makefile.am: Use 'PREINSTALL_FILES ='.
* include/Makefile.am: Use 'PREINSTALL_FILES ='.
* residual/Makefile.am: Use 'PREINSTALL_FILES ='.
* vectors/Makefile.am: Use 'PREINSTALL_FILES ='.
* pci/Makefile.am: Use 'PREINSTALL_FILES ='.
* openpic/Makefile.am: Use 'PREINSTALL_FILES ='.
* bootloader/Makefile.am: Use 'CLEANFILES ='.
* include/Makefile.am: Use 'CLEANFILES ='.
* include/Makefile.am: Use 'PREINSTALL_FILES ='.
* console/Makefile.am: Use 'PREINSTALL_FILES ='.
* Makefile.am: Use 'TMPINSTALL_FILES ='.
* hared/bootcard.c: Now process C++ global constructors
(_init) as part of the first task execution not in BSP space.
This depends on the toolset defining USE_INIT_FINI so you
have to have the right toolset version.
* src/threadhandler.c: Now process C++ global constructors
(_init) as part of the first task execution not in BSP space.
This depends on the toolset defining USE_INIT_FINI so you
have to have the right toolset version.
* machine/Makefile.am: Use 'PREINSTALL_FILES ='.
* net/Makefile.am: Use 'PREINSTALL_FILES ='.
* netinet/Makefile.am: Use 'PREINSTALL_FILES ='.
* vm/Makefile.am: Use 'PREINSTALL_FILES ='.
* pppd/Makefile.am: Use 'PREINSTALL_FILES ='.
* sys/Makefile.am: Use 'PREINSTALL_FILES ='.
* rtems_servers/Makefile.am: Use 'PREINSTALL_FILES ='.
* arpa/Makefile.am: Use 'PREINSTALL_FILES ='.
* nfs/Makefile.am: Use 'PREINSTALL_FILES ='.
* rtems_webserver/Makefile.am: Use 'PREINSTALL_FILES ='.
* rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
* rtems_telnetd/Makefile.am: Use 'PREINSTALL_FILES ='.
* include/rdbg/i386/Makefile.am: Use 'PREINSTALL_FILES ='.
* include/rdbg/m68k/Makefile.am: Use 'PREINSTALL_FILES ='.
* include/rdbg/powerpc/Makefile.am: Use 'PREINSTALL_FILES ='.
* include/rdbg/Makefile.am: Use 'PREINSTALL_FILES ='.
* src/i386/any/Makefile.am: Use 'PREINSTALL_FILES ='.
* src/m68k/any/Makefile.am: Use 'PREINSTALL_FILES ='.
* src/powerpc/new_exception_processing/Makefile.am: Use
'PREINSTALL_FILES ='.
* include/itronsys/Makefile.am: Use 'PREINSTALL_FILES ='.
* include/rtems/itron/Makefile.am: Use 'PREINSTALL_FILES ='.
* include/Makefile.am: Use 'PREINSTALL_FILES ='.
* inline/rtems/itron/Makefile.am: Use 'PREINSTALL_FILES ='.
* macros/rtems/itron/Makefile.am: Use 'PREINSTALL_FILES ='.
* include/sys/Makefile.am: Use 'PREINSTALL_FILES ='.
* include/rtems/posix/Makefile.am: Use 'PREINSTALL_FILES ='.
* include/Makefile.am: Use 'PREINSTALL_FILES ='.
* inline/rtems/posix/Makefile.am: Use 'PREINSTALL_FILES ='.
* macros/rtems/posix/Makefile.am: Use 'PREINSTALL_FILES ='.
* src/i386/any/Makefile.am: Move MAINTAINERCLEANFILES before the
includes and use MAINTAINERCLEANFILES = to make automake-1.5 happy.
* src/m68k/any/Makefile.am: Ditto.
* src/powerpc/new_exception_processing/Makefile.am: Ditto.
* minimum/Makefile.am: Fix comments to make automake-1.5 happy.
* sample.am: Use TMPINSTALL_FILES = to make automake-1.5 happy.
* cdtest/Makefile.am: Remove LD_LIBS.
* Makefile.am: Use SUBDIRS = instead of SUBDIRS += to make
automake-1.5 happy.
* include/rtems/score/Makefile.am: Use CLEANFILES = to make
automake-1.5 happy.
* bsp.am: Use PREINSTALL_FILES = to make automake-1.5 happy.
* minimum/Makefile.am: Fix comments to make automake-1.5 happy.
* sample.am: Use TMPINSTALL_FILES = to make automake-1.5 happy.
* cdtest/Makefile.am: Remove LD_LIBS.
* Makefile.am: Use SUBDIRS = instead of SUBDIRS += to make
automake-1.5 happy.
* include/rtems/score/Makefile.am: Use CLEANFILES = to make
automake-1.5 happy.
* bsp.am: Use PREINSTALL_FILES = to make automake-1.5 happy.
* configure.in, rootfs/Makefile.am: Added conditional to make sure
rootfs does not get built with networking is disabled. Also
added include of compile.am to rootfs/Makefile.am.
* wrapup/Makefile.am: Added rootfs conditionally if networking enabled.
* network/Makefile.am: Fixed typo on file name.
* network/i82586.c: Commented out line 318 which is referencing
a member of a structure that is not currently there. This
needs to be worked out with Chris Johns <ccj@acm.org>.
Switched C++ style comments to C style.
* nfs/bootp_subr.c, rtems/rtems_bootp.c, rtems/rtems_bsdnet.h,
rtems/rtems_bsdnet_internal.h Added support for populating the
initial "root" filesystem with information obtained via the DHCP
response.
* Added support for populating the initial "root" filesystem
with information obtained via the DHCP response.
* rootfs: New directory.
* rootfs/.cvsignore, rootfs/Makefile.am, rootfs/mkrootfs.c,
rootfs/mkrootfs.h: New files.
* configure.in, Makefile.am: Modified to reflect addition.
* tm27/Makefile.am: include leaf.am instead of leaf.cfg.
* tm26/Makefile.am: include leaf.am instead of leaf.cfg.
* tm24/Makefile.am: include leaf.am instead of leaf.cfg.
* tm16/Makefile.am: include leaf.am instead of leaf.cfg.
* tm18/Makefile.am: include leaf.am instead of leaf.cfg.
* tm02/Makefile.am: include leaf.am instead of leaf.cfg.
* tm10/Makefile.am: include leaf.am instead of leaf.cfg.
* tm11/Makefile.am: include leaf.am instead of leaf.cfg.
* tm15/Makefile.am: include leaf.am instead of leaf.cfg.
* tm19/Makefile.am: include leaf.am instead of leaf.cfg.
* tm04/Makefile.am: include leaf.am instead of leaf.cfg.
* tm17/Makefile.am: include leaf.am instead of leaf.cfg.
* tm28/Makefile.am: include leaf.am instead of leaf.cfg.
* tmck/Makefile.am: include leaf.am instead of leaf.cfg.
* tm08/Makefile.am: include leaf.am instead of leaf.cfg.
* tm12/Makefile.am: include leaf.am instead of leaf.cfg.
* tm03/Makefile.am: include leaf.am instead of leaf.cfg.
* tm13/Makefile.am: include leaf.am instead of leaf.cfg.
* tm29/Makefile.am: include leaf.am instead of leaf.cfg.
* tmoverhd/Makefile.am: include leaf.am instead of leaf.cfg.
* tm20/Makefile.am: include leaf.am instead of leaf.cfg.
* tm09/Makefile.am: include leaf.am instead of leaf.cfg.
* tm01/Makefile.am: include leaf.am instead of leaf.cfg.
* tm21/Makefile.am: include leaf.am instead of leaf.cfg.
* tm07/Makefile.am: include leaf.am instead of leaf.cfg.
* tm25/Makefile.am: include leaf.am instead of leaf.cfg.
* tm22/Makefile.am: include leaf.am instead of leaf.cfg.
* tm06/Makefile.am: include leaf.am instead of leaf.cfg.
* tm05/Makefile.am: include leaf.am instead of leaf.cfg.
* tm14/Makefile.am: include leaf.am instead of leaf.cfg.
* tm23/Makefile.am: include leaf.am instead of leaf.cfg.
* sp20/Makefile.am: include leaf.am instead of leaf.cfg.
* sp02/Makefile.am: include leaf.am instead of leaf.cfg.
* sp19/Makefile.am: include leaf.am instead of leaf.cfg.
* sp11/Makefile.am: include leaf.am instead of leaf.cfg.
* sp25/Makefile.am: include leaf.am instead of leaf.cfg.
* sp04/Makefile.am: include leaf.am instead of leaf.cfg.
* spsize/Makefile.am: include leaf.am instead of leaf.cfg.
* sp01/Makefile.am: include leaf.am instead of leaf.cfg.
* sp16/Makefile.am: include leaf.am instead of leaf.cfg.
* sp05/Makefile.am: include leaf.am instead of leaf.cfg.
* sp09/Makefile.am: include leaf.am instead of leaf.cfg.
* spfatal/Makefile.am: include leaf.am instead of leaf.cfg.
* sp06/Makefile.am: include leaf.am instead of leaf.cfg.
* sp23/Makefile.am: include leaf.am instead of leaf.cfg.
* sp28/Makefile.am: include leaf.am instead of leaf.cfg.
* sp03/Makefile.am: include leaf.am instead of leaf.cfg.
* sp29/Makefile.am: include leaf.am instead of leaf.cfg.
* sp13/Makefile.am: include leaf.am instead of leaf.cfg.
* sp27/Makefile.am: include leaf.am instead of leaf.cfg.
* sp14/Makefile.am: include leaf.am instead of leaf.cfg.
* sp07/Makefile.am: include leaf.am instead of leaf.cfg.
* sp15/Makefile.am: include leaf.am instead of leaf.cfg.
* sp17/Makefile.am: include leaf.am instead of leaf.cfg.
* sp22/Makefile.am: include leaf.am instead of leaf.cfg.
* sp12/Makefile.am: include leaf.am instead of leaf.cfg.
* sp26/Makefile.am: include leaf.am instead of leaf.cfg.
* sp21/Makefile.am: include leaf.am instead of leaf.cfg.
* sp24/Makefile.am: include leaf.am instead of leaf.cfg.
* sp08/Makefile.am: include leaf.am instead of leaf.cfg.
* unlimited/Makefile.am: include leaf.am instead of leaf.cfg.
* base_mp/node2/Makefile.am: include leaf.am instead of leaf.cfg.
* base_mp/node1/Makefile.am: include leaf.am instead of leaf.cfg.
* hello/Makefile.am: include leaf.am instead of leaf.cfg.
* base_sp/Makefile.am: include leaf.am instead of leaf.cfg.
* paranoia/Makefile.am: include leaf.am instead of leaf.cfg.
* cdtest/Makefile.am: include leaf.am instead of leaf.cfg, use
make-cxx-exe.
* ticker/Makefile.am: include leaf.am instead of leaf.cfg.
* minimum/Makefile.am: include leaf.am instead of leaf.cfg.
* psx01/Makefile.am: include leaf.am instead of leaf.cfg.
* psx11/Makefile.am: include leaf.am instead of leaf.cfg.
* psxcancel/Makefile.am: include leaf.am instead of leaf.cfg.
* psx02/Makefile.am: include leaf.am instead of leaf.cfg.
* psx13/Makefile.am: include leaf.am instead of leaf.cfg.
* psxtime/Makefile.am: include leaf.am instead of leaf.cfg.
* psxchroot01/Makefile.am: include leaf.am instead of leaf.cfg.
* psx07/Makefile.am: include leaf.am instead of leaf.cfg.
* psxmsgq01/Makefile.am: include leaf.am instead of leaf.cfg.
* psxtimer/Makefile.am: include leaf.am instead of leaf.cfg.
* psx10/Makefile.am: include leaf.am instead of leaf.cfg.
* psx08/Makefile.am: include leaf.am instead of leaf.cfg.
* psxhdrs/Makefile.am: include leaf.am instead of leaf.cfg.
* psxfile01/Makefile.am: include leaf.am instead of leaf.cfg.
* psx05/Makefile.am: include leaf.am instead of leaf.cfg.
* psx09/Makefile.am: include leaf.am instead of leaf.cfg.
* psxmount/Makefile.am: include leaf.am instead of leaf.cfg.
* psxstat/Makefile.am: include leaf.am instead of leaf.cfg.
* psx12/Makefile.am: include leaf.am instead of leaf.cfg.
* psxreaddir/Makefile.am: include leaf.am instead of leaf.cfg.
* psxsem01/Makefile.am: include leaf.am instead of leaf.cfg.
* psx03/Makefile.am: include leaf.am instead of leaf.cfg.
* psx04/Makefile.am: include leaf.am instead of leaf.cfg.
* psx06/Makefile.am: include leaf.am instead of leaf.cfg.
* mp02/node2/Makefile.am: include leaf.am instead of leaf.cfg.
* mp02/node1/Makefile.am: include leaf.am instead of leaf.cfg.
* mp04/node2/Makefile.am: include leaf.am instead of leaf.cfg.
* mp04/node1/Makefile.am: include leaf.am instead of leaf.cfg.
* mp14/node2/Makefile.am: include leaf.am instead of leaf.cfg.
* mp14/node1/Makefile.am: include leaf.am instead of leaf.cfg.
* mp06/node2/Makefile.am: include leaf.am instead of leaf.cfg.
* mp06/node1/Makefile.am: include leaf.am instead of leaf.cfg.
* mp08/node2/Makefile.am: include leaf.am instead of leaf.cfg.
* mp08/node1/Makefile.am: include leaf.am instead of leaf.cfg.
* mp03/node2/Makefile.am: include leaf.am instead of leaf.cfg.
* mp03/node1/Makefile.am: include leaf.am instead of leaf.cfg.
* mp10/node2/Makefile.am: include leaf.am instead of leaf.cfg.
* mp10/node1/Makefile.am: include leaf.am instead of leaf.cfg.
* mp05/node2/Makefile.am: include leaf.am instead of leaf.cfg.
* mp05/node1/Makefile.am: include leaf.am instead of leaf.cfg.
* mp13/node2/Makefile.am: include leaf.am instead of leaf.cfg.
* mp13/node1/Makefile.am: include leaf.am instead of leaf.cfg.
* mp01/node2/Makefile.am: include leaf.am instead of leaf.cfg.
* mp01/node1/Makefile.am: include leaf.am instead of leaf.cfg.
* mp07/node2/Makefile.am: include leaf.am instead of leaf.cfg.
* mp07/node1/Makefile.am: include leaf.am instead of leaf.cfg.
* mp11/node2/Makefile.am: include leaf.am instead of leaf.cfg.
* mp11/node1/Makefile.am: include leaf.am instead of leaf.cfg.
* mp12/node2/Makefile.am: include leaf.am instead of leaf.cfg.
* mp12/node1/Makefile.am: include leaf.am instead of leaf.cfg.
* mp09/node2/Makefile.am: include leaf.am instead of leaf.cfg.
* mp09/node1/Makefile.am: include leaf.am instead of leaf.cfg.
* malloctest/Makefile.am: include leaf.am instead of leaf.cfg.
* monitor/Makefile.am: include leaf.am instead of leaf.cfg.
* termios/Makefile.am: include leaf.am instead of leaf.cfg.
* putenvtest/Makefile.am: include leaf.am instead of leaf.cfg.
* rtems++/Makefile.am: include leaf.am instead of leaf.cfg, use
make-cxx-exe.
* stackchk/Makefile.am: include leaf.am instead of leaf.cfg.
* rtmonuse/Makefile.am: include leaf.am instead of leaf.cfg.
* cpuuse/Makefile.am: include leaf.am instead of leaf.cfg.
* itrontask03/Makefile.am: include leaf.am instead of leaf.cfg.
* itrontask04/Makefile.am: include leaf.am instead of leaf.cfg.
* itronmbf01/Makefile.am: include leaf.am instead of leaf.cfg.
* itronsem01/Makefile.am: include leaf.am instead of leaf.cfg.
* itronhello/Makefile.am: include leaf.am instead of leaf.cfg.
* itrontime01/Makefile.am: include leaf.am instead of leaf.cfg.
* itrontask01/Makefile.am: include leaf.am instead of leaf.cfg.
* itrontask02/Makefile.am: include leaf.am instead of leaf.cfg.
* itronmbox01/Makefile.am: include leaf.am instead of leaf.cfg.
* aclocal/canonical-target-name.m4: Use AC_CANONICAL_TARGET instead
of AC_CANONICAL_SYSTEM.
* aclocal/config-subdirs.m4: Use AS_MKDIR_P instead of
mkinstalldirs and mkdir.
* aclocal/target.m4: Obsolete RTEMS_OUTPUT_BUILD_SUBDIRS,
hack RTEMS_CONFIG_BUILD_SUBDIRS, introduce
_RTEMS_OUTPUT_BUILD_SUBDIRS.
* setup.def, gccnewlib/gccnewlib.add, gccnewlib/target-gcc.add:
Revert changes because of gcc 2.5.x/3.0 transition and continue
to support gcc 2.95.x as primary version.
* configure.in: Add RTEMS specific version of EXEEXT test.
* mkgdbspec.in, mkgnatnewlibspec.in, gdb/gdb.spec.in,
gnatnewlib/gnatnewlib.spec.in: Change to Target_alias to avoid
conflicts with new autoconf/automake.
* setup, setup.def, mkgnatnewlibspec.in: Add gnat_newlib_patch_version
variable.
* gnatnewlib/Makefile.am: Add i386-rtemscoff target in attempt to
build it.
* mkgccnewlibspec.in,
Use Target_alias not target_alias to avoid conflicts with new autoconf.
* setup.def: Changed version numbers in attempt at building gcc 3.0.1.
Only sparc and arm built for C/C++ OK. :(
* gccnewlib/base-gcc.add: Modifications to reflect files not in gcc 3.x.
* gccnewlib/gccnewlib.add: gcc 3.x does not have "everything in the name"
* target-gcc.add: Modifications to reflect files not in gcc 3.1
* src/mprotect.c: New file. Stub required by some gcc's to pass tests.
In particular, about 350 ACATS tests fail if this is not present.
* src/getpagesize.c: Ditto.
* src/sysconf.c: Addition of Solaris value for _SC_STACK_PROT required
to pass about 350 ACATS test cases.
* src/Makefile.am: Added new files.
* Makefile.am, .cvsignore, configure.in, i386-cygwin-binutils.spec.in,
i386-cygwin-gcc.spec.in, i386-cygwin-libs.spec.in,
i386-cygwin-w32api.spec.in, i386-cygwin-mingw.spec.in, setup, setup.def:
New files that support building RPMs for Linux hosted cross compilers
targeting Cygwin.
* src/coremutex.c, src/coremutexseize.c, src/coremutexsurrender.c,
inline/rtems/score/coremutex.inl: The per thread field resource_count
should only be manipulated when a mutex is priority ceiling or
priority inherit. This was reported by Chris Johns <ccj@acm.org>
who also noticed that the use of switches for all disciplines
generated less efficient code than using explicit tests for the one
or two cases we were really interested in. Further review of his
modifications made it apparent that the "isa" methods to test mutex
discipline were not being used so this modification was swept into
the code as well.
* src/coremutexseize.c: Add missing code for proper handling
of nesting acquisitions. This only impacts building with
inlines disabled on the source with the "fast mutex" optimizations.
This was post the 4.5 branch and did not impact released versions.
* include/rtems/libio_.h: Added ifdef to ensure that LOGIN_NAME_MAX
is defined on GNU/Linux (RedHat 6.2 distribution).
* libc/unixlibc.c: Added stubs for rtems_io_register_name() and
rtems_io_lookup_name() so UNIX port would compile the IO manager
sptest that registers /dev/null.
* pppd/STATUS: Updated by Joel based upon email from Mike.
* pppd/cbcp.c, pppd/cbcp.h: Readded files. These support callback
functionality that has not even been compiled under RTEMS yet.
* score/cpu_asm.c (sh_set_irq_priority): Changed interrupt vector
number range check and handling of interrupt priority regs to
conform SH2 specs.
* sci/sci_termios.c: New file.
* include/sci_termios.h: New file.
* include/Makefile.am (EXTRA_DIST): Added sci_termios.h.
(include_sh_HEADERS): Added sci_termios.h.
* score/ispsh7045.c (isp): Calling an ISR with immediate argument
casued negative sign extension for vector numbers of 128 and
above. This was fixed.
* sci/sci.c: Cleaned initialization of SCI registers; added
necessary setup for new TERMIOS console cooperation
* libc/lseek.c: Modified after discussion with Eugeny S. Mints
<jack@oktet.ru> to correct the behavior. There were two mistakes.
First, iop->offset was incorrectly set for SEEK_END. Second,
iop->offset should be left unmodified if there are errors.
This modification attempts to fix both situations.
* libc/lseek.c: Modified after discussion with Eugeny S. Mints
<jack@oktet.ru> to correct the behavior. There were two mistakes.
First, iop->offset was incorrectly set for SEEK_END. Second,
iop->offset should be left unmodified if there are errors.
This modification attempts to fix both situations.
* score/cpu_asm.c (sh_set_irq_priority): Changed interrupt vector
number range check and handling of interrupt priority regs to
conform SH2 specs.
* sci/sci_termios.c: New file.
* include/sci_termios.h: New file.
* include/Makefile.am (EXTRA_DIST): Added sci_termios.h.
(include_sh_HEADERS): Added sci_termios.h.
* score/ispsh7045.c (isp): Calling an ISR with immediate argument
casued negative sign extension for vector numbers of 128 and
above. This was fixed.
* sci/sci.c: Cleaned initialization of SCI registers; added
necessary setup for new TERMIOS console cooperation
* include/bsp.h: Disabled redefinition of
CONSOLE_DRIVER_TABLE_ENTRY. Some "FIXME:" comments added.
* console/config.c: New file. Definitions of externs referenced
from libbsp/shared/console.c.
* console/Makefile.am: Changed VPATH to point to
libbsp/shared. Added config.c to C_FILES and EXTRA_DIST.
* score/cpu_asm.c (sh_set_irq_priority): Changed interrupt vector
number range check and handling of interrupt priority regs to
conform SH2 specs.
* sci/sci_termios.c: New file.
* include/sci_termios.h: New file.
* include/Makefile.am (EXTRA_DIST): Added sci_termios.h.
(include_sh_HEADERS): Added sci_termios.h.
* score/ispsh7045.c (isp): Calling an ISR with immediate argument
casued negative sign extension for vector numbers of 128 and
above. This was fixed.
* sci/sci.c: Cleaned initialization of SCI registers; added
necessary setup for new TERMIOS console cooperation
* include/bsp.h: Disabled redefinition of
CONSOLE_DRIVER_TABLE_ENTRY. Some "FIXME:" comments added.
* console/config.c: New file. Definitions of externs referenced
from libbsp/shared/console.c.
* console/Makefile.am: Changed VPATH to point to
libbsp/shared. Added config.c to C_FILES and EXTRA_DIST.
* libc/termios.c: Fix a bug in the termios implementation in
the following scenario:
The General Terminal Interface document that me states that
if VMIN = 0 and VTIME = 0, then read() should return the minimum
of two values:
a) number of bytes available
b) number of bytes requested (I assume from the read call)
The current implementation of the fillBufferQueue() in termios.c is
always return 1 character with these setting values. I know the
termios buffer has more than one character available and my read()
call is requesting 1024 bytes.
* Update of PPPD to 2.3.11 from 2.3.5 and addition of an example
application. Mike's notes on the modifications:
- renamed error() function because of namespace problems
- removed calls to the exit() funciton
- removed extra files from the pppd source directory
- defined pppd task constant values in rtemspppd.h
- modifyied example code to get actual tick per second value
- placed the pppd 2.3.11 man page file (pppd.8) into the pppd
directory
* pppd/cbcp.c, pppd/cbcp.h, pppd/main.c, pppd/ppp_tty.c,
pppd/pppmain.c, pppd/rtems-ppp.c, pppd/rtems-ppp.c: Deleted.
* pppd/pppd.8, pppd/rtemsmain.c, pppd/rtemspppd.c, pppd/rtemspppd.h,
pppd/sys-rtems.c, pppd/utils.c, pppd/example/Makefile,
pppd/example/README, pppd/example/init.c, pppd/example/netconfig.h,
pppd/example/ppp.conf, pppd/example/pppdapp.c, pppd/example/system.h:
New files.
* modem/ppp_tty.c, net/if_ppp.h, pppd/Makefile.am, pppd/README,
pppd/STATUS, pppd/auth.c, pppd/ccp.c, pppd/ccp.h, pppd/chap.c,
pppd/chap.h, pppd/chap_ms.c, pppd/chap_ms.h, pppd/chat.c,
pppd/demand.c, pppd/fsm.c, pppd/fsm.h, pppd/ipcp.c, pppd/ipcp.h,
pppd/ipxcp.c, pppd/ipxcp.h, pppd/lcp.c, pppd/lcp.h, pppd/magic.c,
pppd/magic.h, pppd/options.c, pppd/patchlevel.h,
pppd/pathnames.h, pppd/pppd.h, pppd/upap.c, pppd/upap.h: Modified.
* libc/termios.c: Fix a bug in the termios implementation in
the following scenario:
The General Terminal Interface document that me states that
if VMIN = 0 and VTIME = 0, then read() should return the minimum
of two values:
a) number of bytes available
b) number of bytes requested (I assume from the read call)
The current implementation of the fillBufferQueue() in termios.c is
always return 1 character with these setting values. I know the
termios buffer has more than one character available and my read()
call is requesting 1024 bytes.
* clock/clock.c: Ensure that clock ticks are long enough to
make forward progress. This was modified to improve results
on the RTEMS tests and the ACATS.
* startup/linkcmds: Modified to work better with gcc 2.8.1 and
gnat 3.13p.
* src/msgqsubmit.c: Add a comment indicating that we do not have
to account for possibly blocking during the core send operation
because Classic API message queue send is always non-blocking.
* sp13/sp13.scn: Id in screen had wrong class field value.
* sp13/system.h: Account for message buffer memory.
* sp13/task2.c: Remove unnecessary check for failure.
* clock/clock.c: Ensure that clock ticks are long enough to
make forward progress. This was modified to improve results
on the RTEMS tests and the ACATS.
* startup/linkcmds: Modified to work better with gcc 2.8.1 and
gnat 3.13p.
* src/coremutexsurrender.c: Use holder thread not executing
thread because even though they may and often are the same
it is not guaranteed unless the proper attribute is set.
* include/rtems/score/coremsg.h, src/coremsgsubmit.c: Add a new
return status to account for blocking sends. Otherwise, the
caller will think that the returned message status will have
the ultimate results of the operation. If the send times out,
the final status will be in the return_code of the thread.
* src/msgqsubmit.c: Add a comment indicating that we do not have
to account for possibly blocking during the core send operation
because Classic API message queue send is always non-blocking.
* Makefile.am, configure.in, rtems_servers/Makefile.am,
rtems_servers/telnetd.c, rtems_servers/telnetd.h,
rtems_telnetd/Makefile.am, rtems_telnetd/README, rtems_telnetd/icmds.c,
rtems_telnetd/pty.c, rtems_telnetd/pty.h, rtems_telnetd/telnetd.c,
rtems_telnetd/telnetd.h, wrapup/Makefile.am:
- pty and telnetd have a new subdir rtems_telnetd to avoid
the side effect when ftpd change.
- the tcp/ip stats have been implemented into icmds.c and
started when telnetd daemon is started.
* rtems_servers/telnetd.c, rtems_servers/telnetd.h: Removed.
* rtems_telnetd: New directory.
* rtems_telnetd/Makefile.am, rtems_telnetd/README,
rtems_telnetd/icmds.c, rtems_telnetd/pty.c, rtems_telnetd/pty.h,
rtems_telnetd/telnetd.c, rtems_telnetd/telnetd.h: New files.
* monitor/mon-command.c: Add support for partial command matching.
The monitor used to have this functionality before it was overhauled
to support addition of user commands.
* cpu_asm.S: This patch was co-developed with Eric Norum
<eric.norum@usask.ca>. It closes a one instruction window
on some m68k CPU cores. It fixes symptoms seen as:
1) No more `interrupt handler invoked twice for
a single interrupt'.
2) No more `lockup when mc68360 CPM and PIT interrupts
are at different levels'.
It does insert a little more overhead on machines without hardware
interrupt stacks but correctness has a price.
* src/snd_mbx.c, src/tsnd_mbf.c: Unblocking message queue operations
should NOT use _Thread_Executing for return status since it is
permissible to invoke message send operations from an ISR. This was
reported by Suvrat Gupta <suvrat@utstar.com>.
* src/mqueuesendsupp.c: Unblocking message queue operations should
NOT use _Thread_Executing for return status since it is permissible
to invoke message send operations from an ISR. This was reported
by Suvrat Gupta <suvrat@utstar.com>.
* src/msgqsubmit.c: Unblocking message queue operations should
NOT use _Thread_Executing for return status since it is permissible
to invoke message send operations from an ISR. This was reported
by Suvrat Gupta <suvrat@utstar.com>.
* include/rtems/score/coremsg.h, inline/rtems/score/coremsg.inl,
src/coremsgsubmit.c: Unblocking message queue operations should
NOT use _Thread_Executing for return status since it is permissible
to invoke message send operations from an ISR. This was reported
by Suvrat Gupta <suvrat@utstar.com>.
* libc/libio_sockets.c (rtems_bsdnet_fdToSocket): Per bug
report from Gene Smith <Gene.Smith@sea.siemens.com>, enhanced the
error checking to account for a socket being closed.
* comm/tty_drv.c, comm/uart.c, comm/uart.h: Adds the capability
to use task driven serial I/O to ti386 BSPs. This patch leaves thex
default I/O mode to be IRQ. If you want to use task I/O mode,
then the tty_drv.c file needs to be modified. Basically, all
you need to change is the data values of the termios callbacks
structure. This callback structure is used in the tty1_open
and tty2_open functions. The values you need to set are commented
out in the source code.
* rtems_servers/telnetd.c, shell/telnetd.h: Moved from libmisc/shell
so the network stack to address network depenendency.
* rtems_servers/Makefile.am: Modified to reflect above.
* shell/telnetd.c, shell/telnetd.h: Moved to
libnetworking/rtems_servers so the network stack to address network
depenendency.
* shell/Makefile.am: Modified to reflect above.
* mpc8xx/console-generic/console-generic.c:
The printk/printf did not work when loaded by EPPCBUG. They did
work when loaded with the BDM debugger. I suspected EPPBUG
made some nasty things like patching Communication processor
microcode... Anyway, the attached patch:
1) Enables to have printk nearly immediately after boot,
2) Make printf work automagically (I do not know why except I make a
different initialization for printk that should be overwritten by
console init later ?)
I let the default to be using EPPCBUG embedded firmware to boot and
using this printk early enabler code (LOADED_BY_EPPCBUG and
EARLY_CONSOLE) are on.
* console/console.c, include/commproc.h, startup/start.S:
The printk/printf did not work when loaded by EPPCBUG. They did
work when loaded with the BDM debugger. I suspected EPPBUG
made some nasty things like patching Communication processor
microcode... Anyway, the attached patch:
1) Enables to have printk nearly immediately after boot,
2) Make printf work automagically (I do not know why except I make a
different initialization for printk that should be overwritten by
console init later ?)
I let the default to be using EPPCBUG embedded firmware to boot and
using this printk early enabler code (LOADED_BY_EPPCBUG and
EARLY_CONSOLE) are on.
* clock/Makefile.am, console/Makefile.am, spurious/Makefile.am,
start/Makefile.am, startup/Makefile.am, timer/Makefile.am,
wrapup/Makefile.am: Modified to include compile.am.
* startup/bspstart.c: Removed include of <libcsupport.h>
* macros/rtems/score/coresem.inl, inline/rtems/score/coresem.inl:
Cut and paste problem incorrectly enabled interrupts twice with
the first time being too early.
* README.configure: Corrected the name of the MRM332 BSP.
Strengthened the distinction between what the target
and the BSP each select. Added more targets to list.
* New MRM332 BSP for the Mini RoboMind board based
on the 68332 microcontroller designed and build by Mark
Castelluccio. For details on the MRM see http://www.robominds.com.
* .cvsignore, ChangeLog Makefile.am, README, bsp_specs,
clock/.cvsignore, clock/Makefile.am, clock/ckinit.c, configure.in,
console/.cvsignore, console/Makefile.am, console/console.c,
include/.cvsignore, include/Makefile.am, include/bsp.h,
include/mrm332.h, misc/dotests, misc/gdbinit68, misc/interr.c,
spurious/.cvsignore, spurious/Makefile.am, spurious/spinit.c,
start/.cvsignore, start/Makefile.am, start/start.c, startup/.cvsignore,
startup/Makefile.am, startup/bspclean.c, startup/bspstart.c,
startup/except_vect_332_ROM.S, startup/linkcmds, startup/linkcmds_ROM,
timer/.cvsignore, timer/Makefile.am, timer/timer.c, times,
wrapup/.cvsignore, wrapup/Makefile.am: Initial files.
* New MRM332 BSP for the Mini RoboMind board based
on the 68332 microcontroller designed and build by Mark
Castelluccio. For details on the MRM see http://www.robominds.com.
* .cvsignore, ChangeLog Makefile.am, README, bsp_specs,
clock/.cvsignore, clock/Makefile.am, clock/ckinit.c, configure.in,
console/.cvsignore, console/Makefile.am, console/console.c,
include/.cvsignore, include/Makefile.am, include/bsp.h,
include/mrm332.h, misc/dotests, misc/gdbinit68, misc/interr.c,
spurious/.cvsignore, spurious/Makefile.am, spurious/spinit.c,
start/.cvsignore, start/Makefile.am, start/start.c, startup/.cvsignore,
startup/Makefile.am, startup/bspclean.c, startup/bspstart.c,
startup/except_vect_332_ROM.S, startup/linkcmds, startup/linkcmds_ROM,
timer/.cvsignore, timer/Makefile.am, timer/timer.c, times,
wrapup/.cvsignore, wrapup/Makefile.am: Initial files.
* New MRM332 BSP for the Mini RoboMind board based
on the 68332 microcontroller designed and build by Mark
Castelluccio. For details on the MRM see http://www.robominds.com.
* custom/mrm332.cfg: New file.
* src/imfs/imfs_initsupp.c: Create the root node with the
desired permissions. Nodes should be created with the right
permissions because chmod() is not supported by the miniIMFS
so changing after creation is not possible.
* libc/base_fs.c: Deleted chmod() now that IMFS creates the
root node with the desired permissions. chmod() is also not
supported by the miniIMFS so this is not allowable.
* Added once version of psxchroot01 test for user review.
* psxchroot01: New directory.
* psxchroot01/Makefile.am, psxchroot01/main.c, psxchroot01/test.c,
psxchroot01/psxchroot01.scn, psxchroot01/.cvsignore: New files.
* configure.in, Makefile.am: Modified to reflect above.
* monitor/mon-prmisc.c: Correct print line.
* shell/Makefile.am: Added new file telnetd.c.
* shell/telnetd.c, shell/telnetd.h, shell/pty.c: New files.
* shell/shell.c, shell/cmds.c, shell/shell.h: Numerous improvments:
- The shell_init has a new parameter 'forever' because in
/dev/console you need that this process runs forever but in
tcp/ip not. (respawn?)
- A new task for every session opened trought tcp/ip telnet client.
(the chargen,daytime and more are possible of implementation but
I ask me if they are necesary)
- Exit from the session delete the task and when the client fails too.
- More cmds have been implemented. (very reduced version of these)
umask, chmod, id, whoami, rm, cat, ...
- A reduced line edit has been implemented.
Ctrl-C abort the input,
Ctrl-d in the first position gives EOF (logout).
'\b' and DEL makes the rubout operation.
I think that readline() for every session spents a lot of resources.
* libc/ttyname.c (ttyname_r): Removed duplicate call to closedir().
* libc/getpwent.c: Create a more robust /etc/passwd and /etc/group.
* libc/base_fs.c: Change permissions of files and directories. Now uses
octal constants.
* start/start.S: Increased BAT0 mapping of RAM from 64 meg to
256 meg to allow operation on boards with larger RAM sizes.
* vectors/vectors_init.c: Modified to call 'generic' powerpc
vector function (mpc60x_vector_is_valid) instead of MPC750
specific function to allow operation on boards with CPUs other
than the MPC750.
* mpc6xx/timer/timer.c: Added include of bsp.h and removed
external declaration of BSP_Convert_decrementer() to
correct unresolved reference to this routine.
* mpc8xx/console-generic/console-generic.c: Bug found by Yacine
<elkolli@crf.canon.fr> where the initialization or irq data structure
was incomplete in case a SMC channel was used first and later a SCC one.
* canonical-target-name.m4: Fix m4-quoting for autoconf-2.49f.
* aclocal/config-subdirs.m: Fix m4-quoting for autoconf-2.49f,
Add support for DOS-drive-letters.
* mongoosev/include/mongoose-v.h, mongoosev/vectorisrs/vectorisrs.c,
r46xx/vectorisrs/vectorisrs.c, tx39/vectorisrs/vectorisrs.c,
tx39/include/tx3904.h: All exceptions were given low numbers and thus
can be now be installed and processed in a uniform manner just like interrupts.
Variances between various MIPS ISA levels are not accounted for at this time.
* mongoosev/vectorisrs/Makefile.am, mongoosev/vectorisrs/maxvectors.c,
r46xx/vectorisrs/Makefile.am, r46xx/vectorisrs/maxvectors.c,
tx39/vectorisrs/Makefile.am, tx39/vectorisrs/maxvectors.c,
shared/interrupts/maxvectors.c, shared/interrupts/Makefile.am: Split the
shared maxvectors.c into a variety of CPU model specific versions to simplify
the build process and reduce depdencies. Deleted shared/interrupts/maxvectors.c
and created various CPU model versions.
* rtems/score/mips.h: Added constants for MIPS exception numbers.
All exceptions should be given low numbers and thus can be installed
and processed in a uniform manner. Variances between various MIPS
ISA levels were not accounted for.
* rtems/score/mips.h: Added constants for MIPS exception numbers.
All exceptions should be given low numbers and thus can be installed
and processed in a uniform manner. Variances between various MIPS
ISA levels were not accounted for.
* Assisted in design and debug by Joel Sherrill <joel@OARcorp.com>.
* mongoosev/duart/mg5uart.c, mongoosev/duart/mg5uart.h,
mongoosev/include/mongoose-v.h, mongoosev/vectorisrs/vectorisrs.c,
shared/interrupts/maxvectors.c: Now works. Significant rework
of exceptions and interrupt vectoring to clean things up.
* shared/interrupts/vectorexceptions.c: Removed.
* shared/interrupts/Makefile.am: Reflects above.
* Assisted in design and debug by Joel Sherrill <joel@OARcorp.com>.
* clock/clockdrv.c, console/conscfg.c: Corrected.
* include/bsp.h: Support for tm27 and addition of CPU_CLOCK_RATE.
* startup/bspstart.c: Properly set initial status register and
pending interrupts.
* timer/timer.c: Works now.
* rtems/score/cpu.h: Add the interrupt stack structure and enhance
the context initialization to account for floating point tasks.
* rtems/score/mips.h: Added the routines mips_set_cause(),
mips_get_fcr31(), and mips_set_fcr31().
* Assisted in design and debug by Joel Sherrill <joel@OARcorp.com>.
* configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]), adapt
bspopts.h handling to other sh-BSPs.
* include/.cvsignore: Add stamp-h*, bspopts.h*.
* include/Makefile.am: Use include_HEADERS instead of H_FILES.
* startup/bspstart.c: Reworked, based on the amos BSP.
* shared/interrupts/vectorexceptions.c: New file to decode
exception code and vector appropriate NON-interrupt exception.
* shared/interrupts/Makefile.am: Modified to reflect above.
* libc/libio.c (rtems_libio_allocate): Make sure size and offset
fields are cleared on each file open. Before this field was cleared,
this resulted in the value from the last time that IOP was used
being still in place. Discovered by Andrew Bythell
<abythell@nortelnetworks.com>.
* libc/open.c: Remove redundant setting of iop->offset.
* src/imfs/memfile.c (memfile_open): Did not set iop->size
and thus the value was incorrect. Before this field was cleared,
this resulted in the value from the last time that IOP was used
being still in place. Discovered by Andrew Bythell
<abythell@nortelnetworks.com>.
* psxfile01/test.c, psxfile01/psxfile01.scn : Added test case for
open, write, reopen, append twice from Andrew Bythell
<abythell@nortelnetworks.com> that tripped an initialization
problem in the IMFS.
* lib/rtems_bsdnet_ntp.c: Modifications to make the RTEMS NTP
synchronization a little more robust -- no NTP daemon yet, but
at least it trys a little harder when the primary NTP server is down.
* start.S: Modificatins to preserve the current CWP and adjust the
WIM accordingly. This improves compatibility with the remote
debugger and the mkprom prom-builder.
* include/rtems/libio_.h, libc/chroot.c, libc/privateenv.c:
Private environment and chroot() enhancements and fixes. Comments:
+ privateenv has been modified to let at chroot() to be more
POSIX like Sergei Organov recommended.
+ A task owner lets that rtems_set_private_env() will be
called twice or more times.
+ chroot() can be called without a previous
rtems_set_private_env(); (transpanrently)
+ The second call of rtems_set_private_env() makes a internal
chroot("/") into global imfs_root.
+ chroot() runs like chdir() without a previous chdir("/") with
the global root.
+ The current directory can be in a wrong place like Linux and
many other Unices.
* modem/ppp.c, pppd/main.c, pppd/pppmain.c, pppd/rtems-ppp.c,
pppd/modem_example/modem.c, pppd/modem_example/ppp.c: Translated
Polish comments and other strings into English
* pppd/STATUS: Updated to reflect the changes
* mcp750 directory renamed new_exception processing as it
supports many more CPU models.
* configure.in, src/powerpc/Makefile.am,
src/powerpc/new_exception_processing/Makefile.am,
src/powerpc/new_exception_processing/remdeb_f.x: New files
formerly in mcp750 plus modifications.
* src/powerpc/mcp750/.cvsignore, src/powerpc/mcp750/Makefile.am,
src/powerpc/mcp750/remdeb.h, src/powerpc/mcp750/remdeb_f.x,
src/powerpc/mcp750/remdeb_svc.c, src/powerpc/mcp750/remdeb_xdr.c:
Removed when moved to new_exception_processing.
* configure.in, src/powerpc/Makefile.am,
src/powerpc/new_exception_processing/Makefile.am,
src/powerpc/new_exception_processing/remdeb_f.x: Modified as
part of this effort to add support for the MPC8xx.
* itronmbf01/itronmbf01.scn, itronmbox01/init.c,
itronsem01/itronsem01.scn, itrontime01/init.c: Various
adjustments so test output matches screens more reliably.
* devnull/devnull.c (null_initialize): Added check to
ensure that the driver is only initialized once. Otherwise,
it will abort when the device /dev/null is present.
(null_write): Do not dereference a NULL pointer.
* src/imfs/imfs_debug.c (IMFS_print_jnode): Modified to print
only information that does not vary based on target or memory
configuration. The old prints are still there in case they
are needed in the future to debug. Printing target dependent
addresses makes the test output vary by target unnecessarily.
* mongoosev/duart/mg5uart.c (mg5uart_enable_interrupts): Honor
the other bits set in the Peripheral Function Interrupt Mask
Register when modifying those enabled for the DUART.
* mongoosev/include/mongoose-v.h (MONGOOSEV_ATOMIC_MASK,
MONGOOSEV_PFICR, MONGOOSEV_PFIMR, mongoosev_set_in_pficr,
mongoosev_clear_in_pficr, mongoosev_set_in_pfimr,
mongoosev_clear_in_pfimr, MONGOOSEV_UART_ALL_IRQ_BITS): New macros.
* include/bsp.h (Clear_tm27_intr): Stop the timer and disable
the interrupt. This was not quite right before and we were
getting uncontrolled interrupt nesting in tm27.
* timer/timer.c (Timer_Initialize): Added an extra reset and
changed the ITMR register so we will never get an interrupt.
(Read_timer): Fixed so the timer actually stops before it
is read. Before some times reported were outraguously high.
* start/start.S: Major clean including using stack in linkcmds,
deleting unused code, and zeroing the BSS using the linkcmds
information.
* startup/linkcmds: Put heap in lower memory than workspace
and move _clear_end so both are zeroed.
* cpu_asm.S: Added code to save and restore SR and EPC to
properly support nested interrupts. Note that the ISR
(not RTEMS) enables interrupts allowing the nesting to occur.
* mongoosev/duart/mg5uart.c, mongoosev/duart/mg5uart.h
Modifications made with Gregory Menke <gregory.menke@gsfc.nasa.gov>
as he debugged this BSP using a logic analyzer. In particular,
there was a mistake where the index not offset of registers was
in the header file and the baud rate calculation was incorrect.
* start/start.S, startup/bspstart.c, startup/linkcmds:
Modifications made with Gregory Menke <gregory.menke@gsfc.nasa.gov>
as he debugged this BSP using a logic analyzer.
* start/start.S, startup/bspstart.c, startup/linkcmds:
Modifications made with Gregory Menke <gregory.menke@gsfc.nasa.gov>
as he debugged this BSP using a logic analyzer.
* Makefile.am, configure.in, console/console.c,
include/Makefile.am, include/bsp.h, network/network.c,
startup/Makefile.am, startup/bspstart.c, startup/linkcmds,
wrapup/Makefile.am: Switch the eth_comm BSP to use the
"new exception processing model."
* binutils/Makefile.am: Added a29k-rtems.
* binutils/binutils.add: Switch to .bz2 extension to reflect
real way code is compressed on distribution sites now.
* mpc8xx/vectors/.cvsignore, mpc8xx/vectors/Makefile.am,
mpc8xx/vectors/README, mpc8xx/vectors/align_h.S
mpc8xx/vectors/vectors.S: These files were removed in
support of switching the mpc8xx to the use the "new exception
processing model."
* configure.in, motorola_powerpc/Makefile.am,
motorola_powerpc/configure.in: These modifications are in
support of switching the mpc8xx to the use the "new exception
processing model."
* Makefile.am, console/consoleIo.h, include/bsp.h:
These modifications are part of the conversion of the
mpc8xx CPU to the "new exception processing model."
* mpc8xx/exceptions/.cvsignore, mpc8xx/exceptions/Makefile.am,
mpc8xx/exceptions/asm_utils.S, mpc8xx/exceptions/raw_exception.c,
mpc8xx/exceptions/raw_exception.h: New files.
* configure.in, mpc6xx/mmu/bat.h, mpc8xx/Makefile.am,
mpc8xx/clock/clock.c,
mpc8xx/console-generic/console-generic.c,
mpc8xx/include/mpc8xx.h, mpc8xx/mmu/mmu.c,
new_exception_processing/cpu.h, shared/include/byteorder.h,
wrapup/Makefile.am: This is conversion of the
mpc8xx CPU to the "new exception processing model."
* clock/.cvsignore, clock/Makefile.am, clock/p_clock.c,
include/8xx_immap.h, include/commproc.h, include/mbx.h,
irq/.cvsignore, irq/Makefile.am, irq/irq.c, irq/irq.h,
irq/irq_asm.S, irq/irq_init.c, vectors/.cvsignore,
vectors/Makefile.am, vectors/vectors.S, vectors/vectors.h,
vectors/vectors_init.c: New files.
* Makefile.am, configure.in, console/console.c,
include/Makefile.am, network/network.c, startup/Makefile.am,
startup/bspstart.c, startup/imbx8xx.c, startup/linkcmds,
startup/mmutlbtab.c, startup/start.S, wrapup/Makefile.am:
The modifications to this BSP reflect the conversion of the
mpc8xx CPU to the "new exception processing model."
* src/eventsurrender.c: Clear event condition when task is unblocked.
This makes sure that subsequent event send thinks the task is still
blocked and overwrites the initial events received.
* src/imfs/memfile.c: Reapply fix from bug report from
Jose Sturniolo <jsturnio@nec.com.ar> where NULL pointer
was dereferenced when freeing a triply indirect file.
The fix was applied to the 4.5 release branch and not
the development branch.
* setup.def: Updated version numbers and patches for binutils
and gdb. binutils was to get correct patch in field. gdb
was to add mipstx39-rtems configurery support.
* serial/Makefile.am, serial/mc68681.c, serial/ns16550.c,
serial/serprobe.c, serial/z85c30.c: Now install sersupp.h
to <libchip/sersupp.h> so libchip style serial drivers can
be written in libcpu or libbsp.
* The Generic Mongoose-V BSP uses only the peripherals found on
the Synova Mongoose-V CPU. This is a radiation hardened CPU
based on the LSI Logic 33K.
* .cvsignore, ChangeLog, Makefile.am, README, bsp_specs, configure.in,
clock/.cvsignore, clock/Makefile.am, clock/clockdrv.c,
console/.cvsignore, console/Makefile.am, console/conscfg.c,
include/.cvsignore, include/Makefile.am, include/bsp.h,
start/.cvsignore, start/Makefile.am, start/regs.S, start/start.S,
startup/.cvsignore, startup/Makefile.am, startup/bspstart.c,
startup/linkcmds, timer/.cvsignore, timer/Makefile.am, timer/timer.c,
wrapup/.cvsignore, wrapup/Makefile.am: New files.
* cpu.c, cpu_asm.S, iregdef.h, rtems/score/cpu.h, rtems/score/mips.h:
Merged MIPS1 and MIPS3 code reducing the number of lines of assembly.
Also reimplemented some assembly routines in C further reducing
the amount of assembly and increasing maintainability.
* rtems_servers/ftp.d: Following changes:
- Hacks with current dir and root dir removed in favor of new libio
support for task-local current and root directories.
- Bug in `close_data_socket()' introduced by previous change fixed.
- `command_pasv()' changed to set timeout on socket we are listening
on and code fixed to don't close socket twice on error.
- `serr()' changed to clear `errno'.
- `data_socket()' changed to clear `errno' before `bind()'.
- `session()' changed to clear `errno' before processing session.
- `close_data_socket()' fixed to close both active and passive sockets
- Initialize info->data_socket to -1 in `daemon()'
- Initialize `fname' to empty string in `exec_command()'
* configure.in: Reworked for Canadian Cross support.
* Makefile.am: Reflect changes to configure.in.
* config.guess, config.sub: Update from subversions.gnu.org.
* README.cdn-X: New file.
* tools/Makefile.am: Remove build, tools from SUBDIRS.
* aclocal/config-subdirs.m4: Let CC default to $host_alias-gcc in
TARGET_CONFIG_SUBDIRS.
* aclocal/enable-bsp.m4: fix quoting.
* aclocal/check-bsps.m4, aclocal/bsp-alias.m4: Add pc386dx.
* include/rdbg/Makefile.am, include/rdbg/i386/Makefile.am,
include/rdbg/m68k/Makefile.am, include/rdbg/powerpc/Makefile.am:
Cleanup including more proper style on include files.
* aclocal/enable-rtemsbsp.m4: Split out RTEMS_ENV_RTEMSBSP,
RTEMS_ENV_RTEMSCPU.
* aclocal/env-rtemsbsp.m4: New file for RTEMS_ENV_RTEMSBSP, add
special treatment for GCC_SPECS.
* aclocal/env-rtemscpu.m4: New file for RTEMS_ENV_RTEMSCPU, add
special treatment for GCC_SPECS.
* aclocal/bsp-enable-arg.m4: New file, introduce RTEMS_BSP_ARG_ENABLE.
* aclocal/prog-cc.m4: Add AC_PROG_CPP, use build_os in GCCSED hack.
* automake/compile.am: New treatment of CPP, GCCSPECS, use `..`
instead of $(shell ..) for LIBC_LIB*.
* cpu.c, rtems/score/cpu.h: Bug report from Peter Mueller
<peter.o.mueller@gmx.de> because of not correcting for the ISR
vector table now being allocated from the workspace.
* lib/tftpDriver.c: Reduce first timeout interval. This
improves throughput on systems which are dropping packets.
Only the first timeout is reduced. This keeps the number
of extra packets down on networks that are very busy and
dropping lots of packets.
* cpu.c, rtems/score/cpu.h: Bug report from Peter Mueller
<peter.o.mueller@gmx.de> because of not correcting for the ISR
vector table now being allocated from the workspace.
* Alternate email is correo@fernando-ruiz.com
* libc/privateenv.c: New file.
* include/rtems/libio_.h, libc/Makefile.am, libc/base_fs.c,
libc/unmount.c: Moved default umask, current working directory,
root, and links followed count into a structure "user environment"
that can then be treated as a unit. This enable giving unique
copies of these to individual threads or collection of threads.
* Alternate email is correo@fernando-ruiz.com
* libc/privateenv.c: New file.
* include/rtems/libio_.h, libc/Makefile.am, libc/base_fs.c,
libc/unmount.c: Moved default umask, current working directory,
root, and links followed count into a structure "user environment"
that can then be treated as a unit. This enable giving unique
copies of these to individual threads or collection of threads.
* rtems_servers/ftpd.c, rtems_servers/ftpd.h: Major enhancements
as listed below:
- Timeouts on sockets implemented. 'idle' field added to
configuration. No timeout by default to keep backward compatibility.
Note: SITE IDLE command not implemented yet.
- Basic global access control implemented. 'access' field added to
configuration. No access limitations by default to keep backward
compatibility.
- Anchor data socket for active mode (using self IP and port 20.)
- Fixed default data port support (still not tested).
- Don't allow IP address different from originating host in
PORT command to improve security.
- Fixed bug in MDTM command.
- Check for correctness of parsing of argument in command_port().
- Fixed squeeze_path() to don't allow names like 'NAME/smth' where
'NAME' is not a directory.
- Command parsing a little bit improved: command names are now
converted to upper-case to be more compatible with RFC (command
names are not case-sensitive.)
- Reformat comments so that they have RTEMS look-and-feel.
- Fixed DELE, SITE CHMOD, RMD, MKD broken by previous changes
- True ASCII mode implemented (doesn't work for hooks and /dev/null)
- Passive mode implemented, PASV command added.
- Default port for data connection could be used (untested, can't find
ftp client that doesn't send PORT command)
- SYST reply changed to UNIX, as former RTEMS isn't registered name.
- Reply codes reviewed and fixed.
* rtems_servers/ftpd.c, rtems_servers/ftpd.h: Major enhancements
as listed below:
- use pool of pre-created threads to handle sessions instead of
creating/deleting threads on the fly
- LIST output is now similar to what "/bin/ls -al" would output,
thus FTP clients such Netscape are happy with it.
- LIST NAME now works (both for files and directories)
- added support for NLST, CDUP, and MDTM FTP commands to make
more FTP clients happy
- keep track of CWD for every session separately
- ability to specify root directory name for FTPD in configuration
table. FTPD will then create illusion for FTP clients that this
is actually root directory.
- ignore options sent in commands, thus LIST -al FILE works and
doesn't try to list "-al" directory.
- buffers are allocated on stack instead of heap where possible to
eliminate malloc/free calls (avoid possible heap fragmentation
troubles).
- drop using of task notepad to pass parameters - use function
arguments instead
- use snprintf() instead of sprintf() as the latter is unsafe
- use of PF_INET in socket() instead of AF_INET
Here are ftp clients I've tried new FTPD with (all of them
running on Debian GNU/Linux 2.2):
Lftp 2.1.10
NcFTP 2.4.3
Netscape 4.75
ftp
mc 4.5.49
* src/imfs/imfs.h, src/imfs/imfs_creat.c, src/imfs/imfs_debug.c,
src/imfs/imfs_eval.c, src/imfs/imfs_fchmod.c,
src/imfs/imfs_handlers_memfile.c, src/imfs/imfs_init.c,
src/imfs/imfs_initsupp.c, src/imfs/imfs_stat.c, src/imfs/memfile.c,
src/imfs/miniimfs_init.c: Final developmental update to "tarfs".
When rtems_tarfs_load() is called, it checks the permissions
on each file. If there is write permission, it just creates a
standard file using "creat()" and therefore, uses the IMFS MEMORY_FILE.
If there is no write permission, it creates a LINEAR_FILE node
with the appropriate properties. If the permission is ever changed
to writeable, IMFS_fchmod converts it to a regular memory file.
* r46xx/vectorisrs/vectorisrs.c (mips_get_cause): Corrected
constraints from general to register.
* tx39/vectorisrs/vectorisrs.c (mips_get_cause): Corrected
constraints from general to register.
* include/bsp.h, timer/timer.c: Updated so timer appears to
work and support tm27. I would prefer to time a software
interrupt rather than an use an extra timer though.
* Shared memory support removed since it was non-functional.
* shmsupp/.cvsignore, shmsupp/Makefile.am, shmsupp/addrconv.c,
shmsupp/getcfg.c, shmsupp/lock.c, shmsupp/mpisr.c: Removed.
* configure.in, Makefile.am, wrapup/Makefile.am: Modified to
reflect above.
* idtcpu.h: Commented out definition of "wait". It was stupid to
use such a common word as a macro.
* rtems/score/cpu.h (_CPU_ISR_Disable): Fixed for mips ISA 3.
* rtems/score/mips.h: Added include of <idtcpu.h>.
* rtems/score/mips.h (mips_enable_in_interrupt_mask): Corrected.
* custom/p4000.cfg, custom/p4600.cfg, custom/p4650.cfg: Remove
unneeded definitions when compiled for "mips" rather than "mips64orion."
Correct CPU_CFLAGS.
* include/bsp.h: Changed <sh/null.h> to <rtems/devnull.h> to reflect
the movement of this component to libmisc.
* wrapup/Makefile.am: /dev/null driver is no longer in libcpu/sh.
* devnull: New addition. Moved from libcpu/sh.
* devnull/devnull.c, devnull/devnull.h, devnull/.cvsignore,
devnull/Makefile.am: New files.
* Makefile.am, configure.in, wrapup/Makefile.am: Modified to reflect
addition of above.
* clock/clock.c: Use shared clock driver shell.
* console/console.c: Removed. Now use shared polling shell.
* console/console-io.c: New file.
* console/Makefile.am: Correct to use shared polling shell.
* startup/bspstart.c: Remove all fast idle references.
* setup.def, binutils/HISTORY, gccnewlib/HISTORY: Updated
binutils HISTORY to reflect new revision. Updated gcc to fix
i960 C++ problem. Updated newlib to move to newlib 1.9.0.
* new_exception_processing/cpu.h, old_exception_processing/cpu.c:
old_exception_processing/cpu.h, Added _CPU_Initialize_vectors().
In particular, spurious vector initialization had to be moved
on old exception processing model.
* clockdrv_shell.c: Added fast idle mode which is enabled by defining
CLOCK_DRIVER_USE_FAST_IDLE.
* console-polled.c: Added console_initialize_hardware() hook.
* rtems/score/cpu.h: Added _CPU_Initialize_vectors().
* cpu_asm.S: Modify to properly dereference _ISR_Vector_table
now that it is dynamically allocated.
* rtems/score/cpu.h: Added _CPU_Initialize_vectors().
* cpu_asm.S: Modify to properly dereference _ISR_Vector_table
now that it is dynamically allocated.
* tx39/vectorisrs/vectorisrs.c: Modified to have default exception
vector handler. This should be in a separate file so the BSP can
easily override it.
* Makefile.am: Added tools subdirectory and removed commented out line.
* configure.in: Added tools subdirectory.
* tools: New subdirectory.
* tools/.cvsignore, tools/Makefile.am, tools/configure.in,
tools/runtest: New files -- based on powerpc/psim.
* clock/clockdrv.c: Guessed new value for clock tick. Need to
add fast idle support.
* include/bsp.h: tm27 support initiated.
* start/start.S: Fixed frame/endframe problems on _sys_exit.
* startup/bspstart.c: Increased Workspace size to 4 MBYTES!
* linkcmds: Increased Workspace size to 4 MBYTES!
* Most tests appear to run correctly!
* cpu_asm.S (_ISR_Handler): Return to the address in the EPC register.
Previous code resulting in the interrupted immediately returning
to the caller of the routine it was inside.
* cpu.c: Do not read or write raw interrupt vector table if
we are on a CPU that does not have a %vbr register and the
BSP is configured as having the table in ROM.
* configure.in: Added new directories.
* shared/interrupts/Makefile.am: Added AM_CPPFLAGS to define TX39
when compiling for a TX3904.
* shared/interrupts/maxvectors.c: Corrected conditional logic.
* tx39/Makefile.am: Added vectorisrs.
* tx39/vectorisrs/Makefile.am, tx39/vectorisrs/vectorisrs.c,
* tx39/vectorisrs/.cvsignore: New files. This decodes the
interrupt pending information on the TX3904 and vectors
an interrupt.
* README: Updated. We are now vectoring a clock tick ISR handler.
But RTEMS is not returning from the ISR properly.
* clock/clockdrv.c: Now causes interrupts but has not been calibrated.
* include/bsp.h: Use <libcpu/tx3904.h>
* startup/Makefile.am: Add setvec.c from shared.
* startup/bspstart.c: Initialize the status register (SR) so
no interrupts are masked but global interrupts (SR_IEC) are off.
Added call to install the ISR prologue code.
* wrapup/Makefile.am: Pick up more pieces from libcpu.
* include/rtems/score/isr.h, src/isr.c: Allocate it from the
workspace rather than explicitly declaring it. This allows
the size to be a non-constant from the perspective of score/cpu.
* cpu.c: Removed duplicate declaration for _ISR_Vector_table.
* cpu_asm.S: Removed assembly language to vector ISR handler
on MIPS ISA I. Now call mips_vector_isr_handlers() in libcpu or BSP.
* rtems/score/cpu.h (CPU_INTERRUPT_NUMBER_OF_VECTORS): No
longer a constant -- get the real value from libcpu.
* configure.in: Added new directories.
* shared/interrupts/Makefile.am: Added AM_CPPFLAGS to define TX39
when compiling for a TX3904.
* shared/interrupts/maxvectors.c: Corrected conditional logic.
* tx39/Makefile.am: Added vectorisrs.
* tx39/vectorisrs/Makefile.am, tx39/vectorisrs/vectorisrs.c,
* tx39/vectorisrs/.cvsignore: New files. This decodes the
interrupt pending information on the TX3904 and vectors
an interrupt.
* cpu_asm.h: Removed.
* Makefile.am: Remove cpu_asm.h.
* rtems/score/mips64orion.h: Renamed mips.h.
* rtems/score/mips.h: New file, formerly mips64orion.h.
Header rewritten.
(mips_get_sr, mips_set_sr, mips_enable_in_interrupt_mask,
mips_disable_in_interrupt_mask): New macros.
* rtems/score/Makefile.am: Reflect renaming mips64orion.h.
* asm.h: Include <mips.h> not <mips64orion.h>. Now includes the
few defines that were in <cpu_asm.h>.
* cpu.c (_CPU_ISR_Get_level): Added MIPS ISA I version of this routine.
MIPS ISA 3 is still in assembly for now.
(_CPU_Thread_Idle_body): Rewrote in C.
* cpu_asm.S: Rewrote file header.
(FRAME,ENDFRAME) now in asm.h.
(_CPU_ISR_Get_level): Removed ISA I version and rewrote in C.
(_CPU_ISR_Set_level): Removed ISA I version and rewrote in C.
(_CPU_Context_switch): MIPS ISA I now manages preserves SR_IEC and
leaves other bits in SR alone on task switch.
(mips_enable_interrupts,mips_disable_interrupts,
mips_enable_global_interrupts,mips_disable_global_interrupts,
disable_int, enable_int): Removed.
(mips_get_sr): Rewritten as C macro.
(_CPU_Thread_Idle_body): Rewritten in C.
(init_exc_vecs): Rewritten in C as mips_install_isr_entries() and
placed in libcpu.
(exc_tlb_code, exc_xtlb_code, exc_cache_code, exc_norm_code): Moved
to libcpu/mips/shared/interrupts.
(general): Cleaned up comment blocks and #if 0 areas.
* idtcpu.h: Made ifdef report an error.
* iregdef.h: Removed warning.
* rtems/score/cpu.h (CPU_INTERRUPT_NUMBER_OF_VECTORS): Now a variable
number defined by libcpu.
(_CPU_ISR_Disable, _CPU_ISR_Enable): Rewritten to use new routines
to access SR.
(_CPU_ISR_Set_level): Rewritten as macro for ISA I.
(_CPU_Context_Initialize): Honor ISR level in task initialization.
(_CPU_Fatal_halt): Use new _CPU_ISR_Disable() macro.
* src/imfs/linearfile.c, src/imfs/imfs_load_tar.c: New files.
* src/imfs/Makefile.am, src/imfs/imfs.h,
src/imfs/imfs_creat.c, src/imfs/imfs_debug.c,
src/imfs/imfs_eval.c, src/imfs/imfs_handlers_memfile.c,
src/imfs/imfs_init.c, src/imfs/imfs_initsupp.c,
src/imfs/imfs_stat.c, src/imfs/miniimfs_init.c: Added "tarfs".
This is not really a tar filesystem. It is a way to load a tar
image into the IMFS but actually leave bulky file contents in the
original tar image. It essentially adds the linear file type and
associated support and a loader routine.
* shared/.cvsignore, shared/Makefile.am,
shared/cache/.cvsignore, shared/cache/Makefile.am,
shared/cache/cache.c, shared/cache/cache_.h,
shared/interrupts/.cvsignore, shared/interrupts/Makefile.am,
shared/interrupts/installisrentries.c,
shared/interrupts/isr_entries.S,
shared/interrupts/maxvectors.c, tx39/.cvsignore,
tx39/Makefile.am, tx39/include/.cvsignore,
tx39/include/Makefile.am, tx39/include/tx3904.h: New file.
Moved some pieces of interrupt processing from score/cpu to
libcpu/mips since many interrupt servicing characteristics are
CPU model dependent. This patch addresses the number of interrupt
sources and where the ISR prologues are located. The only way to
currently install the ISR prologues requires that the prologues
be installed into RAM.
* libc/linkaddr.c: Initialized variable to remove warning.
* modem/ppp.c, modem/ppp_tty.c: Made numerous variable declarations
conditional on PPP_COMPRESS and PPP_FILTER. Commented out variables
that were not used because the code using them was commented out.
Removed totally unused variables.
* modem/pppcompress.c: Added parentheses to avoid warnings.
* pppd/pppmain.c: Removed numerous warnings.
* console/inch.c, console/keyboard.c, console/pc_keyb.c,
console/vt.c, include/bsp.h: Correct incorrect interrupt level
handling in new keyboard management code. Correct
BSP_poll_char initialization routine.
* start/start.S, startup/bspstart.c: Correct when the video is
initialized.
* timer/timer.c (Calibrate_1ms_loop): Address problem where this
did not work correctly on all PC speeds. The new calibrate routine
has been tested on Pentium 166, pentium II 200, pentium III
300 Mhz and does work as expected.
* macros/rtems/score/coresem.inl: Removed comments since convention
calls for comments to be in inline versin.
* macros/rtems/score/object.inl (Objects_Get_local_object): Fixed
style to use _ prefix on variable names and use parentheses.
* macros/rtems/score/object.inl (_Objects_Namespace_remove): Added.
* Added macro support to POSIX API. This is known to compile.
* macros/rtems/posix/cond.inl, macros/rtems/posix/intr.inl,
macros/rtems/posix/key.inl, macros/rtems/posix/mqueue.inl,
macros/rtems/posix/mutex.inl, macros/rtems/posix/priority.inl,
macros/rtems/posix/pthread.inl, macros/rtems/posix/semaphore.inl,
macros/rtems/posix/timer.inl: New files.
* configure.in: Removed error check for enabling macros.
* rtems/posix/mutex.h: #if 0'ed out prototypes for inlined routines
since you cannot have prototypes for macros.
* macros/rtems/posix/Makefile.am: Added files.
* README: Updated to reflect current status. Misaligned reference
during initialization may be compiler problem.
* console/console-io.c: Added support for printk().
* startup/linkcmds: Reserve 512K for RTEMS Workspace.
* General effort to make things compile with macros not inlines
* inline/rtems/score/coremutex.inl: Added comment indicating
for macros there is another copy of
_CORE_mutex_Seize_interrupt_trylock() in src/coremutexseize.c.
* src/coremutexseize.c: Added body of
_CORE_mutex_Seize_interrupt_trylock() for macro case.
* macros/rtems/score/coremutex.inl: Added prototype for
_CORE_mutex_Seize_interrupt_trylock() since there is a real
body when macros are enabled.
* macros/rtems/score/coresem.inl: Added macro implementation of
_CORE_semaphore_Seize_isr_disable.
* macros/score/Makefile.am: Fixed typos.
* rtems/score/address.inl: Correct macro implementation of
_Addresses_Is_aligned() so it would compile.
* macros/rtems/score/coremsg.inl: Added closing parentheses.
* cpu_asm.S: Changed "_CPU_Ccontext_switch_restore: typo to
correct name of _CPU_Context_switch_restore. Added dummy
version of exc_utlb_code() so applications would link.
* include/rtems/Makefile.am: Added termiostypes.h.
* libc/Makefile.am: Removed termiostypes.h.
* libc/termios.c: Changed include of "termiostypes.h" to
<rtems/termiostypes.h> since that is an RTEMS specific header file.
* src/heapallocate.c: Do not allow the size to overflow when
adjusting it. A test allocated a stack of -1 (~0). This
actually resulted in a stack being allocated but with a
size of 0xb. The allocator did not test the size to see if
it rolled through 0 and so allowed the allocation to happen, the
thread to get created. The task crashed as you would expect.
* startup/linkcmds: Fix typo and add extra 0 to base address.
Now runs until printf() tries to put a character and then
it locks up checking a status bit that does not change.
* start/start.S, startup/bspstart.c: Not functional for CPU32
but hopefully will compile now and give a warning saying that
the CPU32 variant needs work.
* custom/shsim.cfg: New file.
* custom/Makefile.am: Modified to reflect addition of shsim.cfg.
The shsim is for the SH simulator in gdb. It should be able
to be used with multiple SH CPU models. This will require
adding BSP variants.
* The shsim is for the SH simulator in gdb. It should be able
to be used with multiple SH CPU models.
* .cvsignore, ChangeLog, Makefile.am, README, bsp_specs,
configure.in, clock/.cvsignore, clock/Makefile.am,
clock/clockdrv.c, console/.cvsignore, console/Makefile.am,
console/console-io.c, console/console-support.S,
include/.cvsignore, include/Makefile.am, include/bsp.h,
start/.cvsignore, start/Makefile.am, start/regs.S,
start/start.S, startup/.cvsignore, startup/Makefile.am,
startup/bspstart.c, startup/linkcmds, wrapup/.cvsignore,
wrapup/Makefile.am: New files.
* config.guess, config.sub: Update from CVS-autoconf to pick
up new features (e.g. CC_FOR_BUILD in config.guess) but is
necessary anyway to use autoconf-versions > 2.13.
* wrapup/Makefile.am: Added modem subdir.
* configure.in, Makefile.am: Added modem subdir.
* net/Makefile.am: Added if_pppvar.h, pppcompress.h.
* pppd/Makefile.am: Added pppmain.c (which needs work).
* pppd/chat.c, pppd/fsm.c, pppd/fsm.h, pppd/ipxcp.c, pppd/main.c,
pppd/ppp_tty.c, pppd/upap.c: Changes from Thomas Doerfler
<Thomas.Doerfler@imd-systems.de> and cosmetic changes by me.
Actually main.c and ppp_tty.c should be scratched. The modem
subdir has the real ppp_tty.c and the real pppd main is in pppmain.c.
* custom/pc386.cfg: make-exe rule would write into
$(PROJECT_RELEASE) area. This is not cool because it $(PROJECT_RELEASE)
is generally not writeable after the BSP is installed and you do not
want every application installed there by default. Reported by
Eric Norum <eric.norum@usask.ca>.
* wrapup/Makefile.am: Added modem subdir.
* configure.in, Makefile.am: Added modem subdir.
* net/Makefile.am: Added if_pppvar.h, pppcompress.h.
* pppd/Makefile.am: Added pppmain.c (which needs work).
* pppd/chat.c, pppd/fsm.c, pppd/fsm.h, pppd/ipxcp.c, pppd/main.c,
pppd/ppp_tty.c, pppd/upap.c: Changes from Thomas Doerfler
<Thomas.Doerfler@imd-systems.de> and cosmetic changes by me.
Actually main.c and ppp_tty.c should be scratched. The modem
subdir has the real ppp_tty.c and the real pppd main is in pppmain.c.
* The JMR BSP is for a Toshiba TX39 evaluation board but
can also be used with the mips simulator in gdb.
* .cvsignore, ChangeLog, Makefile.am, README, bsp_specs,
configure.in, clock/.cvsignore, clock/Makefile.am,
clock/clockdrv.c, console/.cvsignore, console/Makefile.am,
console/console-io.c, include/.cvsignore,
include/Makefile.am, include/bsp.h, start/.cvsignore,
start/Makefile.am, start/regs.S, start/start.S,
startup/.cvsignore, startup/Makefile.am, startup/bspstart.c,
startup/linkcmds, wrapup/.cvsignore, wrapup/Makefile.am: New files.
* erc32sonic/erc32sonic.c: Minor modifications which enable
network interface to come up and work for some time before
getting an error in the SONIC driver. The error is a bit random,
sometimes MCLGET (m, M_WAIT) tries to access memory way outside the
available ram (and traps) while sometimes there is a panic due
to RBAE/RXEN.
* psxstat/test.c, psxstat/psxstat.scn: Forced inode numbers
to remain consistant across platforms and bsps by forcing
a mount point in front of all paths.
2000-11-17 Jennifer Averret <jennifer@OARcorp.com>
* psxmount/test.c, psxmount/psxmount.scn: Improve output to report
expected error condition in one case.
* psxreaddir/test.c, psxreaddir.scn: Added test cases to exercise
readdir() of root of mounted filesystem. Also corrected the screen
file for some mistakes noticed in this effort.
* psxmount/test.c, psxmount/psxmount.scn: Improve output to report
expected error condition in one case.
* psxreaddir/test.c, psxreaddir.scn: Added test cases to exercise
readdir() of root of mounted filesystem. Also corrected the screen
file for some mistakes noticed in this effort.
* psxmount/test.c, psxmount/psxmount.scn: Improve output to report
expected error condition in one case.
* psxreaddir/test.c, psxreaddir.scn: Added test cases to exercise
readdir() of root of mounted filesystem. Also corrected the screen
file for some mistakes noticed in this effort.
* psxmount/test.c, psxmount/psxmount.scn: Improve output to report
expected error condition in one case.
* psxreaddir/test.c, psxreaddir.scn: Added test cases to exercise
readdir() of root of mounted filesystem. Also corrected the screen
file for some mistakes noticed in this effort.
* libc/mount.c (search_mt_for_mount_point): Deleted routine.
* libc/mount.c (Is_node_fs_root): Replacement for above that
accounts for the imaginary root node being returned by the
filesystem evaluation routine.
* libc/unmount.c (unmount): Account for imaginary root node
being returned and improved variable names to clarify code.
* libc/unmount.c (file_systems_below_this_mountpoint): Body of
routine replaced to account for imaginary root node being returned.
* aclocal/canonical-host.m4: Abandon changequotes (autoconf-2.49b).
* aclocal/check-newlib.m4: Let check message refer to RTEMS newlib.
* aclocal/rtems-debug.m4: Fix formating and contents of the check's
help string.
* aclocal/rtems-top.m4: Remove AC_ARG_WITH(target-subdir).
* Makefile.am, configure.in: Added support for instruction
cache enabling based on CPU model.
* cache/.cvsignore, cache/Makefile.am, cache/cache.c,
cache/cache_.h: New files.
* shared/src/cache_manager.c
(rtems_cache_invalidate_multiple_instruction_lines): If
CPU_INSTRUCTION_CACHE_ALIGNMENT is defined but 0, then there is
an instruction cache but no notion of line size.
* cpu.c, rtems/cpu/sparc.h: Make floating point optional based
on gcc arguments. Do not initialize FP context if there is
no FPU. Flush instruction cache after installing RTEMS trap handler.
* ChangeLog, .cvsignore, Makefile.am, bspclean.c, bspstart.c,
gnatcommon.c, start.S: New files. Largely moved from ERC32
BSP to be able to be shared with LEON and other SPARC BSPs.
* network/sonic.c: Added ipalign() routine to align the
received packet so that the ip header is on a 32-bit boundary.
Necessary for cpu's that do not allow unaligned loads and stores
and when the 32-bit DMA mode is used.
* custom/Makefile.am: Modified to reflect addition of files.
* custom/erc32.cfg: Modified to support addition of no-FP ERC32 variant.
* custom/erc32nfp.cfg, custom/leon1.cfg, custom/leon2.cfg: New file.
* ChangeLog, .cvsignore, Makefile.am, bspclean.c, bspstart.c,
gnatcommon.c, start.S: New files. Largely moved from ERC32
BSP to be able to be shared with LEON and other SPARC BSPs.
* Makefile.am, configure.in, gnatsupp/Makefile.am,
gnatsupp/gnatsupp.c, include/Makefile.am, include/bsp.h,
start/Makefile.am, startup/Makefile.am, startup/setvec.c,
wrapup/Makefile.am:
* erc32sonic: New directory.
* erc32sonic/Makefile.am, erc32sonic/erc32sonic.c,
erc32sonic/.cvsignore: New files.
* include/erc32.h: New file.
* startup/boardinit.S: New file.
Big update of SPARC support for ERC32 and LEON.
Added support for ERC32 without floating point.
Added SONIC support as configured on Tharsys ERC32 board.
The bsp's share various code in the shared directory:
gnat-support, start-up code, etc.
To decrease the foot-print, I removed the 16 kbyte start-up
stack that was put in .bss and never reused once the system
was up. The stack is now put between the heap and the
workspace. To reclaim it, the user can do a rtems_region_extend
to merge the stack to the heap region once the system is up.
* clock_driver_stub.c: This is a stub of a clock driver that
is sufficient for linking the ticker application. Some
simulators do not have a soruce for a clock tick. Also
this can be used while constructing a BSP so everything links.
* aclocal/enable-itron.m4: Remove changequotes (autoconf-2.49b).
* aclocal/enable-posix.m4: Remove changequotes (autoconf-2.49b), use
$host instead of $target (BUG-FIX).
* configure.in: Use $target and $host instead of $target_alias and
$host_alias (autoconf-2.49b).
* aclocal/check-newlib.m4: Remove CC_FOR_TARGET (BUG-FIX)
* aclocal/sysv-ipc.m4: Move AC_DEFINE outside of AC_CACHE (BUG-FIX)
NOTES:
* autoconf-2.49b depredicates using changequotes.
* The changes to configure.in are due to cleanups in
autoconf-2.49b's implemention of canonicalization. With
autoconf-2.1x it wasn't always clear, when to use $xxx or
$xxx_alias. Now this is clear.
* include/rtems/system.h: Use proper conditional (RTEMS_POSIX_API)
so prototypes for POSIX_MP_NOT_IMPLEMENTED(), POSIX_NOT_IMPLEMENTED(),
POSIX_BOTTOM_REACHED() are actually included.
* aclocal/canonicalize-tools.m4, aclocal/check-tool.m4,
aclocal/prog-cc.m4, aclocal/prog-cxx.m4: Replace AC_CHECK_TOOL
with an RTEMS specific but more restrictive autoconf macro.
* aclocal/canonicalize-tools.m4, aclocal/check-tool.m4,
aclocal/prog-cc.m4, aclocal/prog-cxx.m4: Replace AC_CHECK_TOOL
with an RTEMS specific but more restrictive autoconf macro.
* aclocal/canonicalize-tools.m4, aclocal/check-tool.m4,
aclocal/prog-cc.m4, aclocal/prog-cxx.m4: Replace AC_CHECK_TOOL
with an RTEMS specific but more restrictive autoconf macro.
* startup/bspstart.c: assoc.h, error.h, libio_.h, libio.h, and
libcsupport.h moved from libc to lib/include/rtems and
now must be referenced as <rtems/XXX.h>. Header file order
was cleaned up while doing this.
* startup/bspstart.c, startup/bspstart.c: assoc.h, error.h, libio_.h,
libio.h, and libcsupport.h moved from libc to lib/include/rtems and
now must be referenced as <rtems/XXX.h>. Header file order
was cleaned up while doing this.
Also removed obsolete references to STACK_CHECKER_ON.
* startup/bspstart.c, startup/bspstart.c.nocache: assoc.h, error.h,
libio_.h, libio.h, and libcsupport.h moved from libc to
lib/include/rtems and now must be referenced as <rtems/XXX.h>.
Header file order was cleaned up while doing this.
Also removed obsolete references to STACK_CHECKER_ON.
* startup/bspstart.c: assoc.h, error.h, libio_.h, libio.h, and
libcsupport.h moved from libc to lib/include/rtems and
now must be referenced as <rtems/XXX.h>. Header file order
was cleaned up while doing this.
Also removed obsolete references to STACK_CHECKER_ON.
* bsplibc.c: assoc.h, error.h, libio_.h, libio.h, and
libcsupport.h moved from libc to lib/include/rtems and
now must be referenced as <rtems/XXX.h>. Header file order
was cleaned up while doing this.
* startup/82378zb.c, startup/FPGA.c: assoc.h, error.h, libio_.h,
libio.h, and libcsupport.h moved from libc to lib/include/rtems and
now must be referenced as <rtems/XXX.h>. Header file order
was cleaned up while doing this.
* shared/bsppretaskinghook.c: assoc.h, error.h, libio_.h, libio.h,
and libcsupport.h moved from libc to lib/include/rtems and
now must be referenced as <rtems/XXX.h>. Header file order
was cleaned up while doing this.
* startup/bspstart.c: assoc.h, error.h, libio_.h, libio.h,
and libcsupport.h moved from libc to lib/include/rtems and
now must be referenced as <rtems/XXX.h>. Header file order
was cleaned up while doing this.
* malloctest/task1.c: assoc.h, error.h, libio_.h, libio.h, and
libcsupport.h moved from libc to lib/include/rtems and now must
be referenced as <rtems/XXX.h>.
* src/imfs/Makefile.am, src/imfs/deviceio.c, src/imfs/imfs_chown.c,
src/imfs/imfs_config.c, src/imfs/imfs_creat.c, src/imfs/imfs_debug.c,
src/imfs/imfs_directory.c, src/imfs/imfs_eval.c, src/imfs/imfs_fchmod.c,
src/imfs/imfs_free.c, src/imfs/imfs_fsunmount.c, src/imfs/imfs_gtkn.c,
src/imfs/imfs_init.c, src/imfs/imfs_initsupp.c, src/imfs/imfs_link.c,
src/imfs/imfs_mknod.c, src/imfs/imfs_mount.c, src/imfs/imfs_readlink.c,
src/imfs/imfs_rmnod.c, src/imfs/imfs_stat.c, src/imfs/imfs_symlink.c,
src/imfs/imfs_unixstub.c, src/imfs/imfs_unlink.c,
src/imfs/imfs_unmount.c, src/imfs/imfs_utime.c, src/imfs/ioman.c,
src/imfs/memfile.c, src/imfs/miniimfs_init.c:
assoc.h, error.h, libio_.h, libio.h, and libcsupport.h moved
from libc to lib/include/rtems and now must be referenced as
<rtems/XXX.h>. Now we do not have to reach up and over to
libc to pick them up.
* POSIX include files merged into newlib. This resulted in
some definitions moving to other files and thus some secondary
effects in RTEMS source code.
* paranoia/paranoia.c: Commented out incorrect and conflicting
prototype of read().
* POSIX include files merged into newlib. This resulted in
some definitions moving to other files and thus some secondary
effects in RTEMS source code.
* src/rpc/Makefile.am, src/rpc/auth_time.c, src/rpc/clnt_simple.c,
src/rpc/clnt_tcp.c, src/rpc/clnt_udp.c, src/rpc/clnt_unix.c,
src/rpc/get_myaddress.c, src/rpc/pmap_clnt.c, src/rpc/pmap_getmaps.c,
src/rpc/pmap_getport.c, src/rpc/pmap_rmt.c, src/rpc/rtime.c,
src/rpc/svc_tcp.c, src/rpc/svc_udp.c, src/rpc/svc_unix.c:
Use of _read, _write, and _close as macros conflicted with
newlib's use of these as routine names. They were renamed to
include "_RPC_" prefix.
* POSIX include files merged into newlib. This resulted in
some definitions moving to other files and thus some secondary
effects in RTEMS source code.
* machine/types.h: Added _CLOCKID_T_ and _TIMER_T_ to be in sync
with newlib's <machine/types.h>.
* rtems/rtems_bsdnet_internal.h: newlib now includes definition
of struct itimerval in <sys/time.h>.
* POSIX include files merged into newlib. This resulted in
some definitions moving to other files and thus some secondary
effects in RTEMS source code.
* sbrk.c: Corrected prototype to match newlib.
* POSIX include files merged into newlib. This resulted in
some definitions moving to other files and thus some secondary
effects in RTEMS source code.
* include/confdefs.h: Replaced include of <sys/siginfo.h> with
<signal.h> since that file no longer exists.
* include/Makefile.am: Updated to reflect files merged into newlib.
This resulted in some definitions moving to other files and thus
some secondary effects in RTEMS source code.
* include/unistd.h: Removed. Now use newlib's.
* include/rtems/posix/mqueue.h: Add include of <signal.h>.
* include/rtems/posix/threadsup.h: Add include of <sys/signal.h>
* src/execv.c: Corrected prototype to agree with newlib.
* src/execve.c: Corrected prototype to agree with newlib.
* src/execvp.c: Corrected prototype to agree with newlib.
* src/psignal.c: Rewrote reference to <siginfo.h> in comment since
that file no longer exists.
* src/pthreadkill.c: Added include of <signal.h>.
* src/sigaction.c: Added include of <signal.h>.
* src/sigtimedwait.c: Rewrote reference to <siginfo.h> in comment since
that file no longer exists.
*
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
Switch to GNU canonicalization.
* configure.in: Replace AC_CONFIG_SUBDIRS with
RTEMS_CONFIG_BUILD_SUBDIRS.
* configure.in: add librtems++, libnetworking, librpc, librdb, libmisc,
and libchip to the GNU canonicalized subdirectories.
NOTE: Missed committing as each subdirectory was added (joel).
* libc/ioman.c: Moved to libfs.
* libc/Makefile.am: Removed ioman.c as part of moving it to libfs.
* libc/base_fs.c: Removed include of imfs.h and reworded comment
to avoid being IMFS specific.
* libc/libio.h: Removed prototype of IMFS_ops since it should
not be in this file.
* libc/mount.c: Removed IMFS specific configuration information.
* libc/unmount.c: Removed include of imfs.h and reworded comment
to avoid being IMFS specific.
* custom/p4600.cfg, custom/p4650.cfg: Commented out RTEMS_CPU
definition since this information can be picked up from
autoconf generated files. These BSPs are shared by the
mips and mips64orion "ports."
* src/imfs/imfs_config.c: New file containing IMFS configuration
information split from libc/base_fs.c.
* src/imfs/ioman.c: New file. Moved from lib/libc. Missed previously.
* src/imfs/Makefile.am: Added imfs_config.c and ioman.c.
* Makefile.am, acinclude.m4, configure.in: Introduce GNU
canonicalization to libfs/.
The approach is currently a bit of a hack as GNU canonicalization
does not support the per-BSP build some of the other directories
require. As more of the tree is converted, this will become less
of an issue.
* Makefile.am, configure.in: Introduce GNU canonicalization to libfs/.
The approach is currently a bit of a hack as GNU canonicalization
does not support the per-BSP build some of the other directories
require. As more of the tree is converted, this will become less
of an issue.
Joel Sherrill <joel@OARcorp.com>
* This is a major reworking of the mips64orion port to use
gcc predefines as much as possible and a big push to multilib
the mips port. The mips64orion port was copied/renamed to mips
to be more like other GNU tools. Alan did most of the technical
work of determining how to map old macro names used by the mips64orion
port to standard compiler macro definitions. Joel did the merge
with CVS magic to keep individual file history and did the BSP
modifications. Details follow:
* Makefile.am: Made clock and timer subdirectories conditional.
* configure.in: Ditto.
* clock/clock.S: Switch from using <idtmon.h> to <asm.h>.
* clock/gettime.S: Switch from using <idtmon.h> to <asm.h>.
Joel Sherrill <joel@OARcorp.com>
* This is a major reworking of the mips64orion port to use
gcc predefines as much as possible and a big push to multilib
the mips port. The mips64orion port was copied/renamed to mips
to be more like other GNU tools. Alan did most of the technical
work of determining how to map old macro names used by the mips64orion
port to standard compiler macro definitions. Joel did the merge
with CVS magic to keep individual file history and did the BSP
modifications. Details follow:
* console/led.S: Switch from using <idtmon.h> to <asm.h>.
* console/start.S: Switch from using <idtmon.h> to <asm.h>. Added
define of PMON stacksize.
* console/idtmem.S: Switch from using <idtmon.h> to <asm.h>. Also
reworked conditionals to use gcc predefines.
* console/idttlb.S: Ditto.
Joel Sherrill <joel@OARcorp.com>
* This is a major reworking of the mips64orion port to use
gcc predefines as much as possible and a big push to multilib
the mips port. The mips64orion port was copied/renamed to mips
to be more like other GNU tools. Alan did most of the technical
work of determining how to map old macro names used by the mips64orion
port to standard compiler macro definitions. Joel did the merge
with CVS magic to keep individual file history and did the BSP
modifications. Details follow:
* Makefile.am: idtmon.h in mips64orion port not present.
* asm.h: MIPS64ORION replaced with MIPS. Frame setup macros added.
* cpu.c: Comments added.
* cpu_asm.S: Conditionals changed. MIPS ISA level 1 support added.
First attempt at exception/interrupt processing for ISA level 1
and minus any use of IDT/MON added.
* idtcpu.h: Conditionals changed to use gcc predefines.
* iregdef.h: Ditto.
* cpu_asm.h: No real change. Merger required commit.
* rtems/Makefile.am: Ditto.
* rtems/score/Makefile.am: Ditto.
* rtems/score/cpu.h: Change MIPS64ORION to MIPS.
* rtems/score/mips64orion.h: Change MIPS64ORION to MIPS. Convert
from using RTEMS_CPU_MODEL to gcc predefines to figre things out.
* mpc8xx/console-generic/console-generic.c: Avoid use of
BSP definitions and rely on the new routine
mbx8xx_console_get_configuration() to get information. This
routine was formerly incorrectly called
mbx8xx_console_use_maximum_buffer_size().
binding to the exception code.
* configure.in, Makefile.am: Explicitly specify whether an
RTEMS_CPU_MODEL is using old or new exception processing. This
is important because when building multilib, you do not know
the RTEMS_CPU_MODEL. So everything built in a multilib'ed RTEMS
must be independent of the exception model and allow for late
binding to the exception code.
* include/wd80x3.h: Added file header and logic to prevent multiple
inclusions of this file.
* wd8003/wd8003.c: Corrected attach to include "int attach" parameter.
* ne2000/ne2000.c: Fix some errors in the driver.
1. There was no sufficient check of data in ethernet header.
The code in ne_rx_daemon() was:
inport_word (dport, len);
...
len -= 4;
...
if (len > 0)
ne_read_data (sc, startaddr, len, p);
Unfortunately, sometimes my NIC gave me too big len value,
the result was memory override. To fix this, I added ethernet
header data checking.
2. The way overrides were serviced was not good. It was complex
but sometimes did not provide reliable continuing of NIC working.
I had the situation of an endless loop in ne_check_status()
after override processing.
3. There was conceptual error of porting. The old method of
overrides curing was ported from the OS-s, where override-processing
did start immediately. But RTEMS-version uses events, and cleaning
of the overrides can start later.
I selected the way of ne2000 programming that is used
in freebsd kernel (v4.0).
Because of both problems, incorrect data in header of raw packet
and receiver override, it went through ne_reset() and fully
reset the ne2000.
So, in summary
- added detecting of the incorrect data in ethernet header;
- replaced handling of receiver overrides with new scheme,
via resetting of NIC, this method is used also in case of
invalid header detecting.
* lib/tftpDriver.c: add comments to handlers struct function pointers.
* rtems/rtems_glue.c: move pointer arithmetic to be _after_
pointer has been checked against NULL.
* Added full support for MPC505.
* mpc505/ictrl: New directory.
* configure.in, mpc505/Makefile.am: Modified to reflect ictrl addition.
* mpc505/ictrl/.cvsignore, mpc505/ictrl/Makefile.am,
mpc505/ictrl/ictrl.c, mpc505/ictrl/ictrl.h: New files.
* mpc505/timer/timer.c: Use <rtems.h>, not "rtems.h".
* mpc505/vectors/Makefile.am: alignment exception handler now included.
* mpc505/vectors/vectors.S: Now use constants for exception numbers.
* old_exception_processing/ppc_offs.h: New file.
* old_exception_processing/Makefile.am: Account for ppc_offs.h.
* old_exception_processing/cpu.h: Make Nest and Disable levels volatile.
* old_exception_processing/cpu_asm.S: Offsets moved to ppc_offs.h.
* Added full support for MPC505.
* mpc505/ictrl: New directory.
* configure.in, mpc505/Makefile.am: Modified to reflect ictrl addition.
* mpc505/ictrl/.cvsignore, mpc505/ictrl/Makefile.am,
mpc505/ictrl/ictrl.c, mpc505/ictrl/ictrl.h: New files.
* mpc505/timer/timer.c: Use <rtems.h>, not "rtems.h".
* mpc505/vectors/Makefile.am: alignment exception handler now included.
* mpc505/vectors/vectors.S: Now use constants for exception numbers.
* old_exception_processing/ppc_offs.h: New file.
* old_exception_processing/Makefile.am: Account for ppc_offs.h.
* old_exception_processing/cpu.h: Make Nest and Disable levels volatile.
* old_exception_processing/cpu_asm.S: Offsets moved to ppc_offs.h.
* comm/i386-stub-glue.c, comm/tty_drv.c, comm/uart.c, comm/uart.h:
Add the ability to set parity, number of data bits and
number of stop bits to the existing i386 serial drivers.
* console/console.c, console/serial_mouse.c, include/bsp.h:
Add the ability to set parity, number of data bits and
number of stop bits to the existing i386 serial drivers.
* console/console.c: Added BSP dependent routine
mbx8xx_console_use_maximum_buffer_size() required by mbx8xx
console-generic code. This avoids libcpu use of bsp.h.
* mpc8xx/console-generic/console-generic.c: Removed include of
<bsp.h> by adding BSP dependent routine
mbx8xx_console_use_maximum_buffer_size() which can be hard coded
or check non-volatile memory for configuration.
* mpc6xx/clock/c_clock.c, mpc6xx/clock/c_clock.h: Removed use of
bsp.h and replaced it with use of proper interfaces or explicit
externs of required functions and data.
* mpc6xx/timer/timer.c: Ditto.
* libc/Makefile.am: Added mallocfreespace.c.
* libc/mallocfreespace.c: New file based on work by Nick Simon
<Nick.SIMON@syntegra.bt.co.uk> which he included in malloc.c.
* libc/libcsupport.h: Added prototype for malloc_free_space().
* src/regiongetinfo.c, include/rtems/rtems/region.h,
include/rtems/rtems/types.h, src/Makefile.am: Added
region_get_information() and information control block.
* src/regiongetinfo.c: New file.
* src/heapgetinfo.c, include/rtems/score/heap.h, src/Makefile.am:
Added _Heap_Get_information() and information control block.
* src/heapgetinfo.c: New file.
* macros: New directory.
* macros/bsp-alias.m4: new file.
* macros/canonical-host.m4: new file.
* macros/canonical-target-name.m4: new file.
* macros/canonicalize-tools.m4: new file.
* macros/check-bsp-cache.m4: new file.
* macros/check-bsps.m4: new file.
* macros/check-cpu.m4: new file.
* macros/rtems-debug.m4: new file.
* macros/check-cxx.m4: new file.
* macros/check-itron.m4: new file.
* macros/check-multiprocessing.m4: new file.
* macros/check-networking.m4: new file.
* macros/check-newlib.m4: new file.
* macros/check-posix.m4: new file.
* macros/check-rdbg.m4: new file.
* macros/enable-bare.m4: new file.
* macros/enable-cxx.m4: new file.
* macros/enable-gcc28.m4: new file.
* macros/enable-inlines.m4: new file.
* macros/enable-itron.m4: new file.
* macros/enable-libcdir.m4: new file.
* macros/enable-multiprocessing.m4: new file.
* macros/enable-networking.m4: new file.
* macros/enable-posix.m4: new file.
* macros/enable-rdbg.m4: new file.
* macros/enable-rtemsbsp.m4: new file.
* macros/enable-tests.m4: new file.
* macros/gcc-pipe.m4: new file.
* macros/gcc-specs.m4: new file.
* macros/i386-gas-code16.m4: new file.
* macros/path-ksh.m4: new file.
* macros/path-perl.m4: new file.
* macros/prog-cc.m4: new file.
* macros/prog-cxx.m4: new file.
* macros/project-root.m4: new file.
* macros/rtems-top.m4: new file.
* macros/sysv-ipc.m4: new file.
* macros/target.m4: new file.
* macros/rtems-test-no-pause.m4: new file.
* macros/multilib.m4: new file.
* macros/tool-paths.m4: new file.
* macros/tool-prefix.m4: new file.
* libc/fcntl.c: Do not require every filesystem to have an fcntl()
handler. Most fcntl() operations can be performed with no
filesystem support.
* ChangeLog: Corrected comment.
* libc/fcntl.c: Do not require every filesystem to have an fcntl()
handler. Most fcntl() operations can be performed with no
filesystem support.
* ChangeLog: Corrected comment.
* cpu_asm.S, rtems/score/cpu.h: Modified to better support
multilibing. These changes result in the code being able to
compile with the default gcc settings. It is not functional
in this configuration but does compile.
* include/confdefs.h: Modified code that accounts for initialization
task/threads with greater than minimum stack sizes so it would
compile even if optional APIs are disabled.
* start/start.c: Modified to support generation of ram_init.
* start/ram_init.ld, BSP/start/ram_init.sed: New files.
These changes enable RTEMS to automatically generate
the ram_init file used by gdb with the BDM patches. The 332 has
on-board chip select lines (for RAM and FLASH) that must be
configured before use of these peripherals. These patches parse
data from start.c where the chip select lines are configured in
the runtime executable and automatically generates the gdb
initialization file using the same settings. A great time saver.
A similar file, ram_init_FW (flash writable), is also generated
that the flash programming tool uses.
* start/Makefile.am: Modified to support above.
* CPU/sim.h: Modified to support above.
* startup/except_vect_332_ROM.S: Moved to start so it would not
be included in libbsp.a. Moving it to start ensures it is
available as a single object file.
* start/except_vect_332_ROM.S: Moved from startup.
* startup/linkcmds, startup/linkcmds_ROM: Fixes to the memory map
shown in the comments.
* sim.h: These changes enable RTEMS to automatically generate
the ram_init file used by gdb with the BDM patches. The 332 has
on-board chip select lines (for RAM and FLASH) that must be
configured before use of these peripherals. These patches parse
data from start.c where the chip select lines are configured in
the runtime executable and automatically generates the gdb
initialization file using the same settings. A great time saver.
A similar file, ram_init_FW (flash writable), is also generated
that the flash programming tool uses.
* BSP/start/start.c: Must be modified to support above.
* BSP/start/ram_init.ld, BSP/start/ram_init.sed: New files.
* include/rtems/rtems/ratemon.h, src/ratemonperiod.c,
src/ratemontimeout.c: Add next_length field so period length
can be changed by the the sequence period(X), period(not X)
with no intervening cancel or expiration.
* startup/linkcmds: Added lines so DWARF debug information
would be available. Otherwise gdb complains that the offsets
for the debug info are incorrect and doesn't load the files.
* startup/linkcmds: Added lines so DWARF debug information
would be available. Otherwise gdb complains that the offsets
for the debug info are incorrect and doesn't load the files.
* clock/ckinit.c: Removed include of <bsp.h>. Also switch to
macros to get configuration data.
* timer/timer.c: Removed include of <bsp.h>. Fixed comment
that said 4650 (a mips part).
* bsp_specs: Formatting more like other bsp_specs.
* include/bsp.h: CPU_CLOCK_RATE_MHZ not a real variable to
elimate need for including bsp.h in libcpu.
* startup/bspstart.c: Ditto.
* wrapup/Makefile.am: Did not list shmdr.
* machine/types.h, pppd/pppd.h, rtems/rtems_bsdnet_internal.h,
rtems_webserver/webmain.c: machine/types.h should not have
included rtems.h. It is now including precisely the
least amount of low level, yet portable .h files to get
the basic RTEMS types defined. This rippled into other
files since rtems_bsdnet_internal.h used machine/types.h to include
rtems.h.
* amd.ah, cpu.c, cpu_asm.S, register.ah, sig.S, rtems/score/cpu.h:
Updated and fixed minor things. Commented out offensive assembly
and made applications link.
* start/crt0.S: Renamed to start/start.S.
* start/start.S: Formerly start/crt0.S.
* startup/linkcmds: New file. GNU linker script that is not
correct for the target board but links programs.
* bsp_specs: Use linkcmds.
* include/Makefile.am, start/Makefile.am startup/Makefile.am:
Now work.
* startup/bspstart.c, startup/setvec.c: "#if 0"'ed out references
to reoutines in assembly that are in turn "#if 0"'ed out.
* Makefile.am, cpu_asm.S, psmacro.ah, rtems/score/cpu.h:
First attempt to compile with GNU tools. Minor modifications
to compile enough to get to assembler errors.
* Makefile.am, bsp_specs, configure.in, console/Makefile.am,
include/Makefile.am, irq/Makefile.am, irq/irq.c, start/Makefile.am,
startup/Makefile.am, startup/exit.c, wrapup/Makefile.am:
Made to conform to current practice concerning automake and
autoconf. Corrected minor warnings.
* custom/mbx860_005b.cfg (make-target-options): Add lines to
define PRINTK_MINOR SMC1_MINOR and PRINTK_IO_MODE. The settings
may be incorrect but the BSP now compiles.
* rtems/rtems_syscall.c: Changed from O_NONBLOCK to internal
RTEMS_LIBIO_FLAGS_NO_DELAY to avoid O_NONBLOCK/O_NDELAY confusion
and to work with the converted flags.
* setup.def: Updated gcc and newlib patches and bumped RPM revision.
Patches primarily add or16/or32 basic support to newlib and
i386 multilib improvements to gcc from Ralf Corsepius.
* Added generic Micro FrameBuffer interface for MicroWindows.
This interface allows MicroWindows to under RTEMS. A sample
driver has been developed for the pc386 BSP. See
pc386/fb_vga.c as a sample.
* Added Uniform Input Device interface for MicroWindows.
See PC386 bsp for sample drivers for mouse and keyboard (console).
* mw-bf: New directory.
* Makefile.am, configure.in, wrapup/Makefile.am: Account for mw-fb.
* mw-fb/Makefile.am: New file.
* mw-fb/mw_fb.c: New file.
* mw-fb/mw_fb.h: New file.
* mw-fb/mw_uid.c: New file.
* mw-fb/mw_uid.h: New file.
* shared/comm: Added "/dev/ttyS1" & "/dev/ttyS2" support for
the i386 BSPs.
* shared/comm/gdb_glue.c: New file.
* shared/comm/i386_io.c: New file.
* shared/comm/tty_drv.c: New file.
* shared/comm/tty_drv.h: New file.
* shared/comm/Makefile.am: Account for new files.
* shared/comm/uart.c: Adds support for sending characters to
another "line discipline."
* Major rework of the "/dev/console" driver.
* Added termios support for stdin ( keyboard ).
* Added ioctls() to support modes similar to Linux( XLATE,
RAW, MEDIUMRAW ).
* Added Keyboard mapping and handling of the keyboard's leds.
* Added Micro FrameBuffer driver ( "/dev/fb0" ) for bare VGA
controller ( 16 colors ).
* Added PS/2 and Serial mouse support for PC386 BSP.
* console/defkeymap.c: New file.
* console/fb_vga.c: New file.
* console/fb_vga.h: New file.
* console/i386kbd.h: New file.
* console/kd.h: New file.
* console/keyboard.c: New file.
* console/keyboard.h: New file.
* console/mouse_parser.c: New file.
* console/mouse_parser.h: New file.
* console/pc_keyb.c: New file.
* console/ps2_drv.h: New file.
* console/ps2_mouse.c: New file.
* console/ps2_mouse.h: New file.
* console/serial_mouse.c: New file.
* console/serial_mouse.h: New file.
* console/vgainit.c: New file.
* console/vt.c: New file.
* console/Makefile.am: Reflect new files.
* console/console.c, console/inch.c, console/outch.c: Console
functionality modifications.
* startup/Makefile.am: Pick up tty_drv.c and gdb_glue.c
* setup.def: Updated to gnat-3.13p and adjusted all versions
and revisions.
* gnatnewlib/gnatnewlib.spec.in: Include gcov per gnat 3.13p
build instructions.
* NOTE: GNAT 3.13p was not successfully built when this was committed.
* taskstart.c: Removed 1st cut at rtems_task_start_main_style.
Only committed this so it could be easily revisited as we
discussing moving main() to user space from BSP space.
* cpu.c: Spacing issues.
* rtems/score/cpu.h: Removed warning by setting _level.
2000-08-29 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Added S_O_FILES to list of objects.
* make/custom/pck6.cfg: New file
* make/custom/pc486.cfg: Use -m486
* make/custom/pc586.cfg: Use -mpentium
* make/custom/pc686.cfg: Use -mmpentiumpro
* make/custom/i386ex.cfg: Use -msoft-float
* make/custom/pck6.cfg: New file
* make/custom/pc486.cfg: Use -m486
* make/custom/pc586.cfg: Use -mpentium
* make/custom/pc686.cfg: Use -mmpentiumpro
* make/custom/i386ex.cfg: Use -msoft-float
* aclocal/check-bsps.h:
- Add pck6-BSP
- Exclude ChangeLog from being picked up as BSP
* aclocal/bsp-alias.m4: Add pck6-BSP
* rtems/score/no_cpu.h: Modified so there are fewer and
more consistent variations on "no cpu" so it is easier
to sed the source as the starting point for a new port.
* inline/rtems/posix/timer.inl, include/rtems/posix/timer.h,
inline/rtems/posix/Makefile.am, src/ptimer1.c: Redid the
style of src/ptimer1.c. Continued effort to make the
POSIX Timer implementation match that of other managers.
Added data structures required to use SuperCore Object Handler.
* README: Updated
* console/console.c: Fix polled input.
Add support for shared printk.
Add support for more flexible polled I/O with and without termios.
I/O mode and console is selectable either from NVRAM or from
mvme167.cfg. Clean up comments.
* README: Updated
* console/console.c: Fix polled input.
Add support for shared printk.
Add support for more flexible polled I/O with and without termios.
I/O mode and console is selectable either from NVRAM or from
mvme167.cfg. Clean up comments.
2000-08-11 Charles-Antoine Gauthier <charles.gauthier@nrc.ca>
* startup/page_table.c (page_table_init): Reorganize NVRAM parameters.
* include/bsp.h: Reorganize NVRAM parameters.
Add support for shared printk.
* times: These are the times for the MVME167, not the MBX860-002.
2000-08-11 John Cotton <john.cotton@nrc.ca>
* network/network.c: Fix NVRAM configuration parameter
handling from previous revision.
Check J1-4, restructure NVRAM parameter handling.
2000-08-11 Charles-Antoine Gauthier <charles.gauthier@nrc.ca>
* network/network.c: Cleanup of network driver to reduce warnings.
Addition of second parameter to uti596_attach.
* mbx8xx.cfg: Support for shared printk and no termios.
2000-08-10 John Cotton <john.cotton@nrc.ca>
* mbx8xx.cfg: Support added for dejagnu test harness.
* README: Updated.
* console/console.c: Addition of support for shared printk and
no termios.
* include/bsp.h: Addition of second parameter to
rtems_enet_driver_attach. Removed prototypes for printk and
BSP_output_string.
* network/network.c(rtems_enet_driver_attach): Addition of second
parameter to function.
* console-generic/console-generic.c: Addition of support for shared
printk and no termios.
2000-08-10 Charles-Antoine Gauthier <charles.gauthier@nrc.ca>
* console-generic/console-generic.c(m8xx_uart_pollWrite):
Flush actual buffer.
* shared/src/cache_manager.c (rtems_cache_flush_multiple_data_lines,
rtems_cache_invalidate_multiple_data_lines): Do not operate on the
entire address space when flushing zero bytes.
* shared/src/cache_manager.c (rtems_cache_flush_multiple_data_lines,
rtems_cache_invalidate_multiple_data_lines): Do not operate on the
entire address space when flushing zero bytes.
the correct circumstances of DMA buffer size, serial
line interrupts, and ethernet interrupts the termios osend routine would
lock up waiting for the raw output buffer semaphore.
that does the following:
Changes:
Remove $(SED) and $(CP) from make/custom/*.cfg
Motivation:
* autoconf and automake presuppose sed and cp to be present.
* make/host.cfg.in already contains SED = sed hard-coded into it for
a long time.
* Elimination of make-variables
* Eliminate make/*.cfg files or at least reduce their complexity :)
That BSP now has a stub clock driver so the tests can link even
if they won't execute. A handful of Makefiles had to be updated
and we had to account for printk.c being a shared file now.
<valette@crf.canon.fr> and Emmanuel Raguet <raguet@crf.canon.fr>
of Canon CRF - Communication Dept. This port includes a
basic BSP that is sufficient to link hello world.
a BSP (c4xsim) supporting the simulator included with gdb. This port
was done by Joel Sherrill and Jennifer Averett of OAR Corporation.
Also included with this port is a space/time optimization to eliminate
FP context switch management on CPUs without hardware or software FP.
An issue with this port was that sizeof(unsigned32) = sizeof(unsigned8)
on this CPU. This required addressing alignment checks and assumptions
as well as fixing code that assumed sizeof(unsigned32) == 4.
a BSP (c4xsim) supporting the simulator included with gdb. This port
was done by Joel Sherrill and Jennifer Averett of OAR Corporation.
Also included with this port is a space/time optimization to eliminate
FP context switch management on CPUs without hardware or software FP.
An issue with this port was that sizeof(unsigned32) = sizeof(unsigned8)
on this CPU. This required addressing alignment checks and assumptions
as well as fixing code that assumed sizeof(unsigned32) == 4.
This update addresses the following:
+ the ISR enable/disable/flash macros now work with old gcc versions.
+ the UI CCR bits are now masked since other example code did so
+ _ISR_Dispatch disables interrupts during call setup
Together these removed the instabilities he was seeing.
that is yet another multilib-related structual cleanup patch:
Changes:
* Make RTEMS_TEST_NO_PAUSE a tests/ subpackage specific option.
- Remove RTEMS_TEST_NO_PAUSE from custom/*.cfg, targopts.h and
cpuopts.h.
- Add autoconf macros RTEMS_*_RTEMS_TEST_NO_PAUSE
(aclocal/rtems-test-no-pause.m4).
- Add RTEMS_*_RTEMS_TEST_NO_PAUSE support to sptests/configure.ins
and tmtests/configure.in. These are the only subdirectories which
currently apply RTEMS_TEST_NO_PAUSE.
- Add autoconf-DEFS support to all test subpackages' configure.ins
below tests/. I.e. AC_DEFINES now get explicitly propagated as
preprocessor defines into Makefiles, cf. AM_CPPFLAGS in
tests/*/*.am, instead of using a global config-files.
- Remove NDEBUG from custom/*.cfg.
* AC_DEFINE POSIX_API, ITRON_API and MULTIPROCESSING in
exec/configure.in, only.
- All other sources now should relay on the values from cpuopts.h
and should not define them themselves.
- Several related changes to many configure.ins
* Bug-fixes to RTEMS_*_RTEMS_DEBUG macros (Actually workarounds to
quoting bugs in autoconf).
Notes:
* This patch is rather immature and only tested for a small subset
of BSPs (requires the tests to be enabled and therefore takes an
tremendous amount of disc space and time.)
* The patches to *cfg were generated by a script. Expect file
formating changes :)
that is yet another multilib-related structual cleanup patch:
Changes:
* Make RTEMS_DEBUG a global per-cpu configuration option
* Remove RTEMS_DEBUG from targopts.h
* Add a global --enable-rtems-debug option disabled by default.
* Add RTEMS_DEBUG to cpuopts.h
* Remove all references to RTEMS_DEBUG from custom/*.cfg
Notes:
* RTEMS_DEBUG is set in c/src/exec/configure.in only
(RTEMS_CHECK_RTEMS_DEBUG) and should be defined in cpuopts.h only.
BSPs should not redefine it, but use the value being provided by
cpuopts.h.
=> With multilibs, users have to choose: Either enable RTEMS_DEBUG
for all BSPs and CPU_MODELs of a cpu or not.
* Only few BSPs had RTEMS_DEBUG enabled, therefore I set the default
to disabled.
* This patch influences the per-BSP building scheme. Existing BSPs
which set RTEMS_DEBUG in their make-target-options rule might have
problems at runtime.
routines and structures that require CPU model specific information
are now in libcpu. This primarily required moving erc32 specific
information from score/cpu files to libcpu/sparc and the erc32 BSP.
routines and structures that require CPU model specific information
are now in libcpu. This required significant rework of the
score/cpu header files and the creation of multiple header files
and subdirectories in libcpu/i960.
that decouples exec/ for the sh, m68k and i960 from targopts.h.
NOTE: The change to system.h is a hack to enable cpuopts.h
for some targets, but keep using targopts.h for others - I know it
does *not* work for sparc, mips, i386 and ppc. This will have
to be addressed as work continues on multilibing.
that addresses aspects of the targopts.h multilib related
issues.
Changes:
* Move targopts.h to libbsp/include, because the current targopts.h
actually is a per-BSP-header and therefore can not stay below exec/.
* Introduce an autoheader generated header file
(exec/score/include/rtems/score/cpuopts.h), which shall take per-cpu
configuration options only.
* Move all autoconf-detectable/configure specified per-cpu
option-defines from targopts.h to cpuopts.h.
* Add Makefiles to the libbsp/shared directory hierarchy.
Notes:
* The new per-bsp targopts.h in libbsp includes the per-cpu
cpuopts.h. This way, the new targopts.h is kept backward compatible
to the old targopts.h and existing BSPs which (carelessly) include
targopts.h (i386, ppc) should be kept working when using the
multilib-disabled configuration scheme.
* cpuopts.h is not yet complete, because the per-BSP make-targopts
rules from custom/<BSP>.cfg files can not be applied to files below
exec/ when building multilibs.
* All files below exec/ should not include targopts.h anymore, but
should include cpuopts.h instead. However, eliminating inclusion of
targopts.h currently triggers further structural / header file inclusion
related issues, because several ports apply BSP or CPU_MODEL specific
defines from targopts.h below exec/
that is another small step toward multilibs:
Changes:
* Eliminate RTEMS_CHECK_CUSTOM_BSP from all configure.ins below exec/
* Add RTEMS_CHECK_CUSTOM_BSP to the multilib-disabled branch in
RTEMS_ENV_RTEMSCPU to preserve the old per-BSP building scheme
functional.
Notes:
* --enable-multilibs is still non-functional
* This patch should not have any influence on the old building
scheme (--disable-multilib should silently fall back to the old
building scheme).
* running ./bootstrap is required after applying the patch
from score/cpu to libcpu because the determination of which to use is
based on RTEMS_CPU_MODEL. Thus it can not be determined based solely on
multilib information.
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.
that is a somewhat experimental, multilib-related patch:
Changes:
* Use RTEMS_ENV_RTEMSCPU instead of RTEMS_ENV_RTEMSBSP in
configure.ins below exec/.
At the moment, RTEMS_ENV_RTEMSCPU is more or less an optical change
to emphasize that these subdirectories shall not depend on RTEMS_BSP
than a real behavioral change.
* Add AC_DEFINE_* to several aclocal/*.m4 macros to prepare
autoheader/autoconf generated targopts.h and similiar configuration
headers.
* c/src/configure.in: remove exec from cfg_subdirs if multilibs are
enabled (c/src is build per bsp, exec shall be build per cpu in c/
or from the toplevel in future, when multilibs are enabled.)
Notes:
* This patch should not have any impact on the current building scheme.
* --enable-multilib still does not work.
* running bootstrap from the toplevel directory is required.
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: ----------------------------------------------------------------------
Comments follow:
Building linux/posix fails due to including lib/include/sys/cdefs.h
instead of linux's sys/cdefs.h.
AFAIS, this sys/cdefs.h is specific to newlib and should probably
not be used on any unix host.
Therefore, I changed the relevant Makefile.am/configure.in to
condionally install sys/cdefs.h only if newlib is present.
This triggered another bug inside of the newlib-check for one of
RTEMS target's (Unfortunately I can't remember which - mips/i960 ?
... one of the more exotic ...), for which int func() isn't
identical to void func().
Note: This patch needs to be tested under Cygwin and Solaris. I am
particularily unsure about Cygwin/posix, as it applies a different
version newlib which must not trigger RTEMS newlib check (it is
supposed to fail) and if it may need RTEMS's sys/cdefs.h.
Hitachi H8 family. This port was done by Philip Quaife
<philip@qs.co.nz> of Q Solutions and sponsored by
Comnet Technologies Ltd. The port was done based on RTEMS 3.5.1
to a Hitach H8300H. The port was updated to RTEMS 4.5 style
Makefiles/configure by Joel Sherrill <joel@OARcorp.com>.
While doing this Joel added support for the h8300-rtems to
binutils, gcc, newlib, and gdb.
NOTE: Philip submitted a BSP for a Hitachi evaluation board
which is being merged as a separate entity.
that breaks when the target has 16 bit address space. One of the H8
multilibs is a 16-bit address space CPU. When a real attempt is
made to support this CPU model, the code that assumes an address
is 32 bits will have to change. This constant is probably not
flagging all impacted code.
that does some cleanup:
* remove c/src/make/main.cfg.in (obsolete, unused) and any reference to it.
* remove RTEMS_BSP_SPECS from c/src/make/custom/default.cfg.in (unused)
Notes:
All files being effected by this patch are only used when building
RTEMS, therefore this patch should not have any side-effects outside
of the source- rsp. build-tree.
that is part of the multilib/gnu-canonicalization movement:
Changes:
* New m4-macro: aclocal/multilib.am
* Suppress multiprocessing if --enable-multilib is given to
configure
Notes:
For now this patch only suppresses multiprocessing if
--enable-multilib is given to configure and should not have any
other side-effects, ie. it works around a minor issue which prevents
introduction of multilibs in general.
The RTEMS_ENABLE_MULTILIB_MASTER macro is the core part to build
real multilibs, but can not be applied before other multilib related
issues with RTEMS have been solved. (e.g. sptables.h, bsp_specs,
Cygnus/Gnu canonicalization, _RTEMS_version, targopts.h, changing
the installation point/tooldir support, etc.).
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.
<corsepiu@faw.uni-ulm.de> to fix the following:
* lib/configure.in actually is libc's configure.in, so let it depend
on libc not on lib [In my Cygnus/GNU configuration scheme, lib/include
and lib/libc are treated as one unit, while libcpu and libbsp are
treated as separate units.]
* Allow empty --enable-bare* flags for the bare bsp. The formerly
used scheme is too strict for our multilib experiments.
to:
I have also added the ability to register and unregister commands. This
allows me to create a set of monitor commands for the network stack plus
basic memory dump/patch commands (needs a working probe interface). I
will also look at a basic ls/cd/rm/mv/cp command set at some stage.
I have been thinking about changing the monitor in the future to more
like a light weight RTEMS shell, `eshell' for embedded shell. This is a
story for another day but is a process or getting the commands to map to
the filesystem (eg, major=commands, minor=command) and supporting an
environment. The filesystem provide a structure for the commands.
initialization. This adds an interface which makes it easier to
control the BSD stack from user code. The BSD stack initialise uses
it. It is a sort of `function' interface for an ifconfig
command.
I also added support for attaching and removing interfaces. With hot
swap PCI comming online support for hot swap PCI will be an important
factor in "state of art" RTOS's. This is also part of a general move on
my part to allow RTEMS to be configured at runtime by calls rather than
table driven at initialisation.
<corsepiu@faw.uni-ulm.de> to evaluate ACLOCAL_AMFLAGS in
Makefile.ams before running aclocal.
Remark: This patch is in preparation to switching to Cygnus/GNU
canonicalization. I plan to introduce to an alternate aclocal macros
directory which shall contain Cygnus/GNU conforming macros only,
soon.
<corsepiu@faw.uni-ulm.de> that addresses a couple of
minor configuration issues which popped up when
experimenting with multilibs.
Note: The multigen generated make/custom/bare-*.cfg will still be
non-functional, even after having applied this patch.
<corsepiu@faw.uni-ulm.de> that migrates the SH port to
multilib'ing. This patch involved moving a number of
files in the CVS repository, adding new files, and
deleting files from their previous location. Ralf
gave good instructions (not repeated here) and here
are his notes:
Note 1: In this version, I did not change the installation points of
the headers which are moved inside of the source-tree. This is a
temporary hack for not breaking compatibility with 4.5 based BSPs,
but will probably not last once having real multilibs (We would have
include file conflicts when several BSPs/CPU_MODELS share a common
installation prefix).
Note 2: I hope not to have broken too much, but I would not be
astonished if something goes wrong.
Note 3: There are more patches to come :)
mpc8xx libcpu support for the first time and remove includes
of bsp.h, references to BSP_Configuration, and Cpu_table. All
of these can be obtained directly from RTEMS now.
<corsepiu@faw.uni-ulm.de> which:
* should fix the building rtemsdoc outside of the sourcetree with
relative srcdir issue
* adds --enable-papersize=[letter|a4|]
now is an implementation of the prototypes in rtems/rtems/cache.h.
The libcpu/i386/wrapup directory is no longer needed.
The PowerPC needs this done to it.
<charles.gauthier@iit.nrc.ca>, and Darlene A. Stewart
<Darlene.Stewart@nrc.ca> to add support for a number of very
significant things:
+ BSPs for many variations on the Motorola MBX8xx board series
+ Cache Manager including initial support for m68040
and PowerPC
+ Rework of mpc8xx libcpu code so all mpc8xx CPUs now use
same code base.
+ Rework of eth_comm BSP to utiltize above.
John reports this works on the 821 and 860.
<charles.gauthier@iit.nrc.ca>, and Darlene A. Stewart
<Darlene.Stewart@nrc.ca> to add support for a number of very
significant things:
+ BSPs for many variations on the Motorola MBX8xx board series
+ Cache Manager including initial support for m68040
and PowerPC
+ Rework of mpc8xx libcpu code so all mpc8xx CPUs now use
same code base.
+ Rework of eth_comm BSP to utiltize above.
John reports this works on the 821 and 860
<charles.gauthier@iit.nrc.ca>, and Darlene A. Stewart
<Darlene.Stewart@nrc.ca> to add support for a number of very
significant things:
+ BSPs for many variations on the Motorola MBX8xx board series
+ Cache Manager including initial support for m68040
and PowerPC
+ Rework of mpc8xx libcpu code so all mpc8xx CPUs now use
same code base.
+ Rework of eth_comm BSP to utiltize above.
John reports this works on the 821 and 860
<corsepiu@faw.uni-ulm.de> that makes the following changes:
* Don't use a temporary file for ch19.texi anymore
* pass all files to be handled by summarize as commandline arguments
* Remove a dangling empty first line in posix1003_1.texi (texi2html
(!) expects \input texinfo on the first line)
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
This patch changes the installation directory of the supplements to
supplements/<cpu>.
This allows browsing the html files inside of the source tree,
because after having applied this patch, the structure of the html
installation directory hierarchy is the same as the directory
structure of the source tree.
Ralf's comments follow:
Changes:
* Enhanced versioning:
- Addition of automake's version.texi support
- Replacement of rtemsdoc's former versioning support by automake's
versioning support (Abandoning RTEMS-UPDATE-* etc.)
- Abandoning setup.texi.in
- Add EDITION to each documents Makefile.am
- version.texi support in project.am
- Addition of maintainer mode (currently only used to prevent incorrectly
updating timestamps when users touch automake's version.texi timestamp
files (stamp-vti)).
* Fixing info dir support
- Use texinfo's @dircategory and @direntry instead of infos *-DIR-ENTRY
- $(infodir)/dir is now correctly set up
* Avoid using temporary files
- Pipe texts through REPLACE2 into BMENU2 instead of using temporary files.
- Abandon using bmenu in favor of bmenu2 (bmenu could be removed now)
* Prepare Makefile.ams for building in a separate buildtree
- prefix files with $(srcdir) in Makefile.am for files which must be
generated inside of the source tree
Notes:
* rtemsdoc can not yet be build in a separate source-tree, but we
are very close to it.
* You as the maintainer of this package now should always use
--enable-maintainer-mode to configure rtemsdoc.
Adds a -I <path> option to texi2www. This option is supposed to
compatible to the option of the same name in makeinfo, texi2dvi etc.
[This patch actually is kind of a hack, but it works :]
the bug-texinfo mailing list:
There is also a bug in the PDF outline: Any outline item containing an
underscore shows up as a bunch of texinfo codes ("@unhbox @kern.06em
@vbox{..."). This bug was remedied by the following addition to
\pdfmakeoutlines.
It addresses:
* .cvsignore (only minor changes to yours, as they were pretty clean,
most changes result from my mkcvsignore script being overly pedantic
sorting entries alphabetically.)
* timing.t handling and time<BSP>_.texi handling in supplements
* network.t handling in bsp_howto
* RTEMS_DATE and RTEMS_UPDATE handling in configure.in. [It actually is
a hack, as we could apply automake's version.texi handling instead - I
know think to understand what automake does with it.]
* avoid using temporary files; Therefore a new tool called bmenu2,
derived from bemenu, is introduced, which reads a single file from stdin
and writes to stdio.
To apply:
cd rtemsdoc
patch -p1 < rtemsdoc-4.5.0-rc-3.diff
cvs rm -f bsp_howto/network.t
cvs add tools/bmenu/bmenu2.c
./bootstrap
BTW: word-replace now is unused. It could be removed if you like to.
that addresses the following:
The patch below should
* fix the *pdf cleanup handling
* fix dependencies between pdf-documents and texi-files
It also contains an attempt to let networking/schedule.t use states.pdf
instead of ascii graphics, but though each pdf image looks nice, it
comes out weirdly distorted in the main pdf document.
which contains the bulk of converting the documentation tree to automake
and GNU conventions. Comments follow:
This is the automake port of rtemsdoc.
To apply:
cvs co rtemsdoc
cd rtemsdoc
sh cvs-rm.sh
patch -p0 < rtemsdoc-4.5.0-rc-0.diff
sh cvs-add.sh
[Attention: cvs-rm.sh and cvs-add.sh directly modify cvs]
Known bugs:
1) src2html is not supported (yet? - Is this supposed to work?)
2) all *.pdf images now are generated on-the-fly, but not yet deleted
during "make distclean"
3) All supplements, including the templated ones, get build and
installed.
4) Building outside of the source tree is completely untested and very
likely does not work.
5) Make [ps|pdf] are not (yet) supported, make [dvi|info] are supported
by automake's default texinfo rules.
Fixing 2, 3 and 5 is almost trivial and needs to be done.
4) is a matter of testing and tool-properties, for now it is simply
untested.
General issues:
* gif vs jpg vs png. I would recommend to replace all images with pngs
to avoid potential copyright issues (gif) or lack in quality (jpg, jpg
is good for real world photographs, but extremely poor on artificial
images, graphs).
* pdf images do net get placed correctly in pdf-documents.
* texinfo: We now use a local copy of texinfo-4.0's texinfo.tex in
texinfo/texinfo.tex for generating infos. However pdftex's system-wide
texinfo.tex and pdftexinfo.tex are used for generating *.dvi, *.ps, *.pdf.
* .cvsignore files still missing.
* I have renamed the supplements filename not to use c_<supplement>,
because automake seems to have problems with it.
Notes:
* Again, I recommend not to put any generated files into CVS. Here, this
comprises some *texi, all *.pdf and many *.html pages. Ie. I recommend
to run make maintainer-clean before checking in any files.
* To get building started, this should be sufficient:
./bootstrap
./configure
cd tools; make; cd ..
make info
* To make a public tarball:
[cvs co ; ./bootstrap]
./configure
cd tools; make; cd ..
make info
[make clean]
make dist
=> This generates a rtems-<version>.tar.gz in the toplevel directory.
=> Building the tools only is required after a "cvs co", but not in a
distribution tarball.
Gauthier <charles.gauthier@nrc.ca>. The power supply in their
VMEbus cage died so it was submitted at this point. It passes ttcp
which is a really good sign but they would like to do more testing
and cleanup once their hardware is functional again. Please
contact them if you are interested in using or fixing this driver.
As their comments indicate, the performance is actually quite good
even at this point as indicated by the ttcp results.
Please note that this is by no means a final version. The code is still
fairly ugly, and will require some further fixing. On the bright side, what
is attached works. I finally ran the test programs successfully with
optimized code and data cache enabled:
netdemos worked, but failed on the UDP transfer (runs out of buffers).
ttcp worked, with something like 1036 KB/sec Rx, 952 KB/sec Tx.
tftp worked
linkcmds updated, simio references removed, and switch to libchip for
serial ports from simio.
Added a MEMORY_MAP file to capture information about the various
addresses on this board.
In addition, many of the beta patches are now included.
pwd=`pwd` && cd $(srcdir) && $(M4) < $*.adp > $${pwd}/$*.adb
Some files were not shown because too many files have changed in this diff
Show More
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.