Re: [PATCH] c-user: Use configuration option as section name

2017-11-06 Thread Sebastian Huber
On 07/11/17 01:56, Chris Johns wrote: On 06/11/2017 22:56, Sebastian Huber wrote: This makes it easier to find the documentation for a given configuration option. Can you please generate the HTML and PDF so we can review what this looks like? You can review it here: https://ftp.rtems.org/pub

Re: [PATCH] cpukit: Add a Version API.

2017-11-06 Thread Sebastian Huber
On 07/11/17 06:46, Chris Johns wrote: +/** + * @brief Returns the version's VC ident. This is specific to the VC being + * used. + * + * @retval int The version's VC ident. + */ +const char *rtems_version_vc_ident( void ); Normally, we don't have abbreviations in the RTEMS API functions. What

Re: [rtems commit] tests: Use in all tests

2017-11-06 Thread Sebastian Huber
On 07/11/17 08:24, Sebastian Huber wrote: On 07/11/17 08:15, Chris Johns wrote: On 07/11/2017 17:09, Sebastian Huber wrote: Commit: 7b00c2fac57740963d3c4d8bf1cf5eab3a31f22e -  rtems_test_begin(); +  TEST_BEGIN(); -  rtems_test_end(); +  TEST_END(); I am now confused $ arm-rtems4.12-nm

Re: [rtems commit] tests: Use in all tests

2017-11-06 Thread Sebastian Huber
On 07/11/17 08:15, Chris Johns wrote: On 07/11/2017 17:09, Sebastian Huber wrote: Commit:7b00c2fac57740963d3c4d8bf1cf5eab3a31f22e - rtems_test_begin(); + TEST_BEGIN(); - rtems_test_end(); + TEST_END(); I am now confused $ arm-rtems4.12-nm `find . -name \*.exe` | grep rtems_test_be

Re: [rtems commit] tests: Use in all tests

2017-11-06 Thread Chris Johns
On 07/11/2017 17:09, Sebastian Huber wrote: > Commit:7b00c2fac57740963d3c4d8bf1cf5eab3a31f22e > - rtems_test_begin(); > + TEST_BEGIN(); > - rtems_test_end(); > + TEST_END(); I am now confused $ arm-rtems4.12-nm `find . -name \*.exe` | grep rtems_test_begin 001118dc T rtems_test_begin

Re: RTEMS Tier Allocations.

2017-11-06 Thread Sebastian Huber
On 06/11/17 23:03, Chris Johns wrote: On 06/11/2017 21:20, Sebastian Huber wrote: On 27/10/17 07:13, Chris Johns wrote: On 26/10/2017 18:50, Sebastian Huber wrote: with the change to the INI format files, the target_pretest_command target_exe_filter_command disappeared. Oh I changed some

[PATCH] termios: Fix canonical mode

2017-11-06 Thread Sebastian Huber
In canonical mode, input is made available line by line. We must stop the canonical buffer filling upon reception of an end-of-line character. Close #3218. --- cpukit/libcsupport/src/termios.c | 6 ++- testsuites/libtests/termios09/init.c | 97 2 files c

Re: [PATCH 1/2] cpukit: Add the git hash to the version if built from git source.

2017-11-06 Thread Chris Johns
On 07/11/2017 08:49, Chris Johns wrote: >> Why can't we use a Git post-checkout hook (attached)? > > I tend to get a little uneasy when a VC tool is touching code in a project > underneath another operation. It makes auditing more complicated. If you think > the autoconf change is still not suitab

[PATCH] cpukit: Add a Version API.

2017-11-06 Thread Chris Johns
Provide functions to get the version string, major, minor and revision numbers and the version control identifer that is a unique tag for the version control system. Update #3199. --- cpukit/sapi/Makefile.am| 35 +++- cpukit/sapi/include/rtems/version.h

Re: [PATCH] c-user: Use configuration option as section name

2017-11-06 Thread Joel Sherrill
On Mon, Nov 6, 2017 at 6:56 PM, Chris Johns wrote: > On 06/11/2017 22:56, Sebastian Huber wrote: > > This makes it easier to find the documentation for a given configuration > > option. > > Can you please generate the HTML and PDF so we can review what this looks > like? > > I have figured out in

Re: [PATCH] c-user: Use configuration option as section name

2017-11-06 Thread Chris Johns
On 06/11/2017 22:56, Sebastian Huber wrote: > This makes it easier to find the documentation for a given configuration > option. Can you please generate the HTML and PDF so we can review what this looks like? I have figured out indexes and I will sweep over the docs adding them soon. The CONFIGUR

Re: Building RTEMS with Clang?

2017-11-06 Thread Joel Sherrill
On Mon, Nov 6, 2017 at 5:23 PM, Hesham Almatary wrote: > Hi, > > I've come across this page [1], but it hasn't been updated since 2011. > I'm wondering what's the status of Clang project and how feasible it's > to build RTEMS with it. > That page is status from my attempt to compile RTEMS with c

Building RTEMS with Clang?

2017-11-06 Thread Hesham Almatary
Hi, I've come across this page [1], but it hasn't been updated since 2011. I'm wondering what's the status of Clang project and how feasible it's to build RTEMS with it. [1] https://devel.rtems.org/wiki/Projects/CLANG Cheers, -- Hesham ___ devel maili

Re: RTEMS Tier Allocations.

2017-11-06 Thread Chris Johns
On 06/11/2017 21:20, Sebastian Huber wrote: > On 27/10/17 07:13, Chris Johns wrote: >> On 26/10/2017 18:50, Sebastian Huber wrote: >>> with the change to the INI format files, the >>> >>> target_pretest_command >>> target_exe_filter_command >>> >>> disappeared. >> Oh I changed some names as part of

Re: [PATCH 2/2] libmisc/testsupport: Add RTEMS version, build and tools to the tests.

2017-11-06 Thread Chris Johns
On 06/11/2017 17:41, Sebastian Huber wrote: > >> Do all tests call the begin function in libmisc? > > Yes, I hope that this is the case. https://git.rtems.org/rtems/tree/testsuites/support/include/buffer_test_io.h#n65 is not doing that. This needs to change. > Some tests use rtems_test_begin()

Re: [PATCH 1/2] cpukit: Add the git hash to the version if built from git source.

2017-11-06 Thread Chris Johns
On 06/11/2017 17:23, Sebastian Huber wrote: > How reliable is this Autoconf stuff? Haha, that is a leading question! I suppose it depends on how you use it or abuse it as we have in our case. > Do I have to re-build everything after each > Git checkout (cpuopts.h is included in nearly every head

[PATCH] CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER

2017-11-06 Thread Sebastian Huber
Close #3170. Update #3199. --- c-user/configuring_a_system.rst | 38 ++ 1 file changed, 38 insertions(+) diff --git a/c-user/configuring_a_system.rst b/c-user/configuring_a_system.rst index 0d4ebd7..2890a95 100644 --- a/c-user/configuring_a_system.rst +++ b/c-u

[PATCH] c-user: Use configuration option as section name

2017-11-06 Thread Sebastian Huber
This makes it easier to find the documentation for a given configuration option. Remove superfluous comments. --- c-user/configuring_a_system.rst | 1120 ++- 1 file changed, 396 insertions(+), 724 deletions(-) diff --git a/c-user/configuring_a_system.rst b/c-u

[PATCH 3/3] score: Use Processor_mask instead of cpu_set_t

2017-11-06 Thread Sebastian Huber
--- .../include/rtems/score/schedulerpriorityaffinitysmp.h | 4 ++-- cpukit/score/src/schedulerpriorityaffinitysmp.c | 16 +--- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/cpukit/score/include/rtems/score/schedulerpriorityaffinitysmp.h b/cpukit/score/in

[PATCH 1/3] score: Remove superfluous include

2017-11-06 Thread Sebastian Huber
Update #3059. --- cpukit/score/include/rtems/score/scheduler.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/cpukit/score/include/rtems/score/scheduler.h b/cpukit/score/include/rtems/score/scheduler.h index 38f3e710e7..669f82c48c 100644 --- a/cpukit/score/include/rtems/score/scheduler.h +

[PATCH 2/3] score: _Chain_Insert_ordered_unprotected()

2017-11-06 Thread Sebastian Huber
Change the chain order relation to use a directly specified left hand side value. This is similar to _RBTree_Insert_inline() and helps the compiler to better optimize the code. --- cpukit/score/include/rtems/score/chainimpl.h | 27 ++ .../include/rtems/score/schedulerprioritysmpimpl

Re: RTEMS Tier Allocations.

2017-11-06 Thread Sebastian Huber
On 27/10/17 07:13, Chris Johns wrote: On 26/10/2017 18:50, Sebastian Huber wrote: with the change to the INI format files, the target_pretest_command target_exe_filter_command disappeared. Oh I changed some names as part of a clean up. I am not sure how I can invoke the tester for a board u

Re: [PATCH] cpu-supplement: Add ARM BSPs chapter

2017-11-06 Thread Sebastian Huber
On 26/10/17 08:22, Sebastian Huber wrote: Please review this patch carefully. It adds a new chapter "ARM Board Support Packages" following the "ARM Specific Information" chapter. It adds a template structure for other BSPs. Where should we place common BSP configuration options like BSP_PRESS