forked from brho/plan9
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathureg.h
53 lines (52 loc) · 963 Bytes
/
ureg.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*
* This file is part of the UCB release of Plan 9. It is subject to the license
* terms in the LICENSE file found in the top-level directory of this
* distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No
* part of the UCB release of Plan 9, including this file, may be copied,
* modified, propagated, or distributed except according to the terms contained
* in the LICENSE file.
*/
struct Ureg
{
ulong status;
ulong pc;
union{
ulong sp; /* r29 */
ulong usp; /* r29 */
};
ulong cause;
ulong badvaddr;
ulong tlbvirt;
ulong hi;
ulong lo;
ulong r31;
ulong r30;
ulong r28;
ulong r27; /* unused */
ulong r26; /* unused */
ulong r25;
ulong r24;
ulong r23;
ulong r22;
ulong r21;
ulong r20;
ulong r19;
ulong r18;
ulong r17;
ulong r16;
ulong r15;
ulong r14;
ulong r13;
ulong r12;
ulong r11;
ulong r10;
ulong r9;
ulong r8;
ulong r7;
ulong r6;
ulong r5;
ulong r4;
ulong r3;
ulong r2;
ulong r1;
};