Re: Capture Engine - Addition of capture task information to the capture buffer

2014-09-05 Thread Joel Sherrill
On 9/4/2014 9:28 PM, Chris Johns wrote: > On 5/09/2014 4:00 am, Joel Sherrill wrote: >> Piling on... most of the information in the capture engine's task >> control blocks can be logged statically on task create. > This should be done when the first reference to the task is logged. The > task may

[PATCH 3/3] or1ksim: update README.

2014-09-05 Thread Hesham ALMatary
or1ksim simulator built from RSB that builds from latest or1ksim/github repo generates or1k-elf-sim executable and not or32-elf-sim anymore. --- c/src/lib/libbsp/or1k/or1ksim/README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/c/src/lib/libbsp/or1k/or1ksim/README b/c/sr

[PATCH 2/3] or1ksim: work-around to make or1ksim tick timer accurate.

2014-09-05 Thread Hesham ALMatary
This patch avoids unexpected behavior when initializing tick timer registers. Initializing these registers fires unexpected exceptions and interrupts even though RTEMS has not enabled interrupts yet. So, a little long interval added to allow RTEMS to finish the remaining initialization work before

[PATCH 1/3] OpenRISC: Account for red-zone (fixup printf bug).

2014-09-05 Thread Hesham ALMatary
This patch allocate a space in the stack to account for red-zone that gcc may utilize for the use of leaf functions. Care must be taken to handle this red-zone from many places: 1- Upon creation of a new thread stack. 2- Once an interrupt entred. Also moving the enable-thread-dispach() and increme

Re: [PATCH 1/7] score: Add RTEMS_DECONST|DEVOLATILE|DEQUALIFY()

2014-09-05 Thread Sebastian Huber
On 05/09/14 15:53, Joel Sherrill wrote: Why add these? To be independent of Newlib. We can also use the one in Newlib , but we should use a common macro for this stuff, since this documents the intention and you can grep for it. -- Sebastian Huber, embedded brains GmbH Address : Dornierst

Re: [PATCH 01/23] raspberrypi: Use shared bspreset.c

2014-09-05 Thread Sebastian Huber
On 05/09/14 15:48, Joel Sherrill wrote: On 9/5/2014 1:40 AM, Sebastian Huber wrote: >On 04/09/14 18:16, Gedare Bloom wrote: >>On Wed, Sep 3, 2014 at 11:25 AM, Joel Sherrill >> wrote: --- c/src/lib/libbsp/arm/csb337/startup/bspreset.c | 1 + c/src/lib/libbsp/arm/raspberryp

Re: [PATCH 7/7] bsp/leon3: Include missing header file

2014-09-05 Thread Joel Sherrill
Did this fix a warning? On 9/5/2014 2:33 AM, Sebastian Huber wrote: > --- > c/src/lib/libbsp/sparc/leon3/console/printk_support.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/c/src/lib/libbsp/sparc/leon3/console/printk_support.c > b/c/src/lib/libbsp/sparc/leon3/console/printk_support.

Re: [PATCH 1/7] score: Add RTEMS_DECONST|DEVOLATILE|DEQUALIFY()

2014-09-05 Thread Joel Sherrill
Why add these? They are only a problem with old toolsets which didn't include a new enough newlib. The only target in this shape was the nios2 in the transition period between Altera's 4.1 and using FSF GCC 4.9. Since all toolset targets are now up to date, I think this is covering up someone need

Re: [PATCH 01/23] raspberrypi: Use shared bspreset.c

2014-09-05 Thread Joel Sherrill
On 9/5/2014 1:40 AM, Sebastian Huber wrote: > On 04/09/14 18:16, Gedare Bloom wrote: >> On Wed, Sep 3, 2014 at 11:25 AM, Joel Sherrill >> wrote: --- c/src/lib/libbsp/arm/csb337/startup/bspreset.c | 1 + c/src/lib/libbsp/arm/raspberrypi/Makefile.am | 2 +- .../lib

[PATCH 7/7] bsp/leon3: Include missing header file

2014-09-05 Thread Sebastian Huber
--- c/src/lib/libbsp/sparc/leon3/console/printk_support.c | 1 + 1 file changed, 1 insertion(+) diff --git a/c/src/lib/libbsp/sparc/leon3/console/printk_support.c b/c/src/lib/libbsp/sparc/leon3/console/printk_support.c index 03021c7..685a193 100644 --- a/c/src/lib/libbsp/sparc/leon3/console/prin

[PATCH 2/7] libchip/dwmac: Use RTEMS_DEVOLATILE()

2014-09-05 Thread Sebastian Huber
--- c/src/libchip/network/dwmac-desc-enh.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/c/src/libchip/network/dwmac-desc-enh.c b/c/src/libchip/network/dwmac-desc-enh.c index a3a5f5b..408d971 100644 --- a/c/src/libchip/network/dwmac-desc-enh.c +++ b/c/src/li

[PATCH 5/7] posix: Use RTEMS_DECONST()

2014-09-05 Thread Sebastian Huber
--- cpukit/posix/include/rtems/posix/key.h | 2 +- cpukit/posix/src/keysetspecific.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cpukit/posix/include/rtems/posix/key.h b/cpukit/posix/include/rtems/posix/key.h index 7cc179c..6e52544 100644 --- a/cpukit/posix/inclu

[PATCH 4/7] posix: Fix warning

2014-09-05 Thread Sebastian Huber
--- cpukit/posix/src/pthreadattrsetaffinitynp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/cpukit/posix/src/pthreadattrsetaffinitynp.c b/cpukit/posix/src/pthreadattrsetaffinitynp.c index b880e5a..af9fd85 100644 --- a/cpukit/posix/src/pthreadattrsetaffinitynp.c +++ b/cpukit/posix/src/pth

[PATCH 1/7] score: Add RTEMS_DECONST|DEVOLATILE|DEQUALIFY()

2014-09-05 Thread Sebastian Huber
--- cpukit/score/include/rtems/score/basedefs.h | 27 +++ 1 file changed, 27 insertions(+) diff --git a/cpukit/score/include/rtems/score/basedefs.h b/cpukit/score/include/rtems/score/basedefs.h index ec93951..361f514 100644 --- a/cpukit/score/include/rtems/score/basedefs.

[PATCH 3/7] libcsupport: Use RTEMS_DECONST()

2014-09-05 Thread Sebastian Huber
--- cpukit/libcsupport/src/sup_fs_deviceio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpukit/libcsupport/src/sup_fs_deviceio.c b/cpukit/libcsupport/src/sup_fs_deviceio.c index 72cdca3..294e14a 100644 --- a/cpukit/libcsupport/src/sup_fs_deviceio.c +++ b/cpukit/libcsuppor

[PATCH 6/7] sptests/spcontext01: Fix warning

2014-09-05 Thread Sebastian Huber
--- testsuites/sptests/spcontext01/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuites/sptests/spcontext01/init.c b/testsuites/sptests/spcontext01/init.c index 49a54d0..1380267 100644 --- a/testsuites/sptests/spcontext01/init.c +++ b/testsuites/sptests/spcontext0