Trying to interrupt a blocking read...

2019-09-09 Thread Benjamin Ellsworth
Hello, The code I'm working with currently does a read() on a device that has been opened with an open() call (a UART if that matters). It nicely blocks waiting for a character (potentially forever). I now need that read to be interrupted... I looked for pselect() so it can block until I

Re: [rtems commit] Add a parallel bootstrap command.

2019-09-09 Thread Joel Sherrill
On Mon, Sep 9, 2019 at 5:04 PM Chris Johns wrote: > > On 5/9/19 10:51 pm, Joel Sherrill wrote: > > Hi > > > > Any chance, the parallel version will ever functionally replace bootstrap? > > It needs -c to clean and -H for headers.am. > > > > If we want to support exactly the same arguments (I

Initial Signal Mask Incompatability

2019-09-09 Thread Joel Sherrill
Hi In porting some user code to RTEMS, I have discovered that RTEMS does not agree with Linux, FreeBSD, or Cygwin on the initial state of the signal mask. POSIX appeared to be ambiguous so I I checked with another RTOS kernel developer I know through FACE who has decades of POSIX experience. I

Re: [rtems commit] Add a parallel bootstrap command.

2019-09-09 Thread Chris Johns
On 5/9/19 10:51 pm, Joel Sherrill wrote: > Hi > > Any chance, the parallel version will ever functionally replace bootstrap? > It needs -c to clean and -H for headers.am. > > If we want to support exactly the same arguments (I don't care beyond > functionality). > > usage: bootstrap [-c|-h|-H]

Re: RTEMS qualification and code annotations

2019-09-09 Thread Chris Johns
On 6/9/19 9:40 pm, Andrew Butterfield wrote: > However, if the implementation code contains loops, then we need annotations > in > the code at those loops. The following, from the Frama-C ACSL Tutorial > (https://frama-c.com/acsl_tutorial_index.html) shows the annotations required > to > verify

Re: [PATCH] rtems: Make rtems_version_control_key() safer

2019-09-09 Thread Chris Johns
On 6/9/19 10:34 pm, Sebastian Huber wrote: > Return the empty string instead of a NULL pointer if no version key is > available. > --- > cpukit/include/rtems/version.h | 9 ++--- > cpukit/sapi/src/version.c | 2 +- > 2 files changed, 7 insertions(+), 4 deletions(-) > > diff --git

Re: rtems-addr2line not working on ARM?

2019-09-09 Thread Sebastian Huber
On 09/09/2019 07:31, Sebastian Huber wrote: On 07/09/2019 16:25, Sebastian Huber wrote: - Am 6. Sep 2019 um 18:06 schrieb Sebastian Huber sebastian.hu...@embedded-brains.de: - Am 6. Sep 2019 um 11:09 schrieb Sebastian Huber sebastian.hu...@embedded-brains.de: On 06/09/2019 09:26,