<div dir="auto">This looks ok. UNLESS we have an RTEMS specific inttypes.h format specifier for vector.<div dir="auto"><br></div><div dir="auto">I don't recall where those are defined or documented. :(</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Mar 28, 2020, 5:50 AM G S Niteesh Babu <<a href="mailto:niteesh.gs@gmail.com">niteesh.gs@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">1) _Memory_Initialize makes pointer from integer w<br>
ithout a cast.<br>
2) printf format error, expects %u but %lu provided.<br>
---<br>
 bsps/arm/raspberrypi/irq/irq.c             | 2 +-<br>
 bsps/arm/raspberrypi/start/bspstarthooks.c | 2 ++<br>
 2 files changed, 3 insertions(+), 1 deletion(-)<br>
<br>
diff --git a/bsps/arm/raspberrypi/irq/irq.c b/bsps/arm/raspberrypi/irq/irq.c<br>
index 9e1bcfc1bc..73dcad298f 100644<br>
--- a/bsps/arm/raspberrypi/irq/irq.c<br>
+++ b/bsps/arm/raspberrypi/irq/irq.c<br>
@@ -157,7 +157,7 @@ void bsp_interrupt_vector_disable(rtems_vector_number vector)<br>
<br>
 void bsp_interrupt_handler_default(rtems_vector_number vector)<br>
 {<br>
-    printk("spurious interrupt: %lu\n", vector);<br>
+    printk("spurious interrupt: %u\n", vector);<br>
 }<br>
<br>
 rtems_status_code bsp_interrupt_facility_initialize(void)<br>
diff --git a/bsps/arm/raspberrypi/start/bspstarthooks.c b/bsps/arm/raspberrypi/start/bspstarthooks.c<br>
index fd6aa53059..eb6546db1c 100644<br>
--- a/bsps/arm/raspberrypi/start/bspstarthooks.c<br>
+++ b/bsps/arm/raspberrypi/start/bspstarthooks.c<br>
@@ -184,7 +184,9 @@ static void bsp_memory_initialize(void)<br>
 {<br>
   _Memory_Initialize(<br>
     &_Memory_Areas[0],<br>
+    (void *)<br>
     raspberrypi_mmu_config_table[ARMV7_CP15_START_WORKSPACE_ENTRY_INDEX].begin,<br>
+    (void *)<br>
     raspberrypi_mmu_config_table[ARMV7_CP15_START_WORKSPACE_ENTRY_INDEX].end<br>
   );<br>
 }<br>
-- <br>
2.17.1<br>
<br>
</blockquote></div>