summaryrefslogtreecommitdiff
path: root/x86_backend.h
diff options
context:
space:
mode:
Diffstat (limited to 'x86_backend.h')
-rw-r--r--x86_backend.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/x86_backend.h b/x86_backend.h
new file mode 100644
index 0000000..2bfac7e
--- /dev/null
+++ b/x86_backend.h
@@ -0,0 +1,18 @@
+#ifndef X86_BACKEND_H_
+#define X86_BACKEND_H_
+
+typedef struct {
+ int32_t disp;
+ uint8_t mode;
+ uint8_t base;
+ uint8_t index;
+ uint8_t cycles;
+} x86_ea;
+
+typedef struct {
+ uint8_t *base;
+ int32_t *offsets;
+} native_map_slot;
+
+#endif //X86_BACKEND_H_
+