Compare commits

..

433 Commits
4.11 ... 4.10

Author SHA1 Message Date
Gedare Bloom
e3f6d35f65 cpukit/score: avoid NULL and races in priority mutex
The PIP modifications from #3359 introduced new data structures
to track priority inheritance. Prioritized mutexes without PIP
share some of the code paths, and may result in NULL pointer
accesses. This patch checks for NULL, and also adds ISR critical
sections to an uncovered corner case during thread restarts.

Closes #3829.
2020-01-03 09:10:09 -07:00
Jonathan Brandmeyer
e816b4e961 shell: Correct argument order of mfill
Close #3723.

(cherry picked from commit 2e8a66d13f)
2019-03-14 09:56:40 -04:00
Sebastian Huber
68f2ea07c2 rfs: Remove erroneous call of rtems_disk_release()
The function rtems_rfs_buffer_sync() erroneously calls
rtems_disk_release(). This screws up the reference counting of the disk.

Close #3495.
2018-08-10 06:58:56 +02:00
Sebastian Huber
680d765089 sptests/sp36: Remove obsolete test program
It tests the (never really working) strict order mutex option.

Close #3406.
2018-06-19 07:59:57 +02:00
Gedare Bloom
b50468c6bf score: add Inherited_priorities priority queue and functions
Adds enqueue, dequeue, requeue, evaluate, and release functions
for the thread priority node priority queue of inherited priorities.
Add calls to these functions as needed to maintain the priority
queue due to blocking, unblocking, and priority changes.

Closes #3359.
2018-03-23 11:33:59 -04:00
Gedare Bloom
78b867e26d score: replace current and real priority with priority node
Encapsulate the current_priority and real_priority fields of
the thread control block with a Thread_Priority_node struct.
Propagate modifications throughout the tree where the two
fields are directly accessed.

Updates #3359.
2018-03-23 11:33:59 -04:00
Gedare Bloom
776caaed01 sptests: Add spmutex01 to build 2018-03-23 11:33:59 -04:00
Sebastian Huber
83e6cefaaf sptests/spmutex01: test flush with inherit prio 2018-03-23 11:33:59 -04:00
Gedare Bloom
95d5a0a9c9 sptests/spmutex01: strip out deadlock, c11, posix 2018-03-23 11:33:59 -04:00
Sebastian Huber
f9126f6629 sptests/spmutex01: add tests for lock nesting 2018-03-23 11:33:59 -04:00
Sebastian Huber
fc027be4f9 sptests/spmutex01: refactor and add deadlock test 2018-03-23 11:33:59 -04:00
Sebastian Huber
a5c1b2be0c score: Test thread priority queue disciplines
Add test sptests/spmutex01, since no existing uni-processor test covered
the thread priority queueing discipline for CORE mutexes.
2018-03-23 11:33:59 -04:00
Gedare Bloom
9f011b97d9 sptests/spsem05: another test of prio stepdown on sem release 2018-03-23 11:33:59 -04:00
Gedare Bloom
8e1421f6e3 sptests/spsem04: test prio stepdown on sem release
Closes #3263.
2018-03-23 11:33:59 -04:00
Gedare Bloom
79cf35de9b sptests: back-port spsem01, spsem02, and spsem03 from 4.11 2018-03-23 11:33:59 -04:00
Sebastian Huber
d1d4e0172a bsps: Fix rtems_interrupt_server_handler_remove() 2018-01-11 13:07:35 -05:00
Ralf Kirchner
95f3656ae9 dosfs: Fix msdos_format()
For FAT32 msdos_format() used to initialize first FAT entries to
non-zero values only if a volume label was given.  Absence of these
entries made mounting such a FAT32 volume fail.
2018-01-11 13:00:15 -05:00
Sebastian Huber
45f9cd01f5 libnetworking: Disconnect after mbuf shortage
The missing disconnect left the socket in an unusable state.  Each send
request resulted in an EISCONN error.
2018-01-11 12:43:25 -05:00
Sebastian Huber
0e75aae563 score: Use _Workspace_Allocate_or_fatal_error()
Use _Workspace_Allocate_or_fatal_error() consistently in case auto
extend is turned off.  This helps to avoid undefined behaviour in
_API_Mutex_Allocate() in case _API_Mutex_Information() fails.
2018-01-11 12:37:45 -05:00
Sebastian Huber
b6b8cd7fb1 rtems: PR1844: Fix MP process packet size 2018-01-11 12:27:26 -05:00
Sebastian Huber
17fa7d6160 librpc: PR2066: Fix for short enums
The XDR library has a problem on architectures with short enums like the
default ARM EABI.  Short enums means that the size of the enum type is
variable and the smallest integer type to hold all enum values will be
selected.  For many enums this is char.  The XDR library uses int32_t
for enum_t.  There are several evil casts from an enum type to enum_t
which leads to invalid memory accesses on short enum architectures.  A
workaround is to add appropriate dummy enum values.
2018-01-11 12:13:32 -05:00
Sebastien Bourdeauducq
a078d6f0ab network/bootp: PR2031: Add and use header file 2018-01-11 12:13:21 -05:00
Sebastian Huber
89dd2ec437 dosfs: Fix for no space left on device condition
The file size was wrong in the no space left on device condition.  This
resulted in turn in a read of an invalid block which lead to an EIO
error status.
2018-01-11 12:12:53 -05:00
Sebastien Bourdeauducq
0d653397a9 network/dhcp: PR1841: Fix DNS processing in DHCP 2018-01-11 12:08:24 -05:00
Gedare Bloom
991e1b8594 score/chain: Fix _Chain_Is_first and _Chain_Is_last
Updates #1964.
2018-01-10 09:42:02 -05:00
Michael Davidsaver
aecb508673 tftpDriver: don't free directory node's path string
Update #2375.
2017-01-26 07:41:42 +01:00
Michael Davidsaver
05d84959f7 tftpDriver: backport fixes
ensure that node_access is comparable in unmount()

Update #2375.
2017-01-26 07:41:38 +01:00
Michael Davidsaver
4bcbd8d6f0 tftpDriver: apply changes through master
from 4.10.2-15-g5b21eb6
to eb7753437f

Update #2375.
2017-01-26 07:41:24 +01:00
Joel Sherrill
e2f7059d7e m32csim-testsuite.tcfg: m32csim now completes build 2016-09-06 18:34:52 -05:00
Joel Sherrill
85910040d8 Backport capability to exclude tests from building
Backported build infrastructure and .tcfg files from master.
2016-09-06 10:31:16 +10:00
Joel Sherrill
7dc65fa6a6 Add autotools generated files 2016-09-04 19:48:45 -05:00
Chris Johns
b9d871f9e1 rtems-test-check: Ignore tests which require real ISR based clock tick
BSPs for simulators which do not include a clock tick interrupt source
are incapable of running some tests successfully. This is a common
characteristic of some BSPs and a fixed set of tests. There is no point
in duplicating this list of tests in those BSPs test configuration.

Read testsuites/testdata/require-tick-isr.tcfg for details.

Conflicts:
	testsuites/automake/test-subdirs.am
	tools/build/rtems-test-check
2016-09-04 19:38:15 -05:00
Chris Johns
c1d7c5fa6e Change version to 4.10 to the rtems-bsps. 2016-09-04 12:29:40 +10:00
Chris Johns
f2aef52881 Back port rtems-bsps for use in the release procedure. 2016-09-02 13:37:42 +10:00
Sebastian Huber
6adad1e70a fat: Fix for invalid cluster sizes
A cluster size > 32KiB resulted in an infinite loop in
fat_init_volume_info() due to an integer overflow.

Update #2717.
2016-05-20 08:15:24 +02:00
Sebastian Huber
d346f705e2 posix: Fix return states of pthread_kill()
POSIX mandates that an error code is returned and not -1 plus errno.

Update #2715.
2016-05-17 13:48:08 +02:00
Sebastian Huber
e34b7a8d40 posix: Fix return status of pthread_cancel()
POSIX recommends ESRCH in case no thread exists for the specified
identifier.

Update #2713.
2016-05-17 08:42:10 +02:00
Sebastian Huber
90b51b5a44 RFS: Fix resource leak
Update #2433.
2015-10-21 10:05:47 +02:00
Nick Withers
3699161a36 Fixes breakage on at least FreeBSD.
closes #2379.
2015-08-01 10:15:43 -07:00
Michael Davidsaver
a4e052b53f tftpDriver: close() false error
closes #2376.
2015-07-29 11:04:18 -05:00
Jeffrey Hill
0f3388d1f3 rpc: misaligned pointer dereference in clnt_udp.c line 363
see #2248
2015-02-23 12:27:05 -05:00
Jeffrey Hill
2fc3deae2e rpc: misaligned address exception in get_myaddress.c
updates #2249 see #1401
2015-02-23 12:07:37 -05:00
Till Straumann
70148eef28 networking: alignment exception in ioctl(SIOCGIFCONF)
Access memory using a byte stream when copying to avoid unaligned
access. update #1401
2015-02-23 10:48:56 -05:00
Till Strauman
0863e8e390 pc386: scan all functions of multi-function PCI devices
The current algorithm scans all PCI busses (0..ff)
 and all devices (0..31) on each bus for bridges
 and determines the maximum of all subordinate
 busses encountered.

 However, the algorithm does not scan all functions
 present in multi-function devices -- I have a PCI express
 root complex (82801H) where multiple (non-zero index)
 functions are 'PCI bridges' whose subordinate bus number is
 missed by the original algorithm.

 This commit makes sure that the scan
 is extended to all functions of multi-function
 devices.

 See #2067
2014-12-23 22:29:08 -05:00
Sebastian Huber
f0f2a3dc19 bdbuf: Fix race condition with sync active flag
Bug report by Oleg Kravtsov:

In rtems_bdbuf_swapout_processing() function there is the following
lines:

if (bdbuf_cache.sync_active && !transfered_buffers)
{

    rtems_id sync_requester;
    rtems_bdbuf_lock_cache ();
    ...

}

Here access to bdbuf_cache.sync_active is not protected with anything.
Imagine the following test case:

1. Task1 releases buffer(s) with bdbuf_release_modified() calls;

2. After a while swapout task starts and flushes all buffers;

3. In the end of that swapout flush we are before that part of code, and
assume there is task switching (just before "if (bdbuf_cache.sync_active
&& !transfered_buffers)");

4. Some other task (with higher priority) does bdbuf_release_modified
and rtems_bdbuf_syncdev().

This task successfully gets both locks sync and pool (in
rtems_bdbuf_syncdev() function), sets sync_active to true and starts
waiting for RTEMS_BDBUF_TRANSFER_SYNC event with only sync lock got.

5. Task switching happens again and we are again before "if
(bdbuf_cache.sync_active && !transfered_buffers)".

As the result we check sync_active and we come inside that "if"
statement.

6. The result is that we send RTEMS_BDBUF_TRANSFER_SYNC event! Though
ALL modified messages of that task are not flushed yet!

close #1485
2014-11-28 11:15:18 +01:00
Pavel Pisa
7d015db0c6 SPI SD-Card: adapt common driver code to block devices core API changes.
close #1558
2014-11-27 11:00:48 +01:00
Sebastian Huber
0444c03180 Avoid buffer overflow and misaligned memory access 2014-11-24 08:58:24 +01:00
Sebastian Huber
d1d31a5f61 ppp: PR1943: Avoid NULL pointer access
Waiting for mbufs at this level is a bad solution.  It would be better
to try to allocate a new mbuf chain before we hand over the current mbuf
chain to the upper layer.  In case the allocation fails we should drop
the current packet and use its mbuf chain for a new packet.
2014-11-22 09:33:12 -05:00
Nickolay Semyonov
b47dffc510 capture: back-port conversion from task_name to task_id (see #1361) 2014-11-22 09:05:07 -05:00
Sebastian Huber
a62a3c32b1 score: PR2179: Fix initially locked PI mutex 2014-08-20 07:24:16 +02:00
Sebastian Huber
f8811e4364 ramdisk: Fix device name generation 2014-06-27 16:34:32 +02:00
Sebastian Huber
272a80b776 score: PR2179: Fix initially locked PCP mutexes
Elevate the priority of the creating task to the ceiling priority in
case a semaphore is created as initially locked.
2014-05-23 09:04:17 +02:00
Till Strauman
907cfb1e2f posix: fix race condition between pthread_create and capture engine
Fix PR 2068:
Reproducable crashes occur when using pthreads and the capture engine
at the same time. 'pthread_create()' is the culprit. It creates a SCORE thread
and then calls Thread_Start( ) without disabling thread-dispatching.
2014-04-11 15:40:16 -04:00
Aleksandr Platonov
fc48ad84c7 rtems_cache_invalidate_multiple_instruction_lines
According with comment in
rtems_cache_invalidate_multiple_instruction_lines(), final_address
indicates the last address which needs to be invalidated.  But if in
while loop we got final_address == i_addr condition then loop breaks and
final_address will not be invalidated.
2014-01-14 14:46:07 +01:00
Joel Sherrill
387c90b9a8 sparc.t: Correct for V8/V9 2013-11-20 15:53:27 -06:00
Pavel Pisa
df29cfeb0c SPI SD-Card: setup valid CRC-7 for STOP_TRANSMISSION command.
STOP_TRANSMISSION command is used to finish READ_MULTIPLE_BLOCK
command and its format is regular command format.
It requires valid CRC-7 to have effect at least on
same cards types else it is ignored and attempt
to issue next READ or WRITE commands results in
illegal command condition (0x04) preceded by strange
(0x3f) for tested card.

Signed-off-by: Pavel Pisa <ppisa@pikron.com>
2013-10-08 11:16:15 +02:00
Pavel Pisa
7c709c05e9 Backport of development SPI SD-card patches to RTEMS 4.10.
Arnout Vandecappelle:

        PR 1569/misc
        * libchip/i2c/spi-sd-card.c: Added CRC checks.

        PR 1576/misc
        * libchip/i2c/spi-sd-card.c: Enable CRC checks.

        PR 1567/misc
        * libchip/i2c/spi-sd-card.h, libchip/i2c/spi-sd-card.c: Fixed
        timeouts.

        PR 1579/misc
        * libchip/i2c/spi-sd-card.c: Gradually increasing sleep times when
        waiting for write to finish.

        PR 1580/misc
        * libchip/i2c/spi-sd-card.c: Use bigger chunks and yield processor
        while waiting for read data.

        PR 1586/misc
        * libchip/i2c/spi-sd-card.h, libchip/i2c/spi-sd-card.c: Add retries to
        SD card accesses.

Signed-off-by: Pavel Pisa <ppisa@pikron.com>
2013-10-08 11:14:42 +02:00
Sebastian Huber
ab0da63e3c score: PR2140: Fix _Thread_queue_Process_timeout()
The _Thread_queue_Process_timeout() operation had several race
conditions in the event of nested interrupts.  Protect the critical
sections via disabled interrupts.
2013-08-26 10:22:36 +02:00
Sebastian Huber
2077ae4cc8 score: PR2140: _Thread_queue_Extract()
Return if the executing context performed the extract operation since
interrupts may interfere.
2013-08-26 10:22:18 +02:00
Sebastian Huber
db99ce7ced libblock: PR2040: Avoid NULL pointer access
This partly reverts commit 08b9d53460.

Avoid a NULL pointer access and perform the source segment erase if
necessary.
2013-08-23 09:34:13 +02:00
Pavel Pisa
356b8c7baa bsp/csb336: Memory map update to support i.MX1 based PiMX1 as well.
CSB336 i.MX1/i.MXS memory map organization

 - SDRAM starts at address 0x08000000 but 2 MB are reserved
   for boot-block/loader (or other use) before RTEMS image
   origin/load address (that is kept from previous setup)

 - Caching of 30 MB of SDRAM used for RTEMS (start at 0x08200000)
   is changed to writeback mode which provides higher throughput.

 - The first 1 MB of RTEMS dedicated SDRAM is remapped to address 0
   to provide area for ARM CPU exceptions table.

 - Internal registers and rest of the Flash (above 1 MB) are mapped
   one to one. Registers region is extended to 2 MB to cover
   eSRAM found on i.MX1 chip variant.

 - The first two megabytes of SDRAM unused by RTEMS are mapped
   with attributes to allow specific purposes.

   - the first MB (at address 0x08000000) is nocached to allow
     directly set some values read by booot-block after warm reset

   - the second MB (at address 0x08100000) is set for write-through
     caching.  That allows to use memory for LCD frame-buffer without
     need to flush cache after each redraw.

Signed-off-by: Pavel Pisa <pi@baree.pikron.com>
2013-08-19 14:25:22 +02:00
Pavel Pisa
a791d39818 bsp/csb336: implement bsp_interrupt_vector_enable/disable.
Signed-off-by: Pavel Pisa <ppisa@pikron.com>
2013-08-19 14:25:18 +02:00
Pavel Pisa
4eeddefb22 bsp/csb336: mc9328mxl correct AITC access in bsp_interrupt_dispatch.
The original version is missing void and result is that (*x >> 16) is
optimized to ldh rX,[rY]. But it is not allowed/supported to access
bus/address range used by AITC by other than 32 bit wide accesses
and 16-bit access results in the data abort exception.
The corrected version works on real hardware and is even
more readable.

Signed-off-by: Pavel Pisa <ppisa@pikron.com>
2013-08-19 10:54:02 +02:00
Daron Chabot
833eeae358 Add c++ guard to header. 2013-05-16 11:47:09 +02:00
Sebastian Huber
8949e5b1a1 score: Fix _Objects_Shrink_information()
The chain iteration was wrong.  The chain tail is not an object.
2013-01-07 16:34:18 +01:00
Sebastian Huber
39691cd1b1 rtems: Critical fix for events
Commit 4b45c1393c marked a test in
_Event_Timeout() as debug only.  This test is required also in non-debug
configurations since otherwise state corruption can happen.  A revised
test sptests/spintrcritical10 checks the relevant sequences.
2013-01-07 15:21:40 +01:00
Sebastian Huber
073e3e106b score: Critical fix for timer server
Under certain conditions it is possible that a call to
_Watchdog_Adjust_to_chain() happens with a unit parameter value of zero
(for example sptests/spintrcritical17).  Remove superfluous checks that
prevent an adjust to a chain of a watchdog chain which first element has
a delta zero value.
2012-12-06 10:01:24 +01:00
Dylan Maxwell
d29f206209 tftpfs: PR1624: Fix parsing of hostnames and paths 2012-12-06 09:50:20 +01:00
Ralf Corsépius
c160bc2e97 Remove stray '/'. 2012-10-10 14:49:19 +02:00
Gedare Bloom
d692342a01 Delete lingering bspopts.h.in file 2012-08-09 10:26:07 -04:00
Ralf Corsépius
67aeb83f27 Use http://www.rtems.org/bugzilla as bug-URL. 2012-08-09 09:49:13 -04:00
Sebastian Huber
811e4b98ff libblock: Fix purge device tree traversal 2012-08-09 09:49:13 -04:00
Sebastian Huber
57d29cd5a9 bsp/genmcf548x: Enable FPU in BSP startup code 2012-05-02 10:27:08 +02:00
Sebastian Huber
eeb965b325 bsp/genmcf548x: Fix BSP options 2012-05-02 10:26:45 +02:00
Sebastian Huber
29c8aa6494 libblock: PR2040: Fix recycle destination update
Check the availablity of a recycle destination segment only when it is
necessary to avoid missing resycle source segment erasures.
2012-04-16 11:08:50 +02:00
Sebastian Huber
4abb14e5ca libblock: PR2040: Add starvation threshold
Do not use the unavailable block count as the erased blocks starvation
threshold.  Use instead the block count of the largest segment.  This
improves the starvation resolution gain of available blocks.
2012-04-16 11:08:38 +02:00
Sebastian Huber
108d6de7be PR2040: libtests/flashdisk01: New test 2012-03-14 11:27:15 +01:00
Sebastian Huber
941d470db4 PR2040: libblock: Flash disk starvations statistic 2012-03-14 11:27:14 +01:00
Sebastian Huber
1c47c470b3 PR2040: libblock: Flash disk documentation 2012-03-14 11:27:14 +01:00
Sebastian Huber
7b646be2bb PR2040: libblock: Fix return status 2012-03-14 11:26:17 +01:00
Sebastian Huber
b3142bdc50 PR2040: libblock: Avoid erased blocks starvation
The compaction process needs erased blocks.  It is only possible to
erase an entire segment.  Thus in order to make a progress we always
need enough erased blocks to empty a used or available segment which can
be erased in turn.  A (possibly the worst case) lower bound of erased
blocks is the block count of the largest segment.  The number of
unavailable blocks specified by the configuration will be used to
determine the erase blocks starvation situation.  The number of
unavailable blocks must be greater than or equal to the number of blocks
in the largest segment.
2012-03-14 11:26:17 +01:00
Sebastian Huber
d22a91e8f2 PR2040: libblock: Track number of erased blocks 2012-03-14 11:26:17 +01:00
Sebastian Huber
55e4783372 PR2040: libblock: Use segment control as parameter 2012-03-14 11:26:17 +01:00
Sebastian Huber
f38caffa62 PR2039: Fix NULL pointer access
In case rtems_bdbuf_read() returns an error status, the block device
buffer pointer will be set to NULL.  In RFS the chain node of the block
device buffer will be used for RFS purposes.  We must not do this after
an erroneous read.
2012-03-14 09:04:40 +01:00
Sebastian Huber
cb648b75ff PR 2026/filesystem - Fix semaphore attributes
Semaphores of type RTEMS_SIMPLE_BINARY_SEMAPHORE are not suitable for a
mutex.  Use RTEMS_BINARY_SEMAPHORE with RTEMS_INHERIT_PRIORITY instead.
2012-02-23 11:42:32 +01:00
Joel Sherrill
3f85deb858 PR 2015 - LEON3: make SHM driver configurable using weak symbols
PR 2015/bsps

Since the configuration struct is always present one can let
DATA initialize it to reduce footprint, at the same time it
is made weak to let the user able to configure the SHM driver
without editing the driver code.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2012-02-17 14:25:13 -06:00
Ralf Corsépius
b0e718521f Remove (Moved to git.rtems.org/data/git/rtems-crossrpms.git). 2012-02-17 15:56:24 +01:00
Joel Sherrill
7f0ad21d15 PR 2001/shell - medit command argument parsing correction
"medit" overran the argument list, choking on the NULL pointer
following the last argument.

Note that "medit" still only does byte-sized accesses, which limits
its usefulness on most systems.

Author: Werner Almesberger <werner@almesberger.net>
Signed-off-by: Sebastien Bourdeauducq <sebastien@milkymist.org>
2012-02-03 16:04:13 -06:00
Joel Sherrill
bcd065cc16 PR 2012 - mdump/wdump shell cmds handle length arg incorrectly; add ldump cmd
* libmisc/shell/main_mdump.c: Reworked to fix bugs in handling of the
	length argument and to provide an "ldump" command.  This file now also
	supports the "wdump" command.  In addition, an RTEMS API function called
	rtems_mdump() is provided to allow easy dumping from application code.
	* libmisc/shell/main_mwdump.c: Obsolete file.
	* libmisc/Makefile.am: Removed main_mwdump.c
	* libmisc/shell/shellconfig.h: Added "ldump" command.
	* shell/memory.t: Added documentation for the "ldump" command

Signed-off-by: Ric Claus <claus@SLAC.Stanford.edu>
2012-02-02 14:59:15 -06:00
Joel Sherrill
5de3d254e9 PR 2012 - mdump/wdump shell cmds handle length arg incorrectly; add ldump cmd
* libmisc/shell/main_mdump.c: Reworked to fix bugs in handling of the
	length argument and to provide an "ldump" command.  This file now also
	supports the "wdump" command.  In addition, an RTEMS API function called
	rtems_mdump() is provided to allow easy dumping from application code.
	* libmisc/shell/main_mwdump.c: Obsolete file.
	* libmisc/Makefile.am: Removed main_mwdump.c
	* libmisc/shell/shellconfig.h: Added "ldump" command.
	* shell/memory.t: Added documentation for the "ldump" command

Signed-off-by: Ric Claus <claus@SLAC.Stanford.edu>
2012-02-02 14:58:33 -06:00
Joel Sherrill
43a26e8a02 PR 1962/bsps - MVME162 Console Corrections and Improvements
* console/console.c: char_ready() was never returning true so console
	never processed input data
	* console/console.c: added printk() support to default device
	* include/bsp.h: Added #define for MOT_162BUG_VEC_ADDRESS
	* startup/bspclean.c: Modified to use MOT_162BUG_VEC_ADDRESS
	* startup/bspstart.c: Modified to use MOT_162BUG_VEC_ADDRESS
	* make/custom/mvme162.cfg: Modified to use "RTEMS_CPU_MODEL=68lc040"
	and "CPU_CFLAGS = -mcpu=68040 -msoft-float" so BSP will always
	work with all board variations.
	* README: Added notes on user required configuration changes and
	information about board models and variants
	* README.models: New file that contains a detailed list of MVME162
	models and variants.

Signed-off-by: Vic Hoover <victor.hoover.ctr@navy.mil>
2012-02-02 14:08:36 -06:00
Joel Sherrill
c5ee080497 PR 1998/networking - Move ftpd root initialization
From: Xiangfu <xiangfu@sharism.cc>
Signed-off-by: Xiangfu <xiangfu@sharism.cc>
2012-02-02 13:31:29 -06:00
Joel Sherrill
b5902b8ff7 PR 2011/networking - GRETH: performance improvements and one bugfix
GRETH driver updated, 10-15% performance improvements for GBIT MAC,
unnecessary RX interrupts not taken which under heavy load saves approx.
1500 interrupts/s, one task removed saving about 5kb memory and 1 bug
solved.

BUG: RX interrupt was enabled before the RX-daemon was created which could
result in a faulty call to rtems_event_send.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2012-02-02 13:06:51 -06:00
Joel Sherrill
1fe02576f0 PR 2011/networking GRETH: Moved print to remove potential deadlock
Deadlock may arise when the EDCL bug link is used to tunnel
console output over Ethernet, when Ethernet is down one should
avoid using console (only during debugging of LEON targets)

Author: Marko Isomaki <marko@gaisler.com>
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2012-02-02 13:04:49 -06:00
Daniel Hellstrom
9591970856 LEON3: change d-cache snoop detect implementation
PR 2010/bsps

The previous code only checked if d-cache snooping was implemented,
however snooping may be available but not enabled which may lead
to driver bugs.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2012-02-02 12:08:01 -06:00
Joel Sherrill
45eaf8ccb4 LEON3: CPU index intialization moved to bspstart.c
2009/bsps

All LEON3/4 systems have a CPU-id, if on a single-CPU system the
ID is always zero. On a multicore system it ranges from 0 to 15.

The CPU index should always by updated even in a non-MP RTEMS OS
since the CPU running RTEMS may not always be CPU0. For example
when RTEMS runs on CPU1 and Linux on CPU0 in a mixed ASMP system.

The old code executed within the IRQ controller initialization code
makes no sense since the ASR register is a CPU register, it has
nothing to do with AMBA initialization either.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2012-02-02 11:22:19 -06:00
Daniel Hellstrom
954099e462 LEON3: fix compiler warning in SHM driver
PR 2008/bsps

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2012-02-02 10:33:23 -06:00
Joel Sherrill
6698f2714f Add .git ignore. Remove .cvsignore 2012-02-02 10:17:12 -06:00
Joel Sherrill
3c5c7dd963 Add .git ignore. Remove .cvsignore 2012-02-02 10:16:26 -06:00
Daniel Hellstrom
9530716cd4 LEON3BSP MP: may wake one more CPU than expected
The SHM code always wakes one CPU more that configured, however
this has never been a problem since RTEMS will be running on all CPUs
or only two cores were available.

PR 2006/bsps

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2012-02-02 10:09:46 -06:00
Joel Sherrill
0ae9ee1da4 Upgrade to 4.10.2 2011-12-13 14:34:19 +00:00
Joel Sherrill
a9069337a5 2011-12-09 Joel Sherrill <joel.sherrilL@OARcorp.com>
* math/init.c, mathf/init.c: Use DEVFS since we do have devices.
2011-12-09 19:19:28 +00:00
Chris Johns
afaa753b5a 2011-12-09 Chris Johns <chrisj@rtems.org>
PR 1968/filesystem
        * libfs/src/rfs/rtems-rfs-file.c: Fix to the seek bug where a seek
        to 0 after reading the end of the file did not point to the
        correct block.
        * libfs/src/rfs/rtems-rfs-rtems.h,
        libfs/src/rfs/rtems-rfs-trace.c: Fix the trace flags. Used to fix
        the bug.
2011-12-09 07:12:27 +00:00
Joel Sherrill
10fa27d64d 2011-12-07 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1984/doc
	* user/conf.t: Change CONFIGURE_MINIMUM_STACK_SIZE to
	CONFIGURE_MINIMUM_TASK_STACK_SIZE.
2011-12-07 20:08:49 +00:00
Ralf Corsepius
d1cbfaa89e 2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1983/networking
	* libnetworking/libc/gethostbyht.c (gethostent_r):
	Abort if (!hostf).
2011-12-07 06:51:43 +00:00
Ralf Corsepius
2fc9706a56 2011-11-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/rpc/clnt_udp.c (struct cu_data):
	Introduce unions _cu_inbuf, _cu_outbuf to avoid aliasing.
2011-11-30 07:00:47 +00:00
Joel Sherrill
3d83ae583c 2011-11-28 Werner Almesberger <werner@almesberger.net>
PR 1961/cpukit
	* score/src/coremsgsubmit.c: Close window caused by using message
	pending count rather than directly obtaining unused buffer.
2011-11-28 16:36:31 +00:00
Ralf Corsepius
9981ef0e6b Housekeeping. 2011-11-16 03:22:10 +00:00
Ralf Corsepius
5c872dee16 Regenerate. 2011-11-16 03:20:24 +00:00
Ralf Corsepius
e2292101d8 Bump GCC_RPMREL. 2011-11-16 03:19:29 +00:00
Ralf Corsepius
09b41d2262 Back port from CVS-HEAD. 2011-11-16 03:18:43 +00:00
Joel Sherrill
5b6f5447c5 2011-11-09 Jennifer Averett <jennifer.averett@oarcorp.com>
PR 1934/bsps
	* libchip/serial/ns16550.c: Change to unsigned variable.
2011-11-09 20:51:08 +00:00
Joel Sherrill
8d4d978d67 Move entries to correct file. 2011-11-09 18:52:25 +00:00
Joel Sherrill
294a609e9f 2011-11-09 Werner Almesberger <werner@almesberger.net>
PR 1954/cpukit
	* rtems/score/lm32.h: Protect against macro expansion.
2011-11-09 18:51:29 +00:00
Joel Sherrill
e3fbffb712 2011-11-09 Werner Almesberger <werner@almesberger.net>
PR 1957/cpukit
	* score/include/rtems/score/coremutex.h,
	score/inline/rtems/score/threadmp.inl: Add parentheses to protect
	macro arguments.
2011-11-09 18:44:01 +00:00
Joel Sherrill
c937e8fc18 2011-11-09 Werner Almesberger <werner@almesberger.net>
PR 1955/cpukit
	* rtems/score/cpu.h: Convert CPU_swap_u16 into a static inline.
2011-11-09 15:15:40 +00:00
Joel Sherrill
41fb7c43f3 2011-11-07 Ralf Corsepius <ralf.corsepius@rtems.org>
PR 1952/cpukit
	* libmisc/untar/untar.c: Add return code for failure when unable to
	write file.
2011-11-07 21:42:37 +00:00
Chris Johns
4c5e2fcf7e 2011-11-03 Chris Johns <chrisj@rtems.org>
PR 1948/filesystem
        * libfs/src/rfs/rtems-rfs-file-system.c,
        libfs/src/rfs/rtems-rfs-file-system.h,
        libfs/src/rfs/rtems-rfs-format.c, libfs/src/rfs/rtems-rfs-rtems.c:
        Add support for mount passing an ASCIIZ string containing
        configuration options.
        * libblock/src/bdbuf.c: Fix state labels in trace output.
2011-11-03 04:23:07 +00:00
Ralf Corsepius
478fb7eb99 GDB_RPMREL = 2. 2011-10-31 08:08:47 +00:00
Ralf Corsepius
424b1bddeb 2011-10-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/serdbg/serdbg.h (putDebugChar, getDebugChar):
	Remove duplicate decls.
2011-10-09 04:48:19 +00:00
Ralf Corsepius
981a831e72 Regenerate. 2011-09-19 22:45:55 +00:00
Ralf Corsepius
9b0be4d6d7 Bump GDB_RPMREL. 2011-09-19 22:45:24 +00:00
Ralf Corsepius
234e280605 Renamer from CVS-HEAD. 2011-09-19 22:44:36 +00:00
Ralf Corsepius
224463dd16 Upgrade to gdb-7.3.1 2011-09-19 22:43:38 +00:00
Ralf Corsepius
84019c592b Sync with CVS-HEAD. 2011-09-19 22:42:33 +00:00
Joel Sherrill
a1bfb335c0 2011-09-01 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1895/cpukit
	* posix/src/mqueuerecvsupp.c, posix/src/pthreadjoin.c,
	score/src/coretodmsecstoticks.c, score/src/coretodusectoticks.c,
	score/src/timespectoticks.c: Ensure time conversions to ticks do not
	ignore partial tick and return 1 less than desired.
2011-09-01 18:24:57 +00:00
Ralf Corsepius
bebd101268 Remove. 2011-08-29 09:49:06 +00:00
Ralf Corsepius
1d204aed83 Cleanup. 2011-08-29 07:28:29 +00:00
Ralf Corsepius
1ea6e6ecc5 Regenerate. 2011-08-29 05:40:15 +00:00
Ralf Corsepius
b1e0b6a787 GCC_RPMREL = 3. 2011-08-29 05:38:47 +00:00
Ralf Corsepius
1b818282a9 Abandon gcc-4.4.5.
gcc-core-4.4.6-rtems4.10-20110829.diff.
gcc-g++-4.4.6-rtems4.10-20110829.diff.
2011-08-29 05:36:02 +00:00
Ralf Corsepius
089ab39484 New (Address OS X 10.7.1 build breakdowns). 2011-08-29 05:32:49 +00:00
Joel Sherrill
0b10f44e2d 2011-08-21 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1890/cpukit
	* psxmsgq01/init.c: POSIX says msg_prio is allowed to be NULL.
2011-08-21 19:59:56 +00:00
Sebastian Huber
391f35c8ff 2011-08-15 Julien Delange <julien.delange@gmail.com>
* irq/irq.c: Removed printk() before the interrupt initialization
	because it somehow destroys the interrupt context.
	* make/custom/nds.cfg: Enable Thumb interwork.
	* startup/bspstart.c: Set default exception handler.
2011-08-15 08:14:31 +00:00
Ralf Corsepius
ded0bfa42b Abandon fedora-13. 2011-08-04 04:57:46 +00:00
Joel Sherrill
eaad7ce078 2011-07-31 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1855/cpukit
	* Makefile.am, configure.ac: Correct signal processing during
	pthread_join. We are supposed to unblock the thread waiting on a
	pthread_join(), dispatch the signal handler, account for it
	potentially overwriting errno, and then have the thread return to
	blocking within pthread_join().
	* psxeintr_join/.cvsignore, psxeintr_join/Makefile.am,
	psxeintr_join/init.c, psxeintr_join/psxeintr_join.doc,
	psxeintr_join/psxeintr_join.scn: New files.
2011-07-31 22:40:53 +00:00
Joel Sherrill
426eb35f03 2011-07-31 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1855/cpukit
	* posix/src/psignal.c, posix/src/psignalunblockthread.c,
	posix/src/pthread.c, posix/src/pthreadjoin.c: Correct signal
	processing during pthread_join. We are supposed to unblock the thread
	waiting on a pthread_join(), dispatch the signal handler, account for
	it potentially overwriting errno, and then have the thread return to
	blocking within pthread_join().
2011-07-31 22:40:43 +00:00
Joel Sherrill
0126591e0a 2011-07-31 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1867/cpukit
	* Makefile.am, configure.ac, psx12/task.c, psxkey03/init.c,
	psxrwlock01/test.c: Correct implementation of pthread_exit() and
	pthread_join() to support the case where a thread is joinable but
	calls pthread_exit() before a thread has attempted to join.
	* psx16/.cvsignore, psx16/Makefile.am, psx16/init.c, psx16/psx16.doc,
	psx16/psx16.scn: New files.
2011-07-31 16:16:43 +00:00
Joel Sherrill
1389334318 2011-07-31 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1867/cpukit
	* posix/src/pthreadexit.c, posix/src/pthreadjoin.c: Correct
	implementation of pthread_exit() and pthread_join() to support the
	case where a thread is joinable but calls pthread_exit() before a
	thread has attempted to join.
2011-07-31 16:16:30 +00:00
Joel Sherrill
a9ed9230c6 2011-07-31 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1839/filesystem
	* libcsupport/include/rtems/libio_.h, libcsupport/src/fchdir.c,
	libcsupport/src/fdatasync.c, libcsupport/src/fpathconf.c,
	libcsupport/src/fsync.c, libcsupport/src/ftruncate.c,
	libcsupport/src/read.c, libcsupport/src/readv.c,
	libcsupport/src/write.c, libcsupport/src/writev.c: Some calls did not
	return proper status for permission errors or incorrectly permissions
	at all.
2011-07-31 14:12:29 +00:00
Joel Sherrill
5691dc6d5d 2011-07-29 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1864/doc
	* user/conf.t: Add missing documentation for
	CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUE_DESCRIPTORS,
	CONFIGURE_MAXIMUM_POSIX_BARRIERS , CONFIGURE_MAXIMUM_POSIX_SPINLOCKS,
	CONFIGURE_MAXIMUM_POSIX_RWLOCKS.
2011-07-29 19:50:32 +00:00
Joel Sherrill
c2f26f0d5e 2011-07-26 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1851/doc
	* user/conf.t: Fix typo in CONFIGURE_MESSAGE_BUFFER_MEMORY example.
2011-07-26 14:13:33 +00:00
Joel Sherrill
ca356b5d3a 2011-07-22 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1845/bsps
	* make/custom/rtl22xx_t.cfg: Remove unused line with what is now
	invalid syntax.
2011-07-22 13:12:26 +00:00
Joel Sherrill
395fd11d2e 2011-07-21 Jorge Lopez <jorge.lopez.trescastro@esa.int>
PR 1766/bsps
	* clock/ckinit.c: Add missing read of Timer_Counter_1.
2011-07-21 20:52:27 +00:00
Joel Sherrill
5c2346afa8 Upgrade to 4.10.1 2011-07-21 17:48:36 +00:00
Joel Sherrill
3d2f5a0e79 2011-07-20 Till Straumann <strauman@slac.stanford.edu>
PR 1837/bsps
	* shared/motorola/motorola.c, shared/motorola/motorola.h: Add MVME2400
	board with 750 CPU to list of supported Motorola boards.
2011-07-20 16:39:45 +00:00
Joel Sherrill
3460d8b5a8 formatting. 2011-07-20 13:22:30 +00:00
Joel Sherrill
343304a644 2011-07-19 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1838/filesystem
	* libcsupport/src/fchmod.c: fchmod() does not need a writeable file
	descriptor.
2011-07-19 13:14:09 +00:00
Till Straumann
01eb27f0d0 2011-07-15 Till Straumann <strauman@slac.stanford.edu>
* nfs.c: removed stray Ctrl-M char.
2011-07-15 21:22:23 +00:00
Joel Sherrill
7805594ba8 2011-07-14 Joel Sherrill <joel.sherrilL@OARcorp.com>
* .cvsignore, include/.cvsignore: New files.
2011-07-14 19:25:38 +00:00
Joel Sherrill
8ecd51abba 2011-07-14 Gene Smith <gene.smith@siemens.com>
PR 1381/networking
	* netinet/ip_output.c: If a null or unreachable gateway is
	specified either statically in networkconfig.h or from dhcp/bootp,
	sendto() fails on multicast send with errno "118 Host is unreachable".
	The failure occurs in networking file ip_output.c since it currently
	requires all multicasts to have a valid route to the outside world.
2011-07-14 19:22:04 +00:00
Joel Sherrill
2a329c7a00 2011-07-14 Gene Smith <gene.smith@siemens.com>
PR 1381/networking
	* libnetworking/netinet/ip_output.c: If a null or unreachable gateway
	is specified either statically in networkconfig.h or from dhcp/bootp,
	sendto() fails on multicast send with errno 118 Host
2011-07-14 19:16:20 +00:00
Joel Sherrill
3b06edafb8 2011-07-14 Till Straumann <strauman@slac.stanford.edu>
PR 1833/bsps
	* ne2000/ne2000.c: Addition of multicast support disabled broadcast
	reception. Patch also includes support to work on big endian CPUs.
2011-07-14 14:45:05 +00:00
Joel Sherrill
3960158406 2011-07-13 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1832/libcpu
	* at91rm9200/irq/irq.c: he bsp_interrupt_dispatch routine does not
	determine the correct interrupt source number. According to the
	datasheet, the reading of the interrupt vector register (AIC_IVR)
	notifies the hardware that the OS is taken care of the interrupt.
	Only after AIC_IVR have been read can the correct source number be
	read from the interrupt status register (AIC_ISR).
2011-07-13 20:24:19 +00:00
Joel Sherrill
f606f67762 2011-07-13 Till Straumann <strauman@slac.stanford.edu>
PR 1775/filesystem
	* libfs/src/nfsclient/src/nfs.c: NFSAddress NFS issue where read/write
	problems when requested bytes greater than nfsStBlksize. Failure to
	create files and symlinks.
2011-07-13 19:06:02 +00:00
Till Straumann
d21c73740c 2009-11-09 Till Straumann <strauman@slac.stanford.edu>
* ChangeLog: had forgotten to commit ChangeLog
2011-07-13 16:04:10 +00:00
Chris Johns
a10f0ede0d 2011-07-04 Chris Johns <chrisj@rtems.org>
PR 1827/filesystem
        * libfs/src/rfs/rtems-rfs-rtems.c: Skip the parent (..) path value
        when eval make moving up out of the RFS file system.
2011-07-04 00:27:36 +00:00
Joel Sherrill
fca42af6aa 2011-04-10 Kate Feng <feng@bnl.gov>
PR 1786/bsps
	* Makefile.am: Add support for Altivec.
	* startup/bspstart.c, Makefile.am: Use shared/startup/zerobss.c instead.
	* make/custom/mvme5500.cfg: Change CPU_CFLAGS to
	"-mcpu=7450 -mtune=7450 -Dmpc7455"
	* irq/BSP_irq.c, pci/detect_host_bridge.c, pci.c, pcifinddevice.c:
	Remove warnings.
	* vme/VMEConfig.h, include/bsp.h: use VME shared IRQ handlers.
	* network/if_100MHz/GT64260eth.c: Recycle the Rx mbuf if there
	is any Rx error.
2011-06-17 13:22:25 +00:00
Joel Sherrill
fcd8a63b84 Fix formatting. 2011-06-17 13:22:14 +00:00
Joel Sherrill
880f01b3d7 2011-06-10 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1812/filesystem
	* libfs/src/imfs/imfs_stat.c: stat() implementation for IMFS did not
	set st_blksize field. Set it based upon user configuration.
2011-06-10 18:17:02 +00:00
Chris Johns
771803b459 2011-05-27 Chris Johns <chrisj@rtems.org>
* samples/fileio/init.c, samples/fileio/system.h: Add support for
        create a RAM disk from the shell to aid bug testing on the 4.10
        branch.
2011-05-26 23:37:16 +00:00
Chris Johns
f74c529bd9 2011-05-27 Bo Hansen <mdboha@gmail.com>
PR 1776/networking
        * libnetworking/rtems/rtems_glue.c: Higher resolution microtime()
        for SO_TIMESTAMP.
2011-05-26 23:34:00 +00:00
Ralf Corsepius
336a0df287 2011-05-25 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/rtems/bspIo.h, include/rtems/concat.h,
	include/rtems/irq.h, libblock/include/rtems/bdbuf.h
	libcsupport/include/rtems/libio_.h, libcsupport/src/getuid.c,
	score/include/rtems/score/coremutex.h,
	score/include/rtems/score/heap.h,
	score/include/rtems/score/sysstate.h, score/src/objectidtoname.c,
	score/src/objectnametoid.c, score/src/objectnametoidstring.c,
	score/src/thread.c, score/src/threadchangepriority.c,
	score/src/threadclearstate.c, score/src/threadclose.c,
	score/src/threadcreateidle.c, score/src/threaddelayended.c,
	score/src/threaddispatch.c, score/src/threadget.c,
	score/src/threadhandler.c, score/src/threadinitialize.c,
	score/src/threadloadenv.c, score/src/threadready.c,
	score/src/threadreset.c, score/src/threadrestart.c
	score/src/threadsetpriority.c, score/src/threadsetstate.c,
	score/src/threadsettransient.c, score/src/threadstackallocate.c
	score/src/threadstackfree.c, score/src/threadstart.c:
	Cosmetics from CVS-HEAD.
2011-05-25 14:18:10 +00:00
Ralf Corsepius
dea1dc2033 Cosmetics from CVS-HEAD. 2011-05-25 14:17:53 +00:00
Ralf Corsepius
4667b4d130 Merge with CVS-HEAD. 2011-05-25 11:23:30 +00:00
Ralf Corsepius
3342963ed1 2011-05-25 Ralf Corsépius <ralf.corsepius@rtems.org>
* libblock/src/flashdisk.c, libblock/src/nvdisk.c:
	Add va_end() (Backport from HEAD).
2011-05-25 04:48:10 +00:00
Ralf Corsepius
c53e0e31f3 Regenerate. 2011-05-20 04:24:08 +00:00
Ralf Corsepius
882382d2cb gdb-7.2. 2011-05-20 04:22:41 +00:00
Ralf Corsepius
025c69292f Add gdb-7.2.
Remove gdb-7.0.1.
2011-05-20 04:21:35 +00:00
Ralf Corsepius
1cd4ae9e8d New. 2011-05-19 15:43:00 +00:00
Ralf Corsepius
3871497e40 Sync with rtems-4.11. 2011-05-19 15:37:41 +00:00
Ralf Corsepius
3af5699804 2011-05-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/Makefile.am: Add posixtime.h.
	* posix/src/clockgetres.c, posix/src/clockgettime.c,
	posix/src/clocksettime.c:
	Use CLOCK_PROCESS_CPUTIME_ID, CLOCK_THREAD_CPUTIME_ID.
	Include posix/src/posixtime.h.
	* posix/src/posixtime.h: New.
2011-05-19 15:32:44 +00:00
Till Straumann
d1e85c41ea 2011-05-18 Till Straumann <strauman@slac.stanford.edu>
PR1797/bsps
	* shared/bootcard.c: Fixed a typo (in code, not comment) which
	I introduced with the last change.
2011-05-18 16:08:56 +00:00
Ralf Corsepius
c9ea876523 Housekeeping. 2011-05-18 13:56:13 +00:00
Ralf Corsepius
c3e937868a Regenerate. 2011-05-18 13:53:47 +00:00
Ralf Corsepius
6d23901678 Bump GCC_RPMREL. 2011-05-18 13:52:56 +00:00
Ralf Corsepius
28e616b2e9 New. 2011-05-18 13:52:06 +00:00
Till Straumann
37834667fd 2011-05-18 Till Straumann <strauman@slac.stanford.edu>
PR1797/bsps: Applied cleaned-up version of Kate's patch.
	CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK is now a 'bspopts.h'
	setting and as such configurable.
2011-05-18 05:08:36 +00:00
Chris Johns
843459426b 2011-05-17 Chris Johns <chrisj@rtems.org>
PR 1774/filesystem
        * libfs/src/imfs/imfs_eval.c: The previous change broke some of
        the tests. This has been fixed.
2011-05-17 04:45:52 +00:00
Till Straumann
64a3101718 2011-05-16 Till Straumann <strauman@slac.stanford.edu>
* include/bsp.h: define CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
2011-05-16 15:12:31 +00:00
Ralf Corsepius
6ae5406cf2 Partial merger from CVS-HEAD. 2011-05-16 05:19:58 +00:00
Ralf Corsepius
349cdaa67c Add fedora-16. 2011-05-16 05:14:16 +00:00
Ralf Corsepius
f0c49f0b35 Abandon openSUSE-11.2. 2011-05-16 05:13:15 +00:00
Sebastian Huber
2520ef9eee 2011-05-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1790/cpukit
	* libblock/src/flashdisk.c: Fixed memset() parameters.
2011-05-11 08:29:17 +00:00
Sebastian Huber
c7ba440e55 2011-05-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/bsp.h: Moved NEED_LOW_LEVEL_INIT define because it has to be
	visible for the assembler.
	* startup/linkcmds.brs5l: Fixed RAM size.
2011-05-06 06:28:04 +00:00
Joel Sherrill
e115f4b81d 2011-04-25 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1783/bsps
	* include/bsp.h: Remove dead prototypes of Clock_delay() and delay().
	Neither had bodies.
2011-04-25 19:39:42 +00:00
Joel Sherrill
9effafc88b 2011-04-22 Joel Sherrill <joel.sherrilL@OARcorp.com>
* console/console.c: Now compiles.
2011-04-22 17:07:59 +00:00
Joel Sherrill
b980892c2a 2011-04-20 Joel Sherrill <joel.sherrilL@OARcorp.com>
* acinclude.m4: Regenerated for TLL6527M.
2011-04-20 20:28:33 +00:00
Joel Sherrill
f7761ea064 Fix formatting. 2011-04-20 20:28:07 +00:00
Joel Sherrill
e08510ae01 2011-04-20 Rohan Kangralkar <rkangral@ece.neu.edu>
PR 1781/bsps
	* console/console-io.c: The UART RX and TX are different ISR
	now. So the array containing the registeration changes. The
	change is due to change in the libcup uart function.
2011-04-20 20:25:05 +00:00
Joel Sherrill
dcdfec1451 2011-04-20 Rohan Kangralkar <rkangral@ece.neu.edu>
PR 1781/bsps
        * ChangeLog, Makefile.am, README, bsp_specs, configure.ac,
        preinstall.am, times, console/console.c, include/bsp.h,
        include/cplb.h, include/tm27.h, make/custom/TLL6527M.cfg,
        startup/bspstart.c, startup/linkcmds: New files.
        Initial port for the TLL6527Mboard that contains blackfin 52X
        range of processors. Used eZKit533 as a reference for building
        the port.
2011-04-20 20:23:55 +00:00
Joel Sherrill
0c5ea9bb34 2011-04-20 Rohan Kangralkar <rkangral@ece.neu.edu>
PR 1781/bsps
	* bf52x/include: Added additional MMR.
	* bf52x/interrupt: The BF52X processors have a different
	System interrupt controller than present in the 53X range of
	processors. The 52X have 8 interrupt assignment registers. The
	implementation uses tables to increase predictability.
	* serial/uart.?: Added DMA based and interrupt based transfer
	support. The uart code used a single ISR for TX and RX and tried
	to identify and multiplex inside the ISR. In the new code the
	type of interrupt is identified by the central ISR dispatcher
	bf52x/interrupt or interrupt/.	This simplifies the UART ISR.
2011-04-20 20:19:52 +00:00
Joel Sherrill
87fbfec5be 2011-04-20 Rohan Kangralkar <rkangral@ece.neu.edu>
PR 1781/bsps
	* bfin/rtems/bf52x.h: This file defines basic MMR for the Blackfin
	52x CPU.  The MMR have been taken from the ADSP-BF52x Blackfin
	Processor Hardware Reference from Analog Devices. Mentioned
	Chapters refer to this Documentation.
2011-04-20 20:19:18 +00:00
Ralf Corsepius
be0f7669fb Regenerate. 2011-04-20 15:39:02 +00:00
Ralf Corsepius
82a1e87a97 Regenerate. 2011-04-20 15:37:26 +00:00
Ralf Corsepius
3297613391 gcc-4.4.6. 2011-04-20 15:36:39 +00:00
Ralf Corsepius
a5846445f2 gcc-core-4.4.6-rtems4.10-20110420.diff 2011-04-20 15:36:04 +00:00
Ralf Corsepius
7c2d5b4e6f New. 2011-04-20 15:35:22 +00:00
Ralf Corsepius
4e11eef0b6 Regenerate. 2011-04-19 02:20:00 +00:00
Ralf Corsepius
2f8efdca9f New. 2011-04-19 02:18:24 +00:00
Ralf Corsepius
a79b64fb60 Bump GCC_RPMREL. 2011-04-19 01:51:08 +00:00
Ralf Corsepius
701d4d8485 newlib-1.18.0-rtems4.10-20110419.diff.
Preps for gcc-4.4.6.
2011-04-19 01:46:02 +00:00
Chris Johns
ec9d486333 2011-04-16 Chris Johns <chrisj@rtems.org>
PR 1774/filesystem
        * libfs/src/imfs/imfs_eval.c: Fix the IMFS eval and eval for make
        handlers to not inspect a mounted file sytems path.
2011-04-16 03:47:32 +00:00
Joel Sherrill
17cc97db97 2011-04-11 Keith Robertson <kjrobert at alumni dot uwaterloo dot ca>
* ne2000/ne2000.c: Add multicast support. Patch submitted to mailing
	list 2005-12-21.
2011-04-11 17:27:57 +00:00
Joel Sherrill
46604fcc5c 2011-04-04 Sebastien Bourdeauducq <sebastien.bourdeauducq@gmail.com>
PR 1722/networking
	* ftpd/ftpd.c: FTPD fails to parse correctly FTP commands relating to
	filenames with spaces in them.
2011-04-04 17:08:47 +00:00
Joel Sherrill
c13ddac0b2 2011-04-04 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1768/bsps
	* shared/irq/irq_asm.S: The nbench benchmark highlighted the fact that
	we do not perform a cld before calling C code in the ISR. This was
	historically not a problem but gcc 4.3 changed the behavior. From
	http://gcc.gnu.org/gcc-4.3/changes.html
2011-04-04 16:44:55 +00:00
Joel Sherrill
619f97eae2 2011-03-22 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1772/bsps
	* console/sci.c: Use same default baud rate as monitor.
2011-03-22 14:14:29 +00:00
Ralf Corsepius
3564f7f9eb Add config.status, config.sub, config.log. 2011-03-20 06:53:27 +00:00
cvs2git
0987f475e2 This commit was manufactured by cvs2svn to create branch
'rtems-4-10-branch'.

Cherrypick from master 2011-03-18 10:11:40 UTC Ralf Corsepius <ralf.corsepius@rtems.org> '2010-04-09	Ralf Corsépius <ralf.corsepius@rtems.org>':
    cpukit/zlib/ChangeLog
    cpukit/zlib/ChangeLog.zlib
    cpukit/zlib/FAQ
    cpukit/zlib/Makefile.am
    cpukit/zlib/README
    cpukit/zlib/adler32.c
    cpukit/zlib/compress.c
    cpukit/zlib/crc32.c
    cpukit/zlib/deflate.c
    cpukit/zlib/deflate.h
    cpukit/zlib/doc/algorithm.txt
    cpukit/zlib/gzclose.c
    cpukit/zlib/gzguts.h
    cpukit/zlib/gzlib.c
    cpukit/zlib/gzread.c
    cpukit/zlib/gzwrite.c
    cpukit/zlib/infback.c
    cpukit/zlib/inffast.c
    cpukit/zlib/inflate.c
    cpukit/zlib/inflate.h
    cpukit/zlib/inftrees.c
    cpukit/zlib/inftrees.h
    cpukit/zlib/trees.c
    cpukit/zlib/uncompr.c
    cpukit/zlib/zconf.h
    cpukit/zlib/zlib.3
    cpukit/zlib/zlib.h
    cpukit/zlib/zutil.c
    cpukit/zlib/zutil.h
    testsuites/libtests/mathf/.cvsignore
    testsuites/libtests/mathf/Makefile.am
    testsuites/libtests/mathf/mathf.scn
Cherrypick from master 2011-02-02 13:58:02 UTC Ralf Corsepius <ralf.corsepius@rtems.org> 'New (Split out from math/).':
    testsuites/libtests/mathf/domathf.c
    testsuites/libtests/mathf/init.c
2011-03-18 10:11:41 +00:00
Joel Sherrill
23005aab5a 2011-03-15 Till Straumann <strauman@slac.stanford.edu>
* startup/bspstart.c: Fix clock code on qemu. Also ensure UART is
	initialized early for printk.
2011-03-15 21:34:56 +00:00
Chris Johns
f6c010a7c2 2011-03-14 Chris Johns <chrisj@rtems.org>
PR 1757/filesystem
        * libfs/src/rfs/rtems-rfs-block-pos.h: Fix the bug in equal
        compare.
2011-03-14 07:44:33 +00:00
Chris Johns
f96d31c903 2011-03-14 Chris Johns <chrisj@rtems.org>
PR 1763/shell
        * libmisc/shell/hexdump-conv.c: Remove debug hacks.
2011-03-14 05:13:14 +00:00
Chris Johns
d991d2f194 2011-03-14 Chris Johns <chrisj@rtems.org>
PR 1757/filesystem
        * libfs/src/rfs/rtems-rfs-block-pos.h,
        libfs/src/rfs/rtems-rfs-block.h, libfs/src/rfs/rtems-rfs-file.c,
        libfs/src/rfs/rtems-rfs-rtems-file.c: Set the file size in
        iop-size when a file is open. Fix lseek to end of file then write
        for sizes less than half the file system block size.
2011-03-14 05:07:19 +00:00
Ralf Corsepius
56c5650161 Regenerate. 2011-03-10 12:25:26 +00:00
Ralf Corsepius
7f2ee3a10d Bump GCC_RPMREL. 2011-03-10 12:25:01 +00:00
Ralf Corsepius
7ffa1107ae Add suse11.4. 2011-03-10 07:36:50 +00:00
Joel Sherrill
a57171b957 2011-03-08 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1760/misc
	* compilers/gcc-target-default.cfg: Fix typo in CPP definition.
2011-03-09 00:10:09 +00:00
Joel Sherrill
97b6dc0bb9 2011-03-08 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1759/cpukit
	* posix/src/cancel.c, posix/src/pthreaddetach.c,
	posix/src/pthreadequal.c, posix/src/pthreadgetschedparam.c,
	posix/src/pthreadjoin.c, posix/src/pthreadkill.c,
	posix/src/pthreadsetschedparam.c: Some POSIX pthread services did not
	support using Classic API Task Ids.
2011-03-08 22:14:56 +00:00
Joel Sherrill
46974aa75c 2011-03-07 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1756/bsps
	* timer/timer.c: Retry on timer calibration loop failure.
2011-03-07 17:35:52 +00:00
Joel Sherrill
7869594e97 2011-03-04 Joel Sherrill <joel.sherrilL@OARcorp.com>
* shared/start/start.S: Remove conflict markers in comment.
2011-03-04 16:56:23 +00:00
Joel Sherrill
8d45df8368 2011-03-04 Till Straumann <strauman@slac.stanford.edu>
PR 1738/bsps
	* clock/clock.c, include/bsp.h, network/network.c: system clock driver
	programs the PIT w/o assuming the CPU clock frequency being a power
	of two.
2011-03-04 16:03:53 +00:00
Joel Sherrill
6481895a2e 2011-03-04 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1744/doc
	* user/clock.t: rtems_clock_time_value type uses changed to struct
	timeval.
2011-03-04 15:34:16 +00:00
Joel Sherrill
302784eafb 2011-03-04 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1751/bsps
	* start/start.S: Fix typo which was not caught by binutils prior to a
	recent bug fix.
2011-03-04 14:37:34 +00:00
Joel Sherrill
7fce2ca5cd 2011-03-04 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1748/bsps
	* clock/ckinit.c, include/leon.h: When the clock tick generates an
	interrupt WHILE we have interrupts disabled doing a get TOD or
	uptime, the get nanoseconds handler was returning a bogusly large
	number.
2011-03-04 14:07:08 +00:00
Joel Sherrill
631a092239 2011-03-04 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1748/bsps
	* clock/ckinit.c: When the clock tick generates an interrupt WHILE we
	have interrupts disabled doing a get TOD or uptime, the get
	nanoseconds handler was returning a bogusly large number.
2011-03-04 14:07:06 +00:00
Joel Sherrill
5180f7cb36 2011-03-03 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1750/bsps
	* console/erc32_console.c: The new console driver did not support
	polled mode. It also had a bug in which it could lose a transmitter
	interrupt.
2011-03-03 14:03:48 +00:00
Joel Sherrill
280f82d71d Formatting. 2011-03-03 13:34:34 +00:00
Chris Johns
b3c3864678 2011-03-03 Chris Johns <chrisj@rtems.org>
* libcsupport/src/mknod.c, libfs/src/rfs/rtems-rfs-inode.c: PR
        1749. Fix the incorrect handling of the file type in the mode
        value to reject invalid types as per the standard.
2011-03-03 06:33:16 +00:00
Ralf Corsepius
c204c27bee Regenerate. 2011-03-01 05:25:24 +00:00
Ralf Corsepius
1ae20cfddf Bump GCC_RPMREL. 2011-03-01 05:24:34 +00:00
Ralf Corsepius
4bc5bb4af5 gcc-core-4.4.5-rtems4.10-20110301.diff.
Remove gcc-4.4.4.
2011-03-01 05:23:04 +00:00
Ralf Corsepius
2570d2cd0c Remove (Obsolete) 2011-03-01 05:22:01 +00:00
Ralf Corsepius
8fa1017f79 New. 2011-03-01 05:21:31 +00:00
Joel Sherrill
13b16979fe 2011-02-17 Till Straumann <strauman@slac.stanford.edu>
PR 1738/bsps
	* README, startup/bspstart.c, startup/linkcmds: Add support for dynamic
	clock speed determination. This algorithm is described in the README
	file. The output of the RTEMS Timing Tests was moved to TIMES to
	signicantly shrink the README.
	* TIMES: New file.
2011-02-17 13:25:24 +00:00
Ralf Corsepius
91d96cd49e 2011-02-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* new-exceptions/bspsupport/vectors.h: Add extern "C" {}.
2011-02-17 03:30:18 +00:00
Joel Sherrill
6a0fb2a9d7 2011-02-08 Joel Sherrill <joel.sherrilL@OARcorp.com>
* common/cpright.texi: Update copyright.
2011-02-08 17:18:30 +00:00
Joel Sherrill
83dcd23af4 Ensure all version instances say 4.10. 2011-02-08 15:56:24 +00:00
Joel Sherrill
784f9c10ea 2011-02-08 Joel Sherrill <joel.sherrilL@OARcorp.com>
* setup.def, shell/preface.texi: Update version.
2011-02-08 15:35:09 +00:00
Ralf Corsepius
e5f7481803 2011-02-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp69/init.c: Use "ld" instead of PRId32 to print
	struct timespec->tv_nsec.
2011-02-08 07:24:00 +00:00
Ralf Corsepius
cea600774d 2011-02-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/include/tmacros.h: Remove PRIxblksize_t, PRIxblkcnt_t.
2011-02-08 06:40:11 +00:00
Ralf Corsepius
1ebe3da136 2011-02-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/pmacros.h: Add PRIxblksize_t, PRIxblkcnt_t.
	* configure.ac: Add AC_CHECK_SIZEOF([blksize_t]),
	AC_CHECK_SIZEOF([blkcnt_t]).
2011-02-08 06:38:04 +00:00
Ralf Corsepius
664db16fd8 2011-02-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/pmacros.h: Add PRIxblksize_t, PRIxblkcnt_t.
	* configure.ac: Add AC_CHECK_SIZEOF([blksize_t]),
	AC_CHECK_SIZEOF([blkcnt_t]).
2011-02-08 06:38:03 +00:00
Ralf Corsepius
ca04b36fcd 2011-02-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp19/inttest.h: Use PRIx32 instead of "lx".
2011-02-08 04:53:03 +00:00
Chris Johns
ebb86f28ea 2011-02-08 Brett Swimley <bswimley@advanced.pro>
* libfs/src/rfs/rtems-rfs-rtems.c: Fix bug where the eval path did
        not close an inode.
2011-02-07 22:34:10 +00:00
Joel Sherrill
ea44530098 2011-02-02 Joel Sherrill <joel.sherrilL@OARcorp.com>
* sp04/tswitch.c: Shrink memory requirements.
2011-02-02 19:02:17 +00:00
Joel Sherrill
d71a5bb638 2011-02-02 Joel Sherrill <joel.sherrilL@OARcorp.com>
* cpuuse/tswitch.c: Shrink memory requirements.
2011-02-02 18:53:04 +00:00
Ralf Corsepius
53328c8f74 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
2011-02-02 15:18:21 +00:00
Ralf Corsepius
90df1d9726 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
2011-02-02 15:18:06 +00:00
Ralf Corsepius
2b98a7b58b 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* tools/configure.ac: Require autoconf-2.68, automake-1.11.1.
2011-02-02 15:11:53 +00:00
Ralf Corsepius
3f2ebce1b5 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* math/math.scn, mathf/mathf.scn: Regenerate.
	* Makefile.am, configure.ac: Add mathf/.
	* math/init.c, math/Makefile.am: Reflect having split-out mathf.
	* math/domathf.c, math/domathl.c: Remove.
	* mathf/Makefile.am, mathf/domathf.c, mathf/init.c,
	mathf/mathf.scn: New (Split out from math/).
2011-02-02 14:13:34 +00:00
Ralf Corsepius
b9a1642778 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* math/init.c:
	Use fprintf(stdout,..) instead of printf.
	Use CONFIGURE_APPLICATION_DISABLE_FILESYSTEM.
2011-02-02 07:39:07 +00:00
Ralf Corsepius
97315f51e5 Backport from CVS-HEAD. 2011-02-02 02:30:10 +00:00
cvs2git
cc2bcea47c This commit was manufactured by cvs2svn to create branch
'rtems-4-10-branch'.

Cherrypick from master 2011-02-01 05:48:30 UTC Ralf Corsepius <ralf.corsepius@rtems.org> '2011-02-01	Ralf Corsepius <ralf.corsepius@rtems.org>':
    cpukit/libmisc/stringto/stringtolongdouble.c
    testsuites/libtests/POSIX/htonl.c
    testsuites/libtests/math/.cvsignore
    testsuites/libtests/math/Makefile.am
    testsuites/libtests/math/domath.c
    testsuites/libtests/math/domath.in
    testsuites/libtests/math/domathf.c
    testsuites/libtests/math/domathl.c
    testsuites/libtests/math/init.c
2011-02-01 05:48:31 +00:00
Ralf Corsepius
f9e6b07ebf 2011-01-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* mongoosev/duart/mg5uart.c: Fix type mismatch.
2011-01-30 17:42:30 +00:00
Ralf Corsepius
8fcd535132 Regenerate. 2011-01-29 11:43:57 +00:00
Ralf Corsepius
657b167584 Bump GCC_RPMREL. 2011-01-29 11:42:59 +00:00
Ralf Corsepius
8334f03f38 Sync with cvs-HEAD. 2011-01-29 11:38:34 +00:00
Ralf Corsepius
29c8757132 2011-01-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* math/math.scn: New.
2011-01-27 07:28:24 +00:00
Ralf Corsepius
0f5c805d22 2011-01-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Remove build_date.c.
	* startup/bspstart.c: Remove BSP_build_date.
	* network/porting/README, network/porting/if_xxx_rtems.c,
	startup/bspstart.c: Remove CVS artefacts.
2011-01-27 04:44:23 +00:00
Joel Sherrill
a7c4e40564 2011-01-21 Eric Norum <wenorum@lbl.gov>
* libmisc/capture/capture.c: Avoid using TCB of task just deleted.
2011-01-21 19:40:28 +00:00
Joel Sherrill
cfe2ababc0 2011-01-21 Joel Sherrill <joel.sherrilL@OARcorp.com>
* posix/src/psignal.c: Back port patch from head to avoid derefencing
	NULL.
2011-01-21 19:31:34 +00:00
Joel Sherrill
ade4940967 2011-01-21 Joel Sherrill <joel.sherrilL@OARcorp.com>
* configure.ac: BSP supports bsp_reset() method.
2011-01-21 19:30:49 +00:00
Joel Sherrill
237ea06c1a 2011-01-19 Joel Sherrill <joel.sherrilL@OARcorp.com>
* shared/pci/detect_raven_bridge.c: Fix spelling.
2011-01-19 16:56:46 +00:00
Joel Sherrill
9eb8eb25be 2011-01-19 Joel Sherrill <joel.sherrilL@OARcorp.com>
* libchip/ide/ata.c: Fix spelling.
2011-01-19 14:51:54 +00:00
Joel Sherrill
3b4f1ec1e1 2011-01-19 Joel Sherrill <joel.sherrilL@OARcorp.com>
* shared/pci/detect_raven_bridge.c: Fix spelling.
2011-01-19 14:51:03 +00:00
Joel Sherrill
67c0cb82b6 2011-01-19 Joel Sherrill <joel.sherrilL@OARcorp.com>
* sapi/include/confdefs.h: Account for POSIX threads having a minimum
	of 2x the minimum stack size.
2011-01-19 14:50:20 +00:00
Ralf Corsepius
0fab42f14e 2011-01-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* math/domath.c, math/domathf.c, math/domath.in,
	math/domathl.c, math/init.c, math/Makefile.am:
	New (Import from rtems-4.11).
	* Makefile.am: Add math/
	* configure.ac: Add math/Makefile.
2011-01-14 13:40:43 +00:00
Ralf Corsepius
b7cb7e3bc5 Regenerate. 2011-01-14 13:32:44 +00:00
Ralf Corsepius
679dbc1986 newlib-1.18.0-rtems4.10-20110114.diff. 2011-01-14 13:22:02 +00:00
Ralf Corsepius
93239053a0 Bump GCC_RPMREL. 2011-01-14 13:20:50 +00:00
Ralf Corsepius
a457797e29 New (libm fixes). 2011-01-14 13:20:15 +00:00
Ralf Corsepius
dcbe86c640 Regenerate. 2011-01-10 08:52:20 +00:00
Ralf Corsepius
e9d1334d68 Sync with rtems-4.11. 2011-01-10 08:51:10 +00:00
Ralf Corsepius
9ef6024965 newlib-1.18.0-rtems4.10-20110110.diff. 2011-01-10 08:48:19 +00:00
Ralf Corsepius
a7bdd0bfc1 Bump GCC_RPMREL. 2011-01-10 08:47:40 +00:00
Ralf Corsepius
66da4469d1 New (backports from rtems-4.11-newlib). 2011-01-10 08:46:57 +00:00
Joel Sherrill
6565d038aa 2011-01-02 Danila Bespalov <danila DOT bespalov AT gmail DOT com>
* started/buildc.t, started/buildrt.t, started/nt.t, started/require.t,
	started/sample.t: Review and improve.
2011-01-02 16:12:05 +00:00
Joel Sherrill
04064003a2 2010-12-16 Joel Sherrill <joel.sherrilL@OARcorp.com>
* SUPPORT: Update address.
2010-12-16 19:00:13 +00:00
Joel Sherrill
32950d435f 2010-11-24 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1674/doc
	* user/Makefile.am, user/dirstat.texi: Fix bad node reference.
2010-11-24 18:01:48 +00:00
Sebastian Huber
57bc4571f9 2010-11-23 Gedare Bloom <giddyup44@yahoo.com>
PR 1719/cpukit
	* shared/start/start.S: Avoid "bx" instruction to support ARMv4 and
	below.
2010-11-23 16:08:45 +00:00
Sebastian Huber
a73dc5d0ed 2010-11-23 Gedare Bloom <giddyup44@yahoo.com>
PR 1719/cpukit
	* arm_exc_abort.S: Avoid "bx" instruction to support ARMv4 and below.
2010-11-23 16:06:49 +00:00
Joel Sherrill
cb914b4e06 2010-11-16 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1717/cpukit
	* libcsupport/src/gxx_wrappers.c: Free memory on error.
2010-11-16 18:52:05 +00:00
Joel Sherrill
b0449da44a 2010-11-11 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1716/doc
	* user/concepts.t: print_name example used a variable which did not
	match the name of the passed in parameter.
2010-11-11 14:01:38 +00:00
Joel Sherrill
22d226c01b 2010-11-01 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1714/doc
	* user/datatypes.t, user/intr.t: Add missing description of
	rtems_status_codes.
2010-11-01 15:58:22 +00:00
Chris Johns
ab52da4049 2010-10-19 Chris Johns <chrisj@rtems.org>
* libfs/src/rfs/rtems-rfs-rtems-file.c: Add missing unlock in
        write. Return the error code in close.
2010-10-18 22:48:55 +00:00
Chris Johns
0b41397fc3 Disable trace. 2010-10-11 23:58:35 +00:00
Chris Johns
ce8cc8998d The patch to the 4.10 branch did not apply correctly. This fixes it. 2010-10-11 21:12:48 +00:00
Chris Johns
5a24436e22 2010-10-11 Chris Johns <chrisj@rtems.org>
* libfs/src/rfs/rtems-rfs-trace.c,
        libfs/src/rfs/rtems-rfs-trace.h: Add inode-delete.
        * libfs/src/rfs/rtems-rfs-shell.c: Fix formatting.
        * libfs/src/rfs/rtems-rfs-rtems-dir.c: Use ssize_t. Fix
        spelling.
        * libfs/src/rfs/rtems-rfs-block.c: Fix
        rtems_rfs_block_get_bpos to
        return the position correctly. A bpos does not have any
        special
        processing. Do no reset the buffer handle when shrinking
        indirectly.
        * libfs/src/rfs/rtems-rfs-inode.c: Add trace.
        * libfs/src/rfs/rtems-rfs-format.c: Fix comments.
        * libfs/src/rfs/rtems-rfs-group.c: Limit the inodes to the
        blocks
        in a group so the accounting works.
        * libfs/src/rfs/rtems-rfs-dir.c: PR 1705. Fix handling the
        offsets
        when deleting an entry.
        * libfs/src/rfs/rtems-rfs-buffer.h: Remove
        rtems_rfs_buffer_handle_reset. It is not needed and dangerous.
        * cpukit/libmisc/untar/untar.c: Merge 4.11 pax fix. This fix also
        supports MacOS's tar.
2010-10-11 04:40:08 +00:00
Ralf Corsepius
9ade402952 Regenerate. 2010-10-06 06:12:28 +00:00
Ralf Corsepius
90f45678fb Bump GCC_RPMREL. 2010-10-06 06:11:53 +00:00
Ralf Corsepius
83f3dac6f0 newlib-1.18.0-rtems4.10-20101006.diff. 2010-10-06 06:11:39 +00:00
Ralf Corsepius
4ff3089f44 Add patch from http://sourceware.org/ml/newlib/2010/msg00502.html. 2010-10-06 06:07:56 +00:00
Ralf Corsepius
e3fd09b947 Housekeeping. 2010-10-04 03:39:31 +00:00
Ralf Corsepius
bd56df3be5 Regenerate. 2010-10-04 03:36:31 +00:00
Ralf Corsepius
d519ed869d Add gcc-4.4.5 2010-10-04 03:35:35 +00:00
Ralf Corsepius
1aeefc5760 Upgrade to gcc-4.4.5 2010-10-04 03:34:50 +00:00
Ralf Corsepius
e974018480 New. 2010-10-04 03:32:25 +00:00
Ralf Corsepius
7f09997743 2010-10-01 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1708/build:
	* aclocal/check-cpuopts.m4: Fix m4-quoting.
2010-10-01 17:00:39 +00:00
Ralf Corsepius
5ba0475cde 2010-10-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Check for pthread_attr_{get,set}cputime instead of
	pthread_pthread_attr_{get,set}cputime (Typo).
2010-10-01 16:56:11 +00:00
Ralf Corsepius
f1f0ff55cd 2010-10-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Check for pthread_attr_{get,set}cputime instead of
	pthread_pthread_attr_{get,set}cputime (Typo).
2010-10-01 16:56:10 +00:00
Ralf Corsepius
02927773ce 2010-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Remove -Wno-unused-variable.
2010-09-29 14:28:56 +00:00
Ralf Corsepius
0490242430 2010-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* automake/compile.am: Remove non release-suitable warning flags.
2010-09-29 14:21:35 +00:00
Ralf Corsepius
00c0714146 2010-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/prog-cc.m4: Remove non release-suitable warning flags.
2010-09-29 14:20:05 +00:00
Ralf Corsepius
384eb8b323 Regenerate. 2010-09-29 14:17:19 +00:00
Ralf Corsepius
bfbb701126 Bump AUTOCONF_RPMREL 2010-09-29 14:17:06 +00:00
Ralf Corsepius
fa085be58f Add %bcond_with alltests. 2010-09-29 14:15:21 +00:00
Ralf Corsepius
91134d863f 2010-09-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* README.configure: Cleanup.
2010-09-27 04:14:39 +00:00
Ralf Corsepius
a9fb4f5d2f Remove. 2010-09-26 04:42:55 +00:00
Ralf Corsepius
c62f422cdb Sync with CVS-HEAD. 2010-09-24 13:17:15 +00:00
Ralf Corsepius
a7a7d280df 2010-09-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/check-cpuopts.m4: Add AC_LANG_SOURCE.
2010-09-23 14:50:42 +00:00
Ralf Corsepius
d919e82819 Regenerate. 2010-09-07 15:05:38 +00:00
Ralf Corsepius
ca19a24df2 Bump AUTOMAKE_RPMREL. 2010-09-07 15:05:17 +00:00
Ralf Corsepius
b535391c34 Sync with HEAD. 2010-09-07 15:04:57 +00:00
Ralf Corsepius
13963c70df Housekeeping. 2010-09-07 14:36:19 +00:00
Ralf Corsepius
b8532785b9 2010-08-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/include/aio.h, posix/src/aio_return.c:
	Let aio_return return ssize_t (Mandated by POSIX).
2010-09-01 11:18:34 +00:00
Ralf Corsepius
f4f2a249a3 2010-09-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/libc/addr2ascii.c,
	libnetworking/libc/ascii2addr.c,
	libnetworking/libc/addr2ascii.3: Remove.
	* libnetworking/Makefile.am: Reflect changes above.
2010-09-01 11:17:40 +00:00
Ralf Corsepius
02fdeef779 2010-09-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* POSIX/Makefile.am: Add htonl.
	* POSIX/htonl.c: New.
2010-09-01 06:45:47 +00:00
Ralf Corsepius
3be4e514c2 Regenerate. 2010-08-28 06:17:58 +00:00
Ralf Corsepius
0bca53e60a newlib-1.18.0-rtems4.10-20100825.diff. 2010-08-28 06:17:12 +00:00
Ralf Corsepius
83ea8e243e Bump GCC_RPMREL. 2010-08-28 06:16:44 +00:00
Ralf Corsepius
7d51599d09 Abandon Fedora 11. 2010-08-28 06:15:24 +00:00
Ralf Corsepius
0d05301568 New. Partial back-port from RTEMS CVS-HEAD's newlib. 2010-08-28 06:09:15 +00:00
Joel Sherrill
b8dc838c14 2010-08-27 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1693/filesystem
	* libfs/src/imfs/memfile.c: IMFS_memfile_get_block_pointer() was
	checking incorrect pointer and thus had dead code.
2010-08-27 17:43:18 +00:00
Joel Sherrill
ed4a3f6e36 2010-08-27 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1692/filesystem
	* libcsupport/include/rtems/libio.h, libfs/src/devfs/devfs_eval.c,
	libfs/src/imfs/imfs_eval.c: Fix implementation and use of
	rtems_libio_is_valid_perms().
2010-08-27 17:33:11 +00:00
Chris Johns
958641833f 2010-08-26 Chris Johns <chrisj@rtems.org>
* libfs/src/rfs/rtems-rfs-file.c: Check then load the inode if not
        present on the close.

        * libfs/src/rfs/rtems-rfs-format.c: Initialise the buffer chain.
2010-08-26 06:35:22 +00:00
Ralf Corsepius
2dcfadad58 Regenerate. 2010-08-26 03:10:13 +00:00
Ralf Corsepius
7349490df7 binutils-2.20.1-rtems4.10-20100826.diff. 2010-08-26 03:09:11 +00:00
Ralf Corsepius
56b57d6199 Bump BINUTILS_RPMREL. 2010-08-26 03:08:33 +00:00
Ralf Corsepius
9909ac725e New. 2010-08-26 03:07:32 +00:00
Till Straumann
8ced0f5651 2010-08-25 Till Straumann <strauman@slac.stanford.edu>
PR 1689/bsps
	* shared/flash/intelFlash.c: Scale erase timeout by actual
	system clock rate rather than assuming a fixed value.
2010-08-25 22:24:01 +00:00
Ralf Corsepius
d1f662eb23 Regenerate. 2010-08-13 02:46:28 +00:00
Ralf Corsepius
3fee3d79d3 Bump GDB_RPMREL. 2010-08-13 02:45:13 +00:00
Ralf Corsepius
e075dd140b gdb-7.1-rtems4.10-20100812.diff 2010-08-13 02:42:46 +00:00
Ralf Corsepius
a258f68dc7 New. 2010-08-13 02:40:17 +00:00
Sebastian Huber
bcbd591ac9 Typo. 2010-08-11 12:17:36 +00:00
Sebastian Huber
1f154111ec 2010-09-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
* sapi/include/confdefs.h: Include <rtems.h> to resolve all
	dependencies.
2010-08-11 12:17:16 +00:00
Sebastian Huber
c440f0618e 2010-08-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1667/cpukit
	* libnetworking/rtems/mkrootfs.c: Include <rtems/libio.h>.
2010-08-11 11:23:43 +00:00
Ralf Corsepius
e37bd88d09 Regenerate. 2010-08-10 04:06:15 +00:00
Ralf Corsepius
56497c0932 newlib-1.18.0-rtems4.10-20100810.diff. 2010-08-10 04:05:00 +00:00
Ralf Corsepius
b72f24f7ab Bump GCC_RPMREL. 2010-08-10 04:04:08 +00:00
Ralf Corsepius
2890d67ae2 New. 2010-08-10 03:59:35 +00:00
Ralf Corsepius
54087bcd11 Sync with CVS-HEAD. 2010-08-10 03:57:03 +00:00
Sebastian Huber
e600b886f9 2010-08-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1615/cpukit
	* posix/src/keyrundestructors.c: Improved POSIX compliance.  Now we may
	have an unlimited number of iterations.
2010-08-09 08:13:47 +00:00
Sebastian Huber
718a0c5fa3 2010-08-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
* sapi/inline/rtems/chain.inl: Added
	rtems_chain_extract_unprotected().
2010-08-09 07:56:04 +00:00
Sebastian Huber
ffde51160a 2010-08-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1513/doc
	* user/chains.t: Added missing functions.  Uniform text for
	unprotected functions.
2010-08-09 07:51:52 +00:00
Ralf Corsepius
63e508e807 2010-08-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/include/aio.h, posix/src/aio_return.c:
	Let aio_return return ssize_t (Mandated by POSIX).
2010-08-09 07:37:18 +00:00
Sebastian Huber
b865cb4c1c 2010-08-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1650/cpukit
	* user/part.t: Clarify.
2010-08-09 07:29:14 +00:00
Ralf Corsepius
7ef633e634 Regenerate. 2010-07-13 05:11:58 +00:00
Ralf Corsepius
018d6877be Sync with CVS-HEAD. 2010-07-13 05:11:12 +00:00
Ralf Corsepius
1b84dae853 Bump GCC_RPMREL. 2010-07-13 05:10:43 +00:00
Till Straumann
df719841f8 2009-10-28 Till Straumann <strauman@slac.stanford.edu>
* byteorder.h: added ld_le16, st_le16.
2010-07-06 20:11:21 +00:00
Sebastian Huber
955a34b566 2010-07-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/include/rtems/libio_.h: Removed
	rtems_filesystem_mount_table_control.
	* libcsupport/include/rtems/libio.h, libcsupport/src/mount-mgr.c,
	libcsupport/src/mount.c libcsupport/src/statvfs.c,
	libcsupport/src/unmount.c, libmisc/shell/main_mount.c: Documentation.
	Removed rtems_filesystem_mounts_first() and
	rtems_filesystem_mounts_next().  Added
	rtems_filesystem_mount_iterate().  Changed return type of
	rtems_filesystem_iterate().  Removed rtems_filesystem_nodes_equal().

2010-07-01	Sebastian Huber <sebastian.huber@embedded-brains.de>

	* libfs/src/nfsclient/src/nfs.c, libfs/src/nfsclient/src/nfs.c,
	libfs/src/nfsclient/src/librtemsNfs.h: Renamed
	rtems_nfsfs_initialize() in rtems_nfs_initialize().
	* sapi/include/confdefs.h: Reflect changes above.  Renamed
	*_miniIMFS in *_MINIIMFS.  Renamed *_NFSFS in *_NFS.
2010-07-01 15:18:06 +00:00
Sebastian Huber
c114654e78 2010-06-29 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libnetworking/lib/tftpDriver.c: rtems_tftp_ops and
	rtems_tftp_handlers are now const and static.
	* libnetworking/rtems/tftp.h: Removed
	rtems_bsdnet_initialize_tftp_filesystem and rtems_tftp_ops.
2010-07-01 15:01:11 +00:00
Sebastian Huber
f1fcf71d68 2010-06-22 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/src/mount.c: Fixed string assignment in mount entry
	allocation.
2010-07-01 14:57:08 +00:00
Sebastian Huber
e8cec9e302 2010-06-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1555/cpukit
	* Makefile.am, preinstall.am: Install md4.h and md5.h headers.

2010-06-14	Sebastian Huber <sebastian.huber@embedded-brains.de>

	* sapi/include/confdefs.h: Do not define a filesystem if
	CONFIGURE_APPLICATION_DISABLE_FILESYSTEM is defined.
2010-07-01 14:51:25 +00:00
Sebastian Huber
3d3a18e619 2010-06-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/src/unmount.c: Removed obsolete declarations.  Fixed
	invalid memory free.

2010-06-10	Sebastian Huber <sebastian.huber@embedded-brains.de>

	* libnetworking/rtems/ftpfs.h, libnetworking/lib/ftpfs.c:  Removed
	rtems_ftpfs_mount().

2010-06-10	Sebastian Huber <sebastian.huber@embedded-brains.de>

	* libcsupport/src/mount-mktgt.c: New file.
	* libcsupport/Makefile.am: Reflect change above.
	* libcsupport/include/rtems/libio.h: Declare
	mount_and_make_target_path().

2010-06-09	Sebastian Huber <sebastian.huber@embedded-brains.de>

	* libnetworking/rtems/ftpfs.h, libnetworking/lib/ftpfs.c:  Added
	rtems_ftpfs_mount() again.  Documentation.

2010-06-09	Sebastian Huber <sebastian.huber@embedded-brains.de>

	* libcsupport/include/rtems/libio.h, sapi/include/confdefs.h: Added
	and use defines for file system types.

2010-06-09	Sebastian Huber <sebastian.huber@embedded-brains.de>

	* libcsupport/src/mount.c: Fixed NULL pointer access.
2010-07-01 14:39:39 +00:00
Sebastian Huber
615d8ccf76 2010-06-08 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/include/rtems/libio.h: Documentation.

2010-06-08	Sebastian Huber <sebastian.huber@embedded-brains.de>

	PR 1524/filesystem
	* libcsupport/src/rtems_mkdir.c: New file.
	* libcsupport/src/Makefile.am: Reflect change above.
	* libcsupport/include/rtems/libio.h: Added rtems_mkdir().
	* libmisc/fsmount/fsmount.h, libmisc/fsmount/fsmount.c,
	libblock/src/bdpart-mount.c, libnetworking/rtems/mkrootfs.h,
	libnetworking/rtems/mkrootfs.c: Use rtems_mkdir().  Removed
	rtems_fsmount_create_mount_point() and rtems_rootfs_mkdir().
2010-07-01 14:29:09 +00:00
Sebastian Huber
00bf6744f5 2010-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/include/rtems/libio_.h: Declare
	rtems_filesystem_mount_table_control.
	* libcsupport/include/rtems/libio.h: Removed
	rtems_filesystem_table_first(), rtems_filesystem_table_next() and
	rtems_filesystem_table_node_t declarations.  Declare
	rtems_per_filesystem_routine, rtems_filesystem_iterate() and
	rtems_filesystem_get_mount_handler().
	* libcsupport/src/mount.c: Added rtems_filesystem_mounts_first() and
	rtems_filesystem_mounts_next().  Simplify mount().  Removed
	rtems_filesystem_mount_table_control_init.  Use
	rtems_filesystem_get_mount_handler().
	* libcsupport/src/mount-mgr.c: Removed rtems_filesystem_mounts_first() and
	rtems_filesystem_mounts_next().  Added rtems_filesystem_iterate() and
	rtems_filesystem_get_mount_handler().  Use rtems_libio_lock() and
	rtems_libio_unlock();
	* sapi/include/confdefs.h, libmisc/shell/main_mount.c: Update for
	mount API changes.

2010-06-07	Bharath Suri <bharath.s.jois@gmail.com>

	* libcsupport/include/rtems/libio_.h: Removed macros
	rtems_filesystem_is_separator
	rtems_filesystem_get_start_loc
	rtems_filesystem_get_sym_start_loc
	and added them as files under libcsupport/src/

	* libcsupport/src/: Added new files
	libcsupport/src/sup_fs_get_start_loc.c
	libcsupport/src/sup_fs_get_sym_start_loc.c
	libcsupport/src/sup_fs_is_separator.c

	* libcsupport/Makefile.am: Changes to accommodate new
	files under libcsupport/src/
2010-07-01 14:10:54 +00:00
Joel Sherrill
f33be44e4a 2010-06-24 Bharath Suri <bharath.s.jois@gmail.com>
PR 1542/filesystem
	PR 1585/filesystem
	* libfs/src/pipe/fifo.c: pipe_control_t was not deallocated if
	fifo_open() was attempted with (O_WRONLY|O_NONBLOCK).
	Mutex was locked too many times on this path and we needed an unlock.
2010-06-24 19:58:00 +00:00
Joel Sherrill
2aba056637 2010-06-24 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1587/filesystem
	Coverity Id 35
	* libfs/src/rfs/rtems-rfs-shell.c: Address possible NULL dereference.
2010-06-24 13:28:54 +00:00
Ralf Corsepius
fc64cf19ae 2010-06-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: autoconf >= 2.65, automake >= 1.11.
2010-06-23 13:33:02 +00:00
Chris Johns
0298b5ef16 2010-06-23 Chris Johns <chrisj@rtems.org>
PR 1577/filesystem
        * libfs/src/pipe/fifo.c: Fixed the error codes returned on
        open.
2010-06-23 05:06:34 +00:00
Chris Johns
c90bd0af85 2010-06-23 Chris Johns <chrisj@rtems.org>
* rtems/Makefile.am: Remove the stray 'c' file.
2010-06-23 03:08:16 +00:00
Chris Johns
4713109128 2010-06-22 Chris Johns <chrisj@rtems.org>
* startup/m68k-stub.c: PR 1539. Fix buffer overrun.
2010-06-22 11:23:22 +00:00
Joel Sherrill
654169dc50 2010-06-21 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1581/cpukit
	* libcsupport/include/rtems/malloc.h, sapi/include/confdefs.h: Remove
	extra * on function pointer declaration.
2010-06-21 21:13:30 +00:00
Joel Sherrill
0dc64779db 2010-06-21 Peter Dufault <dufault@hda.com>
PR 1570/cpukit
	* posix/src/semtimedwait.c: This routine is supposed to return -1/errno
	NOT the status directly.
2010-06-21 16:38:34 +00:00
Joel Sherrill
54a3c4deca 2010-06-21 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1554/cpukit
	Coverity Id 17
	* libi2c/libi2c.c: Fix memory leak on error.
2010-06-21 16:27:12 +00:00
Joel Sherrill
bec8f2b2ef 2010-06-21 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1559/misc
	Coverity Id 16
	* libmisc/monitor/mon-editor.c: Fix buffer overflow.
2010-06-21 16:25:20 +00:00
Ralf Corsepius
70874532b0 2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/include/rtems/rtems/object.h,
	rtems/src/rtemsobjectidapimaximum.c:
	Let rtems_object_id_api_maximum() return OBJECTS_APIS_LAST.
2010-06-18 13:29:29 +00:00
Ralf Corsepius
8d3088716d 2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/rtems/mkrootfs.h: doxygen cosmetics.
2010-06-18 10:03:49 +00:00
Ralf Corsepius
e66a39f25e 2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netinet/if_ether.c: Misc. 64bit fixes from FreeBSD.
	* libfs/src/nfsclient/src/rpcio.c: Misc. 64bit fixes.
2010-06-18 10:00:46 +00:00
Chris Johns
3142a5c8c4 2010-06-18 Chris Johns <chrisj@rtems.org>
* libfs/src/rfs/rtems-rfs-file-block.c: Clean up uint64_t
        maths.

        * libfs/src/rfs/rtems-rfs-file-system.h,
        libfs/src/rfs/rtems-rfs-file-system.c: Move
        questionable macros to C functions.
2010-06-17 22:10:20 +00:00
Joel Sherrill
d25f7410d2 2010-06-17 Joel Sherrill <joel.sherrilL@OARcorp.com>
* sapi/include/confdefs.h: Remove RTEMS_COVERAGE conditionals.
2010-06-17 18:38:20 +00:00
Chris Johns
2668de20c7 2010-06-17 Chris Johns <chrisj@rtems.org>
libfs/src/rfs/rtems-rfs-bitmaps.h,
        libfs/src/rfs/rtems-rfs-block-pos.h,
        libfs/src/rfs/rtems-rfs-block.h: PR 1556. Struct clean up.
2010-06-17 04:38:29 +00:00
Ralf Corsepius
5c8fa6a0b2 2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/rfs/rtems-rfs-file-system.h: Revert previous change.
	Force RTEMS_RFS_VERSION_MASK to be 32bit.
2010-06-17 03:57:17 +00:00
Ralf Corsepius
b439daa0e2 2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/rfs/rtems-rfs-format.c: Various 64bit fixes.
2010-06-17 03:48:39 +00:00
Ralf Corsepius
23d3d8918f 2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/rfs/rtems-rfs-format.c: Various 64bit fixes.
2010-06-17 03:47:00 +00:00
Ralf Corsepius
3e008012b9 2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/rfs/rtems-rfs-file-system.c: Various 64bit fixes.
2010-06-17 03:41:21 +00:00
Ralf Corsepius
46c717080a 2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/rfs/rtems-rfs-rtems-file.c: Various 64bit fixes.
2010-06-17 03:35:30 +00:00
Ralf Corsepius
eb5d659ff7 2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/rfs/rtems-rfs-buffer.c: Various 64bit fixes.
2010-06-17 03:16:51 +00:00
Ralf Corsepius
f5577ea6eb 2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/rfs/rtems-rfs-shell.c: Various 64bit fixes.
2010-06-17 03:14:12 +00:00
Ralf Corsepius
26cf027307 2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/rfs/rtems-rfs-bitmaps-ut.c: Various 64bit fixes.
2010-06-17 02:48:50 +00:00
Ralf Corsepius
a585ea1360 2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/rfs/rtems-rfs-group.c: Various 64bit fixes.
2010-06-17 02:44:55 +00:00
Joel Sherrill
5d23f32a7e 2010-06-16 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1453/cpukit
	* posix/Makefile.am: newlib uses sysconf() for _CLOCKS_PER_SEC_ so
	enable it even when POSIX threads are disabled.
2010-06-16 19:12:05 +00:00
Ralf Corsepius
90cb370c1b 2010-06-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/rfs/rtems-rfs-file.c: Various 64bit fixes.
2010-06-16 17:43:57 +00:00
Ralf Corsepius
c7f60bc333 2010-06-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/rfs/rtems-rfs-inode.c: Various 64bit fixes.
2010-06-16 17:30:51 +00:00
Ralf Corsepius
9d20b9d6bb 2010-06-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/rfs/rtems-rfs-rtems.c: Various 64bit fixes.
	Add PRIomode_t.
2010-06-16 17:25:54 +00:00
Ralf Corsepius
652cdab3a6 2010-06-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/rfs/rtems-rfs-buffer-bdbuf.c:
	Various 64bit fixes.
2010-06-16 17:00:07 +00:00
Ralf Corsepius
2d2f01da9d 2010-06-16 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1556/cpukit
	* libfs/src/rfs/rtems-rfs-bitmaps.h,
	libfs/src/rfs/rtems-rfs-block-pos.h,
	libfs/src/rfs/rtems-rfs-buffer.h,
	libfs/src/rfs/rtems-rfs-file-system-fwd.h,
	libfs/src/rfs/rtems-rfs-file-system.h,
	libfs/src/rfs/rtems-rfs-file.h,
	libfs/src/rfs/rtems-rfs-format.h,
	libfs/src/rfs/rtems-rfs-group.h,
	libfs/src/rfs/rtems-rfs-inode.h:
	Rename "struct rtems_rfs_*_t" into "struct _rtems_rfs_*".
2010-06-16 14:41:01 +00:00
Ralf Corsepius
443ee5ac7c 2010-06-16 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1556/cpukit
	* libfs/src/rfs/rtems-rfs-shell.c: Remove rtems_rfs_shell_cmd_t.
2010-06-16 14:32:21 +00:00
Ralf Corsepius
64b287e36d 2010-06-15 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1566/filesystem
	* libnetworking/rtems/mkrootfs.c,  libnetworking/rtems/mkrootfs.h:
	Let rtems_rootfs_append_host_rec take an in_addr_t as first arg.
	* libnetworking/rtems/rtems_dhcp.c, libnetworking/nfs/bootp_subr.c:
	Reflect changes above.
2010-06-16 13:52:04 +00:00
Ralf Corsepius
54cad054fd 2010-06-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/rfs/rtems-rfs-dir.c: Various 64bit compatibility fixes.
	Add PRIdoff_t.
	Remove stray "\"s.
	* libfs/src/rfs/rtems-rfs-link.c: Various 64bit compatibility fixes.
2010-06-15 23:35:05 +00:00
Ralf Corsepius
f5d125e761 2010-06-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/rfs/rtems-rfs-file-system.h: Remove bogus typecast.
2010-06-15 15:17:43 +00:00
Ralf Corsepius
cd28c732ba 2010-06-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/rfs/rtems-rfs-block.c, libfs/src/rfs/rtems-rfs-buffer.c,
	libnetworking/nfs/bootp_subr.c: Misc. 64bit-compatibility fixes.
2010-06-15 13:35:53 +00:00
Ralf Corsepius
98d8ba3282 2010-06-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/include/rtems/posix/pthread.h: Remove stray comment.
	Work-around doxygen comment bug.
2010-06-15 13:27:03 +00:00
Ralf Corsepius
430c7ff8a9 2010-06-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netinet/ip_fw.c, libnetworking/netinet/ip_input.c:
	Misc. 64bit-compatibility fixes.
2010-06-15 11:34:00 +00:00
Ralf Corsepius
b42a4778cd 2010-06-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/print-ls.c, libmisc/shell/main_msdosfmt.c:
	Include <inttypes.h>.
	Misc. 64bit-compatibility fixes.
2010-06-15 05:42:40 +00:00
Sebastian Huber
559affa638 2010-06-14 Arnout Vandecappelle <arnout@mind.be>
PR 1557/misc
	* libchip/i2c/spi-sd-card.c: Fixed low capacity special case.
2010-06-14 16:09:23 +00:00
Joel Sherrill
9257060300 2010-06-14 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1553/filesystem
	Coverity Id 37
	* libblock/src/flashdisk.c: Fix two paths which should have returned an
	error but did not have the return statement.
2010-06-14 13:02:29 +00:00
Ralf Corsepius
45ef86e160 2010-06-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/rtems/mkrootfs.h,
	posix/include/rtems/posix/pthread.h,
	score/include/rtems/score/coresem.h,
	score/include/rtems/score/priority.h,
	score/include/rtems/score/threadq.h,
	score/include/rtems/score/timestamp.h: Move 'extern "C"'.
2010-06-14 06:09:11 +00:00
Ralf Corsepius
abd363672a 2010-06-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/include/rtems/posix/threadsup.h: Add extern "C".
2010-06-14 06:04:07 +00:00
Ralf Corsepius
cbaf3bc8fe 2010-06-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netinet/in_pcb.c:
	Eliminate "ushort".
2010-06-14 05:59:45 +00:00
Ralf Corsepius
d9f0918c4f 2010-06-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/pipe/fifo.c, libfs/src/pipe/pipe.h:
	Eliminate "uint".
2010-06-14 05:49:56 +00:00
Ralf Corsepius
354b8d5a71 Regenerate. 2010-06-13 03:39:35 +00:00
Ralf Corsepius
17c5077da8 2010-06-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/rtems/tar.h, libcsupport/include/tar.h: Remove.
	* configure.ac: Require toolchain to provide tar.h.
	* libfs/src/imfs/imfs_load_tar.c, libmisc/untar/untar.h:
	Use <tar.h> instead of <rtems/tar.h>.
2010-06-13 03:38:52 +00:00
Ralf Corsepius
276760fedb 2010-06-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/inline/rtems/rtems/status.inl: Fix broken doxygen comment.
2010-06-12 06:40:49 +00:00
Ralf Corsepius
04286374ba 2010-06-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/include/rtems/score/timestamp.h,
	score/include/rtems/score/timestamp64.h,
	score/include/rtems/score/watchdog.h:
	Misc. doxygen fixes.
2010-06-12 05:56:33 +00:00
Ralf Corsepius
688ef938a2 2010-06-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/include/devctl.h: Move mal-placed @file.
2010-06-12 05:52:36 +00:00
Ralf Corsepius
727e502fe6 2010-06-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/devfs/devfs.h, libfs/src/rfs/rtems-rfs-block-pos.h,
	libfs/src/rfs/rtems-rfs-block.h, libfs/src/rfs/rtems-rfs-dir.h,
	libfs/src/rfs/rtems-rfs-group.h, libfs/src/rfs/rtems-rfs-inode.h:
	Fix broken doxygen commands.
2010-06-12 05:19:25 +00:00
Ralf Corsepius
5f86054d9f 2010-06-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Don't install html_imagesdir unconditionally.
2010-06-11 11:11:29 +00:00
Ralf Corsepius
66e7e56106 2010-06-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* main.am: Don't install html_projectdir unconditionally.
2010-06-11 10:57:38 +00:00
Ralf Corsepius
4be24b3233 2010-06-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* cpu_supplement/Makefile.am: Include main.am.
2010-06-11 10:55:13 +00:00
Ralf Corsepius
dfc2df612e Remove EDITION (Unused) 2010-06-11 07:39:50 +00:00
Ralf Corsepius
18e6f2e9bb 2010-05-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* cpu_supplement/Makefile.am, cpu_supplement/cpu_supplement.texi:
	Remove tic4x.
	* cpu_supplement/tic4x.t: Remove.
2010-06-11 07:37:06 +00:00
Ralf Corsepius
9ede742664 Remove. 2010-06-11 07:36:50 +00:00
Ralf Corsepius
ce629bf076 Remove (Obsolete). 2010-06-09 06:17:52 +00:00
Ralf Corsepius
ee7895343a Remove. 2010-06-09 06:17:15 +00:00
Ralf Corsepius
922c91dc04 Fix typo. 2010-06-09 05:30:51 +00:00
Ralf Corsepius
6bf28fc0e7 Remove (post-branching cleanup) 2010-06-09 05:13:36 +00:00
Ralf Corsepius
f575b19252 Remove (unsupported, no toolchain). 2010-06-09 05:01:18 +00:00
Ralf Corsepius
94735680de 2010-06-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/rtems-cpu-subdirs.m4: Remove nios2.
2010-06-09 04:52:13 +00:00
Ralf Corsepius
113bf2d969 Remove (unsupported, no toolchain). 2010-06-09 04:49:56 +00:00
Ralf Corsepius
84bb0f7669 Remove (unsupported, no toolchain) 2010-06-09 04:43:02 +00:00
Ralf Corsepius
08f77590ed 2010-06-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove nios2 (unsupported, no toolchain).
2010-06-09 04:42:23 +00:00
Ralf Corsepius
6c9ef9ca53 2010-06-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove nios2 (unsupported, no toolchain).
	* score/cpu/Makefile.am: Remove nios2 (unsupported, no toolchain).
2010-06-09 04:39:15 +00:00
Ralf Corsepius
e4266e1a60 Remove (unsupported, no toolchain). 2010-06-09 04:38:13 +00:00
Ralf Corsepius
75ab0720b7 2010-06-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove c4x (dead port).
2010-06-09 04:21:04 +00:00
Ralf Corsepius
41dadd860a Remove (dead port). 2010-06-09 04:17:46 +00:00
Ralf Corsepius
3bc57fd644 2010-06-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/cpu/Makefile.am: Remove c4x (dead port).
2010-06-09 04:17:19 +00:00
Ralf Corsepius
f1d0ac4696 Remove. 2010-06-09 03:58:33 +00:00
Ralf Corsepius
849628c4d8 post-branchin cleanup. 2010-06-07 09:34:54 +00:00
Ralf Corsepius
6b5047c4d7 Remove. 2010-06-07 09:33:26 +00:00
cvs2git
4d4e04a8ed This commit was manufactured by cvs2svn to create branch
'rtems-4-10-branch'.

Sprout from master 2010-06-03 21:00:23 UTC Joel Sherrill <joel.sherrill@OARcorp.com> '2010-06-03	Joel Sherrill <joel.sherrilL@OARcorp.com>'
Cherrypick from B_beatnik_import_from_SLAC 2009-12-03 16:56:50 UTC Till Straumann <strauman@slac.stanford.edu> ' - importing 'beatnik' BSP from SLAC repository.':
    c/src/lib/libbsp/powerpc/beatnik/.cvsignore
    c/src/lib/libbsp/powerpc/beatnik/LICENSE
    c/src/lib/libbsp/powerpc/beatnik/README
    c/src/lib/libbsp/powerpc/beatnik/bsp_specs
    c/src/lib/libbsp/powerpc/beatnik/configure.ac
    c/src/lib/libbsp/powerpc/beatnik/flash/flashcfg.c
    c/src/lib/libbsp/powerpc/beatnik/include/.cvsignore
    c/src/lib/libbsp/powerpc/beatnik/irq/discovery_pic.c
    c/src/lib/libbsp/powerpc/beatnik/irq/irq.h
    c/src/lib/libbsp/powerpc/beatnik/irq/irq_init.c
    c/src/lib/libbsp/powerpc/beatnik/irq/irq_test_app.c
    c/src/lib/libbsp/powerpc/beatnik/make/custom/beatnik.cfg
    c/src/lib/libbsp/powerpc/beatnik/marvell/discovery.c
    c/src/lib/libbsp/powerpc/beatnik/marvell/gt.c
    c/src/lib/libbsp/powerpc/beatnik/marvell/gt_timer.c
    c/src/lib/libbsp/powerpc/beatnik/marvell/gt_timer.h
    c/src/lib/libbsp/powerpc/beatnik/marvell/gti2c.c
    c/src/lib/libbsp/powerpc/beatnik/marvell/gti2c_busdrv.h
    c/src/lib/libbsp/powerpc/beatnik/marvell/gti2creg.h
    c/src/lib/libbsp/powerpc/beatnik/marvell/gtintrreg.h
    c/src/lib/libbsp/powerpc/beatnik/marvell/gtpcireg.h
    c/src/lib/libbsp/powerpc/beatnik/marvell/gtreg.h
    c/src/lib/libbsp/powerpc/beatnik/network/if_em/LICENSE
    c/src/lib/libbsp/powerpc/beatnik/network/if_em/README
    c/src/lib/libbsp/powerpc/beatnik/network/if_em/if_em.h
    c/src/lib/libbsp/powerpc/beatnik/network/if_em/if_em_hw.c
    c/src/lib/libbsp/powerpc/beatnik/network/if_em/if_em_hw.h
    c/src/lib/libbsp/powerpc/beatnik/network/if_em/if_em_osdep.h
    c/src/lib/libbsp/powerpc/beatnik/network/if_em/if_em_pub.h
    c/src/lib/libbsp/powerpc/beatnik/network/if_em/if_em_rtems.c
    c/src/lib/libbsp/powerpc/beatnik/network/if_em/rtemscompat_defs.h
    c/src/lib/libbsp/powerpc/beatnik/network/if_gfe/gtethreg.h
    c/src/lib/libbsp/powerpc/beatnik/network/if_gfe/gtvar.h
    c/src/lib/libbsp/powerpc/beatnik/network/if_gfe/if_gfe_pub.h
    c/src/lib/libbsp/powerpc/beatnik/network/if_gfe/if_gfe_rtems.c
    c/src/lib/libbsp/powerpc/beatnik/network/if_gfe/if_gfevar.h
    c/src/lib/libbsp/powerpc/beatnik/network/if_gfe/rtemscompat_defs.h
    c/src/lib/libbsp/powerpc/beatnik/network/if_mve/if_mve_pub.h
    c/src/lib/libbsp/powerpc/beatnik/network/if_mve/mve_smallbuf_tst.c
    c/src/lib/libbsp/powerpc/beatnik/network/if_mve/testing.c
    c/src/lib/libbsp/powerpc/beatnik/network/porting/LICENSE
    c/src/lib/libbsp/powerpc/beatnik/network/porting/Makefile.template
    c/src/lib/libbsp/powerpc/beatnik/network/porting/README
    c/src/lib/libbsp/powerpc/beatnik/network/porting/if_xxx.modini.c
    c/src/lib/libbsp/powerpc/beatnik/network/porting/if_xxx_rtems.c
    c/src/lib/libbsp/powerpc/beatnik/network/porting/pcireg.h
    c/src/lib/libbsp/powerpc/beatnik/network/porting/rtemscompat.h
    c/src/lib/libbsp/powerpc/beatnik/network/porting/rtemscompat1.h
    c/src/lib/libbsp/powerpc/beatnik/network/porting/rtemscompat_defs.h.template
    c/src/lib/libbsp/powerpc/beatnik/network/support/bsp_bsdnet_attach.h
    c/src/lib/libbsp/powerpc/beatnik/network/support/early_enet_link_status.h
    c/src/lib/libbsp/powerpc/beatnik/network/support/early_link_status.c
    c/src/lib/libbsp/powerpc/beatnik/pci/gt_pci_init.c
    c/src/lib/libbsp/powerpc/beatnik/pci/motload_fixup.c
    c/src/lib/libbsp/powerpc/beatnik/pci/pci_io_remap.c
    c/src/lib/libbsp/powerpc/beatnik/pci/pci_io_remap.h
    c/src/lib/libbsp/powerpc/beatnik/startup/bspclean.c
    c/src/lib/libbsp/powerpc/beatnik/startup/bspstart.c
    c/src/lib/libbsp/powerpc/beatnik/startup/i2c_init.c
    c/src/lib/libbsp/powerpc/beatnik/startup/linkcmds
    c/src/lib/libbsp/powerpc/beatnik/startup/reboot.c
    c/src/lib/libbsp/powerpc/beatnik/tod/todcfg.c
    c/src/lib/libbsp/powerpc/beatnik/vme/VMEConfig.h
    c/src/lib/libbsp/powerpc/beatnik/vme/vme_dma.c
    c/src/lib/libbsp/powerpc/beatnik/vme/vmeconfig.c
Cherrypick from shttpd 2007-06-11 13:24:29 UTC Ralf Corsepius <ralf.corsepius@rtems.org> 'Import from shttpd-1.37.':
    cpukit/shttpd/compat_unix.h
    cpukit/shttpd/compat_win32.h
    cpukit/shttpd/io.h
    cpukit/shttpd/io_ssl.c
    cpukit/shttpd/llist.h
    cpukit/shttpd/md5.h
    cpukit/shttpd/shttpd.1
    cpukit/shttpd/shttpd.h
    cpukit/shttpd/ssl.h
    cpukit/shttpd/standalone.c
    cpukit/shttpd/std_includes.h
Cherrypick from B_rtems_mvme3100_bsp_slac 2007-12-14 06:30:15 UTC Till Straumann <strauman@slac.stanford.edu> ' - imported MVME3100 BSP (from SLAC repository)':
    c/src/lib/libbsp/powerpc/mvme3100/.cvsignore
    c/src/lib/libbsp/powerpc/mvme3100/KNOWN_PROBLEMS
    c/src/lib/libbsp/powerpc/mvme3100/LICENSE
    c/src/lib/libbsp/powerpc/mvme3100/README
    c/src/lib/libbsp/powerpc/mvme3100/tod/todcfg.c
Cherrypick from zlib 2005-10-28 07:22:42 UTC Ralf Corsepius <ralf.corsepius@rtems.org> 'Import of zlib-1.2.2.2.tar.gz':
    cpukit/zlib/INDEX
    cpukit/zlib/crc32.h
    cpukit/zlib/inffast.h
    cpukit/zlib/inffixed.h
    cpukit/zlib/trees.h
Cherrypick from rtemsdoc-4-5-branch 1997-05-27 12:40:10 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'base RTEMS documentation':
    doc/common/treedef.tex
Delete:
    contrib/crossrpms/cygwin/.cvsignore
    contrib/crossrpms/cygwin/Makefile.am
    contrib/crossrpms/cygwin/binutils.am
    contrib/crossrpms/cygwin/cloog_ppl.am
    contrib/crossrpms/cygwin/cygwin.am
    contrib/crossrpms/cygwin/expat.am
    contrib/crossrpms/cygwin/gcc-prep.add
    contrib/crossrpms/cygwin/gcc.am
    contrib/crossrpms/cygwin/gmp.am
    contrib/crossrpms/cygwin/i686/.cvsignore
    contrib/crossrpms/cygwin/i686/Makefile.am
    contrib/crossrpms/cygwin/i686/binutils-sources.add
    contrib/crossrpms/cygwin/i686/cloog-ppl.add
    contrib/crossrpms/cygwin/i686/expat.add
    contrib/crossrpms/cygwin/i686/gcc-sources.add
    contrib/crossrpms/cygwin/i686/gmp.add
    contrib/crossrpms/cygwin/i686/i686-pc-cygwin-binutils.spec
    contrib/crossrpms/cygwin/i686/i686-pc-cygwin-cloog-ppl.spec
    contrib/crossrpms/cygwin/i686/i686-pc-cygwin-expat.spec
    contrib/crossrpms/cygwin/i686/i686-pc-cygwin-gcc.spec
    contrib/crossrpms/cygwin/i686/i686-pc-cygwin-gmp.spec
    contrib/crossrpms/cygwin/i686/i686-pc-cygwin-libs.spec
    contrib/crossrpms/cygwin/i686/i686-pc-cygwin-mpc.spec
    contrib/crossrpms/cygwin/i686/i686-pc-cygwin-mpfr.spec
    contrib/crossrpms/cygwin/i686/i686-pc-cygwin-ncurses.spec
    contrib/crossrpms/cygwin/i686/i686-pc-cygwin-readline.spec
    contrib/crossrpms/cygwin/i686/i686-pc-cygwin-termcap.spec
    contrib/crossrpms/cygwin/i686/i686-pc-cygwin-terminfo.spec
    contrib/crossrpms/cygwin/i686/i686-pc-cygwin-w32api.spec
    contrib/crossrpms/cygwin/i686/i686-pc-cygwin-zlib.spec
    contrib/crossrpms/cygwin/i686/libs.add
    contrib/crossrpms/cygwin/i686/mpc.add
    contrib/crossrpms/cygwin/i686/mpfr.add
    contrib/crossrpms/cygwin/i686/ncurses.add
    contrib/crossrpms/cygwin/i686/readline.add
    contrib/crossrpms/cygwin/i686/target-cloog-ppl.add
    contrib/crossrpms/cygwin/i686/target-expat.add
    contrib/crossrpms/cygwin/i686/target-gmp.add
    contrib/crossrpms/cygwin/i686/target-libs.add
    contrib/crossrpms/cygwin/i686/target-mpc.add
    contrib/crossrpms/cygwin/i686/target-mpfr.add
    contrib/crossrpms/cygwin/i686/target-ncurses.add
    contrib/crossrpms/cygwin/i686/target-readline.add
    contrib/crossrpms/cygwin/i686/target-termcap.add
    contrib/crossrpms/cygwin/i686/target-terminfo.add
    contrib/crossrpms/cygwin/i686/target-w32api.add
    contrib/crossrpms/cygwin/i686/target-zlib.add
    contrib/crossrpms/cygwin/i686/termcap.add
    contrib/crossrpms/cygwin/i686/terminfo.add
    contrib/crossrpms/cygwin/i686/w32api.add
    contrib/crossrpms/cygwin/i686/zlib.add
    contrib/crossrpms/cygwin/mpc.am
    contrib/crossrpms/cygwin/mpfr.am
    contrib/crossrpms/cygwin/ncurses.am
    contrib/crossrpms/cygwin/readline.am
    contrib/crossrpms/cygwin/termcap.am
    contrib/crossrpms/cygwin/terminfo.am
    contrib/crossrpms/cygwin/w32api.am
    contrib/crossrpms/cygwin/zlib.am
    contrib/crossrpms/freebsd6.4/.cvsignore
    contrib/crossrpms/freebsd6.4/Makefile.am
    contrib/crossrpms/freebsd6.4/binutils.am
    contrib/crossrpms/freebsd6.4/gcc-prep.add
    contrib/crossrpms/freebsd6.4/gcc.am
    contrib/crossrpms/freebsd6.4/i586/.cvsignore
    contrib/crossrpms/freebsd6.4/i586/Makefile.am
    contrib/crossrpms/freebsd6.4/i586/binutils-sources.add
    contrib/crossrpms/freebsd6.4/i586/gcc-sources.add
    contrib/crossrpms/freebsd6.4/i586/i586-pc-freebsd6.4-binutils.spec
    contrib/crossrpms/freebsd6.4/i586/i586-pc-freebsd6.4-gcc.spec
    contrib/crossrpms/freebsd6.4/i586/i586-pc-freebsd6.4-libs.spec
    contrib/crossrpms/freebsd6.4/i586/libs.add
    contrib/crossrpms/freebsd6.4/i586/target-libs.add
    contrib/crossrpms/freebsd6.4/libs.am
    contrib/crossrpms/freebsd7.3/.cvsignore
    contrib/crossrpms/freebsd7.3/Makefile.am
    contrib/crossrpms/freebsd7.3/binutils.am
    contrib/crossrpms/freebsd7.3/gcc-prep.add
    contrib/crossrpms/freebsd7.3/gcc.am
    contrib/crossrpms/freebsd7.3/i586/.cvsignore
    contrib/crossrpms/freebsd7.3/i586/Makefile.am
    contrib/crossrpms/freebsd7.3/i586/binutils-sources.add
    contrib/crossrpms/freebsd7.3/i586/gcc-sources.add
    contrib/crossrpms/freebsd7.3/i586/i586-pc-freebsd7.3-binutils.spec
    contrib/crossrpms/freebsd7.3/i586/i586-pc-freebsd7.3-gcc.spec
    contrib/crossrpms/freebsd7.3/i586/i586-pc-freebsd7.3-libs.spec
    contrib/crossrpms/freebsd7.3/i586/libs.add
    contrib/crossrpms/freebsd7.3/i586/target-libs.add
    contrib/crossrpms/freebsd7.3/libs.am
    contrib/crossrpms/freebsd8.0/.cvsignore
    contrib/crossrpms/freebsd8.0/Makefile.am
    contrib/crossrpms/freebsd8.0/binutils.am
    contrib/crossrpms/freebsd8.0/gcc-prep.add
    contrib/crossrpms/freebsd8.0/gcc.am
    contrib/crossrpms/freebsd8.0/i586/.cvsignore
    contrib/crossrpms/freebsd8.0/i586/Makefile.am
    contrib/crossrpms/freebsd8.0/i586/binutils-sources.add
    contrib/crossrpms/freebsd8.0/i586/gcc-sources.add
    contrib/crossrpms/freebsd8.0/i586/i586-pc-freebsd8.0-binutils.spec
    contrib/crossrpms/freebsd8.0/i586/i586-pc-freebsd8.0-gcc.spec
    contrib/crossrpms/freebsd8.0/i586/i586-pc-freebsd8.0-libs.spec
    contrib/crossrpms/freebsd8.0/i586/libs.add
    contrib/crossrpms/freebsd8.0/i586/target-libs.add
    contrib/crossrpms/freebsd8.0/libs.am
    contrib/crossrpms/freebsd8.0/x86_64/.cvsignore
    contrib/crossrpms/freebsd8.0/x86_64/Makefile.am
    contrib/crossrpms/freebsd8.0/x86_64/amd64-pc-freebsd8.0-binutils.spec
    contrib/crossrpms/freebsd8.0/x86_64/amd64-pc-freebsd8.0-gcc.spec
    contrib/crossrpms/freebsd8.0/x86_64/amd64-pc-freebsd8.0-libs.spec
    contrib/crossrpms/freebsd8.0/x86_64/binutils-sources.add
    contrib/crossrpms/freebsd8.0/x86_64/gcc-sources.add
    contrib/crossrpms/freebsd8.0/x86_64/libs.add
    contrib/crossrpms/freebsd8.0/x86_64/target-libs.add
    contrib/crossrpms/mingw32/.cvsignore
    contrib/crossrpms/mingw32/Makefile.am
    contrib/crossrpms/mingw32/gmp.am
    contrib/crossrpms/mingw32/i686/.cvsignore
    contrib/crossrpms/mingw32/i686/Makefile.am
    contrib/crossrpms/mingw32/i686/gmp.add
    contrib/crossrpms/mingw32/i686/i686-pc-mingw32-binutils-helper.spec
    contrib/crossrpms/mingw32/i686/i686-pc-mingw32-binutils-helper.spec.in
    contrib/crossrpms/mingw32/i686/i686-pc-mingw32-curses-helper.spec
    contrib/crossrpms/mingw32/i686/i686-pc-mingw32-curses-helper.spec.in
    contrib/crossrpms/mingw32/i686/i686-pc-mingw32-expat-helper.spec
    contrib/crossrpms/mingw32/i686/i686-pc-mingw32-expat-helper.spec.in
    contrib/crossrpms/mingw32/i686/i686-pc-mingw32-gcc-helper.spec
    contrib/crossrpms/mingw32/i686/i686-pc-mingw32-gcc-helper.spec.in
    contrib/crossrpms/mingw32/i686/i686-pc-mingw32-gmp.spec
    contrib/crossrpms/mingw32/i686/i686-pc-mingw32-libs-helper.spec
    contrib/crossrpms/mingw32/i686/i686-pc-mingw32-libs-helper.spec.in
    contrib/crossrpms/mingw32/i686/i686-pc-mingw32-mpc.spec
    contrib/crossrpms/mingw32/i686/i686-pc-mingw32-mpfr.spec
    contrib/crossrpms/mingw32/i686/i686-pc-mingw32-readline-helper.spec
    contrib/crossrpms/mingw32/i686/i686-pc-mingw32-readline-helper.spec.in
    contrib/crossrpms/mingw32/i686/i686-pc-mingw32-termcap-helper.spec
    contrib/crossrpms/mingw32/i686/i686-pc-mingw32-termcap-helper.spec.in
    contrib/crossrpms/mingw32/i686/i686-pc-mingw32-w32api-helper.spec
    contrib/crossrpms/mingw32/i686/i686-pc-mingw32-w32api-helper.spec.in
    contrib/crossrpms/mingw32/i686/i686-pc-mingw32-zlib-helper.spec
    contrib/crossrpms/mingw32/i686/i686-pc-mingw32-zlib-helper.spec.in
    contrib/crossrpms/mingw32/i686/mpc.add
    contrib/crossrpms/mingw32/i686/mpfr.add
    contrib/crossrpms/mingw32/i686/target-gmp.add
    contrib/crossrpms/mingw32/i686/target-mpc.add
    contrib/crossrpms/mingw32/i686/target-mpfr.add
    contrib/crossrpms/mingw32/mpc.am
    contrib/crossrpms/mingw32/mpfr.am
    contrib/crossrpms/netbsd5.0.2/.cvsignore
    contrib/crossrpms/netbsd5.0.2/Makefile.am
    contrib/crossrpms/netbsd5.0.2/binutils.am
    contrib/crossrpms/netbsd5.0.2/gcc-prep.add
    contrib/crossrpms/netbsd5.0.2/gcc.am
    contrib/crossrpms/netbsd5.0.2/i386/.cvsignore
    contrib/crossrpms/netbsd5.0.2/i386/Makefile.am
    contrib/crossrpms/netbsd5.0.2/i386/binutils-sources.add
    contrib/crossrpms/netbsd5.0.2/i386/gcc-sources.add
    contrib/crossrpms/netbsd5.0.2/i386/i386-pc-netbsdelf5.0.2-binutils.spec
    contrib/crossrpms/netbsd5.0.2/i386/i386-pc-netbsdelf5.0.2-gcc.spec
    contrib/crossrpms/netbsd5.0.2/i386/i386-pc-netbsdelf5.0.2-libs.spec
    contrib/crossrpms/netbsd5.0.2/i386/libs.add
    contrib/crossrpms/netbsd5.0.2/i386/target-libs.add
    contrib/crossrpms/netbsd5.0.2/libs.am
    contrib/crossrpms/netbsd5.0.2/x86_64/.cvsignore
    contrib/crossrpms/netbsd5.0.2/x86_64/Makefile.am
    contrib/crossrpms/netbsd5.0.2/x86_64/amd64-pc-netbsdelf5.0.2-binutils.spec
    contrib/crossrpms/netbsd5.0.2/x86_64/amd64-pc-netbsdelf5.0.2-gcc.spec
    contrib/crossrpms/netbsd5.0.2/x86_64/amd64-pc-netbsdelf5.0.2-libs.spec
    contrib/crossrpms/netbsd5.0.2/x86_64/binutils-sources.add
    contrib/crossrpms/netbsd5.0.2/x86_64/gcc-sources.add
    contrib/crossrpms/netbsd5.0.2/x86_64/libs.add
    contrib/crossrpms/netbsd5.0.2/x86_64/target-libs.add
    contrib/crossrpms/solaris2.7/.cvsignore
    contrib/crossrpms/solaris2.7/Makefile.am
    contrib/crossrpms/solaris2.7/binutils.am
    contrib/crossrpms/solaris2.7/gcc-prep.add
    contrib/crossrpms/solaris2.7/gcc.am
    contrib/crossrpms/solaris2.7/libs.am
    contrib/crossrpms/solaris2.7/sparc/.cvsignore
    contrib/crossrpms/solaris2.7/sparc/Makefile.am
    contrib/crossrpms/solaris2.7/sparc/binutils-sources.add
    contrib/crossrpms/solaris2.7/sparc/gcc-sources.add
    contrib/crossrpms/solaris2.7/sparc/libs.add
    contrib/crossrpms/solaris2.7/sparc/sparc-sun-solaris2.7-binutils.spec
    contrib/crossrpms/solaris2.7/sparc/sparc-sun-solaris2.7-gcc.spec
    contrib/crossrpms/solaris2.7/sparc/sparc-sun-solaris2.7-libs.spec
    contrib/crossrpms/solaris2.7/sparc/target-libs.add
    cpukit/zlib/CMakeLists.txt
    cpukit/zlib/ChangeLog
    cpukit/zlib/ChangeLog.zlib
    cpukit/zlib/FAQ
    cpukit/zlib/Makefile.am
    cpukit/zlib/README
    cpukit/zlib/adler32.c
    cpukit/zlib/algorithm.txt
    cpukit/zlib/compress.c
    cpukit/zlib/contrib/amd64/amd64-match.S
    cpukit/zlib/contrib/gcc_gvmat64/gvmat64.S
    cpukit/zlib/contrib/masmx86/match686.asm
    cpukit/zlib/contrib/vstudio/vc10/miniunz.vcxproj
    cpukit/zlib/contrib/vstudio/vc10/miniunz.vcxproj.filters
    cpukit/zlib/contrib/vstudio/vc10/miniunz.vcxproj.user
    cpukit/zlib/contrib/vstudio/vc10/minizip.vcxproj
    cpukit/zlib/contrib/vstudio/vc10/minizip.vcxproj.filters
    cpukit/zlib/contrib/vstudio/vc10/minizip.vcxproj.user
    cpukit/zlib/contrib/vstudio/vc10/testzlib.vcxproj
    cpukit/zlib/contrib/vstudio/vc10/testzlib.vcxproj.filters
    cpukit/zlib/contrib/vstudio/vc10/testzlib.vcxproj.user
    cpukit/zlib/contrib/vstudio/vc10/testzlibdll.vcxproj
    cpukit/zlib/contrib/vstudio/vc10/testzlibdll.vcxproj.filters
    cpukit/zlib/contrib/vstudio/vc10/testzlibdll.vcxproj.user
    cpukit/zlib/contrib/vstudio/vc10/zlibstat.vcxproj
    cpukit/zlib/contrib/vstudio/vc10/zlibstat.vcxproj.filters
    cpukit/zlib/contrib/vstudio/vc10/zlibstat.vcxproj.user
    cpukit/zlib/contrib/vstudio/vc10/zlibvc.sln
    cpukit/zlib/contrib/vstudio/vc10/zlibvc.vcxproj
    cpukit/zlib/contrib/vstudio/vc10/zlibvc.vcxproj.filters
    cpukit/zlib/contrib/vstudio/vc10/zlibvc.vcxproj.user
    cpukit/zlib/contrib/vstudio/vc9/miniunz.vcproj
    cpukit/zlib/contrib/vstudio/vc9/minizip.vcproj
    cpukit/zlib/contrib/vstudio/vc9/testzlib.vcproj
    cpukit/zlib/contrib/vstudio/vc9/testzlibdll.vcproj
    cpukit/zlib/contrib/vstudio/vc9/zlibstat.vcproj
    cpukit/zlib/contrib/vstudio/vc9/zlibvc.sln
    cpukit/zlib/contrib/vstudio/vc9/zlibvc.vcproj
    cpukit/zlib/crc32.c
    cpukit/zlib/deflate.c
    cpukit/zlib/deflate.h
    cpukit/zlib/doc/rfc1950.txt
    cpukit/zlib/doc/rfc1951.txt
    cpukit/zlib/doc/rfc1952.txt
    cpukit/zlib/doc/txtvsbin.txt
    cpukit/zlib/examples/enough.c
    cpukit/zlib/examples/gun.c
    cpukit/zlib/examples/zran.c
    cpukit/zlib/gzio.c
    cpukit/zlib/infback.c
    cpukit/zlib/inffast.c
    cpukit/zlib/inflate.c
    cpukit/zlib/inflate.h
    cpukit/zlib/inftrees.c
    cpukit/zlib/inftrees.h
    cpukit/zlib/nintendods/Makefile
    cpukit/zlib/nintendods/README
    cpukit/zlib/old/as400/bndsrc
    cpukit/zlib/old/as400/compile.clp
    cpukit/zlib/old/as400/readme.txt
    cpukit/zlib/old/as400/zlib.inc
    cpukit/zlib/old/visualc6/README.txt
    cpukit/zlib/old/visualc6/example.dsp
    cpukit/zlib/old/visualc6/minigzip.dsp
    cpukit/zlib/old/visualc6/zlib.dsp
    cpukit/zlib/old/visualc6/zlib.dsw
    cpukit/zlib/trees.c
    cpukit/zlib/uncompr.c
    cpukit/zlib/watcom/watcom_f.mak
    cpukit/zlib/watcom/watcom_l.mak
    cpukit/zlib/win32/README-WIN32.txt
    cpukit/zlib/zconf.h
    cpukit/zlib/zlib.3
    cpukit/zlib/zlib.h
    cpukit/zlib/zlib.map
    cpukit/zlib/zlib.pc.in
    cpukit/zlib/zlib2ansi
    cpukit/zlib/zutil.c
    cpukit/zlib/zutil.h
2010-06-03 21:00:24 +00:00
11142 changed files with 641109 additions and 751271 deletions

4
.gitignore vendored
View File

@@ -2,4 +2,8 @@ aclocal.m4
autom4te.cache
configure
config.h.in
config.guess
config.sub
install-sh
Makefile.in
missing

1905
ChangeLog Normal file

File diff suppressed because it is too large Load Diff

49
INSTALL
View File

@@ -1,4 +1,51 @@
#
# $Id$
#
Building RTEMS
==============
See the documentation referred to in the README.
See the file README.configure.
UNCOMPRESSING .tgz FILES
===========================
Many of the files found in this directory and its subdirectories
are gzip'ed, tar archive files. These files have the ".tgz"
extension. They were compressed with gzip version 1.2.4.
Use a command sequence similar to the following to uncompress each
file:
gzcat FILE.tgz | tar xvof -
where FILE.tgz is the file to be installed. This procedure will
extract the files in the archive into the current directory.
All of the .tgz files associated with this release RTEMS will
place their contents in a subdirectory rtems-<release> in the current
directory.
If you are unsure of what is in an RTEMS archive file, then use
the following command sequence to get a listing of the contents:
gzcat FILE.tgz | tar tvf -
NOTES:
(1) The "-o" option to tar is included on the tar command line
so that the user extracting the tar archive will own the extracted
files.
(2) gzcat is sometimes installed as zcat. Be warned that on many
(most) UNIX machines, zcat is associated with compress (.Z files).
(3) If you do not have gzip 1.2.4, it is available from numerous sites
including this one. Other sites include ftp.gnu.org and ftp.cdrom.com.
(4) The GNU archive files included in this distribution are packaged
exactly like they are on official GNU ftp sites. When extracting
GNU archives, they will not extract under a rtems-<version>
directory. They will extract themselves under a directory which
is the name and version of the tool in question. For example,
gcc-2.5.8.tgz will extract its contents into the subdirectory
gcc-2.5.8.

View File

@@ -1,3 +1,6 @@
#
# $Id$
#
LICENSE INFORMATION
RTEMS is free software; you can redistribute it and/or modify it under

View File

@@ -1,30 +0,0 @@
The files in this directory and elsewhere which refer to this LICENCE
file are part of JFFS2, the Journalling Flash File System v2.
Copyright © 2001-2007 Red Hat, Inc. and others
JFFS2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 or (at your option) any later
version.
JFFS2 is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License along
with JFFS2; if not, write to the Free Software Foundation, Inc.,
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
As a special exception, if other files instantiate templates or use
macros or inline functions from these files, or you compile these
files and link them with other works to produce a work based on these
files, these files do not by themselves cause the resulting work to be
covered by the GNU General Public License. However the source code for
these files must still be made available in accordance with section (3)
of the GNU General Public License.
This exception does not invalidate any other reasons why a work based on
this file might be covered by the GNU General Public License.

View File

@@ -1,3 +1,7 @@
#
# $Id$
#
The RTEMS TCP/IP stack is a port of the FreeBSD TCP/IP stack. The following
copyright and licensing information applies to this code.

View File

@@ -1,3 +1,7 @@
#
# $Id$
#
The RTEMS RPC/XDR support is a port of the freely distributed
Sun Microsystems implementation. The following copyright and
licensing information applies to this code.

8
LICENSE.WEBSERVER Normal file
View File

@@ -0,0 +1,8 @@
#
# $Id$
#
The source code in c/src/libnetworking/rtems_webserver is a port
of the Go Ahead Software, Inc. WebServer. Their copyright and
licensing terms apply. See c/src/libnetworking/rtems_webserver/license.txt
for details.

View File

@@ -1,55 +1,54 @@
Note
====
This file contains information about people who are permitted to make
changes to various parts of RTEMS and its associated components and
add-ons.
Please do not contact the people in this file directly to report
problems with RTEMS.
For general information about RTEMS, please visit:
http://www.rtems.com
To report problems in RTEMS, please visit:
http://www.rtems.com/bugs.html
Maintainers
===========
This file contains information about people who are permitted to make
changes to RTEMS and its associated components and add-ons. Please do
not contact the people in this file directly to report problems with RTEMS.
For general information about RTEMS, please visit: http://www.rtems.org
Blanket Write Privileges (alphabetical order)
To report problems in RTEMS, please visit: http://www.rtems.org/bugs.html
Jennifer Averett jennifer@oarcorp.com
Ralf Corsepius ralf.corsepius@rtems.org
Chris Johns chris.johns@rtems.com
Eric Norum eric.norum@rtems.com
Joel Sherrill joel.sherrill@oarcorp.com
RTEMS is maintained by collection of volunteers. RTEMS is a very
broad and diverse project which requires expertise in many areas.
This breadth of knowledge exceeds the capabilities of any
single person. Each volunteer has areas of expertise where they
are more comfortable but each is capable of making technical
decisions across the entirety of RTEMS.
Various Component Maintainers
Blanket Write Privileges are granted to experienced RTEMS developers
who can be trusted to distinguish between changes which require
others to review, require a problem report, or can be safely committed
with limited review.
Networking NAME-TBD EMAIL-TBD
Write After Approval is granted to experienced but also trusted
RTEMS developers. These developers may be less familiar with
the breadth of RTEMS. Developers with write after approval need
to submit their patches for review. Once the patches have been
approved by a developer with Blanket Write Privileges, the patches
may be checked in.
CPU Port Maintainers (CPU alphabetical order)
Localized Write Permission is for developers who have primary
responsibility for a port and all associated BSPs, a BSP, or other
specific aspects of RTEMS. These folks are allowed to make changes to
areas they maintain and related documentation, web pages, and test cases
without approval from anyone else, and approve other people's changes
in those areas. They must get approval for changes elsewhere in RTEMS.
arm Jay Monkman jtm@lopingdog.com
avr NAME-TBD EMAIL-TBD
c4x Joel Sherrill joel.sherrill@OARcorp.com
h8300 NAME-TBD EMAIL-TBD
i386 NAME-TBD EMAIL-TBD
m68k NAME-TBD EMAIL-TBD
mips NAME-TBD EMAIL-TBD
no_cpu NAME-TBD EMAIL-TBD
or32 NAME-TBD EMAIL-TBD
powerpc NAME-TBD EMAIL-TBD
sh NAME-TBD EMAIL-TBD
sparc NAME-TBD EMAIL-TBD
Blanket Write Privileges
========================
Jennifer Averett jennifer.averett@OARcorp.com
Thomas Doefler Thomas.Doerfler@embedded-brains.de
Sebastian Huber sebastian.huber@embedded-brains.de
Chris Johns chrisj@rtems.org
Joel Sherrill joel.sherrill@OARcorp.com
Gedare Bloom gedare@rtems.org
BSP Maintainers (CPU/BSP alphabetical order)
Write After Approval
====================
Daniel Hellstrom daniel@gaisler.com
Ben Gras beng@rtems.org
Localized Write Permission
==========================
sparc Daniel Hellstrom (daniel@gaisler.com)
beagle Ben Gras (beng@rtems.org)
CPU/BSP NAME-TBD EMAIL-TBD
arm/edb7312 Jay Monkman jtm@lopingdog.com
arm/gp32 Philippe Simons loki_666@fastmail.fm

View File

@@ -1,10 +1,13 @@
#
# top level directory for RTEMS build tree
#
##
## $Id$
##
ACLOCAL_AMFLAGS = -I aclocal
SUBDIRS = $(build_SUBDIRS) $(host_SUBDIRS) $(target_SUBDIRS)
SUBDIRS = make $(build_SUBDIRS) $(host_SUBDIRS) $(target_SUBDIRS)
DIST_SUBDIRS = $(SUBDIRS)
noinst_SCRIPTS = bootstrap
@@ -14,7 +17,7 @@ EXTRA_DIST += config-ml.in
EXTRA_DIST += ampolish3
dist-hook:
@files=`(cd $(srcdir); find cpukit c testsuites tools \
@files=`(cd $(srcdir); find doc cpukit c testsuites tools \
-name configure.ac -print | sed 's,/configure.ac,,' | sort)`; \
for i in $$files; do \
if test -f $(distdir)/$$i/configure.ac; then : ; \
@@ -37,22 +40,5 @@ dist-hook:
f=`echo $$a | sed 's,\.in$$,,'`; \
if test -f $$f; then echo "rm $$f"; rm $$f; fi; done
rtems_makedir = $(prefix)/make
dist_rtems_make_DATA =
dist_rtems_make_DATA += make/main.cfg
dist_rtems_make_DATA += make/leaf.cfg
rtems_make_Templatesdir = $(pkgdatadir)/make/Templates
dist_rtems_make_Templates_DATA =
dist_rtems_make_Templates_DATA += make/Templates/Makefile.dir
dist_rtems_make_Templates_DATA += make/Templates/Makefile.leaf
dist_rtems_make_Templates_DATA += make/Templates/Makefile.lib
rtems_make_customdir = $(rtems_makedir)/custom
dist_rtems_make_custom_DATA = make/custom/default.cfg
include $(top_srcdir)/automake/subdirs.am
include $(top_srcdir)/automake/host.am

View File

@@ -54,6 +54,15 @@ rtems-$(rtems_version)/stamp.export.$(rtems_tag)$(TAG_SUFFIX):
rtems-$(rtems_version)$(TAG_SUFFIX).tar.bz2: rtems-$(rtems_version)/stamp.autofiles \
rtems-$(rtems_version)/excludes \
rtems-$(rtems_version)/TOOL_VERSIONS
cd rtems-$(rtems_version) ; \
touch doc/ada_user/ada_user.texi doc/bsp_howto/bsp_howto.texi \
doc/cpu_supplement/cpu_supplement.texi \
doc/develenv/develenv.texi doc/filesystem/filesystem.texi \
doc/itron3.0/itron.texi doc/networking/networking.texi \
doc/new_chapters/new_chapters.texi doc/porting/porting.texi \
doc/posix1003.1/posix1003_1.texi doc/posix_users/posix_users.texi \
doc/relnotes/relnotes.texi doc/started_ada/started_ada.texi \
doc/started/started.texi doc/user/c_user.texi
tar -cj -X rtems-$(rtems_version)/excludes \
-f rtems-$(rtems_version)$(TAG_SUFFIX).tar.bz2 rtems-$(rtems_version)
@@ -135,7 +144,7 @@ new-branch:
api="$$v.$$(($$r + 1))"; \
echo "New branch release: $$version"; \
sed -i -e "s|\[_RTEMS_VERSION\],\[.*\]|\[_RTEMS_VERSION\],\[$$version\]|" \
-e "s|\[_RTEMS_API\],\[.*\]|\[_RTEMS_API\],\[$$api\]|" \
-e "s|\[RTEMS_API\],\[.*\]|\[RTEMS_API\],\[$$api\]|" \
$(VERSION_FILES); \
sed -i -e "s,\(^RTEMS Version\).*,\1 $$version," VERSION

107
README
View File

@@ -1,24 +1,97 @@
This is the Real-Time Executive for Multiprocessing Systems (RTEMS).
The version number for this software is indicated in the VERSION file.
#
# $Id$
#
See the documentation manuals in doc/ with daily builds available online at
http://rtems.org/onlinedocs/doc-current/share/rtems/html/ and released builds
at http://www.rtems.org/onlinedocs/releases/ for information on building,
installing, and using RTEMS. The INSTALL file tells you to come back here.
Building RTEMS
==============
See the file README.configure.
See the RTEMS Wiki at http://devel.rtems.org for community knowledge and
tutorials.
Directory Overview
==================
RTEMS Doxygen available at http://www.rtems.org/onlinedocs/doxygen/cpukit/html
This is the top level of the RTEMS directory structure. The following
is a description of the files and directories in this directory:
The RTEMS Project maintains mailing lists which are used for most
discussions:
INSTALL
Rudimentary installation instructions. For more detailed
information please see the Release Notes. The Postscript
version of this manual can be found in the file
c_or_ada/doc/relnotes.tgz.
* For general-purpose questions related to using RTEMS, use the
rtems-users ml: https://lists.rtems.org/mailman/listinfo/users
* For questions and discussion related to development of RTEMS, use the
rtems-devel ml: https://lists.rtems.org/mailman/listinfo/devel
LICENSE
Required legalese.
See https://devel.rtems.org/ to view existing or file a new issue
report ticket.
README
This file.
c
This directory contains the source code for the C
implementation of RTEMS as well as the test suites, sample
applications, Board Support Packages, Device Drivers, and
support libraries.
doc
This directory contains the PDL for the RTEMS executive.
Ada versus C
============
There are two implementations of RTEMS in this source tree --
in Ada and in C. These two implementations are functionally
and structurally equivalent. The C implementation follows
the packaging conventions and hierarchical nature of the Ada
implementation. In addition, a style has been followed which
allows one to easily find the corresponding Ada and C
implementations.
File names in C and code placement was carefully designed to insure
a close mapping to the Ada implementation. The following file name
extensions are used:
.adb - Ada body
.ads - Ada specification
.adp - Ada body requiring preprocessing
.inc - include file for .adp files
.c - C body (non-inlined routines)
.inl - C body (inlined routines)
.h - C specification
In the executive source, XYZ.c and XYZ.inl correspond directly to a
single XYZ.adb or XYZ.adp file. A .h file corresponds directly to
the .ads file. There are only a handful of .inc files in the
Ada source and these are used to insure that the desired simple
inline textual expansion is performed. This avoids scoping and
calling convention side-effects in carefully constructed tests
which usually test context switch behavior.
In addition, in Ada code and data name references are always fully
qualified as PACKAGE.NAME. In C, this convention is followed
by having the package name as part of the name itself and using a
capital letter to indicate the presence of a "." level. So we have
PACKAGE.NAME in Ada and _Package_Name in C. The leading "_" in C
is used to avoid naming conflicts between RTEMS and user variables.
By using these conventions, one can easily compare the C and Ada
implementations.
The most noticeable difference between the C and Ada83 code is
the inability to easily obtain a "typed pointer" in Ada83.
Using the "&" operator in C yields a pointer with a specific type.
The 'Address attribute is the closest feature in Ada83. This
returns a System.Address and this must be coerced via Unchecked_Conversion
into an access type of the desired type. It is easy to view
System.Address as similar to a "void *" in C, but this is not the case.
A "void *" can be assigned to any other pointer type without an
explicit conversion.
The solution adopted to this problem was to provide two routines for
each access type in the Ada implementation -- one to convert from
System.Address to the access type and another to go the opposite
direction. This results in code which accomplishes the same thing
as the corresponding C but it is easier to get lost in the clutter
of the apparent subprogram invocations than the "less bulky"
C equivalent.
A related difference is the types which are only in Ada which are used
for pointers to arrays. These types do not exist and are not needed
in the C implementation.

73
README.cdn-X Normal file
View File

@@ -0,0 +1,73 @@
Building RTEMS Canadian Cross
=============================
RTEMS now contains experimental and yet incomplete support for building
it Canadian Cross.
1. Introduction
---------------
If you don't know what Canadian Cross Building means, you probably don't want
to apply it and should consider stop reading here.
Interested readers might want to read Ian Lance Taylor's article at
http://www.airs.com/ian/configure for underlaying details and working
principles.
2. RTEMS
--------
Example: Building RTEMS for sparc-rtems under i386-pc-linux-gnu to be hosted
on a i386-cygwin platform.
2.1 Required tools
------------------
* A i386-pc-linux-gnu cross sparc-rtems toolchain.
* A i386-pc-linux-gnu cross i386-cygwin toolchain.
* A i386-pc-linux-gnu native toolchain.
We further on assume these to be installed to these locations:
/opt/rtems .. linux cross sparc-rtems toolchain
/opt/cygwin .. linux cross i386-cygwin cross-toolchain
/usr .. linux native toolchain and further tools.
2.2 Building sparc-rtems
------------------------
The first step is to build RTEMS for sparc-rtems under linux.
mkdir build
cd build
<path>/rtems/configure [options] \
--target=sparc-rtems \
--prefix=/opt/cygwin
make
make install
This will build a standard sparc-rtems RTEMS and install it to the given
PREFIX.
2.3 Building i386-cygwin host support
-------------------------------------
The next step is to build RTEMS host support for i386-cygwin.
This basically means to cross-build the host tools contained in RTEMS.
mkdir host
cd host
<path>/rtems/configure [options] \
--target=sparc-rtems \
--build=`<path>/rtems/config.guess` \
--host=i386-cygwin \
--prefix=/opt/cygwin
make
make install
This will build RTEMS host-tools for i386-cygwin and install them to the given
PREFIX.
3. Known issues
---------------
* At present time, building RTEMS Canadian Cross is known to be immature, and
to require additional work. Do not expect this to work.
* The <toplevel>/make/ directory hierarchy is not treated correctly.

230
README.configure Normal file
View File

@@ -0,0 +1,230 @@
#
# $Id$
#
1. Autoconf support
===================
This version of RTEMS is configured with GNU autoconf. RTEMS can be
configured and built either standalone or together with the compiler
tools in the Cygnus one-tree structure. Using autoconf also means
that RTEMS now can be built in a separate build directory.
To re-generate auto*tool generated files (configure, Makefile.in etc),
autoconf-2.68 and automake-1.11.1 are required.
2. Installation
===============
To configure RTEMS for a specific target, run configure in the build
directory. In addition to the standard configure options, the following
RTEMS-specific option are supported:
--disable-rtems-inlines
--disable-posix
--enable-itron
--disable-networking
--enable-cxx
--enable-multiprocessing
--enable-rtemsbsp="bsp1 bsp2 ..."
--enable-tests
--enable-rdbg (only valid for i386 and some PowerPC BSPs)
--enable-docs
In addition, the following standard autoconf options are frequently
used when configuring RTEMS installations:
--prefix=INSTALL_DIRECTORY
By default, inline routines are used instead of macros where possible.
Macros can be selected using the --disable-inlines option. [NOTE:
Some APIs may not support macro versions of their inline routines.]
By default, the RTEMS POSIX 1003.1b interface is built for targets that support
it. It can be disabled with the --disable-posix option.
By default, the RTEMS uITRON interface is built for targets that support
it. It can be disabled with the --disable-itron option.
By default, the RTEMS networking support is built for targets which
support it. It can be specifically disabled for those targets
with the --disable-networking option.
By default, the RTEMS remote debugger server support is not built.
It can be specifically enabled for the targets that support it.
with the --enable-rdbg option. NB : the RTEMS networking support
must be enabled to support the remote debugger server.
By default, the RTEMS support of C++ is disabled. It can be enabled
with the --enable-cxx option. If the rtems++ C++ library is installed
it will also be build.
By default, the RTEMS test suites are NOT configured -- only the
sample tests are built. --enable-tests will configure
the RTEMS test suite. The default speeds up the build
and configure process when the tests are not desired.
By default, RTEMS is built using arguments and build rules which require a
gcc supporting the -specs option, ie. a gcc >= 2.8.
[The --disable-gcc28 option, which has been present in former releases, has
been removed.]
By default, multiprocessing is is not built. It can be enabled
for those BSPs supporting it by the --enable-multiprocessing option.
By default, all bsps for a target are built. The bare BSP is not built
unless directly specified. There are two ways of changing this:
+ use the --enable-rtemsbsp option which will set the specified
bsps as the default bsps, or
+ set the RTEMS_BSP variable during make (see below).
The --enable-rtemsbsp= option configures RTEMS for a specific board
within a target architecture. Remember that the target specifies the
CPU family while the BSP specifies the precise board you will be using.
The following targets are supported:
arm-rtems4.10
avr-rtems4.10
bfin-rtems4.10
h8300-rtems4.10
i386-rtems4.10
lm32-rtems4.10
m32c-rtems4.10
m32r-rtems4.10
m68k-rtems4.10
mips-rtems4.10
no_cpu-rtems4.10
powerpc-rtems4.10
sh-rtems4.10
sparc-rtems4.10
The cross-compiler is set to $(target)-gcc by default.
To build, run make in the build directory. To specify which bsps to build,
add the RTEMS_BSP="bsp1 bsp2 .." to the make command. Specifying multiple
BSPs to build only works from the top level build directory.
Installation is done under $(prefix)/rtems.
As an example, to build and install the mvme136 and mvme162 bsps for m68k do:
(path_to_rtems_src)/configure --target=m68k-rtems4.10
make RTEMS_BSP="mvme136 mvme162"
make install RTEMS_BSP="mvme136 mvme162"
The sample tests are built by 'make all' when configured with
--enable-tests=samples. Use --enable-tests=all to build the full
test suite.
Documentation is built separately from the source code.
3. To use the installed RTEMS library
=====================================
To use the installed RTEMS bsps to build applications, the application
makefile has to include a bsp-specific makefile that will define the
RTEMS variables necessary to find include files and libraries. The
bsp-specific makefile is installed at
$(RTEMS_MAKEFILE_PATH)/Makefile.inc
For the erc32 bsp installed at /usr/local/cross, the environment
variable RTEMS_MAKEFILE_PATH would be set as follows to the
following:
/usr/local/cross/sparc-rtems/rtems/erc32/Makefile.inc
4. Supported target bsps
========================
The following bsps are supported:
arm : csb336 csb337 edb7312 gba gp32 nds rtl22x rtl22xx_t
smdk2410
avr: : avrtest
bfin : eZKit533 bf537Stamp
h8300 : h8sim
i386 : i386ex pc386 pc386dx pc486 pc586 pc686 pck6 ts_386ex
NOTE: The "pc386" BSP can be compiled to support a
variety of PC configurations including PC-104
based solutions.
lm32: : lm32_evr
m32c : m32csim
m32r : m32rsim
m68k : av5282 csb360 gen68302 gen68360 gen68360_040
genmcf548x idp mcf5206elite mcf52235 mcf5235 mcf5239
m5484FireEngine mrm332 mvme136 mvme147s mvme162 mvme162lx
mvme167 ods68302 pgh360 sim68000 simcpu32 uC5282 COBRA5475
no_cpu : no_bsp (porting example)
mips : csb350 genmongoosev hurricane jmr3904 rbtx4925 rbtx4938
p4600 p4650
powerpc : brs5l ep1a gen5200 gen83xx haleakala hsc_cm01 icecube
mbx821_001 mbx821_002 mbx821_002b mbx860_001b mbx860_002
mbx860_005b mcp750 mvme2100 mvme2307 mtx603e
mvme5500 mpc55xxevb mpc8260ads mpc8313erdb mpc8349eamds
pghplus pm520_cr825 pm520_ze30 psim score603e ss555
tqm8xx_stk8xx virtex
NOTE: The "motorola_powerpc" BSP is a single BSP which
can be conditionally compiled to support most Motorola
VMEbus, CompactPCI, and MTX boards.)
NOTE: The mbx8xx, gen5200, gen83xx, and tqm8xx BSPs are
designed to handle a variety of boards based on the same
family of system on chips CPUs
sh : gensh1 gensh2 gensh4 simsh1 simsh2 simsh4
sparc : erc32 sis leon2 leon3
5. Makefile structure
=====================
The makefiles have been re-organized. Most gnu-based bsps now use three
main makefiles:
+ custom/default.cfg,
+ custom/bsp.cfg and
+ compilers/gcc-target-default.cfg.
Default.cfg sets the default values of certain common build options.
Bsp.cfg set bsp-specific build options and can also override the
default settings.
Gcc-target-default.cfg contains the common gcc definitions.
6. Adding a bsp
===============
Please refer to the BSP and Device Driver Guide.
7. Tested configurations
========================
All gnu-based bsps have been built on Linux.
8. Prerequisites
================
Gawk version 2 or higher.
GNU make version 3.72 or higher.
Bash.
gcc version > 2.8
NOTE: These prerequisites are probably out of date but autoconf should detect
any problems.

22
SUPPORT Normal file
View File

@@ -0,0 +1,22 @@
#
# $Id$
#
On-Line Applications Research Corporation (OAR) offers support,
customization, and training for RTEMS. Custom RTEMS development services
includes porting RTEMS to new processors and the development of custom board
support packages and device drivers. In addition, OAR is available
to assist in the development of your real-time embedded application.
For more information, email Joel Sherrill joel.sherrill@OARcorp.com
or contact OAR at:
On-Line Applications Research Corporation
7047 Old Madison Pike Suite 320
Huntsville AL 35806
Voice: (205) 722-9985
Fax: (205 722-0985
RTEMS maintenance and development is funded solely by RTEMS users.
The future of RTEMS depends on its user base.

7
VERSION Normal file
View File

@@ -0,0 +1,7 @@
#
# This file is automatically generated -- DO NOT EDIT!!!
#
# $Id$
#
RTEMS Version 4.10.2

View File

@@ -1,3 +1,7 @@
dnl
dnl $Id$
dnl
dnl _RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY)
dnl Internal subroutine to RTEMS_BSP_ALIAS
AC_DEFUN([_RTEMS_BSP_ALIAS],

View File

@@ -1,3 +1,7 @@
dnl
dnl $Id$
dnl
dnl canonicalize target cpu
dnl NOTE: Most rtems targets do not fullfil autoconf's
dnl target naming conventions "processor-vendor-os"

View File

@@ -1,3 +1,5 @@
dnl $Id$
dnl Report all available bsps for a target within the source tree
dnl
dnl RTEMS_CHECK_BSPS(bsp_list)

View File

@@ -1,3 +1,5 @@
dnl $Id$
AC_DEFUN([_RTEMS_CHECK_CUSTOM_BSP],[
AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl sets RTEMS_CPU, target
AC_REQUIRE([RTEMS_TOP])dnl sets RTEMS_TOPdir

View File

@@ -1,3 +1,5 @@
dnl $Id$
AC_DEFUN([RTEMS_ENABLE_CXX],
[
AC_ARG_ENABLE(cxx,

View File

@@ -1,12 +0,0 @@
AC_DEFUN([RTEMS_ENABLE_DRVMGR],
[
## AC_BEFORE([$0], [RTEMS_CHECK_DRVMGR_STARTUP])dnl
AC_ARG_ENABLE(drvmgr,
[AS_HELP_STRING([--enable-drvmgr],[enable Driver Manager at Startup])],
[case "${enableval}" in
yes) RTEMS_DRVMGR_STARTUP=yes ;;
no) RTEMS_DRVMGR_STARTUP=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-drvmgr option) ;;
esac],[RTEMS_DRVMGR_STARTUP=yes])
])

12
aclocal/enable-itron.m4 Normal file
View File

@@ -0,0 +1,12 @@
dnl $Id$
AC_DEFUN([RTEMS_ENABLE_ITRON],
[
AC_ARG_ENABLE(itron,
AS_HELP_STRING(--enable-itron,enable itron interface),
[case "${enableval}" in
yes) RTEMS_HAS_ITRON_API=yes ;;
no) RTEMS_HAS_ITRON_API=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-itron option) ;;
esac],[RTEMS_HAS_ITRON_API=no])
])

View File

@@ -1,10 +1,10 @@
dnl $Id$
AC_DEFUN([RTEMS_ENABLE_MULTIPROCESSING],
[
AC_ARG_ENABLE(multiprocessing,
[AS_HELP_STRING([--enable-multiprocessing],
[enable multiprocessing interface; the multiprocessing interface is a
communication interface between different RTEMS instances and allows
synchronization of objects via message passing])],
[enable multiprocessing interface])],
[case "${enable_multiprocessing}" in
yes) ;;
no) ;;

View File

@@ -1,3 +1,5 @@
dnl $Id$
AC_DEFUN([RTEMS_ENABLE_NETWORKING],
[
## AC_BEFORE([$0], [RTEMS_CHECK_NETWORKING])dnl

View File

@@ -1,13 +0,0 @@
AC_DEFUN([RTEMS_ENABLE_PARAVIRT],
[
AC_ARG_ENABLE(paravirt,
[AS_HELP_STRING([--enable-paravirt],[enable support for paravirtualization
(default=no)])],
[case "${enableval}" in
yes) RTEMS_HAS_PARAVIRT=yes ;;
no) RTEMS_HAS_PARAVIRT=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-paravirt option) ;;
esac],[RTEMS_HAS_PARAVIRT=no])
])

View File

@@ -1,3 +1,5 @@
dnl $Id$
AC_DEFUN([RTEMS_ENABLE_POSIX],
[
## AC_BEFORE([$0], [RTEMS_CHECK_POSIX_API])dnl

View File

@@ -1,3 +1,5 @@
## $Id$
AC_DEFUN([RTEMS_ENABLE_RTEMS_DEBUG],
[
AC_ARG_ENABLE(rtems-debug,

View File

@@ -1,3 +1,5 @@
dnl $Id$
dnl Override the set of BSPs to be built.
dnl used by the toplevel configure script
dnl RTEMS_ENABLE_RTEMSBSP(rtems_bsp_list)

View File

@@ -1,21 +0,0 @@
AC_DEFUN([RTEMS_ENABLE_SMP],
[
## AC_BEFORE([$0], [RTEMS_CHECK_SMP])dnl
AC_ARG_ENABLE(experimental-smp,
[AS_HELP_STRING([--enable-experimental-smp],[enable experimental support for symmetric multiprocessing
(SMP)])],
[case "${enableval}" in
yes) case "${RTEMS_CPU}" in
arm|powerpc|sparc|i386) RTEMS_HAS_SMP=yes ;;
*) RTEMS_HAS_SMP=no ;;
esac
;;
no) RTEMS_HAS_SMP=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-smp option) ;;
esac],[RTEMS_HAS_SMP=no])
AC_ARG_ENABLE(smp,
[],
[AC_MSG_ERROR([SMP support is experimental in RTEMS 4.11, use --enable-experimental-smp])],
[])
])

View File

@@ -1,3 +1,5 @@
dnl $Id$
AC_DEFUN([RTEMS_ENABLE_TESTS],
[
AC_ARG_ENABLE(tests,

View File

@@ -1,3 +1,5 @@
dnl $Id$
AC_DEFUN([RTEMS_PATH_KSH],
[
dnl NOTE: prefer bash over ksh over sh

View File

@@ -1,9 +1,13 @@
dnl
dnl $Id$
dnl
dnl
dnl PROJECT_TOPdir .. relative path to the top of the build-tree
dnl PROJECT_ROOT .. relative path to the top of the temporary
dnl installation directory inside the build-tree
dnl RTEMS_TOPdir .. relative path of a subpackage's configure.ac to the
dnl toplevel configure.ac of the source-tree
dnl RTEMS_TOPdir .. relative path of a subpackage's configure.in to the
dnl toplevel configure.in of the source-tree
dnl RTEMS_ROOT .. path to the top of a bsp's build directory
dnl [Applied by custom/*.cfg, depredicated otherwise]
dnl
@@ -14,8 +18,5 @@ AC_REQUIRE([RTEMS_TOP])
PACKHEX="\$(PROJECT_TOPdir)/tools/build/packhex"
AC_SUBST(PACKHEX)
BIN2C="\$(PROJECT_TOPdir)/tools/build/rtems-bin2c"
AC_SUBST(BIN2C)
])

View File

@@ -2,19 +2,19 @@ AC_DEFUN([RTEMS_ENABLE_RPMPREFIX],[
AC_ARG_ENABLE([rpmprefix],
[ --enable-rpmprefix=<rpmprefix> prefix rpms],
[case $enable_rpmprefix in
yes ) rpmprefix="rtems-"]_RTEMS_API["-";;
yes ) rpmprefix="rtems-"]RTEMS_API["-";;
no ) rpmprefix="%{nil}";;
* ) AS_IF([test -z "$enable_rpmprefix"],
[rpmprefix="%{nil}"],
[rpmprefix="$enable_rpmprefix"]);;
esac],
[rpmprefix="rtems-"]_RTEMS_API["-"])
[rpmprefix="rtems-"]RTEMS_API["-"])
AC_ARG_ENABLE([osversions],
[ --enable-osversions whether to use version numbers in os-tripples],
[case $enable_osversions in
yes ) osversion=_RTEMS_API;;
yes ) osversion=RTEMS_API;;
* ) osversion=;;
esac],
[osversion=_RTEMS_API])
[osversion=RTEMS_API])
])

View File

@@ -1,10 +1,12 @@
dnl $Id$
# AC_DISABLE_OPTION_CHECKING is not available before 2.62
AC_PREREQ(2.62)
dnl
dnl RTEMS_TOP($1)
dnl
dnl $1 .. relative path from this configure.ac to the toplevel configure.ac
dnl $1 .. relative path from this configure.in to the toplevel configure.in
dnl
AC_DEFUN([RTEMS_TOP],
[dnl
@@ -14,7 +16,7 @@ AC_CONFIG_AUX_DIR([$1])
AC_CHECK_PROGS(MAKE, gmake make)
AC_BEFORE([$0], [AM_INIT_AUTOMAKE])dnl
AC_PREFIX_DEFAULT([/opt/rtems-][_RTEMS_API])
AC_PREFIX_DEFAULT([/opt/rtems-][RTEMS_API])
RTEMS_TOPdir="$1";
AC_SUBST(RTEMS_TOPdir)
@@ -29,6 +31,4 @@ AC_SUBST(PROJECT_ROOT)
AC_MSG_CHECKING([for RTEMS Version])
AC_MSG_RESULT([_RTEMS_VERSION])
pkgdatadir="${datadir}"/rtems[]_RTEMS_API;
AC_SUBST([pkgdatadir])
])dnl

View File

@@ -1,4 +1,4 @@
AC_DEFUN([RTEMS_VERSIONING],
m4_define([_RTEMS_VERSION],[4.11.1.99]))
m4_define([_RTEMS_VERSION],[4.10.2]))
m4_define([_RTEMS_API],[4.11])
m4_define([RTEMS_API],[4.10])

View File

@@ -1,5 +1,7 @@
#! /usr/bin/env perl
#
# $Id$
# Copyright (C) 2005, 2006 Ralf Corsépius, Ulm, Germany
#
# Permission to use, copy, modify, and distribute this software
@@ -9,7 +11,7 @@
#
# Usage: ampolish3 Makefile.am > preinstall.am
#
# Reads a Makefile.am from stdin and writes corresponding
# Reads a Makefile.am from stdin and writes corresponding
# pre/tmpinstall rules to stdout.
sub replace($);
@@ -85,7 +87,7 @@ foreach my $l ( @buffer1 ) {
push @buffer2, "$l";
$dirmap{"\$\($1\)"} = replace($2);
} elsif ( $l =~ /^\s*noinst_(.*)\s*[\+]?\=(.*)$/o )
{
{
#ignore: noinst_* are not relevant here.
} elsif ( $l =~ /^\s*(nodist_|dist_|)(project_|)([a-zA-Z0-9_]+)_(HEADERS|LIBRARIES|DATA|SCRIPTS|PROGRAMS)\s*([\+]?\=)\s*(.*)/o )
{
@@ -217,7 +219,7 @@ $output .= "\$(srcdir)/preinstall.am: Makefile.am\n";
$output .= "\t\$(AMPOLISH3) \$(srcdir)/Makefile.am > \$(srcdir)/preinstall.am\n";
$output .= "endif\n\n";
foreach my $k ( sort keys %seen )
foreach my $k ( keys %seen )
{
if ( $k =~ /PREINSTALL_FILES/o ) {
$output .= "all-am: \$(PREINSTALL_FILES)\n\n";
@@ -258,7 +260,7 @@ exit 0;
sub replace($)
{
my ($v) = @_;
foreach my $i ( sort keys %dirmap )
foreach my $i ( keys %dirmap )
{
$v =~ s/\Q$i/$dirmap{$i}/g;
}

View File

@@ -1,3 +1,5 @@
## $Id$
## NOTE: This is a temporary work-around to keep
## RTEMS's non automake standard make targets working.
## Once automake is fully integrated these make targets

View File

@@ -1,3 +1,5 @@
## $Id$
preinstall-am: $(PREINSTALL_FILES)
preinstall: preinstall-am
.PHONY: preinstall preinstall-am

View File

@@ -1,3 +1,5 @@
## $Id$
## Borrowed from automake-1.4 and adapted to RTEMS
## NOTE: This is a temporary work-around to keep

151
bootstrap
View File

@@ -1,22 +1,23 @@
#!/bin/sh
#! /bin/sh
#
# helps bootstrapping, when checked out from CVS
# requires GNU autoconf and GNU automake
#
# $Id$
# this is not meant to be exported outside the source tree
#
# NOTE: Inspired by libtool's autogen script
#
# to be run from the toplevel directory of RTEMS'
# source tree
progname=`basename $0`
top_srcdir=`dirname $0`
verbose=""
verbose="";
quiet="false"
mode="autoreconf"
force=0
mode="generate"
usage()
{
@@ -30,7 +31,7 @@ usage()
echo " -q .. quiet, don't display directories"
echo " -v .. verbose, pass -v to autotools"
echo
exit 1
exit 1;
}
generate_bspdir_acinclude()
@@ -42,7 +43,7 @@ AC_DEFUN([RTEMS_CHECK_BSPDIR],
case "\$1" in
EOF
for i in `LANG=C LC_COLLATE=C ls */bsp_specs | sort`; do
for i in */bsp_specs; do
d=`dirname $i`
cat << EOF >> acinclude.m4~
$d )
@@ -56,7 +57,7 @@ cat << EOF >> acinclude.m4~
])
EOF
if cmp -s acinclude.m4 acinclude.m4~ 2>/dev/null; then
echo "acinclude.m4 is unchanged"
echo "acinclude.m4 is unchanged";
else
cp acinclude.m4~ acinclude.m4
fi
@@ -66,7 +67,7 @@ rm -f acinclude.m4~
if test ! -f $top_srcdir/aclocal/version.m4; then
echo "${progname}:"
echo " Installation problem: Can't find file aclocal/version.m4"
exit 1
exit 1;
fi
while test $# -gt 0; do
@@ -74,29 +75,23 @@ case $1 in
-h|--he|--hel|--help)
usage ;;
-q|--qu|--qui|--quie|--quiet)
quiet="true"
quiet="true";
shift;;
-v|--ve|--ver|--verb|--verbo|--verbos|--verbose)
verbose="-v"
verbose="-v";
shift;;
-c|--cl|--cle|--clea|--clean)
mode="clean"
shift;;
-f|--fo|--for|--forc|--force)
force=`expr $force + 1`
mode="clean";
shift;;
-p|--pr|--pre|--prei|--prein|--preins|--preinst)
mode="preinstall"
mode="preinstall";
shift;;
-r|--re|--rec|--reco|--recon|--reconf)
mode="autoreconf"
mode="autoreconf";
shift;;
-g|--ge|--gen|--gene|--gener|--genera|--generat|--generate)
mode="generate"
shift;;
-*) echo "unknown option $1"
-*) echo "unknown option $1" ;
usage ;;
*) echo "invalid parameter $1"
*) echo "invalid parameter $1" ;
usage ;;
esac
done
@@ -105,7 +100,7 @@ case $mode in
preinstall)
confs=`find . -name Makefile.am -exec grep -l 'include .*/preinstall\.am' {} \;`
for i in $confs; do
dir=$(dirname $i)
dir=$(dirname $i);
test "$quite" = "true" || echo "Generating $dir/preinstall.am"
${top_srcdir}/ampolish3 "$dir/Makefile.am" > "$dir/preinstall.am"
done
@@ -117,19 +112,19 @@ generate)
echo "You must have autoconf installed to run $program"
exit 1
fi
AUTOHEADER=${AUTOHEADER-autoheader}
if test -z "$AUTOHEADER"; then
echo "You must have autoconf installed to run $program"
exit 1
fi
AUTOMAKE=${AUTOMAKE-automake}
if test -z "$AUTOMAKE"; then
echo "You must have automake installed to run $program"
exit 1
fi
ACLOCAL=${ACLOCAL-aclocal}
if test -z "$ACLOCAL"; then
echo "You must have automake installed to run $program"
@@ -145,23 +140,23 @@ generate)
confs=`find . \( -name 'configure.in' -o -name 'configure.ac' \) -print`
for i in $confs; do
dir=`dirname $i`
configure=`basename $i`
( test "$quiet" = "true" || echo "$dir"
cd $dir
dir=`dirname $i`;
configure=`basename $i`;
( test "$quiet" = "true" || echo "$dir";
cd $dir;
test -n "`grep RTEMS_CHECK_BSPDIR ${configure}`" && \
generate_bspdir_acinclude
generate_bspdir_acinclude;
pat="s,\$(RTEMS_TOPdir),${aclocal_dir},g"
aclocal_args=`grep '^[ ]*ACLOCAL_AMFLAGS' Makefile.am | \
sed -e 's%.*ACLOCAL_AMFLAGS.*\=[ ]*%%g' -e $pat `
sed -e 's%.*ACLOCAL_AMFLAGS.*\=[ ]*%%g' -e $pat ` ;
test "$verbose" = "-v" && echo "${ACLOCAL} $aclocal_args"
${ACLOCAL} $aclocal_args
${ACLOCAL} $aclocal_args;
test -n "`grep CONFIG_HEADER ${configure}`" && ${AUTOHEADER} \
&& test "$verbose" = "-v" && echo "${AUTOHEADER}"
&& test "$verbose" = "-v" && echo "${AUTOHEADER}";
test -n "`grep RTEMS_BSP_CONFIGURE ${configure}`" && ${AUTOHEADER} \
&& test "$verbose" = "-v" && echo "${AUTOHEADER}"
test -f Makefile.am && ${AUTOMAKE} -a -c $verbose
${AUTOCONF}
&& test "$verbose" = "-v" && echo "${AUTOHEADER}";
test -f Makefile.am && ${AUTOMAKE} -a -c $verbose ;
${AUTOCONF};
test -f Makefile.am && test -n "`grep 'stamp-h\.in' Makefile.in`" \
&& echo timestamp > stamp-h.in
)
@@ -177,13 +172,13 @@ autoreconf)
confs=`find . -name 'configure.ac' -print`
for i in $confs; do
dir=`dirname $i`
configure=`basename $i`
( test "$quiet" = "true" || echo "$dir"
cd $dir
dir=`dirname $i`;
configure=`basename $i`;
( test "$quiet" = "true" || echo "$dir";
cd $dir;
test -n "`grep RTEMS_CHECK_BSPDIR ${configure}`" && \
generate_bspdir_acinclude
${AUTORECONF} -i --no-recursive $verbose
generate_bspdir_acinclude;
${AUTORECONF} -i --no-recursive $verbose;
test -f Makefile.am && test -n "`grep 'stamp-h\.in' Makefile.in`" \
&& echo timestamp > stamp-h.in
)
@@ -192,58 +187,28 @@ autoreconf)
clean)
test "$quiet" = "true" || echo "removing automake generated Makefile.in files"
files=`find . -name 'Makefile.am' -print | sed -e 's%\.am%\.in%g'`
for i in $files; do
if test -f $i; then
rm -f $i
test "$verbose" = "-v" && echo "$i"
fi
done
files=`find . -name 'Makefile.am' -print | sed -e 's%\.am%\.in%g'` ;
for i in $files; do if test -f $i; then
rm -f $i
test "$verbose" = "-v" && echo "$i"
fi; done
test "$quiet" = "true" || echo "removing configure files"
files=`find . -name 'configure' -print`
for i in $files; do
if test -f $i; then
rm -f $i
test "$verbose" = "-v" && echo "$i"
fi
done
if test $force -gt 0; then
needles=""
if test $force -gt 1; then
# Manually maintained
needles="$needles config.sub"
needles="$needles config.guess"
fi
if test $force -gt 0; then
# Inherited from automake
needles="$needles compile"
needles="$needles depcomp"
needles="$needles install-sh"
needles="$needles missing"
needles="$needles mdate-sh"
fi
for j in $needles; do
files=`find . -name "$j" -print`
for i in $files; do
if test -f $i; then
rm -f $i
test "$verbose" = "-v" && echo "$i"
fi
done
done
fi
files=`find . -name 'configure' -print` ;
test "$verbose" = "-v" && test -n "$files" && echo "$files" ;
for i in $files; do if test -f $i; then
rm -f $i config.sub config.guess depcomp install-sh mdate-sh missing \
mkinstalldirs texinfo.tex compile
test "$verbose" = "-v" && echo "$i"
fi; done
test "$quiet" = "true" || echo "removing aclocal.m4 files"
files=`find . -name 'aclocal.m4' -print`
test "$verbose" = "-v" && test -n "$files" && echo "$files"
for i in $files; do
if test -f $i; then
rm -f $i
test "$verbose" = "-v" && echo "$i"
fi
done
files=`find . -name 'aclocal.m4' -print` ;
test "$verbose" = "-v" && test -n "$files" && echo "$files" ;
for i in $files; do if test -f $i; then
rm -f $i
test "$verbose" = "-v" && echo "$i"
fi; done
find . -name '*~' -print | xargs rm -f
find . -name 'bspopts.h.in' -print | xargs rm -f

View File

@@ -1,3 +1,7 @@
#
# $Id$
#
RTEMS was developed by On-Line Applications Research (OAR) under
contract to the U.S. Army Missile Command. Other than the
contributions listed in this document, all code and documentation

236
c/ChangeLog Normal file
View File

@@ -0,0 +1,236 @@
2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
2009-10-21 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove reference to bare BSP.
Simplify RTEMS_BSP_LIST setup.
2008-12-04 Jukka Pietarinen <jukka.pietarinen@mrf.fi>
* TOOL_TARGETS: Add Lattice Mico32 support.
2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* src/aclocal/rtems-cpu-subdirs.m4: Add new M32R port. It is just a
beginning but the BSP is functional enough to initialize and shutdown
RTEMS.
2007-03-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Use MKDIR_P instead of mkdir_p.
2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: New BUG-REPORT address.
2006-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.60. Require automake-1.10.
2006-08-09 Kolja Waschk <waschk@telos.de>
* TOOL_TARGETS: New port to Altera NIOS II.
2005-11-13 Ralf Corsepius <ralf.corsepius@rtems.org>
* Makefile.am: Remove depend-am.
2004-10-18 Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.ac: Rework checking for BSPs.
2004-10-18 Ralf Corsepius <ralf.corsepius@rtems.org>
* acinclude.m4: Remove RTEMS_CHECK_CPU.
* configure.ac: Remove RTEMS_CHECK_CPU, RTEMS_ENABLE_BARE.
2004-09-24 Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.ac: Require automake > 1.9.
2004-03-31 Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.ac: Add --with-project-root, --with-project-top to
rtems_bsp_configure.
2004-02-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Cosmetics.
* configure.ac: Add support for --disable-rtemsbsp. Cosmetics.
2004-01-07 Joel Sherrill <joel@OARcorp.com>
* ACKNOWLEDGEMENTS: Remove efi68k and efi332 references as they are no
longer in the tree.
2003-12-17 Joel Sherrill <joel@OARcorp.com>
* release_support: Removed -- accidentally added to wrong directory.
2003-12-17 Joel Sherrill <joel@OARcorp.com>
* release_support: New file -- assistant to new cut_release script.
2003-12-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Remove RTEMS_BSP-subdir rule.
* configure.ac: Let AC_CONFIG_FILES(Makefile..) append explictit
rules for RTEMS_BSP-subdirs.
2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use mkdir_p instead of mkinstalldirs.
2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Require automake >= 1.8, autoconf >= 2.59.
2003-12-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Cosmetics.
* Makefile.am: Cosmetics.
2003-11-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* acinclude.m4: Fix underquoting to silence automake-1.8.
2003-10-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* acinclude.m4: Merge-in former ../aclocal/config-subdirs.m4.
* configure.ac: remove RTEMS_CANONICAL_HOST.
2003-10-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Don't explictly invoke $MAKE preinstall.
2003-10-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* acinclude.m4: New.
Add RTEMS_CHECK_CPU.
2003-09-26 Joel Sherrill <joel@OARcorp.com>
* ACKNOWLEDGEMENTS: Obsoleting HP PA-RISC port and removing all
references.
2003-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Use rtems-bugs@rtems.com as bug report email address.
2003-03-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove AC_CONFIG_AUX_DIR.
2003-02-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Remove references to obsolete files
README.DOS REQUIRES PROBLEMS TESTED README UPDATE_HELP.
Add TOOL_TARGETS.
2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: AM_INIT_AUTOMAKE([1.7.2]).
2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: AC_PREREQ(2.57).
2002-11-07 Joel Sherrill <joel@OARcorp.com>
* TOOL_TARGETS: Updated.
* PROBLEMS, README, REQUIRES, TESTED, UPDATE_HELP: Removed
since they were obsolete.
2002-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use mkinstalldirs instead of mkdir.
2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Fix --enable-rtemsbsp= handling.
2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Reformat.
Add autom4te*cache.
Remove autom4te.cache.
2002-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Apply RTEMS_CONFIGURE_ARGS_QUOTE.
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-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Remove make from SUBDIRS.
* configure.ac: Remove make from CONFIG_SUBDIRS, cosmetics.
2001-10-11 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.
2001-05-25 Joel Sherrill <joel@OARcorp.com>
* TESTED: Corrected the name of the MRM332 BSP.
2001-05-25 Joel Sherrill <joel@OARcorp.com>
* TESTED: Updated the list of BSPs.
* TOOLS_TARGETS: Updated the list of tools and object formats.
2001-03-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Use ${MAKE} in message at the end of the
configure.in.
2001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Apply _RTEMS_ADJUST_SRCDIR.
2000-12-14 Joel Sherrill <joel@OARcorp.com>
* TESTED: Added comment on 68en302 now that there is a network driver.
2000-11-25 Joel Sherrill <joel@OARcorp.com>
* TESTED: Added jmr3904 entry.
2000-11-20 Joel Sherrill <joel@OARcorp.com>
* TESTED: Added new sparc variations (erc32, leon, and Tharsys).
2000-11-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: catch -enable-rtemsbsp (Allowed by autoconf).
Autoconf allows one to pass -enable-*, but this file expected --enable*.
2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
2000-10-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Switch to GNU-canonicalization.
2000-10-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Make sure $SHELL inside of Makefiles does not get
propagated to the BSP-subdirectories if a user specified CONFIG_SHELL.
2000-08-10 Joel Sherrill <joel@OARcorp.com>
* ChangeLog: New file.

View File

@@ -1,3 +1,7 @@
##
## $Id$
##
ACLOCAL_AMFLAGS = -I ../aclocal
## NOTE: This Makefile.am is rather fragile to the value of RTEMS_BSP

View File

@@ -1,3 +1,7 @@
#
# $Id$
#
The following are targets for the GNU tools (gcc, binutils, newlib, and gdb)
that are for RTEMS, their object format, and status notes

View File

@@ -1,3 +1,5 @@
dnl $Id$
dnl
dnl Misc utility macros for subdir handling to work around missing abilities
dnl in autoconf, automake and structural issues with RTEMS

View File

@@ -1,14 +1,15 @@
## Process this file with autoconf to produce a configure script.
##
## $Id$
AC_PREREQ([2.69])
AC_INIT([rtems-c],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
AC_PREREQ([2.68])
AC_INIT([rtems-c],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
AC_CONFIG_SRCDIR([TOOL_TARGETS])
RTEMS_TOP(..)
RTEMS_CANONICAL_TARGET_CPU
AM_INIT_AUTOMAKE([no-define foreign 1.12.2])
AM_INIT_AUTOMAKE([no-define foreign 1.11.1])
AM_MAINTAINER_MODE
## These options are used within this file.

4311
c/src/ChangeLog Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,3 +1,7 @@
##
## $Id$
##
ACLOCAL_AMFLAGS = -I aclocal
SUBDIRS = . @BSP_SUBDIRS@

View File

@@ -1,3 +1,7 @@
#
# $Id$
#
This is the top level directory of the C RTEMS environment. The
following is a description of the contents of each file and
subdirectory directly in this directory:

View File

@@ -1,3 +1,5 @@
# $Id$
#
# Some hacks for handling special config subdirectories
#
# Note: Consider this file a temporary band-aid until a better, more general

View File

@@ -1,3 +1,7 @@
dnl
dnl $Id$
dnl
dnl _RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY)
dnl Internal subroutine to RTEMS_BSP_ALIAS
AC_DEFUN([_RTEMS_BSP_ALIAS],

View File

@@ -1,3 +1,4 @@
dnl $Id$
dnl
dnl RTEMS_BSP_ARG_ENABLE(FEATURE, HELP-STRING, ACTION-IF-TRUE [, ACTION-IF-FALSE])
dnl

View File

@@ -1,4 +1,6 @@
dnl $Id$
dnl
dnl BSP_BOOTCARD_OPTIONS - some autoconf voodoo to provide each BSPs'
dnl configure script with the standard options supported by boot_card()
dnl and other required parts of the BSP Framework. Currently, this is

View File

@@ -1,4 +1,6 @@
dnl $Id$
dnl
dnl BSP_CLEANUP_OPTIONS - some autoconf voodoo to provide each BSPs'
dnl configure script with the standard options supported by the shared
dnl implementation of bsp_cleanup().
@@ -9,11 +11,10 @@ dnl
dnl To be used in bsp-configure scripts
dnl USAGE:
dnl RTEMS_BSP_CLEANUP_OPTIONS([0|1], [0|1], [0|1])
dnl RTEMS_BSP_CLEANUP_OPTIONS([0|1], [0|1])
dnl WHERE:
dnl argument 1 indicates the default value for BSP_PRESS_KEY_FOR_RESET
dnl argument 2 indicates the default value for BSP_RESET_BOARD_AT_EXIT
dnl argument 3 indicates the default value for BSP_PRINT_EXCEPTION_CONTEXT
AC_DEFUN([RTEMS_BSP_CLEANUP_OPTIONS],[
RTEMS_BSPOPTS_SET([BSP_PRESS_KEY_FOR_RESET],[*],[$1])
@@ -24,8 +25,4 @@ RTEMS_BSPOPTS_HELP([BSP_PRESS_KEY_FOR_RESET],
RTEMS_BSPOPTS_SET([BSP_RESET_BOARD_AT_EXIT],[*],[$2])
RTEMS_BSPOPTS_HELP([BSP_RESET_BOARD_AT_EXIT],
[If defined, reset the board when the application exits.])
RTEMS_BSPOPTS_SET([BSP_PRINT_EXCEPTION_CONTEXT],[*],[$3])
RTEMS_BSPOPTS_HELP([BSP_PRINT_EXCEPTION_CONTEXT],
[If defined, prints the exception context when an unexpected exception occurs.])
])

View File

@@ -1,3 +1,5 @@
dnl $Id$
dnl RTEMS_BSP_CONFIGURE
dnl Common macro to be included by all bsp-configure.acs
AC_DEFUN([RTEMS_BSP_CONFIGURE],

View File

@@ -1,3 +1,5 @@
dnl $Id$
dnl Install a BSP's linkcmds from the source-tree into the build-tree
AC_DEFUN([RTEMS_BSP_LINKCMDS],[
LINKCMDS=

View File

@@ -1,4 +1,6 @@
dnl $Id$
dnl
dnl RTEMS_BSPOPTS_* - some autoconf voodoo to handle default values and
dnl help-strings for per-BSP-environment variables.
@@ -62,21 +64,3 @@ m4_expand_once([m4_divert_once([HELP_VAR],
[AS_HELP_STRING([$1],[$2], )])],
[$0($1)])dnl
])
AC_DEFUN(
[RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED],
[RTEMS_BSPOPTS_SET([BSP_DATA_CACHE_ENABLED],[$1],[$2])])
AC_DEFUN(
[RTEMS_BSPOPTS_HELP_DATA_CACHE_ENABLED],
[RTEMS_BSPOPTS_HELP([BSP_DATA_CACHE_ENABLED],
[enables the data cache, if defined to a value other than zero])])
AC_DEFUN(
[RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED],
[RTEMS_BSPOPTS_SET([BSP_INSTRUCTION_CACHE_ENABLED],[$1],[$2])])
AC_DEFUN(
[RTEMS_BSPOPTS_HELP_INSTRUCTION_CACHE_ENABLED],
[RTEMS_BSPOPTS_HELP([BSP_INSTRUCTION_CACHE_ENABLED],
[enables the instruction cache, if defined to a value other than zero])])

View File

@@ -1,3 +1,7 @@
dnl
dnl $Id$
dnl
dnl canonicalize target cpu
dnl NOTE: Most rtems targets do not fullfil autoconf's
dnl target naming conventions "processor-vendor-os"
@@ -5,19 +9,17 @@ dnl Therefore autoconf's AC_CANONICAL_TARGET will fail for them
dnl and we have to fix it for rtems ourselves
AC_DEFUN([RTEMS_CANONICAL_TARGET_CPU],
[AC_REQUIRE([AC_CANONICAL_HOST])
[
AC_CANONICAL_HOST
AC_MSG_CHECKING(rtems target cpu)
case "${host}" in
*-*-rtems*)
RTEMS_CPU="$host_cpu";;
*)
no_cpu-*rtems*)
RTEMS_CPU=no_cpu
;;
*)
RTEMS_CPU=`echo $host | sed 's%^\([[^-]]*\)-\(.*\)$%\1%'`
;;
esac
AS_IF([test -n "$RTEMS_CPU"],
[dnl
AC_MSG_RESULT($RTEMS_CPU)],
[dnl
AC_MSG_RESULT([<none>])
AC_MSG_ERROR([unsupported host $host])])
AC_SUBST(RTEMS_CPU)
AC_MSG_RESULT($RTEMS_CPU)
])

View File

@@ -1,4 +1,8 @@
dnl
dnl $Id$
dnl
dnl Set target tools
dnl
AC_DEFUN([RTEMS_CANONICALIZE_TOOLS],
[AC_REQUIRE([RTEMS_PROG_CC])dnl

View File

@@ -1,3 +1,5 @@
dnl $Id$
AC_DEFUN([_RTEMS_CHECK_CUSTOM_BSP],[
AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl sets RTEMS_CPU, target
AC_REQUIRE([RTEMS_TOP])dnl sets RTEMS_TOPdir

View File

@@ -1,3 +1,5 @@
dnl $Id$
dnl
AC_DEFUN([RTEMS_CHECK_CXX],
[dnl
AC_REQUIRE([RTEMS_PROG_CC_FOR_TARGET])dnl

View File

@@ -1,3 +1,7 @@
dnl
dnl $Id$
dnl
AC_DEFUN([RTEMS_CHECK_MULTIPROCESSING],
[dnl
AC_REQUIRE([RTEMS_ENABLE_MULTILIB])dnl

View File

@@ -1,3 +1,5 @@
dnl $Id$
dnl
AC_DEFUN([RTEMS_CHECK_NETWORKING],
[dnl
AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl
@@ -7,8 +9,7 @@ AC_CACHE_CHECK([whether BSP supports networking],
rtems_cv_HAS_NETWORKING,
[dnl
case "$RTEMS_CPU" in
# do not have address space to hold BSD TCP/IP stack
avr*|h8300*|m32c*)
avr*|m32c*) # do not have address space to hold BSD TCP/IP stack
rtems_cv_HAS_NETWORKING="no"
;;
*)

View File

@@ -1,3 +1,5 @@
dnl $Id$
dnl
AC_DEFUN([RTEMS_CHECK_POSIX_API],
[dnl
AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl

View File

@@ -1,17 +0,0 @@
AC_DEFUN([RTEMS_CHECK_SMP],
[dnl
AC_REQUIRE([RTEMS_ENABLE_SMP])dnl
AC_CACHE_CHECK([whether CPU supports SMP],
rtems_cv_HAS_SMP,
[dnl
case "$RTEMS_CPU" in
*)
if test "${RTEMS_HAS_SMP}" = "yes"; then
rtems_cv_HAS_SMP="yes";
else
rtems_cv_HAS_SMP="disabled";
fi
;;
esac])
])

View File

@@ -1,3 +1,5 @@
dnl $Id$
## Check for a cross tool, similar to AC_CHECK_TOOL, but do not fall back to
## the un-prefixed version of PROG-TO-CHECK-FOR.
dnl RTEMS_CHECK_TOOL(VARIABLE, PROG-TO-CHECK-FOR[, VALUE-IF-NOT-FOUND [, PATH]])

View File

@@ -1,9 +1,11 @@
dnl $Id$
dnl
dnl Misc utility macros for subdir handling to work around missing abilities
dnl in autoconf, automake and structural issues with RTEMS
dnl
dnl Contains parts derived from autoconf-2.13 AC_OUTPUT_SUBDIRS and Cygnus'
dnl configure.ac.
dnl configure.in.
dnl
dnl

View File

@@ -1,3 +1,5 @@
dnl $Id$
AC_DEFUN([RTEMS_ENABLE_CXX],
[
AC_ARG_ENABLE(cxx,

View File

@@ -1,12 +0,0 @@
AC_DEFUN([RTEMS_ENABLE_DRVMGR],
[
## AC_BEFORE([$0], [RTEMS_CHECK_DRVMGR_STARTUP])dnl
AC_ARG_ENABLE(drvmgr,
[AS_HELP_STRING([--enable-drvmgr],[enable Driver Manager at Startup])],
[case "${enableval}" in
yes) RTEMS_DRVMGR_STARTUP=yes ;;
no) RTEMS_DRVMGR_STARTUP=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-drvmgr option) ;;
esac],[RTEMS_DRVMGR_STARTUP=yes])
])

View File

@@ -1,10 +1,9 @@
dnl $Id$
AC_DEFUN([RTEMS_ENABLE_MULTIPROCESSING],
[
AC_ARG_ENABLE(multiprocessing,
[AS_HELP_STRING([--enable-multiprocessing],
[enable multiprocessing interface; the multiprocessing interface is a
communication interface between different RTEMS instances and allows
synchronization of objects via message passing])],
[AS_HELP_STRING(--enable-multiprocessing,enable multiprocessing interface)],
[case "${enable_multiprocessing}" in
yes) ;;
no) ;;

View File

@@ -1,3 +1,5 @@
dnl $Id$
AC_DEFUN([RTEMS_ENABLE_NETWORKING],
[
## AC_BEFORE([$0], [RTEMS_CHECK_NETWORKING])dnl

View File

@@ -1,3 +1,5 @@
dnl $Id$
AC_DEFUN([RTEMS_ENABLE_POSIX],
[
## AC_BEFORE([$0], [RTEMS_CHECK_POSIX_API])dnl

View File

@@ -1,3 +1,5 @@
dnl $Id$
dnl Override the set of BSPs to be built.
dnl used by the toplevel configure script
dnl RTEMS_ENABLE_RTEMSBSP(rtems_bsp_list)

View File

@@ -1,21 +0,0 @@
AC_DEFUN([RTEMS_ENABLE_SMP],
[
## AC_BEFORE([$0], [RTEMS_CHECK_SMP])dnl
AC_ARG_ENABLE(experimental-smp,
[AS_HELP_STRING([--enable-experimental-smp],[enable experimental support for symmetric multiprocessing
(SMP)])],
[case "${enableval}" in
yes) case "${RTEMS_CPU}" in
arm|powerpc|sparc|i386) RTEMS_HAS_SMP=yes ;;
*) RTEMS_HAS_SMP=no ;;
esac
;;
no) RTEMS_HAS_SMP=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-smp option) ;;
esac],[RTEMS_HAS_SMP=no])
AC_ARG_ENABLE(smp,
[],
[AC_MSG_ERROR([SMP support is experimental in RTEMS 4.11, use --enable-experimental-smp])],
[])
])

View File

@@ -1,3 +1,5 @@
dnl $Id$
dnl Pass a single BSP via an environment variable
dnl used by per BSP configure scripts
AC_DEFUN([RTEMS_ENV_RTEMSBSP],

View File

@@ -1,3 +1,6 @@
dnl
dnl $Id$
dnl
dnl Check whether the gcc accepts -isystem
dnl

View File

@@ -1,4 +1,8 @@
dnl
dnl $Id$
dnl
dnl Check whether the target compiler accepts -pipe
dnl
AC_DEFUN([RTEMS_GCC_PIPE],
[AC_REQUIRE([RTEMS_PROG_CC])

View File

@@ -1,4 +1,8 @@
dnl
dnl $Id$
dnl
dnl Check whether the target compiler accepts -specs
dnl
AC_DEFUN([RTEMS_GCC_SPECS],
[AC_REQUIRE([RTEMS_PROG_CC])

View File

@@ -1,3 +1,7 @@
dnl
dnl $Id$
dnl
dnl check for i386 gas supporting 16 bit mode
dnl - binutils 2.9.1.0.7 and higher

View File

@@ -1,3 +1,5 @@
dnl $Id$
AC_DEFUN([RTEMS_PATH_KSH],
[
dnl NOTE: prefer bash over ksh over sh

View File

@@ -1,3 +1,5 @@
# $Id$
#
# Some hacks for handling powerpc-exception subdirectories
#
# Note: Consider this file a temporary band-aid until a better, more general

View File

@@ -1,3 +1,5 @@
dnl
dnl $Id$
dnl
dnl Check for target gcc
dnl

View File

@@ -1,3 +1,5 @@
## $Id$
AC_DEFUN([RTEMS_PROG_CCAS],
[
AC_REQUIRE([RTEMS_PROG_CC])

View File

@@ -1,3 +1,5 @@
dnl
dnl $Id$
dnl
dnl Check for target g++
dnl
@@ -6,18 +8,11 @@ AC_DEFUN([RTEMS_PROG_CXX_FOR_TARGET],
[
AC_BEFORE([$0], [RTEMS_CANONICALIZE_TOOLS])dnl
AC_REQUIRE([RTEMS_ENABLE_CXX])
AC_REQUIRE([RTEMS_CHECK_SMP])
# If CXXFLAGS is not set, default to CFLAGS
if test x"$rtems_cv_HAS_SMP" = x"yes" ; then
CXXFLAGS=${CXXFLAGS-${CFLAGS} -std=gnu++11}
else
CXXFLAGS=${CXXFLAGS-${CFLAGS}}
fi
RTEMS_CHECK_TOOL(CXX,g++)
if test "$RTEMS_HAS_CPLUSPLUS" = "yes";
then
CXXFLAGS=${CXXFLAGS-${CFLAGS}}
dnl Only accept g++
dnl NOTE: This might be too restrictive
test -z "$CXX" \
@@ -29,7 +24,8 @@ AC_PROG_CXXCPP
AC_MSG_ERROR([***]
[Inconsistency in compiler configuration:]
[Target C compiler and target C++ compiler]
[must both either be cross compilers or native compilers])
[must both either be cross compilers or native compilers]
[Hint: If building a posix bsp: LD_LIBRARY_PATH?] )
fi
else
## Work-around to a bug in automake

View File

@@ -1,3 +1,7 @@
dnl
dnl $Id$
dnl
AC_DEFUN([RTEMS_PROJECT_ROOT],
[dnl
AC_REQUIRE([RTEMS_TOP])

View File

@@ -1,3 +1,5 @@
# $Id$
AC_DEFUN([RTEMS_AMPOLISH3],
[
AC_REQUIRE([AM_INIT_AUTOMAKE])

View File

@@ -12,7 +12,6 @@ AC_DEFUN([RTEMS_CPU_SUBDIRS],
case $RTEMS_CPU in
_RTEMS_CPU_SUBDIR([arm],[$1]);;
_RTEMS_CPU_SUBDIR([bfin],[$1]);;
_RTEMS_CPU_SUBDIR([epiphany],[$1]);;
_RTEMS_CPU_SUBDIR([avr],[$1]);;
_RTEMS_CPU_SUBDIR([h8300],[$1]);;
_RTEMS_CPU_SUBDIR([i386],[$1]);;
@@ -21,15 +20,10 @@ _RTEMS_CPU_SUBDIR([m32c],[$1]);;
_RTEMS_CPU_SUBDIR([m32r],[$1]);;
_RTEMS_CPU_SUBDIR([m68k],[$1]);;
_RTEMS_CPU_SUBDIR([mips],[$1]);;
_RTEMS_CPU_SUBDIR([moxie],[$1]);;
_RTEMS_CPU_SUBDIR([nios2],[$1]);;
_RTEMS_CPU_SUBDIR([no_cpu],[$1]);;
_RTEMS_CPU_SUBDIR([or1k],[$1]);;
_RTEMS_CPU_SUBDIR([powerpc],[$1]);;
_RTEMS_CPU_SUBDIR([sh],[$1]);;
_RTEMS_CPU_SUBDIR([sparc],[$1]);;
_RTEMS_CPU_SUBDIR([sparc64],[$1]);;
_RTEMS_CPU_SUBDIR([v850],[$1]);;
*) AC_MSG_ERROR([Invalid RTEMS_CPU <[$]{RTEMS_CPU}>])
esac
])

View File

@@ -1,10 +1,12 @@
dnl $Id$
# AC_DISABLE_OPTION_CHECKING is not available before 2.62
AC_PREREQ(2.62)
dnl
dnl RTEMS_TOP($1)
dnl
dnl $1 .. relative path from this configure.ac to the toplevel configure.ac
dnl $1 .. relative path from this configure.in to the toplevel configure.in
dnl
AC_DEFUN([RTEMS_TOP],
[dnl
@@ -15,7 +17,7 @@ AC_CONFIG_AUX_DIR([$1])
AC_CHECK_PROGS(MAKE, gmake make)
AC_BEFORE([$0], [AM_INIT_AUTOMAKE])dnl
AC_PREFIX_DEFAULT([/opt/rtems-][_RTEMS_API])
AC_PREFIX_DEFAULT([/opt/rtems-][RTEMS_API])
AC_SUBST([RTEMS_TOPdir],["$1"])
@@ -30,5 +32,4 @@ AC_SUBST([PROJECT_TOPdir],[${project_top}${rtems_updir}'$(top_builddir)'])
AC_SUBST([PROJECT_ROOT],[${with_project_root}${rtems_updir}'$(top_builddir)'])
AC_SUBST([dirstamp],[\${am__leading_dot}dirstamp])
AC_SUBST([pkgdatadir],["\${datadir}"/rtems]_RTEMS_API)
])dnl

View File

@@ -1,3 +1,5 @@
dnl $Id$
## HACK: Work-around to structural issue with RTEMS
## The macros below violate most autoconf and canonicalization standards
AC_DEFUN([RTEMS_CONFIG_BUILD_SUBDIRS],
@@ -76,7 +78,7 @@ dnl Misc utility macros for subdir handling to work around missing abilities
dnl in autoconf, automake and structural issues with RTEMS
dnl
dnl Contains parts derived from autoconf-2.13 AC_OUTPUT_SUBDIRS and Cygnus'
dnl configure.ac.
dnl configure.in.
dnl
dnl

View File

@@ -1,4 +1,4 @@
AC_DEFUN([RTEMS_VERSIONING],
m4_define([_RTEMS_VERSION],[4.11.1.99]))
m4_define([_RTEMS_VERSION],[4.10.2]))
m4_define([_RTEMS_API],[4.11])
m4_define([RTEMS_API],[4.10])

1658
c/src/ada-tests/ChangeLog Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,3 +1,5 @@
## $Id$
ACLOCAL_AMFLAGS = -I aclocal -I ../../../testsuites/aclocal
SUBDIRS = support samples sptests tmtests

View File

@@ -1,3 +1,4 @@
## $Id$
##
## Partially borrowed from gcc-3.2
##

View File

@@ -15,7 +15,7 @@ GNATCOMPILE = $(GNATMAKE) \
$(GCCSPECS) \
$(AM_LDFLAGS) $(LDFLAGS) init.o
CLEANFILES += *.ali *.o b~*.adb b~*.ads
CLEANFILES = *.ali *.o b~*.adb b~*.ads
#%.o: %.c
# $(CC) $(CFLAGS) -I@srcdir@ -c $< -o $@

View File

@@ -1,13 +1,15 @@
## Process this file with autoconf to produce a configure script.
##
## $Id$
AC_PREREQ([2.69])
AC_INIT([rtems-ada-tests],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
AC_PREREQ([2.68])
AC_INIT([rtems-ada-tests],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
AC_CONFIG_SRCDIR([support])
RTEMS_TOP([../../..],[])
RTEMS_CANONICAL_TARGET_CPU
AM_INIT_AUTOMAKE([no-define foreign 1.12.2])
AM_INIT_AUTOMAKE([no-define foreign 1.11.1])
AM_MAINTAINER_MODE
AC_CHECK_PROGS([M4],[gm4 m4])
@@ -34,7 +36,7 @@ AM_CONDITIONAL([EXPADA],
RTEMS_PROJECT_ROOT
AC_SUBST([rtems_ada_testsdir],["\$(libdir)/rtems-][_RTEMS_API][/ada-tests"])
AC_SUBST([rtems_ada_testsdir],["\$(libdir)/rtems-][RTEMS_API][/ada-tests"])
# Explicitly list all Makefiles here
AC_CONFIG_FILES([Makefile])

View File

@@ -1,3 +1,5 @@
## $Id$
SUBDIRS =
SUBDIRS += mp01
SUBDIRS += mp02

View File

@@ -1,3 +1,5 @@
## $Id$
SUBDIRS = node1 node2
include $(top_srcdir)/../../../testsuites/automake/subdirs.am

View File

@@ -8,7 +8,9 @@
*
* The license and distribution terms for this file may in
* the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/

View File

@@ -9,16 +9,17 @@
--
--
--
-- COPYRIGHT (c) 1989-2011.
-- COPYRIGHT (c) 1989-1997.
-- On-Line Applications Research Corporation (OAR).
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.rtems.org/license/LICENSE.
-- http://www.rtems.com/license/LICENSE.
--
-- $Id$
--
with RTEMS;
with RTEMS.TASKS;
with MPTEST;
with TEST_SUPPORT;
@@ -27,7 +28,7 @@ procedure MP01 is
STATUS : RTEMS.STATUS_CODES;
begin
RTEMS.TASKS.CREATE(
RTEMS.TASK_CREATE(
RTEMS.BUILD_NAME( 'I', 'N', 'I', 'T' ),
1,
RTEMS.MINIMUM_STACK_SIZE,
@@ -39,7 +40,7 @@ begin
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_CREATE OF INIT" );
RTEMS.TASKS.START(
RTEMS.TASK_START(
INIT_ID,
MPTEST.INIT'ACCESS,
0,

Some files were not shown because too many files have changed in this diff Show More