[Bug 1918] New: sparc64: task context initialization

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Tue Sep 20 16:58:44 UTC 2011


           Summary: sparc64: task context initialization
           Product: RTEMS
           Version: HEAD
          Platform: sparc64
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: bsps
        AssignedTo: joel.sherrill at oarcorp.com
        ReportedBy: giddyup44 at yahoo.com

Created attachment 1333
  --> https://www.rtems.org/bugzilla/attachment.cgi?id=1333
initialize context with cleared g4 register

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.

Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the bugs mailing list