Re: machine/param.h Leak of non-standard methods to Application Space

2018-10-17 Thread Sebastian Huber
On 17/10/2018 17:04, Joel Sherrill wrote: Hi We are updating the port of a large third party framework and ran into an issue where what I would think are BSD kernel methods leak into application space. All but one of the methods is used by rtems-libbsd code. I think the following in needs to b

Re: [PATCH 1/6] Move default config to librtemsdefaultconfig.a

2018-10-17 Thread Chris Johns
On 17/10/2018 21:25, Sebastian Huber wrote: > The stuff in rtems_waf makes some problems. It uses the RTEMS libraries for > the > probes which contain simply a main() function and no RTEMS configuration. > There > are two options to address this issue. Should rtems_waf be adjusted to not do this

machine/param.h Leak of non-standard methods to Application Space

2018-10-17 Thread Joel Sherrill
Hi We are updating the port of a large third party framework and ran into an issue where what I would think are BSD kernel methods leak into application space. All but one of the methods is used by rtems-libbsd code. I think the following in needs to be protected by an _KERNEL ifdef. Does that

Re: [PATCH 1/6] Move default config to librtemsdefaultconfig.a

2018-10-17 Thread Sebastian Huber
On 16/10/2018 15:16, Joel Sherrill wrote: On Oct 16, 2018 8:07 AM, "Sebastian Huber" > wrote: On 15/10/2018 14:52, Joel Sherrill wrote: > Does doing this mean that autoconf probes now need to pass an extra > library to link against? I think Autocon

[PATCH] console: Be fair in simple console read

2018-10-17 Thread Sebastian Huber
Wait for one tick in case no character is available after a call to getchark(). Otherwise the system is constantly busy within an input loop (for example in the RTEMS shell). The polled Termios driver uses the same approach. --- cpukit/libcsupport/src/consolesimpleread.c | 9 +++-- 1 file ch

Re: libBSD and CPU Load display questions in SMP mode

2018-10-17 Thread Sebastian Huber
On 17/10/2018 09:20, Chris Johns wrote: On 17/10/18 5:17 pm, Sebastian Huber wrote: On 17/10/2018 07:59, Chris Johns wrote: On 17/10/18 4:05 pm, Sebastian Huber wrote: On 17/10/2018 02:46, Chris Johns wrote: On 16/10/2018 19:34, Sebastian Huber wrote: On 16/10/2018 10:28, jameszxj wrote: CP

Re: libBSD and CPU Load display questions in SMP mode

2018-10-17 Thread Chris Johns
On 17/10/18 5:17 pm, Sebastian Huber wrote: > On 17/10/2018 07:59, Chris Johns wrote: >> On 17/10/18 4:05 pm, Sebastian Huber wrote: >>> On 17/10/2018 02:46, Chris Johns wrote: On 16/10/2018 19:34, Sebastian Huber wrote: > On 16/10/2018 10:28, jameszxj wrote: >> CPU:zynq z7020  RTEMS