Subversion Repositories HelenOS

Rev

Rev 1965 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
457 decky 1
/* This file is automatically generated by gencontext.c. */
2
/* struct context */
860 decky 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
457 decky 15
 
16
 
17
/* struct register_dump */
860 decky 18
#define EOFFSET_AT     0x0
19
#define EOFFSET_V0     0x4
20
#define EOFFSET_V1     0x8
21
#define EOFFSET_A0     0xc
22
#define EOFFSET_A1     0x10
23
#define EOFFSET_A2     0x14
24
#define EOFFSET_A3     0x18
25
#define EOFFSET_T0     0x1c
26
#define EOFFSET_T1     0x20
27
#define EOFFSET_T2     0x24
28
#define EOFFSET_T3     0x28
29
#define EOFFSET_T4     0x2c
30
#define EOFFSET_T5     0x30
31
#define EOFFSET_T6     0x34
32
#define EOFFSET_T7     0x38
33
#define EOFFSET_S0     0x3c
34
#define EOFFSET_S1     0x40
35
#define EOFFSET_S2     0x44
36
#define EOFFSET_S3     0x48
37
#define EOFFSET_S4     0x4c
38
#define EOFFSET_S5     0x50
39
#define EOFFSET_S6     0x54
40
#define EOFFSET_S7     0x58
41
#define EOFFSET_T8     0x5c
42
#define EOFFSET_T9     0x60
43
#define EOFFSET_GP     0x64
44
#define EOFFSET_SP     0x68
45
#define EOFFSET_S8     0x6c
46
#define EOFFSET_RA     0x70
47
#define EOFFSET_LO     0x74
48
#define EOFFSET_HI     0x78
49
#define EOFFSET_STATUS 0x7c
50
#define EOFFSET_EPC    0x80
1102 palkovsky 51
#define EOFFSET_K1     0x84
1054 cejka 52
#define REGISTER_SPACE 136