Changeset 61d688bf in rtems


Ignore:
Timestamp:
Mar 4, 2021, 7:12:47 AM (7 weeks ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
6bfbfb5
Parents:
5248395
git-author:
Sebastian Huber <sebastian.huber@…> (03/04/21 07:12:47)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/05/21 14:06:18)
Message:

aarch64: Fix context switch

The Per_CPU_Control::isr_dispatch_disable is a 32-bit integer.

Close #4206.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/aarch64/cpu_asm.S

    r5248395 r61d688bf  
    6565/* Start saving context */
    6666        GET_SELF_CPU_CONTROL    reg_2
    67         ldr     x3, [x2, #PER_CPU_ISR_DISPATCH_DISABLE]
     67        ldr     w3, [x2, #PER_CPU_ISR_DISPATCH_DISABLE]
    6868
    6969        stp x19, x20, [x0]
     
    110110        msr     TPIDR_EL0, x3
    111111
    112         str     x4, [x2, #PER_CPU_ISR_DISPATCH_DISABLE]
     112        str     w4, [x2, #PER_CPU_ISR_DISPATCH_DISABLE]
    113113
    114114        ldp x19, x20, [x1]
Note: See TracChangeset for help on using the changeset viewer.