Changeset 2d545843 in rtems


Ignore:
Timestamp:
Sep 30, 2011, 8:02:56 AM (10 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
88807662
Parents:
32448524
Message:

2011-09-30 Sebastian Huber <sebastian.huber@…>

  • nios2-context-switch.S: Use small-data area access for _Per_CPU_Information fields.
Location:
cpukit/score/cpu/nios2
Files:
2 edited

Legend:

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

    r32448524 r2d545843  
     12011-09-30      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * nios2-context-switch.S: Use small-data area access for
     4        _Per_CPU_Information fields.
     5
    162011-09-27      Sebastian Huber <sebastian.huber@embedded-brains.de>
    27
  • cpukit/score/cpu/nios2/nios2-context-switch.S

    r32448524 r2d545843  
    2828_CPU_Context_switch:
    2929
    30         movhi   r12, %hiadj(_Nios2_Thread_dispatch_disabled)
    31         addi    r12, r12, %lo(_Nios2_Thread_dispatch_disabled)
    32         ldw     r9, 0(r12)
     30        ldw     r9, %gprel(_Nios2_Thread_dispatch_disabled)(gp)
    3331        rdctl   r8, status
    3432        stw     r16, NIOS2_CONTEXT_OFFSET_R16(r4)
     
    5856        ldw     r23, NIOS2_CONTEXT_OFFSET_R23(r5)
    5957        ldw     fp, NIOS2_CONTEXT_OFFSET_FP(r5)
    60         stw     r10, 0(r12)
     58        stw     r10, %gprel(_Nios2_Thread_dispatch_disabled)(gp)
    6159        ldw     r11, NIOS2_CONTEXT_OFFSET_STATUS(r5)
    6260        ldw     sp, NIOS2_CONTEXT_OFFSET_SP(r5)
Note: See TracChangeset for help on using the changeset viewer.