about summary refs log tree commit diff stats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rwxr-xr-xsrc/include/regs.h2
-rwxr-xr-xsrc/include/x64emu.h2
-rwxr-xr-xsrc/include/x64tls.h3
3 files changed, 3 insertions, 4 deletions
diff --git a/src/include/regs.h b/src/include/regs.h
index 7a4ced73..a80b393e 100755
--- a/src/include/regs.h
+++ b/src/include/regs.h
@@ -17,7 +17,7 @@ enum {
 #define _DI _RDI
 
 enum {
-    _CS, _DS, _SS, _ES, _FS, _GS
+    _ES, _CS, _SS, _DS, _FS, _GS
 };
 
 
diff --git a/src/include/x64emu.h b/src/include/x64emu.h
index dd324add..e9ad201c 100755
--- a/src/include/x64emu.h
+++ b/src/include/x64emu.h
@@ -49,7 +49,7 @@ void AddCleanup(x64emu_t *emu, void *p, void* dso_handle);
 void AddCleanup1Arg(x64emu_t *emu, void *p, void* a, void* dso_handle);
 void CallCleanup(x64emu_t *emu, void* p);
 void CallAllCleanup(x64emu_t *emu);
-void UnimpOpcode(x64emu_t* emu);
+void UnimpOpcode(x64emu_t* emu, int is32bits);
 
 uint64_t ReadTSC(x64emu_t* emu);
 
diff --git a/src/include/x64tls.h b/src/include/x64tls.h
index b99e3bc0..66f0d9eb 100755
--- a/src/include/x64tls.h
+++ b/src/include/x64tls.h
@@ -4,8 +4,7 @@
 typedef struct thread_area_s thread_area_t;
 typedef struct thread_area_32_s thread_area_32_t;
 
-uint32_t my_set_thread_area(thread_area_t* td);
-uint32_t my_set_thread_area_32(thread_area_32_t* td);
+uint32_t my_set_thread_area_32(x64emu_t* emu, thread_area_32_t* td);
 uint32_t my_modify_ldt(x64emu_t* emu, int op, thread_area_t* td, int size);
 
 tlsdatasize_t* getTLSData(box64context_t *context);