[PATCH] arm/cortex-a: Fix cache flush/invalidate after u-boot.

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Aug 16 05:32:25 UTC 2016



On 16/08/16 03:49, Chris Johns wrote:
> On 15/08/2016 16:54, Pavel Pisa wrote:
>> If you test that chage is OK for Zynq with SMP then I reintroduce
>> change to RPi code (it would worth to have RPi2 SMP working for that
>> testing but that is near to bottom of my own TODO list).
>
> My debug server app does not link when SMP is enabled. I am getting:
>
> [13/13] Linking build/arm-rtems4.12-xilinx_zynq_zedboard/net-app.exe
> /opt/work/chris/rtems/kernel/4.12/arm-rtems4.12/xilinx_zynq_zedboard/lib/librtemsbsp.a(libbsp_a-arm-cp15-set-ttb-entries.o): 
> In function `arm_cp15_set_translation_table_entries':
> /opt/work/chris/rtems/kernel/rtems.master/c/src/lib/libbsp/arm/xilinx-zynq/../shared/arm-cp15-set-ttb-entries.c:91: 
> undefined reference to `rtems_interrupt_disable'
> /opt/work/chris/rtems/kernel/rtems.master/c/src/lib/libbsp/arm/xilinx-zynq/../shared/arm-cp15-set-ttb-entries.c:94: 
> undefined reference to `rtems_interrupt_enable'
>
> It seems these functions are not available for SMP however these calls 
> map to _ISR_level, _ISR_Local_disable and _ISR_Local_enable and these 
> calls are used in the SMP test 
> testsuites/smptests/smpthreadlife01/init.c. I am confused.
>
> Sebastian?

https://docs.rtems.org/doc-current/share/rtems/html/c_user/Interrupt-Manager-INTERRUPT_005fLOCAL_005fDISABLE-_002d-Disable-Interrupts-on-Current-Processor.html#Interrupt-Manager-INTERRUPT_005fLOCAL_005fDISABLE-_002d-Disable-Interrupts-on-Current-Processor

-- 
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.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list