Re: dl01 failure on all blackfin BSPs

2015-02-04 Thread Chris Johns
On 4/02/2015 3:35 am, Joel Sherrill wrote: Hi All bfin BSPs fail with this: rtems-syms -e -c "-O2 -g -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs" -o dl-sym.o dl02.pre bfin-rtems4.11-gcc -B../../../../../bf537Stamp/lib/ -specs bsp_specs -qrtems

Re: [PATCH 1/3] Add rtems_filesystem_make_dev_t_from_pointer()

2015-02-04 Thread Nick Withers
On Wed, 2015-02-04 at 19:14 +0100, Sebastian Huber wrote: > On 02/04/2015 05:36 PM, Daniel Gutson wrote: > > On Wed, Feb 4, 2015 at 1:27 PM, Gedare Bloom wrote: > >> > > >> >On Wed, Feb 4, 2015 at 11:16 AM, Daniel Gutson > >> > wrote: > >>> > >Hi Sebastian, > >>> > > > >>> > >On Wed, Feb 4, 2015

Re: [PATCH] arm/tms570: sci context has to be writable because it holds state variable.

2015-02-04 Thread Martin Galvan
On Wed, Feb 4, 2015 at 3:49 PM, Martin Galvan wrote: > On Wed, Feb 4, 2015 at 2:20 PM, Pavel Pisa wrote: >> The structure tms570_sci_context holds state variable >> tx_chars_in_hw which holds if and how many characters >> (in the optional FIFO support for some Ti SCIs) are submitted >> into hardw

Re: [PATCH] arm/tms570: sci context has to be writable because it holds state variable.

2015-02-04 Thread Martin Galvan
On Wed, Feb 4, 2015 at 2:20 PM, Pavel Pisa wrote: > The structure tms570_sci_context holds state variable > tx_chars_in_hw which holds if and how many characters > (in the optional FIFO support for some Ti SCIs) are submitted > into hardware. > > When field is not writable then code breaks when RT

Re: [PATCH 1/3] Add rtems_filesystem_make_dev_t_from_pointer()

2015-02-04 Thread Sebastian Huber
On 02/04/2015 05:36 PM, Daniel Gutson wrote: On Wed, Feb 4, 2015 at 1:27 PM, Gedare Bloom wrote: > >On Wed, Feb 4, 2015 at 11:16 AM, Daniel Gutson > wrote: > >Hi Sebastian, > > > >On Wed, Feb 4, 2015 at 10:46 AM, Sebastian Huber > > wrote: > >> > >>--- > >> cpukit/libcsupport/include/rtems

Re: RTEMS on TMS570

2015-02-04 Thread Pavel Pisa
Hello Martin, On Wednesday 04 of February 2015 14:13:41 Martin Galvan wrote: > #ifdef HAVE_CONFIG_H > #include "config.h" > #endif > > #include > > #include /* for device driver prototypes */ > > #include > #include > > /* forward declarations to avoid warnings */ > rtems_task Init(rtems_task_

[PATCH] arm/tms570: sci context has to be writable because it holds state variable.

2015-02-04 Thread Pavel Pisa
The structure tms570_sci_context holds state variable tx_chars_in_hw which holds if and how many characters (in the optional FIFO support for some Ti SCIs) are submitted into hardware. When field is not writable then code breaks when RTEMS is build for Flash area. The problem found and analyzed b

Re: [PATCH 1/3] Add rtems_filesystem_make_dev_t_from_pointer()

2015-02-04 Thread Daniel Gutson
On Wed, Feb 4, 2015 at 1:27 PM, Gedare Bloom wrote: > > On Wed, Feb 4, 2015 at 11:16 AM, Daniel Gutson > wrote: > > Hi Sebastian, > > > > On Wed, Feb 4, 2015 at 10:46 AM, Sebastian Huber > > wrote: > >> > >> --- > >> cpukit/libcsupport/include/rtems/libio.h | 10 ++ > >> 1 file changed,

Re: [PATCH 1/3] Add rtems_filesystem_make_dev_t_from_pointer()

2015-02-04 Thread Daniel Gutson
On Wed, Feb 4, 2015 at 1:16 PM, Daniel Gutson < daniel.gut...@tallertechnologies.com> wrote: > Hi Sebastian, > > On Wed, Feb 4, 2015 at 10:46 AM, Sebastian Huber < > sebastian.hu...@embedded-brains.de> wrote: > >> --- >> cpukit/libcsupport/include/rtems/libio.h | 10 ++ >> 1 file changed,

Re: [PATCH 1/3] Add rtems_filesystem_make_dev_t_from_pointer()

2015-02-04 Thread Daniel Gutson
Hi Sebastian, On Wed, Feb 4, 2015 at 10:46 AM, Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > --- > cpukit/libcsupport/include/rtems/libio.h | 10 ++ > 1 file changed, 10 insertions(+) > > diff --git a/cpukit/libcsupport/include/rtems/libio.h > b/cpukit/libcsupport/includ

Re: [PATCH] bsp/sparc: Move BSP_ISR_handler to a separate file

2015-02-04 Thread Joel Sherrill
On February 4, 2015 8:12:07 AM MST, Gedare Bloom wrote: >I'd like to entertain a new name for this "BSP_ISR_handler" function >now that it becomes an exported symbol. We should put it into a proper >namespace. Reasonable. I would also suggest that there be a standard name for the last symbol b

Re: [PATCH] bsp/sparc: Move BSP_ISR_handler to a separate file

2015-02-04 Thread Gedare Bloom
I'd like to entertain a new name for this "BSP_ISR_handler" function now that it becomes an exported symbol. We should put it into a proper namespace. Also, I'm not sure on the legality of putting a copyright for Cobham Gaisler that predates Cobham's acquisition of Aeroflex. But I am not a lawyer.

[PATCH 2/3] IMFS: Use rtems_filesystem_make_dev_t_from_pointer

2015-02-04 Thread Sebastian Huber
--- cpukit/libfs/src/imfs/imfs.h | 19 +-- cpukit/libfs/src/imfs/imfs_initsupp.c | 3 --- cpukit/libfs/src/imfs/imfs_stat.c | 10 ++ 3 files changed, 3 insertions(+), 29 deletions(-) diff --git a/cpukit/libfs/src/imfs/imfs.h b/cpukit/libfs/src/imfs/imfs.h ind

[PATCH 1/3] Add rtems_filesystem_make_dev_t_from_pointer()

2015-02-04 Thread Sebastian Huber
--- cpukit/libcsupport/include/rtems/libio.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/cpukit/libcsupport/include/rtems/libio.h b/cpukit/libcsupport/include/rtems/libio.h index a4607de..998cd30 100644 --- a/cpukit/libcsupport/include/rtems/libio.h +++ b/cpukit/libcsupport/in

[PATCH 3/3] IMFS: Simplify ino generation

2015-02-04 Thread Sebastian Huber
The type of ino_t is unsigned long, so it can store a pointer. Avoid a potential integer overflow. --- cpukit/libfs/src/imfs/imfs.h | 7 +-- cpukit/libfs/src/imfs/imfs_creat.c | 1 - cpukit/libfs/src/imfs/imfs_directory.c | 2 +- cpukit/libfs/src/imfs/imfs_stat.c | 2 +- 4

Re: [PATCH] Change the assert in _Thread_Dispatch_decrement_disable_level

2015-02-04 Thread Sebastian Huber
On 02/02/2015 07:37 PM, Martin Galvan wrote: While cpu_self->thread_dispatch_disable_level shouldn't ever be zero, it would be better to check it before doing the decrement. diff --git a/cpukit/score/src/threaddispatchdisablelevel.c b/cpukit/score/src/threaddispatchdisablelevel.c index 3b7837c..

[PATCH 2/2] doc: Document network task affinity option

2015-02-04 Thread Daniel Cederman
--- doc/networking/networkapp.t | 14 ++ 1 file changed, 14 insertions(+) diff --git a/doc/networking/networkapp.t b/doc/networking/networkapp.t index 62b1a53..dd356a8 100644 --- a/doc/networking/networkapp.t +++ b/doc/networking/networkapp.t @@ -101,6 +101,11 @@ struct rtems_bsdnet_c

[PATCH] grspw: Fix typos

2015-02-04 Thread Daniel Cederman
--- c/src/lib/libbsp/sparc/shared/spw/grspw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/c/src/lib/libbsp/sparc/shared/spw/grspw.c b/c/src/lib/libbsp/sparc/shared/spw/grspw.c index d3eb9b9..d869d17 100644 --- a/c/src/lib/libbsp/sparc/shared/spw/grspw.c +++ b/c/src/l

[PATCH] smpcapture02: Add test of functionality to add custom entries to capture trace

2015-02-04 Thread Daniel Cederman
--- testsuites/smptests/Makefile.am | 1 + testsuites/smptests/configure.ac | 1 + testsuites/smptests/smpcapture02/Makefile.am | 19 + testsuites/smptests/smpcapture02/init.c | 425 ++ testsuites/smptests/smpcapture02/smpc

[PATCH 1/2] doc: Describe new default error handler for Sparc

2015-02-04 Thread Daniel Cederman
--- doc/cpu_supplement/sparc.t | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/doc/cpu_supplement/sparc.t b/doc/cpu_supplement/sparc.t index cd5602c..d21e9fe 100644 --- a/doc/cpu_supplement/sparc.t +++ b/doc/cpu_supplement/sparc.t @@ -951,10 +951,18 @@ handler

[PATCH] bsp/sparc: Move BSP_ISR_handler to a separate file

2015-02-04 Thread Daniel Cederman
This allows it to be wrapped by another function at link-time and can be used to trace interrupts. If not placed in a separate file, the function pointer address used in BSP_shared_interrupt_init will be resolved at compile-time, and the function will not be wrappable. --- c/src/lib/libbsp/sparc/M