SMP Problem on i386

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Jul 30 15:51:27 UTC 2013


Hello,

if I apply the following patch

diff --git a/cpukit/score/include/rtems/bspsmp.h 
b/cpukit/score/include/rtems/bspsmp.h
index ec8be9f..69cbff4 100644
--- a/cpukit/score/include/rtems/bspsmp.h
+++ b/cpukit/score/include/rtems/bspsmp.h
@@ -104,8 +104,7 @@ void bsp_smp_broadcast_interrupt(void);
   * This function must not be called by the main processor.  This function does
   * not return to the caller.
   */
-void rtems_smp_secondary_cpu_initialize( void )
-  RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
+void rtems_smp_secondary_cpu_initialize( void );

  /**
   *  @brief Process the incoming interprocessor request.

then the i386 SMP test cases fail on Qemu.  I get a General Protection Fault 
after the "iret" in _ISR_Handler.

What could be the reason for this?

-- 
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