[RTEMS Project] #4845: Global variable declared/defined in the wrong file

RTEMS trac trac at rtems.org
Fri Feb 10 15:01:14 UTC 2023

#4845: Global variable declared/defined in the wrong file
 Reporter:  Daniel       |       Owner:  Sebastian Huber
  Páscoa                 |  <sebastian.huber@…>
     Type:  defect       |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  admin        |     Version:  6
 Severity:  normal       |  Resolution:  fixed
 Keywords:               |  Blocked By:
  qualification          |
 Blocking:               |
Changes (by Sebastian Huber <sebastian.huber@…>):

 * owner:  (none) => Sebastian Huber <sebastian.huber@…>
 * status:  new => closed
 * resolution:   => fixed


 In [changeset:"b993111594a2e49273a056bafd14a28dc04f5e19/rtems"
 #!CommitTicketReference repository="rtems"
 bsp/leon3: Move SMP data to start.S

 The LEON3_Boot_Cpu global object is only used by start.S.  Move the
 of this object to start.S and use a local symbol .Lbootcpuindex for it.

 Use a compare-and-swap instruction to assign the boot CPU.  This allows a
 concurrent initialization.

 Close #4845.

Ticket URL: <http://devel.rtems.org/ticket/4845#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project

More information about the bugs mailing list