[PATCH 7/7] Adding pipe support

2016-12-09 Thread Kevin Kirspel
--- testsuite/selectpollkqueue01/test_main.c | 186 ++- 1 file changed, 182 insertions(+), 4 deletions(-) mode change 100644 => 100755 testsuite/selectpollkqueue01/test_main.c diff --git a/testsuite/selectpollkqueue01/test_main.c b/testsuite/selectpollkqueue01/test_m

[PATCH 6/7] Adding pipe support

2016-12-09 Thread Kevin Kirspel
--- rtemsbsd/sys/fs/devfs/devfs_devs.c | 29 + 1 file changed, 29 insertions(+) mode change 100644 => 100755 rtemsbsd/sys/fs/devfs/devfs_devs.c diff --git a/rtemsbsd/sys/fs/devfs/devfs_devs.c b/rtemsbsd/sys/fs/devfs/devfs_devs.c old mode 100644 new mode 100755 index

[PATCH 1/7] Adding pipe support

2016-12-09 Thread Kevin Kirspel
--- freebsd/sys/kern/sys_pipe.c | 1689 +++ 1 file changed, 1689 insertions(+) create mode 100644 freebsd/sys/kern/sys_pipe.c diff --git a/freebsd/sys/kern/sys_pipe.c b/freebsd/sys/kern/sys_pipe.c new file mode 100644 index 000..f1efd09 --- /dev/null +

[PATCH 4/7] Adding pipe support

2016-12-09 Thread Kevin Kirspel
--- freebsd/sys/sys/pipe.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) mode change 100644 => 100755 freebsd/sys/sys/pipe.h diff --git a/freebsd/sys/sys/pipe.h b/freebsd/sys/sys/pipe.h old mode 100644 new mode 100755 index 20b1092..c59ecc7 --- a/freebsd/sys/sys/pipe.h +++ b/freebsd/s

[PATCH 2/7] Adding pipe support

2016-12-09 Thread Kevin Kirspel
--- freebsd/sys/sys/pipe.h | 142 + 1 file changed, 142 insertions(+) create mode 100644 freebsd/sys/sys/pipe.h diff --git a/freebsd/sys/sys/pipe.h b/freebsd/sys/sys/pipe.h new file mode 100644 index 000..20b1092 --- /dev/null +++ b/freebsd/sys

[PATCH 3/7] Adding pipe support

2016-12-09 Thread Kevin Kirspel
--- libbsd.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libbsd.py b/libbsd.py index 3685191..d7a0a5f 100755 --- a/libbsd.py +++ b/libbsd.py @@ -258,6 +258,7 @@ def base(mm): 'sys/sys/_null.h', 'sys/sys/osd.h', 'sys/sys/pcpu.h', +'sys/s

[PATCH 5/7] Adding pipe support

2016-12-09 Thread Kevin Kirspel
--- freebsd/sys/kern/sys_pipe.c | 273 +++- 1 file changed, 272 insertions(+), 1 deletion(-) mode change 100644 => 100755 freebsd/sys/kern/sys_pipe.c diff --git a/freebsd/sys/kern/sys_pipe.c b/freebsd/sys/kern/sys_pipe.c old mode 100644 new mode 100755 ind

Flight Software Workshop Next Week

2016-12-09 Thread Joel Sherrill
Hi Just a note that I will be at the Flight Software Workshop in Pasadena next week. FlightSoftware.org for details. Thanks. --joel ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

[PATCH] EDF scheduler overrun handling example

2016-12-09 Thread Kuan-Hsun Chen
--- testsuites/sptests/Makefile.am | 2 +- testsuites/sptests/configure.ac | 1 + testsuites/sptests/spedfsched04/Makefile.am | 21 + testsuites/sptests/spedfsched04/init.c | 70 testsuites/sptests/spedfsched04/spedfsched

[PATCH] RMS scheduler overrun handling example

2016-12-09 Thread Kuan-Hsun Chen
--- testsuites/sptests/Makefile.am | 2 + testsuites/sptests/configure.ac| 1 + testsuites/sptests/sprmsched01/Makefile.am | 21 + testsuites/sptests/sprmsched01/init.c | 69 testsuites/sptests/sprmsched01/sprmsched01.doc | 3

[PATCH] Update RMS documentation

2016-12-09 Thread Kuan-Hsun Chen
--- c-user/rate_monotonic_manager.rst | 30 +- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/c-user/rate_monotonic_manager.rst b/c-user/rate_monotonic_manager.rst index 8ad74e5..292e4bc 100644 --- a/c-user/rate_monotonic_manager.rst +++ b/c-user/rate_

[PATCH] Enhancement of the RMS manager for the overrun handling.

2016-12-09 Thread Kuan-Hsun Chen
Three additional functions: RM_Postponed_num, RM_Renew_deadline, and RM_Release_postponedjob. Four refined functions: RM_Activate, RM_Block_while_expired, rtems_rate_monotonic_period, RM_Timeout. Rate_monotonic_Control contains one counter for counting the postponed jobs and one for recording th

Re: RTEMS LIBBSD Pipe Support

2016-12-09 Thread Sebastian Huber
On 09/12/16 13:51, Kirspel, Kevin wrote: The attached patch pulls in FreeBSDs pipe functionality into RTEMS LIBBSD. There are some guidelines for "|How to import code from FreeBSD|" https://git.rtems.org/rtems-libbsd/tree/libbsd.txt#n784 Please send patches via git format-patch and git send

Re: QT 5.8 Port

2016-12-09 Thread Sebastian Huber
On 09/12/16 14:17, Kirspel, Kevin wrote: LIBBSD has the poll() functionality. In order for the pipe to be polled then it needs functionality that is only found in LIBBSD. I started off using the pipe in the RTEMS tree. I even added the poll handler to return the correct revents. The proble

RE: QT 5.8 Port

2016-12-09 Thread Kirspel, Kevin
LIBBSD has the poll() functionality. In order for the pipe to be polled then it needs functionality that is only found in LIBBSD. I started off using the pipe in the RTEMS tree. I even added the poll handler to return the correct revents. The problem was that the RTEMS pipe poll handler need

RTEMS LIBBSD Pipe Support

2016-12-09 Thread Kirspel, Kevin
The attached patch pulls in FreeBSDs pipe functionality into RTEMS LIBBSD. Kevin Kirspel Electrical Engineer - Sr. Staff Idexx Roswell 235 Hembree Park Drive Roswell GA 30076 Tel: (770)-510- ext. 81642 Direct: (770)-688-1642 Fax: (770)-510-4445 rtems-libbsd-pipe-submit.diff Description: rte

[PATCH] Update Initialization Manager chapter

2016-12-09 Thread Sebastian Huber
Update #2408. --- c-user/fatal_error.rst| 36 ++ c-user/initialization.rst | 288 ++ c-user/linker_sets.rst| 2 +- 3 files changed, 226 insertions(+), 100 deletions(-) diff --git a/c-user/fatal_error.rst b/c-user/fatal_error.rst index df8

[PATCH] Improve fatal error chapter

2016-12-09 Thread Sebastian Huber
Update #2825. --- c-user/fatal_error.rst| 148 +++--- c-user/initialization.rst | 31 +- 2 files changed, 116 insertions(+), 63 deletions(-) diff --git a/c-user/fatal_error.rst b/c-user/fatal_error.rst index e401db2..df8294b 100644 --- a/c-user

[PATCH] Rename is_internal to always_false

2016-12-09 Thread Sebastian Huber
Update #2825. --- c/src/lib/libbsp/arm/altera-cyclone-v/startup/bspclean.c| 2 +- c/src/lib/libbsp/lm32/milkymist/startup/bspclean.c | 2 +- c/src/lib/libbsp/m68k/mcf5225x/startup/bspclean.c | 2 +- c/src/lib/libbsp/m68k/mrm332/misc/interr.c | 2 +- c/src/li

[PATCH 8/9] Add INTERNAL_ERROR_LIBIO_STDOUT_FD_OPEN_FAILED

2016-12-09 Thread Sebastian Huber
Update #2825. --- cpukit/libcsupport/src/open_dev_console.c | 2 +- cpukit/sapi/src/interrtext.c| 3 ++- cpukit/score/include/rtems/score/interr.h | 3 ++- testsuites/sptests/spfatal14/testcase.h | 4 ++-- testsuites/sptests/spinternalerror02/init.c | 2 +- 5 files changed,

[PATCH 6/9] Add INTERNAL_ERROR_LIBIO_SEM_CREATE_FAILED

2016-12-09 Thread Sebastian Huber
Update #2825. --- cpukit/libcsupport/src/libio_init.c | 5 +++-- cpukit/sapi/src/interrtext.c| 3 ++- cpukit/score/include/rtems/score/interr.h | 3 ++- testsuites/sptests/spinternalerror02/init.c | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/cpuk

[PATCH 7/9] libio: Ensure proper std file descriptors

2016-12-09 Thread Sebastian Huber
--- cpukit/libcsupport/src/open_dev_console.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/cpukit/libcsupport/src/open_dev_console.c b/cpukit/libcsupport/src/open_dev_console.c index 2e111cc..14257e8 100644 --- a/cpukit/libcsupport/src/open_dev_console.c +

[PATCH 5/9] INTERNAL_ERROR_LIBIO_USER_ENV_KEY_CREATE_FAILED

2016-12-09 Thread Sebastian Huber
Update #2825. --- cpukit/libcsupport/src/libio_init.c | 2 +- cpukit/sapi/src/interrtext.c| 3 ++- cpukit/score/include/rtems/score/interr.h | 3 ++- testsuites/sptests/spfatal27/testcase.h | 4 ++-- testsuites/sptests/spinternalerror02/init.c | 2 +- 5 files changed,

[PATCH 9/9] Add INTERNAL_ERROR_LIBIO_STDERR_FD_OPEN_FAILED

2016-12-09 Thread Sebastian Huber
Update #2825. --- cpukit/libcsupport/src/open_dev_console.c | 2 +- cpukit/sapi/src/interrtext.c| 3 ++- cpukit/score/include/rtems/score/interr.h | 3 ++- testsuites/sptests/spfatal15/testcase.h | 4 ++-- testsuites/sptests/spinternalerror02/init.c | 2 +- 5 files changed,

[PATCH 2/9] Add INTERNAL_ERROR_RTEMS_INIT_TASK_CREATE_FAILED

2016-12-09 Thread Sebastian Huber
Update #2825. --- cpukit/rtems/src/taskinitusers.c| 8 ++-- cpukit/sapi/src/interrtext.c| 3 ++- cpukit/score/include/rtems/score/interr.h | 3 ++- testsuites/sptests/spfatal01/testcase.h | 4 ++-- testsuites/sptests/spinternalerror02/init.c | 2 +- 5 files ch

[PATCH 3/9] Add INTERNAL_ERROR_POSIX_INIT_THREAD_CREATE_FAILED

2016-12-09 Thread Sebastian Huber
Update #2825. --- cpukit/posix/src/pthreadinitthreads.c | 8 ++-- cpukit/sapi/src/interrtext.c| 3 ++- cpukit/score/include/rtems/score/interr.h | 3 ++- testsuites/psxtests/psxfatal02/testcase.h | 4 ++-- testsuites/sptests/spinternalerror02/init.c | 2 +- 5 files ch

[PATCH 4/9] score: Introduce _Internal_error()

2016-12-09 Thread Sebastian Huber
--- cpukit/libcsupport/src/gxx_wrappers.c | 4 ++-- cpukit/libcsupport/src/malloc_initialize.c| 2 +- cpukit/posix/src/pthreadinitthreads.c | 10 ++ cpukit/rtems/src/taskinitusers.c | 10 ++ cpukit/score/cpu/powerpc/ppc-isr-vector-

[PATCH 1/9] score: Remove fatal is internal indicator

2016-12-09 Thread Sebastian Huber
The fatal is internal indicator is redundant since the fatal source and error code uniquely identify a fatal error. Keep the fatal user extension is internal parameter for backward compatibility and set it to false always. Update #2825. --- c/src/lib/libbsp/powerpc/shared/startup/panic.c | 2

Re: QT 5.8 Port

2016-12-09 Thread Sebastian Huber
Hello Kevin, we already have a (broken) pipe support in RTEMS https://git.rtems.org/rtems/tree/cpukit/libcsupport/src/pipe.c What is the befit of using the FreeBSD pipe implementation? On 07/12/16 19:49, Kirspel, Kevin wrote: I’m porting QT 5.8 to RTEMS 4.12 and rtems-libbsd. I had to add p