Blame


1 443d6288 2012-02-19 rsc // Inferno utils/libmach/ureg6.h
2 443d6288 2012-02-19 rsc // http://code.google.com/p/inferno-os/source/browse/utils/libmach/ureg6.h
3 443d6288 2012-02-19 rsc //
4 443d6288 2012-02-19 rsc // Copyright © 1994-1999 Lucent Technologies Inc.
5 443d6288 2012-02-19 rsc // Power PC support Copyright © 1995-2004 C H Forsyth (forsyth@terzarima.net).
6 443d6288 2012-02-19 rsc // Portions Copyright © 1997-1999 Vita Nuova Limited.
7 443d6288 2012-02-19 rsc // Portions Copyright © 2000-2007 Vita Nuova Holdings Limited (www.vitanuova.com).
8 443d6288 2012-02-19 rsc // Revisions Copyright © 2000-2004 Lucent Technologies Inc. and others.
9 443d6288 2012-02-19 rsc // Portions Copyright © 2009 The Go Authors. All rights reserved.
10 443d6288 2012-02-19 rsc //
11 443d6288 2012-02-19 rsc // Permission is hereby granted, free of charge, to any person obtaining a copy
12 443d6288 2012-02-19 rsc // of this software and associated documentation files (the "Software"), to deal
13 443d6288 2012-02-19 rsc // in the Software without restriction, including without limitation the rights
14 443d6288 2012-02-19 rsc // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15 443d6288 2012-02-19 rsc // copies of the Software, and to permit persons to whom the Software is
16 443d6288 2012-02-19 rsc // furnished to do so, subject to the following conditions:
17 443d6288 2012-02-19 rsc //
18 443d6288 2012-02-19 rsc // The above copyright notice and this permission notice shall be included in
19 443d6288 2012-02-19 rsc // all copies or substantial portions of the Software.
20 443d6288 2012-02-19 rsc //
21 443d6288 2012-02-19 rsc // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22 443d6288 2012-02-19 rsc // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23 443d6288 2012-02-19 rsc // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24 443d6288 2012-02-19 rsc // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25 443d6288 2012-02-19 rsc // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26 443d6288 2012-02-19 rsc // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
27 443d6288 2012-02-19 rsc // THE SOFTWARE.
28 443d6288 2012-02-19 rsc
29 443d6288 2012-02-19 rsc struct Ureg {
30 443d6288 2012-02-19 rsc u64int ax;
31 443d6288 2012-02-19 rsc u64int bx;
32 443d6288 2012-02-19 rsc u64int cx;
33 443d6288 2012-02-19 rsc u64int dx;
34 443d6288 2012-02-19 rsc u64int si;
35 443d6288 2012-02-19 rsc u64int di;
36 443d6288 2012-02-19 rsc u64int bp;
37 443d6288 2012-02-19 rsc u64int r8;
38 443d6288 2012-02-19 rsc u64int r9;
39 443d6288 2012-02-19 rsc u64int r10;
40 443d6288 2012-02-19 rsc u64int r11;
41 443d6288 2012-02-19 rsc u64int r12;
42 443d6288 2012-02-19 rsc u64int r13;
43 443d6288 2012-02-19 rsc u64int r14;
44 443d6288 2012-02-19 rsc u64int r15;
45 443d6288 2012-02-19 rsc
46 443d6288 2012-02-19 rsc u16int ds;
47 443d6288 2012-02-19 rsc u16int es;
48 443d6288 2012-02-19 rsc u16int fs;
49 443d6288 2012-02-19 rsc u16int gs;
50 443d6288 2012-02-19 rsc
51 443d6288 2012-02-19 rsc u64int type;
52 443d6288 2012-02-19 rsc u64int error; /* error code (or zero) */
53 443d6288 2012-02-19 rsc u64int ip; /* pc */
54 443d6288 2012-02-19 rsc u64int cs; /* old context */
55 443d6288 2012-02-19 rsc u64int flags; /* old flags */
56 443d6288 2012-02-19 rsc u64int sp; /* sp */
57 443d6288 2012-02-19 rsc u64int ss; /* old stack segment */
58 443d6288 2012-02-19 rsc };