[rtems commit] arm/fvp: Fix integer from pointer without a cast

Sebastian Huber sebh at rtems.org
Mon Jun 7 07:41:22 UTC 2021


Module:    rtems
Branch:    master
Commit:    55ce66ca7302cad0175fb6dc61df361659800b3e
Changeset: http://git.rtems.org/rtems/commit/?id=55ce66ca7302cad0175fb6dc61df361659800b3e

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Jun  7 09:37:51 2021 +0200

arm/fvp: Fix integer from pointer without a cast

Update #4202.

---

 bsps/arm/fvp/start/bspstarthooks.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bsps/arm/fvp/start/bspstarthooks.c b/bsps/arm/fvp/start/bspstarthooks.c
index b990dde..f0087ef 100644
--- a/bsps/arm/fvp/start/bspstarthooks.c
+++ b/bsps/arm/fvp/start/bspstarthooks.c
@@ -79,7 +79,7 @@ void bsp_start_hook_0( void )
     arm_gic_irq_initialize_secondary_cpu();
 
     /* Change the VBAR from the start to the normal vector table */
-    _AArch32_Write_vbar( bsp_vector_table_begin );
+    _AArch32_Write_vbar( (uint32_t) bsp_vector_table_begin );
 
     bsp_interrupt_vector_enable( ARM_GIC_IRQ_SGI_0 );
     _SMP_Start_multitasking_on_secondary_processor(



More information about the vc mailing list