Changeset 1a17efb in rtems


Ignore:
Timestamp:
Feb 26, 2004, 5:23:58 PM (16 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
30529eb7
Parents:
9a93d54
Message:

2004-02-26 Andreas Karlsson <andreas.karlsson@…>

  • cpu_asm.S: Close window while restoring interrupted task state which resulted in CWP corruption.
Location:
cpukit/score/cpu/sparc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/sparc/ChangeLog

    r9a93d54 r1a17efb  
     12004-02-26      Andreas Karlsson <andreas.karlsson@space.se>
     2
     3        * cpu_asm.S: Close window while restoring interrupted task state which
     4        resulted in CWP corruption.
     5
    162003-09-04      Joel Sherrill <joel@OARcorp.com>
    27
  • cpukit/score/cpu/sparc/cpu_asm.S

    r9a93d54 r1a17efb  
    685685        nop
    686686
     687        /*
     688         *  We invoked _Thread_Dispatch in a state similar to the interrupted
     689         *  task.  In order to safely be able to tinker with the register
     690         *  windows and get the task back to its pre-interrupt state,
     691         *  we need to disable interrupts disabled so we can safely tinker
     692         *  with the register windowing.  In particular, the CWP in the PSR
     693         *  is fragile during this period. (See PR578.)
     694         */
     695        mov     2,%g1                           ! syscall (disable interrupts)
     696        ta      0                               ! syscall (disable interrupts)
     697
    687698        /*
    688699         *  The CWP in place at this point may be different from
Note: See TracChangeset for help on using the changeset viewer.