40 lines
879 B
C
40 lines
879 B
C
|
/*
|
||
|
* 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 {
|
||
|
u64int ax;
|
||
|
u64int bx;
|
||
|
u64int cx;
|
||
|
u64int dx;
|
||
|
u64int si;
|
||
|
u64int di;
|
||
|
u64int bp;
|
||
|
u64int r8;
|
||
|
u64int r9;
|
||
|
u64int r10;
|
||
|
u64int r11;
|
||
|
u64int r12;
|
||
|
u64int r13;
|
||
|
u64int r14;
|
||
|
u64int r15;
|
||
|
|
||
|
u16int ds;
|
||
|
u16int es;
|
||
|
u16int fs;
|
||
|
u16int gs;
|
||
|
|
||
|
u64int type;
|
||
|
u64int error; /* error code (or zero) */
|
||
|
u64int ip; /* pc */
|
||
|
u64int cs; /* old context */
|
||
|
u64int flags; /* old flags */
|
||
|
u64int sp; /* sp */
|
||
|
u64int ss; /* old stack segment */
|
||
|
};
|