Commit Graph
10518 Commits
Author SHA1 Message Date
Joel Sherrill f387e8f40b testsupport/testbeginend.c: Fix redefined warning 2018-01-16 13:47:53 -06:00
Chris Johns 2a21c80299 Include rtems/bspIo.h for printk.
Closes @3267.
2018-01-04 11:54:35 +01:00
Sebastian Huber 4e100058cc sparc: Remove <bsp.h> from PCI shell command
Update #3254.
Update #3260.
2018-01-02 15:47:00 +01:00
Sebastian Huber 569fd5097c sparc: Remove BSP specifics from <pci/irq.h>
Update #3254.
Update #3260.
Update #3269.
2018-01-02 14:49:56 +01:00
Sebastian Huber 3b392b6113 sparc: Remove BSP specifics from <pci/access.h>
Update #3254.
Update #3260.
2018-01-02 14:49:56 +01:00
Sebastian Huber 7190005abb sparc: Move <libcpu/byteorder.h>
Update #3254.
Update #3260.
2018-01-02 14:49:56 +01:00
Sebastian Huber e1563f377d posix: Remove unused global variable
Update #2702.
Update #2555.
2017-12-15 07:23:10 +01:00
Sebastian Huber 12641f7b13 epiphany: Remove superfluous includes
Update #3254.
2017-12-14 08:13:13 +01:00
Sebastian Huber 7e82962c0b untar: Constify 2017-12-14 07:01:12 +01:00
Sebastian Huber d19e7aab4b zlib: Fix build
Update #3254.
2017-12-13 09:32:11 +01:00
Sebastian Huber 241fc046a7 zlib: Do not generate zconf.h
Update #3254.
2017-12-13 09:25:55 +01:00
Sebastian Huber 94e04b533d telnetd: Include <rtems/passwd.h>
Prepare for header file move to common include directory.

Update #3254.
2017-12-13 09:04:28 +01:00
Sebastian Huber 5346fa875c pppd: Include <rtems/rtems*.h>
Prepare for header file move to common include directory.

Update #3254.
2017-12-13 09:04:28 +01:00
Sebastian Huber 9589755f77 mghttpd: Include <mghttpd/mongoose.h>
Prepare for header file move to common include directory.

Update #3254.
2017-12-13 09:04:28 +01:00
Sebastian Huber edfdc42a89 uuid: Include <uuid/uuid.h>
Prepare for header file move to common include directory.

Update #3254.
2017-12-13 09:04:27 +01:00
Sebastian Huber f666fc5928 utf8proc: Include <utf8proc/utf8proc.h>
Prepare for header file move to common include directory.

Update #3254.
2017-12-13 09:04:27 +01:00
Sebastian Huber a162672611 redirector: Include <rtems/stdio-redirect.h>
Prepare for header file move to common include directory.

Update #3254.
2017-12-13 09:04:27 +01:00
Sebastian Huber 4a23aa4528 shell: Include <rtems/shell.h>
Prepare for header file move to common include directory.

Update #3254.
2017-12-13 09:04:27 +01:00
Sebastian Huber 47f236c67a monitor: Include <rtems/monitor.h>
Prepare for header file move to common include directory.

Update #3254.
2017-12-13 09:04:27 +01:00
Sebastian Huber 249730ded2 capture: Include <rtems/captureimpl.h>
Prepare for header file move to common include directory.

Update #3254.
2017-12-13 09:04:26 +01:00
Sebastian Huber 295ca7ded0 RFS: Include <rtems/rtems-rfs-shell.h>
Prepare for header file move to common include directory.

Update #3254.
2017-12-13 09:04:26 +01:00
Sebastian Huber 990adc5438 libdl: Include <rtems/rtl/rtl-*.h>
Prepare for header file move to common include directory.

Update #3254.
2017-12-13 09:04:26 +01:00
Sebastian Huber 7d9455edfe pipe: Include <rtems/pipe.h>
Prepare for header file move to common include directory.

Update #3254.
2017-12-13 09:04:26 +01:00
Sebastian Huber 7683da88e4 dosfs: Include <rtems/dosfs.h>
Prepare for header file move to common include directory.

Update #3254.
2017-12-13 09:04:26 +01:00
Sebastian Huber 51a30a4b73 ftpd: Include <rtems/ftpd.h>
Prepare for header file move to common include directory.

Update #3254.
2017-12-13 09:04:25 +01:00
Sebastian Huber 339069fc81 devfs: Include <rtems/devfs.h>
Prepare for header file move to common include directory.

Update #3254.
2017-12-13 09:04:25 +01:00
Sebastian Huber a397c7d8bc IMFS: Include <rtems/imfs.h>
Prepare for header file move to common include directory.

Update #3254.
2017-12-13 09:04:25 +01:00
Sebastian Huber 6ad3f47143 libdebugger: Avoid use of <bsp/linker-symbols.h>
Update #3254.
2017-12-13 09:04:25 +01:00
Sebastian Huber 8e8cf723a3 arm: Move <libcpu/arm-cp15.h> to cpukit
Update #3254.
2017-12-13 09:04:21 +01:00
Christian Mauderer 2fe368787e dosfs: Allow creating a file with similar name.
If there is already a file with a long file name it isn't possible to
create a second file which has a name that ends on the first files name
(for example ets.beam and sets.beam). This patch fixes that.

Update #3258.
2017-12-07 07:30:16 +01:00
Sebastian Huber 3f575da2f2 Remove obsolete network header files
Update #3254.
2017-12-07 07:23:59 +01:00
Andrei Chichak 1737e8f867 libmisc/stackchk/check.c: correct formatting of stack pointers in Stack_check_Dump_threads_usage
Pointers were being printed as 0x<decimal> rather than 0x<hex>. I altered the formatting define used
to give the correct formatting.
Close #3240
2017-12-07 09:46:32 +11:00
Joel Sherrill d2711c37f1 taskmode.c: Ensure all error checking is done before modifying executing
Also use single conditional expressions to simplify error checking.
Combined, this all resulted in a block of SMP enabled error checking.

Updates #3000.
2017-12-06 12:48:45 -06:00
Sebastian Huber 9526b0349c confdefs: Replace RTEMS 4.12 with 5.1
Update #3220.
2017-12-06 19:20:06 +01:00
Sebastian Huber bc5b56ad41 libio: Use API mutex 2017-12-06 07:13:04 +01:00
Sebastian Huber 98b52e3517 drvmgr: Use API mutex 2017-12-06 07:13:04 +01:00
Christian Mauderer ca835e5683 dosfs: Fix files with same name as volume name.
Take care that a file in the root directory with the same name as the
volume name can be found.

Update #3257.
2017-12-05 08:00:34 +01:00
Sebastian Huber 6c2b8a4b35 score: Use self-contained API mutex
Use a self-contained recursive mutex for API_Mutex_Control.  The API
mutexes are protected against asynchronous thread cancellation.

Add dedicated mutexes for libatomic and TOD.

Close #2629.
Close #2630.
2017-12-04 10:53:39 +01:00
Sebastian Huber 5e05fa0f7b ada: Fix user extension support 2017-12-01 15:21:34 +01:00
Joel Sherrill c389769740 riscv/rtems/score/cpu.h: Use RTEMS_NO_RETURN not deprecated RTEMS_COMPILER_NO_RETURN_ATTRIBUTE 2017-11-29 13:03:41 -06:00
Joel Sherrill 7b8c5b0def sapi/src/panic.c: Add include of <rtems/bspIo.h> 2017-11-29 13:03:40 -06:00
Joel Sherrill 885bbd61c0 testsupport/test.h: Add RTEMS_NO_RETURN to rtems_test_exit() 2017-11-29 13:03:40 -06:00
Martin Erik Werner ab304f4def rtems/inttypes: Clarify hexadecimal in comments
Update comments to reflect that PRIxblksize_t PRIxblkcnt_t is
hexadecimal, not decimal.

Signed-off-by: Martin Erik Werner <martin.werner@aacmicrotec.com>
2017-11-29 09:28:59 -06:00
Sebastian Huber 642ef003ec bsps: Provide <tm27.h> in each BSP
Since the <tm27.h> is highly BSP-dependent and used only by the tm27
test program we must provide this header file for each BSP.  Without the
preinstall build target each header file must have a unique source
header file.

Update #3254.
2017-11-27 09:36:56 +01:00
Sebastian Huber 0d5c795afa Move Ada includes
Update #3254.
2017-11-27 07:32:53 +01:00
Sebastian Huber 07d96453a9 powerpc: Remove _BSP_Fatal_error()
BSPs can use the bsp_fatal_extension() to provide BSP-specific fatal
error handling.  There is no need for a _BSP_Fatal_error().

Close #3246.
2017-11-22 09:40:23 +01:00
Sebastian Huber 1c193a26d2 powerpc: Replace BSP_panic() with rtems_panic()
Due to a new rtems_panic() implementation, it is possible to replace the
PowerPC-specific BSP_panic() with rtems_panic().  Remove BSP_panic()
implementations.

Close #3245.
2017-11-22 09:40:23 +01:00
Sebastian Huber 15e19273b2 sapi: New implementation of rtems_panic()
The previous rtems_panic() implementation was quite heavy weight.  It
depended on _exit() which calls the global destructors.  It used
fprintf(stderr, ...) for output which depends on an initialized console
device and the complex fprintf().

Introduce a new fatal source RTEMS_FATAL_SOURCE_PANIC for rtems_panic()
and output via vprintk().

Update #3244.
2017-11-22 09:40:23 +01:00
Sebastian Huber cd3e2204c7 INTERNAL_ERROR_POSIX_INIT_THREAD_ENTRY_IS_NULL
Delete superfluous INTERNAL_ERROR_POSIX_INIT_THREAD_ENTRY_IS_NULL.

Update #3243.
2017-11-22 09:40:23 +01:00
Sebastian Huber a7dcef97e9 score: Simplify global construction
Update #3243.
2017-11-22 09:40:22 +01:00