Subversion Repositories HelenOS

Rev

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