On 07/09/16 08:52, Pavel Pisa wrote:
The smpfatal08 test is quite a hack since it re-defines some global SMP
>support functions locally. In order to support this, the ARM BSPs must
>place the _CPU_SMP_Start_processor() function as the only global
>function into the bspsmp.c file.
I expected
Hello Sebastian,
On Wednesday 07 of September 2016 07:33:36 Sebastian Huber wrote:
> Hello Pavel,
>
> On 06/09/16 21:48, Pavel Pisa wrote:
> > Hello Sebastian,
> >
> > On Tuesday 06 of September 2016 20:33:08 Sebastian Huber wrote:
> >> The interrupt locks are simple interrupt disable/enable or
Hello Pavel,
On 06/09/16 21:48, Pavel Pisa wrote:
Hello Sebastian,
On Tuesday 06 of September 2016 20:33:08 Sebastian Huber wrote:
The interrupt locks are simple interrupt disable/enable or spin locks. So,
they always work.
Allmost, on UP they are simple local IRQ disable.
But on SMP they
Hello Sebastian,
On Tuesday 06 of September 2016 20:33:08 Sebastian Huber wrote:
> The interrupt locks are simple interrupt disable/enable or spin locks. So,
> they always work.
Allmost, on UP they are simple local IRQ disable.
But on SMP they are spinlock combined with IRQ disable.
But spinlock
Locking can be used only when RTEMS reaches multitasking state
_System_state_Is_up( _System_state_Get() )
---
c/src/lib/libbsp/arm/raspberrypi/gpio/rpi-gpio.c | 14 ++
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/c/src/lib/libbsp/arm/raspberrypi/gpio/rpi-gpio.c