summaryrefslogtreecommitdiff
path: root/arch/i386/bits/reg.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/bits/reg.h')
-rw-r--r--arch/i386/bits/reg.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/i386/bits/reg.h b/arch/i386/bits/reg.h
new file mode 100644
index 00000000..8bc2582d
--- /dev/null
+++ b/arch/i386/bits/reg.h
@@ -0,0 +1,19 @@
+#undef __WORDSIZE
+#define __WORDSIZE 32
+#define EBX 0
+#define ECX 1
+#define EDX 2
+#define ESI 3
+#define EDI 4
+#define EBP 5
+#define EAX 6
+#define DS 7
+#define ES 8
+#define FS 9
+#define GS 10
+#define ORIG_EAX 11
+#define EIP 12
+#define CS 13
+#define EFL 14
+#define UESP 15
+#define SS 16