Opened on 09/20/11 at 15:58:33
Closed on 10/06/11 at 15:43:05
#1918 closed defect (fixed)
sparc64: task context initialization
Reported by: | Gedare Bloom | Owned by: | Joel Sherrill |
---|---|---|---|
Priority: | normal | Milestone: | 4.11 |
Component: | score | Version: | 4.11 |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: |
Description
sparc64-rtems-gcc uses the global g4 register as a segment register. We need to maintain the segment register as pointing to 0. When tasks are allocated with dirty memory the initial context may have some non-zero values in the g4 register. The attached patch makes the appropriate adjustment during context initialization. This problem manifested as a bug in samples/unlimited due to tasks being deleted and created.
Attachments (2)
Change History (4)
Changed on 09/20/11 at 15:58:33 by Gedare Bloom
Attachment: | sparc64-contextinit.diff added |
---|
Changed on 09/20/11 at 15:59:08 by Gedare Bloom
Attachment: | sparc64-contextinit.ChangeLog added |
---|
changelog
comment:1 Changed on 10/06/11 at 15:43:05 by Joel Sherrill
Component: | bsps → cpukit |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Patch applied. Closing.
comment:2 Changed on 11/24/14 at 18:58:28 by Gedare Bloom
Version: | HEAD → 4.11 |
---|
Replace Version=HEAD with Version=4.11 for the tickets with Milestone >= 4.11
Note: See
TracTickets for help on using
tickets.
initialize context with cleared g4 register