diff options
author | cinap_lenrek <devnull@localhost> | 2011-03-30 16:05:55 +0000 |
---|---|---|
committer | cinap_lenrek <devnull@localhost> | 2011-03-30 16:05:55 +0000 |
commit | c3ceeded2dfb647e1a4172debf3cf6d3aba5ef39 (patch) | |
tree | 463dc45c4a24bec37a8bfabdbfa02e3f4d21f8e6 /68000/include/ureg.h | |
parent | 96fa636465351366a4e11569c21175a9337d7866 (diff) | |
download | plan9front-c3ceeded2dfb647e1a4172debf3cf6d3aba5ef39.tar.xz |
...
Diffstat (limited to '68000/include/ureg.h')
-rw-r--r-- | 68000/include/ureg.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/68000/include/ureg.h b/68000/include/ureg.h new file mode 100644 index 000000000..e237cb3d6 --- /dev/null +++ b/68000/include/ureg.h @@ -0,0 +1,28 @@ +struct Ureg +{ + ulong r0; + ulong r1; + ulong r2; + ulong r3; + ulong r4; + ulong r5; + ulong r6; + ulong r7; + ulong a0; + ulong a1; + ulong a2; + ulong a3; + ulong a4; + ulong a5; + ulong a6; + ulong sp; + ulong usp; + ulong magic; /* for db to find bottom of ureg */ + ushort sr; + ulong pc; + ushort vo; +#ifndef UREGVARSZ +#define UREGVARSZ 23 /* for 68040; 15 is enough on 68020 */ +#endif + uchar microstate[UREGVARSZ]; /* variable-sized portion */ +}; |