diff options
author | cinap_lenrek <devnull@localhost> | 2011-03-30 15:08:40 +0000 |
---|---|---|
committer | cinap_lenrek <devnull@localhost> | 2011-03-30 15:08:40 +0000 |
commit | 9b675a9941c8cc7957b3996e10fefdf40be0eb7e (patch) | |
tree | 2a55aaed627a642b2283434cd0d4bb7264208a00 /amd64/include/ureg.h | |
parent | 55613b56d78d8e349174cbd576e346284977c362 (diff) | |
download | plan9front-9b675a9941c8cc7957b3996e10fefdf40be0eb7e.tar.xz |
continue...
Diffstat (limited to 'amd64/include/ureg.h')
-rw-r--r-- | amd64/include/ureg.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/amd64/include/ureg.h b/amd64/include/ureg.h new file mode 100644 index 000000000..bf0613ac0 --- /dev/null +++ b/amd64/include/ureg.h @@ -0,0 +1,30 @@ +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 */ +}; |