Re: [PATCH 1/2] Add support for posix_devctl()

2017-01-10 Thread Sebastian Huber
I didn't find a posix_devctl() in FreeBSD and glibc. Is there a reference implementation? Which systems do actually use this stuff? -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : s

Re: [PATCH 2/2] Remove obsolete __RTEMS_HAVE_SYS_CPUSET_H__

2017-01-10 Thread Sebastian Huber
On 11/01/17 00:57, Joel Sherrill wrote: diff --git a/cpukit/libcsupport/src/devctl.c b/cpukit/libcsupport/src/devctl.c deleted file mode 100644 index 353e0a5..000 --- a/cpukit/libcsupport/src/devctl.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright (c) 2016 Joel Sherrill. All rights reser

Re: libbsd update to FreeBSD head (2017-01-09)

2017-01-10 Thread Sebastian Huber
On 11/01/17 02:28, Gedare Bloom wrote: Thanks for the great effort. Is it your intention to attempt to track the FreeBSD head with libbsd? An automated and regular update would be nice, but my TODO list is already quite long. What we should definitely avoid in the future is an import from d

Re: [PATCH 1/2] Add support for posix_devctl()

2017-01-10 Thread Gedare Bloom
two typos below: On Tue, Jan 10, 2017 at 6:57 PM, Joel Sherrill wrote: > --- > cpukit/libcsupport/Makefile.am|3 +- > cpukit/libcsupport/src/devctl.c | 72 ++ > cpukit/posix/src/sysconf.c|2 + > testsuites/ps

Re: libbsd update to FreeBSD head (2017-01-09)

2017-01-10 Thread Gedare Bloom
Thanks for the great effort. Is it your intention to attempt to track the FreeBSD head with libbsd? On Tue, Jan 10, 2017 at 5:10 AM, Sebastian Huber wrote: > Hello, > > I updated the libbsd from FreeBSD 9.3 to FreeBSD head (2017-01-09). This is > a very big jump in terms of FreeBSD development. T

[PATCH 1/2] Add support for posix_devctl()

2017-01-10 Thread Joel Sherrill
--- cpukit/libcsupport/Makefile.am|3 +- cpukit/libcsupport/src/devctl.c | 72 ++ cpukit/posix/src/sysconf.c|2 + testsuites/psxtests/Makefile.am |3 + testsuites/psxtests/configure.ac

[PATCH 2/2] Remove obsolete __RTEMS_HAVE_SYS_CPUSET_H__

2017-01-10 Thread Joel Sherrill
--- cpukit/configure.ac |7 -- cpukit/libcsupport/Makefile.am |2 +- cpukit/libcsupport/src/devctl.c | 72 cpukit/libcsupport/src/posix_devctl.c| 72 cpukit/posix/include/rtems

[PATCH 3/4] score: Add STATES_THREAD_QUEUE_WITH_IDENTIFIER

2017-01-10 Thread Sebastian Huber
Add thread state bit to identify thread queues that are embedded in an object with identifier. --- cpukit/libdebugger/rtems-debugger-threads.c| 8 +++- cpukit/libmisc/monitor/mon-prmisc.c| 22 -- cpukit/posix/src/condwaitsupp.c| 3 ++- cpuk

[PATCH 2/4] score: Delete STATES_WAITING_FOR_BUFFER

2017-01-10 Thread Sebastian Huber
--- cpukit/libdebugger/rtems-debugger-threads.c | 1 - cpukit/libmisc/monitor/mon-prmisc.c | 2 -- cpukit/score/include/rtems/score/statesimpl.h | 20 +--- 3 files changed, 1 insertion(+), 22 deletions(-) diff --git a/cpukit/libdebugger/rtems-debugger-threads.c b/cp

[PATCH 1/4] score: Format thread state defines

2017-01-10 Thread Sebastian Huber
Specify all 32-bits in a thread state define. --- cpukit/score/include/rtems/score/statesimpl.h | 54 +-- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/cpukit/score/include/rtems/score/statesimpl.h b/cpukit/score/include/rtems/score/statesimpl.h index 17b

[PATCH 4/4] score: Optimize thread state values

2017-01-10 Thread Sebastian Huber
--- cpukit/score/include/rtems/score/statesimpl.h | 118 +++--- 1 file changed, 70 insertions(+), 48 deletions(-) diff --git a/cpukit/score/include/rtems/score/statesimpl.h b/cpukit/score/include/rtems/score/statesimpl.h index 5386b3e..424bcdc 100644 --- a/cpukit/score/includ

New class "RTEMS Application Development" in Munich/Germany, May3-5, 2017

2017-01-10 Thread Thomas Doerfler
Hello, we are currently planning an open RTEMS class "RTEMS Application Development" in Munich/Germany to start on May 3, 2017. This class has is main focus on application development based on the RTEMS kernel. Maybe you or some of your colleagues like to join in? See our update

libbsd update to FreeBSD head (2017-01-09)

2017-01-10 Thread Sebastian Huber
Hello, I updated the libbsd from FreeBSD 9.3 to FreeBSD head (2017-01-09). This is a very big jump in terms of FreeBSD development. The main goal is to catch up with FreeBSD and unify the baseline of the different parts of the libbsd. The network, USB and SD/MMC card parts used different Free