source: mainline/libc/arch/mips32/include/context_offset.h@ 432c648

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 432c648 was 29a9f62, checked in by Ondrej Palkovsky <ondrap@…>, 19 years ago

Added symbolic links 'libarch','libadt','libipc' into libc/include,
so that it can be easily used from anywhere.
Renamed thread_main to thread_main.
Allowed MIPS to compile with -O0.
Added non-preemptible threads support (not yet secured by futexes).
Added simple way to hold Thread Local Storage. Support for compiler
will be added later.
This update breaks IA64 uspace.

There is some forgotten spinlock_lock() in futexes, amd64 gets locked
in the secod uspace thread probably with preemption disabled.

  • Property mode set to 100644
File size: 441 bytes
Line 
1/* This file is automatically generated by gencontext.c. */
2/* struct context */
3#define OFFSET_SP 0x0
4#define OFFSET_PC 0x4
5#define OFFSET_S0 0x8
6#define OFFSET_S1 0xc
7#define OFFSET_S2 0x10
8#define OFFSET_S3 0x14
9#define OFFSET_S4 0x18
10#define OFFSET_S5 0x1c
11#define OFFSET_S6 0x20
12#define OFFSET_S7 0x24
13#define OFFSET_S8 0x28
14#define OFFSET_GP 0x2c
15#define OFFSET_TLS 0x30
Note: See TracBrowser for help on using the repository browser.