summaryrefslogtreecommitdiff
path: root/utils/libmach/ureg2.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/libmach/ureg2.h')
-rw-r--r--utils/libmach/ureg2.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/utils/libmach/ureg2.h b/utils/libmach/ureg2.h
new file mode 100644
index 00000000..e237cb3d
--- /dev/null
+++ b/utils/libmach/ureg2.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 */
+};