<div dir="ltr">Are there any instructions on how you run mptests on this BSP?<div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 24, 2016 at 9:57 AM, Sebastian Huber <span dir="ltr"><<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">---<br>
 .../libbsp/powerpc/motorola_powerpc/Makefile.am    |   2 +<br>
 .../libbsp/powerpc/motorola_powerpc/include/bsp.h  |   8 +<br>
 .../libbsp/powerpc/motorola_powerpc/shmsupp/mpci.c | 375 +++++++++++++++++++++<br>
 c/src/lib/libbsp/powerpc/shared/startup/bspstart.c |  10 +-<br>
 4 files changed, 393 insertions(+), 2 deletions(-)<br>
 create mode 100644 c/src/lib/libbsp/powerpc/motorola_powerpc/shmsupp/mpci.c<br>
<br>
diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am b/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am<br>
index e09820608..3576b75 100644<br>
--- a/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am<br>
+++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am<br>
@@ -136,6 +136,8 @@ noinst_PROGRAMS         += ne2000.rel<br>
 ne2000_rel_SOURCES       = ../../i386/pc386/ne2000/ne2000.c<br>
 ne2000_rel_CPPFLAGS      = $(AM_CPPFLAGS) $(ne2000_CPPFLAGS)<br>
 ne2000_rel_LDFLAGS       = $(RTEMS_RELLDFLAGS)<br>
+<br>
+libbsp_a_SOURCES += shmsupp/mpci.c<br>
 endif<br></blockquote><div><br></div><div>Is this guarded by the proper conditional? It looks like it is inside a networking enabled one.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 endif<br>
<br>
diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/include/bsp.h b/c/src/lib/libbsp/powerpc/motorola_powerpc/include/bsp.h<br>
index 0439e87..b955d72 100644<br>
--- a/c/src/lib/libbsp/powerpc/motorola_powerpc/include/bsp.h<br>
+++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/include/bsp.h<br>
@@ -242,6 +242,14 @@ void zero_bss(void);<br>
  */<br>
 void VIA_isa_bridge_interrupts_setup(void);<br>
<br>
+#ifdef RTEMS_MULTIPROCESSING<br>
+<br>
+extern rtems_mpci_table net_mpci_table;<br>
+<br>
+#define CONFIGURE_MP_MPCI_TABLE_POINTER &net_mpci_table<br>
+<br>
+#endif /* RTEMS_MULTIPROCESSING */<br>
+<br>
 #endif<br>
<br></blockquote><div><br></div><div><br></div><div>Doesn't this imply that networking and MPCI must both be available? How is this guaranteed?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
diff --git a/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c b/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c<br>
index 0f450fc..ca687ab 100644<br>
--- a/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c<br>
+++ b/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c<br>
@@ -87,13 +87,19 @@ unsigned int BSP_time_base_divisor;<br>
 void BSP_panic(char *s)<br>
 {<br>
   printk("%s PANIC %s\n",_RTEMS_version, s);<br>
-  __asm__ __volatile ("sc");<br>
+<br>
+  while (true) {<br>
+    /* Do nothing */<br>
+  }<br>
 }<br>
<br>
 void _BSP_Fatal_error(unsigned int v)<br>
 {<br>
   printk("%s PANIC ERROR %x\n",_RTEMS_version, v);<br>
-  __asm__ __volatile ("sc");<br>
+<br>
+  while (true) {<br>
+    /* Do nothing */<br>
+  }<br>
 }<br>
<br></blockquote><div><br></div><div>What actually changed here?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 /*<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.8.4.5<br>
<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</font></span></blockquote></div><br></div></div>