[PATCH] rtems: Remove Modes_Control

2018-11-08 Thread Sebastian Huber
Use rtems_mode directly. This is in line with rtems_attribute and rtems_option. Update #3598. --- cpukit/include/rtems/rtems/asrdata.h | 2 +- cpukit/include/rtems/rtems/modes.h | 4 ++-- cpukit/include/rtems/rtems/modesimpl.h | 26 +- cpukit/include/rtems/rtems/t

[PATCH] small typo

2018-11-08 Thread Malte Münch
--- cpukit/include/rtems/score/basedefs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpukit/include/rtems/score/basedefs.h b/cpukit/include/rtems/score/basedefs.h index 5e425cedf0..43b837c22e 100644 --- a/cpukit/include/rtems/score/basedefs.h +++ b/cpukit/include/rtems/sc

Re: [PATCH] small typo

2018-11-08 Thread Sebastian Huber
Thanks, committed. -- 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 : sebastian.hu...@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist keine geschäftli

[PATCH 03/21] rtems: Remove Modes_Control

2018-11-08 Thread Sebastian Huber
Use rtems_mode directly. This is in line with rtems_attribute and rtems_option. Update #3598. --- cpukit/include/rtems/rtems/asrdata.h | 2 +- cpukit/include/rtems/rtems/modes.h | 4 ++-- cpukit/include/rtems/rtems/modesimpl.h | 26 +- cpukit/include/rtems/rtems/t

[PATCH 17/21] score: Introduce

2018-11-08 Thread Sebastian Huber
Separate the definitions related to watchdog ticks from the watchdog structures. Update #3598. --- cpukit/headers.am | 1 + cpukit/include/rtems/rtems/clock.h | 1 - cpukit/include/rtems/rtems/ratemon.h | 1 - cpukit/include/rtems/rtems/types.h |

[PATCH 07/21] rtems: Move internal structures to messagedata.h

2018-11-08 Thread Sebastian Huber
Update #3598. --- cpukit/headers.am| 1 + cpukit/include/rtems/confdefs.h | 1 + cpukit/include/rtems/rtems/message.h | 45 -- cpukit/include/rtems/rtems/messagedata.h | 54 cpukit/include/rtems/rtems/m

[PATCH 02/21] rtems: Move internal structures to asrdata.h

2018-11-08 Thread Sebastian Huber
Update #3598. --- cpukit/headers.am| 1 + cpukit/include/rtems/rtems/asr.h | 19 cpukit/include/rtems/rtems/asrdata.h | 58 cpukit/include/rtems/rtems/asrimpl.h | 2 +- cpukit/include/rtems/rtems/tasks.h | 2 +- 5 files

[PATCH 04/21] rtems: Move internal structures to barrierdata.h

2018-11-08 Thread Sebastian Huber
Update #3598. --- cpukit/headers.am| 1 + cpukit/include/rtems/confdefs.h | 1 + cpukit/include/rtems/rtems/barrier.h | 36 +++-- cpukit/include/rtems/rtems/barrierdata.h | 54 cpukit/include/rtems/rtems/barrie

[PATCH 05/21] rtems: Move internal structures to dpmemdata.h

2018-11-08 Thread Sebastian Huber
Update #3598. --- cpukit/headers.am | 1 + cpukit/include/rtems/confdefs.h| 1 + cpukit/include/rtems/rtems/dpmem.h | 37 ++ cpukit/include/rtems/rtems/dpmemdata.h | 56 ++ cpukit/include/rtems/rtems/dpmemimpl.h

[PATCH 15/21] score: Avoid include of

2018-11-08 Thread Sebastian Huber
Update #3598. --- cpukit/include/rtems/score/userext.h | 29 +++-- cpukit/include/rtems/score/userextimpl.h | 3 ++- 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/cpukit/include/rtems/score/userext.h b/cpukit/include/rtems/score/userext.h index 5af5

[PATCH 21/21] rtems: Avoid include of

2018-11-08 Thread Sebastian Huber
Update #3598. --- cpukit/Makefile.am | 1 + cpukit/include/rtems/rtems/tasks.h | 11 ++- cpukit/include/rtems/rtems/tasksdata.h | 1 + cpukit/include/rtems/rtems/types.h | 1 + cpukit/rtems/src/rtemsmaxprio.c| 31 +++ 5 fil

[PATCH 19/21] score: Avoid complex include in heap.h

2018-11-08 Thread Sebastian Huber
Update #3598. --- cpukit/include/rtems/score/heap.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cpukit/include/rtems/score/heap.h b/cpukit/include/rtems/score/heap.h index 60cb3be99d..a69d890001 100644 --- a/cpukit/include/rtems/score/heap.h +++ b/cpukit/include/rtems

[PATCH 20/21] rtems: Avoid include of

2018-11-08 Thread Sebastian Huber
Update #3598. --- cpukit/include/rtems/rtems/tasks.h | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cpukit/include/rtems/rtems/tasks.h b/cpukit/include/rtems/rtems/tasks.h index e0272e06f9..3d0b739cd7 100644 --- a/cpukit/include/rtems/rtems/tasks.h +++ b/cpukit/include

[PATCH 01/21] rtems: Move internal structures to ratemondata.h

2018-11-08 Thread Sebastian Huber
Update #3598. --- cpukit/headers.am| 1 + cpukit/include/rtems/confdefs.h | 1 + cpukit/include/rtems/rtems/ratemon.h | 110 cpukit/include/rtems/rtems/ratemondata.h | 140 +++ cpukit/include/rtems/rtems/

[PATCH 14/21] score: Remove empty

2018-11-08 Thread Sebastian Huber
Update #3598. --- cpukit/headers.am| 1 - cpukit/include/rtems/rtems/clock.h | 1 - cpukit/include/rtems/score/tod.h | 32 cpukit/include/rtems/score/todimpl.h | 1 - 4 files changed, 35 deletions(-) delete mode 100644 cpukit/include/r

[PATCH 18/21] rtems: Remove superfluous include

2018-11-08 Thread Sebastian Huber
Update #3598. --- cpukit/include/rtems/rtems/types.h | 1 - 1 file changed, 1 deletion(-) diff --git a/cpukit/include/rtems/rtems/types.h b/cpukit/include/rtems/rtems/types.h index ba904536ee..878340f253 100644 --- a/cpukit/include/rtems/rtems/types.h +++ b/cpukit/include/rtems/rtems/types.h @@

[PATCH 00/21] Hide internal data structures from

2018-11-08 Thread Sebastian Huber
After this patch set only the follwowing score header files are visible via #include : rtems/score/address.h rtems/score/assert.h rtems/score/atomic.h rtems/score/basedefs.h rtems/score/chain.h rtems/score/chainimpl.h rtems/score/cpuatomic.h rtems/score/cpu.h rtems/score/cpuopts.h rtems/score/cpus

[PATCH 16/21] rtems: Avoid in API

2018-11-08 Thread Sebastian Huber
Use a real function for rtems_clock_get_uptime_seconds(). Update #3598. --- cpukit/Makefile.am | 1 + cpukit/include/rtems/imfs.h | 1 + cpukit/include/rtems/rtems/clock.h | 8 +--- cpukit/include/rtems/rtems/types.h | 1 + cpukit/rtems/src/c

[PATCH 09/21] rtems: Move internal structures to regiondata.h

2018-11-08 Thread Sebastian Huber
Update #3598. --- cpukit/headers.am | 1 + cpukit/include/rtems/confdefs.h | 1 + cpukit/include/rtems/rtems/region.h | 35 ++--- cpukit/include/rtems/rtems/regiondata.h | 56 + cpukit/include/rtems/rtems/regionimp

[PATCH 13/21] rtems: Move internal structures to extensiondata.h

2018-11-08 Thread Sebastian Huber
Update #3598. --- cpukit/headers.am | 1 + cpukit/include/rtems/confdefs.h| 1 + cpukit/include/rtems/extension.h | 12 +++-- cpukit/include/rtems/extensiondata.h | 46 ++ cpukit/include/rtems/extensionimpl.h | 16 +++

[PATCH 10/21] rtems: Move internal structures to semdata.h

2018-11-08 Thread Sebastian Huber
Update #3598. --- cpukit/headers.am| 1 + cpukit/include/rtems/confdefs.h | 1 + cpukit/include/rtems/rtems/sem.h | 84 ++--- cpukit/include/rtems/rtems/semdata.h | 102 +++ cpukit/include/rtems/rtems/semimpl

[PATCH 12/21] rtems: Move internal structures to timerdata.h

2018-11-08 Thread Sebastian Huber
Update #3598. --- cpukit/headers.am | 1 + cpukit/include/rtems/confdefs.h| 1 + cpukit/include/rtems/rtems/timer.h | 54 +++ cpukit/include/rtems/rtems/timerdata.h | 67 ++ cpukit/include/rtems/rtems/timeri

[PATCH 08/21] rtems: Move internal structures to partdata.h

2018-11-08 Thread Sebastian Huber
Update #3598. --- cpukit/headers.am | 1 + cpukit/include/rtems/confdefs.h | 1 + cpukit/include/rtems/rtems/part.h | 43 ++-- cpukit/include/rtems/rtems/partdata.h | 63 +++ cpukit/include/rtems/rtems/partimpl.h |

[PATCH 11/21] rtems: Move internal structures to tasksdata.h

2018-11-08 Thread Sebastian Huber
Update #3598. --- cpukit/headers.am | 1 + cpukit/include/rtems/confdefs.h| 1 + cpukit/include/rtems/rtems/tasks.h | 62 ++- cpukit/include/rtems/rtems/tasksdata.h | 76 ++ cpukit/include/rtems/rtems/tasksi

[PATCH 06/21] rtems: Move internal structures to eventdata.h

2018-11-08 Thread Sebastian Huber
Update #3598. --- cpukit/headers.am | 1 + cpukit/include/rtems/rtems/event.h | 23 -- cpukit/include/rtems/rtems/eventdata.h | 43 ++ cpukit/include/rtems/rtems/eventimpl.h | 4 ++-- cpukit/include/rtems/rtems/tasks.h

[PATCH] 5: Update Newlib

2018-11-08 Thread Sebastian Huber
Fix v850 target issue related to the new -fdata-sections build. Remove include from . --- rtems/config/5/rtems-default.bset | 2 +- rtems/config/5/rtems-epiphany.bset | 2 +- rtems/config/5/rtems-m32c.bset | 2 +- rtems/config/5/rtems-or1k.

[PATCH 2/3] rtems: Simplify rtems_interrupt_catch()

2018-11-08 Thread Sebastian Huber
Remove casts and superfluous inline functions. Update #3585. --- cpukit/rtems/src/intrcatch.c | 38 +- 1 file changed, 5 insertions(+), 33 deletions(-) diff --git a/cpukit/rtems/src/intrcatch.c b/cpukit/rtems/src/intrcatch.c index c83ca4cfeb..ac972f27a2 100644

[PATCH 1/3] score: Deprecate proc_ptr

2018-11-08 Thread Sebastian Huber
Update #3585. --- cpukit/include/rtems/score/basedefs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpukit/include/rtems/score/basedefs.h b/cpukit/include/rtems/score/basedefs.h index 43b837c22e..595d2ab805 100644 --- a/cpukit/include/rtems/score/basedefs.h +++ b/cpukit/in

[PATCH 3/3] sparc: Remove use of proc_ptr

2018-11-08 Thread Sebastian Huber
Update #3585. --- cpukit/score/cpu/sparc/cpu.c | 18 +- cpukit/score/cpu/sparc/include/rtems/score/cpu.h | 16 ++-- 2 files changed, 19 insertions(+), 15 deletions(-) diff --git a/cpukit/score/cpu/sparc/cpu.c b/cpukit/score/cpu/sparc/cpu.c index 78c

Status of m32c port?

2018-11-08 Thread Sebastian Huber
Hello, I try to get rid of the proc_ptr type currently. What is the status of the m32c port? Are interrupts supported at all? If not, then I suggest to remove this port right now. The tools are already quite out dated. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-821

Re: Status of m32c port?

2018-11-08 Thread Joel Sherrill
On Thu, Nov 8, 2018 at 8:59 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > Hello, > > I try to get rid of the proc_ptr type currently. What is the status of > the m32c port? Are interrupts supported at all? > Interrupts are not supported. > > If not, then I suggest to remove t

Re: Status of m32c port?

2018-11-08 Thread Sebastian Huber
On 08/11/2018 16:06, Joel Sherrill wrote: On Thu, Nov 8, 2018 at 8:59 AM Sebastian Huber > wrote: Hello, I try to get rid of the proc_ptr type currently. What is the status of the m32c port? Are interrupts supported at all? Interru

[PATCH] m32: Remove this target

2018-11-08 Thread Sebastian Huber
Update #3599. --- bsps/m32c/m32cbsp/README | 4 - bsps/m32c/m32cbsp/btimer/btimer.c | 69 -- bsps/m32c/m32cbsp/config/m32csim-testsuite.tcfg| 28 - bsps/m32c/m32cbsp/config/m32csim.cfg | 16 - bsps/m32c/m32cbsp/console/console-io.c

[PATCH] Remove m32c architecture port

2018-11-08 Thread Sebastian Huber
Update #3599. --- cpu-supplement/renesas_m32c.rst | 10 +- user/hardware/architectures.rst | 3 +-- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/cpu-supplement/renesas_m32c.rst b/cpu-supplement/renesas_m32c.rst index c9119a9..0060c9c 100644 --- a/cpu-supplement/renesas_

[PATCH] Remove m32c support

2018-11-08 Thread Sebastian Huber
Update #3599. --- config/rtems-bsps-m32c.ini| 25 --- config/rtems-bsps-tiers.ini | 3 +-- config/rtems-bsps.ini | 3 --- tester/rtems/testing/bsps/m32csim-run.ini | 39 - tester/rtems/testing/bsps/m32c

Re: Status of m32c port?

2018-11-08 Thread Sebastian Huber
On 08/11/2018 16:16, Sebastian Huber wrote: On 08/11/2018 16:06, Joel Sherrill wrote: On Thu, Nov 8, 2018 at 8:59 AM Sebastian Huber > wrote:     Hello,     I try to get rid of the proc_ptr type currently. What is the     status of     the m32c por

Re: Status of m32c port?

2018-11-08 Thread Joel Sherrill
On Thu, Nov 8, 2018, 9:57 AM Sebastian Huber < sebastian.hu...@embedded-brains.de wrote: > On 08/11/2018 16:16, Sebastian Huber wrote: > > On 08/11/2018 16:06, Joel Sherrill wrote: > >> > >> On Thu, Nov 8, 2018 at 8:59 AM Sebastian Huber > >> >> > wrote:

Re: [PATCH] Remove m32c support

2018-11-08 Thread Joel Sherrill
Not directly related to this patch and I expect that you will find these but there are a few odd places with m32c specific code [joel@localhost rtems]$ grep -ri m32c cpukit/lib* cpukit/libmisc/dummy/default-configuration.c:#if defined(__m32c__) cpukit/librpc/src/xdr/xdr_float.c:defined(__m32c_

Re: arm/altera-cyclone-v doxygen patch

2018-11-08 Thread Gedare Bloom
Thanks Sebastian, I had the same question about the two groups, and I'll check the generated Doxygen for that when I can. On Thu, Nov 8, 2018 at 1:42 AM, Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 08/11/2018 04:52, Gedare Bloom wrote: > >> Attached is a patch from GCI 2018

Re: arm/altera-cyclone-v doxygen patch

2018-11-08 Thread Gedare Bloom
On Thu, Nov 8, 2018 at 1:42 AM, Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 08/11/2018 04:52, Gedare Bloom wrote: > >> Attached is a patch from GCI 2018 adding doxygen to the altera-cyclone-v. >> >> 6545323948244992_1541638792_0001-arm-altera-cyclone-v-Update >> -Doxygen-GCI-

[PATCH] tester: Support testing all riscv bsps on Spike

2018-11-08 Thread Hesham Almatary
--- tester/rtems/testing/bsps/rv32i_spike.ini | 38 +++ tester/rtems/testing/bsps/rv32iac_spike.ini | 38 +++ tester/rtems/testing/bsps/rv32im_spike.ini| 38 +++ tester/rtems/testing/bsps/rv32imac_spike.ini | 38 +++ tester

Re: [PATCH] tester: Support testing all riscv bsps on Spike

2018-11-08 Thread Chris Johns
On 09/11/2018 07:43, Hesham Almatary wrote: > --- > tester/rtems/testing/bsps/rv32i_spike.ini | 38 +++ > tester/rtems/testing/bsps/rv32iac_spike.ini | 38 +++ > tester/rtems/testing/bsps/rv32im_spike.ini| 38 +++ > tester/rtems/testing/bsp

Re: [PATCH] tester: Support testing all riscv bsps on Spike

2018-11-08 Thread Joel Sherrill
On Thu, Nov 8, 2018 at 5:01 PM Chris Johns wrote: > On 09/11/2018 07:43, Hesham Almatary wrote: > > --- > > tester/rtems/testing/bsps/rv32i_spike.ini | 38 +++ > > tester/rtems/testing/bsps/rv32iac_spike.ini | 38 +++ > > tester/rtems/testing/bsps/rv32im_spi

[PATCH] rtems-gdb-8.0.1-1.cfg: Add Cygwin patch for ncurses not termcap

2018-11-08 Thread Joel Sherrill
closes #3576. --- rtems/config/tools/rtems-gdb-8.0.1-1.cfg | 10 ++ 1 file changed, 10 insertions(+) diff --git a/rtems/config/tools/rtems-gdb-8.0.1-1.cfg b/rtems/config/tools/rtems-gdb-8.0.1-1.cfg index 14a0725..51eafef 100644 --- a/rtems/config/tools/rtems-gdb-8.0.1-1.cfg +++ b/rtems/c

rtems/docs user: spelling and grammar fixes patch (GCI 2018)

2018-11-08 Thread Marçal
Hi, I made this patch to complete the "Improve English for rtems/docs" of GCI 2018 which solves 5 typos in the RTEMS User Manual. The errors fixed are the following: 1. catastophic -> catastrophic 2. By using standard software components, the time and cost required to develop sophisticated real-tim

Re: [PATCH] rtems-gdb-8.0.1-1.cfg: Add Cygwin patch for ncurses not termcap

2018-11-08 Thread Chris Johns
On 09/11/2018 10:20, Joel Sherrill wrote: > closes #3576. > --- > rtems/config/tools/rtems-gdb-8.0.1-1.cfg | 10 ++ > 1 file changed, 10 insertions(+) > > diff --git a/rtems/config/tools/rtems-gdb-8.0.1-1.cfg > b/rtems/config/tools/rtems-gdb-8.0.1-1.cfg > index 14a0725..51eafef 100644 >

Re: [PATCH v2] m68k/mcf52235: Add missing Copyright/License notices

2018-11-08 Thread Sebastian Huber
Hello Marçal, I think each contributor needs its own line with a "Copyright (c) year>, " structure. The , year> pattern is debatable: https://gcc.gnu.org/ml/gcc/2012-06/msg00427.html I trust that IBM is doing it right. On 08/11/2018 19:16, Marçal wrote: Hi. I put the date as 2018 because I t

[PATCH] m32c: Remove this build set

2018-11-08 Thread Sebastian Huber
Update #3599. --- rtems/config/5/rtems-all.bset| 1 - rtems/config/5/rtems-m32c.bset | 46 rtems/config/5/rtems-tier-3.bset | 1 - 3 files changed, 48 deletions(-) delete mode 100644 rtems/config/5/rtems-m32c.bset diff --git a/rtems/config/5/rtems