<div dir="auto"><div>Should this use that obscure pointer macro Sebastian suggests sometimes?<br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 10, 2022, 9:09 PM  <<a href="mailto:chrisj@rtems.org">chrisj@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Chris Johns <<a href="mailto:chrisj@rtems.org" target="_blank" rel="noreferrer">chrisj@rtems.org</a>><br>
<br>
Updates #4664<br>
---<br>
 bsps/aarch64/include/bsp/start.h | 2 +-<br>
 1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/bsps/aarch64/include/bsp/start.h b/bsps/aarch64/include/bsp/start.h<br>
index 586eec4f48..f0af5be841 100644<br>
--- a/bsps/aarch64/include/bsp/start.h<br>
+++ b/bsps/aarch64/include/bsp/start.h<br>
@@ -172,7 +172,7 @@ AArch64_start_set_vector_base(void)<br>
   /*<br>
    * Do not use bsp_vector_table_begin == 0, since this will get optimized away.<br>
   */<br>
-  if (bsp_vector_table_end != bsp_vector_table_size) {<br>
+  if (&bsp_vector_table_end[0] != &bsp_vector_table_size[0]) {<br>
     __asm__ volatile (<br>
       "msr VBAR_EL1, %[vtable]\n"<br>
       : : [vtable] "r" (bsp_start_vector_table_begin)<br>
-- <br>
2.24.1<br>
<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank" rel="noreferrer">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div></div></div>