[RTEMS Project] #3335: i386 context switching for SMP is incomplete

RTEMS trac trac at rtems.org
Tue Mar 13 15:43:21 UTC 2018

#3335: i386 context switching for SMP is incomplete
  Reporter:  Amaan Cheval  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  normal        |  Milestone:
 Component:  arch/i386     |    Version:
  Severity:  normal        |   Keywords:
Blocked By:                |   Blocking:
 i386 targets do not define a usable CPU_Interrupt_frame struct, which
 #thread-dispatch-details the SMP thread-dispatch docs say] is the
 temporary per-processor stack mentioned in this excerpt:

 > The context-switch is performed with interrupts enabled. During the
 transition from the executing to the heir thread neither the stack of the
 executing nor the heir thread must be used during interrupt processing.
 For this purpose a temporary per-processor stack is set up which may be
 used by the interrupt prologue before the stack is switched to the
 interrupt stack.

 The code needs to set that temporary stack up, but doesn't currently, for

 [https://lists.rtems.org/pipermail/devel/2018-March/020423.html Some
 relevant discussion occured in this thread on the devel mailing list too.]

Ticket URL: <http://devel.rtems.org/ticket/3335>
RTEMS Project <http://www.rtems.org/>
RTEMS Project

More information about the bugs mailing list