Ignore:
Timestamp:
2018-08-02T16:25:48Z (7 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:
7cd7a8d
Parents:
3b10ae36
git-author:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-08-02 16:24:22)
git-committer:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-08-02 16:25:48)
Message:

Fix sparc64: context must save the thread pointer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/include/arch/context_struct.h

    r3b10ae36 r0c27956  
    4848#define CONTEXT_OFFSET_L6   0x80
    4949#define CONTEXT_OFFSET_L7   0x88
    50 #define CONTEXT_OFFSET_IPL  0x90
    51 #define CONTEXT_SIZE        0x98
     50#define CONTEXT_OFFSET_TP   0x90
     51#define CONTEXT_OFFSET_IPL  0x98
     52#define CONTEXT_SIZE        0xa0
    5253
    5354#ifndef __ASSEMBLER__
     
    7475        uint64_t l6;
    7576        uint64_t l7;
     77        uint64_t tp;  // %g7
    7678        ipl_t ipl;
    7779} context_t;
Note: See TracChangeset for help on using the changeset viewer.