Changeset 4177e70 in mainline for kernel/arch/mips32/src/context.S


Ignore:
Timestamp:
2018-07-17T22:09:50Z (6 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
58093d9
Parents:
db51219f
Message:

mips: We use K1 register for thread pointer, so we must treat it as a preserved register.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/src/context.S

    rdb51219f r4177e70  
    4747        sw $s8, CONTEXT_OFFSET_S8($a0)
    4848        sw $gp, CONTEXT_OFFSET_GP($a0)
     49        sw $k1, CONTEXT_OFFSET_TP($a0)
    4950
    5051        sw $ra, CONTEXT_OFFSET_PC($a0)
     
    6768        lw $s8, CONTEXT_OFFSET_S8($a0)
    6869        lw $gp, CONTEXT_OFFSET_GP($a0)
     70        lw $k1, CONTEXT_OFFSET_TP($a0)
    6971
    7072        lw $ra, CONTEXT_OFFSET_PC($a0)
Note: See TracChangeset for help on using the changeset viewer.