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

RTEMS trac trac at rtems.org
Wed Jun 17 01:55:15 UTC 2020


#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        |  Resolution:
 Keywords:                |  Blocked By:
 Blocking:                |
--------------------------+---------------------

Comment (by Jan Sommer <jan.sommer@…>):

 In [changeset:"85d6a760f57e6f53c72cf8d15be20e3e4eaf4734/rtems"
 85d6a760/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="85d6a760f57e6f53c72cf8d15be20e3e4eaf4734"
 bsp/pc386: Update GDT to work for SMP

 Create a GS segment in the GDT for each processor for storing TLS.
 This makes the GDT in startAP.S obsolete as all processors now share the
 same GDT, which is passed to each AP at startup.

 The correct segment for each processor is calculated in cpu_asm.S.

 Update #3335
 }}}

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


More information about the bugs mailing list