summaryrefslogtreecommitdiff
path: root/x86
diff options
context:
space:
mode:
authoraliaspider2014-12-10 12:53:26 +0100
committeraliaspider2014-12-10 12:53:26 +0100
commita926a68eb30710c61ea3c0dbfa2597e96842d31e (patch)
tree161d00ad81625fa57eecb166b30a1719db001ebc /x86
parent6d7fd87e07f157237319b51a8e0583ce0a4a5e6d (diff)
downloadpicogpsp-a926a68eb30710c61ea3c0dbfa2597e96842d31e.tar.gz
picogpsp-a926a68eb30710c61ea3c0dbfa2597e96842d31e.tar.bz2
picogpsp-a926a68eb30710c61ea3c0dbfa2597e96842d31e.zip
cleanups
Diffstat (limited to 'x86')
-rw-r--r--x86/x86_emit.h6
-rw-r--r--x86/x86_stub.S9
2 files changed, 0 insertions, 15 deletions
diff --git a/x86/x86_emit.h b/x86/x86_emit.h
index 1d4953c..b3a078e 100644
--- a/x86/x86_emit.h
+++ b/x86/x86_emit.h
@@ -30,8 +30,6 @@ void x86_indirect_branch_dual(u32 address);
void function_cc execute_store_cpsr(u32 new_cpsr, u32 store_mask);
-void step_debug_x86(u32 pc);
-
typedef enum
{
x86_reg_number_eax,
@@ -2320,8 +2318,4 @@ void function_cc swi_hle_div()
generate_update_pc(pc); \
generate_indirect_branch_no_cycle_update(type) \
-#define generate_step_debug() \
- generate_load_imm(a0, pc); \
- generate_function_call(step_debug_x86) \
-
#endif
diff --git a/x86/x86_stub.S b/x86/x86_stub.S
index 31aa9b1..dd98f7a 100644
--- a/x86/x86_stub.S
+++ b/x86/x86_stub.S
@@ -28,7 +28,6 @@
#define _execute_store_u32 execute_store_u32
#define _execute_store_cpsr execute_store_cpsr
#define _execute_arm_translate execute_arm_translate
-#define _step_debug_x86 step_debug_x86
#define _memory_map_read memory_map_read
#define _memory_map_write memory_map_write
#define _reg reg
@@ -41,7 +40,6 @@
#define _io_registers io_registers
#define _spsr spsr
-#define _step_debug step_debug
#define _update_gba update_gba
#define _block_lookup_address_arm block_lookup_address_arm
#define _block_lookup_address_thumb block_lookup_address_thumb
@@ -67,7 +65,6 @@
.global _execute_store_u32
.global _execute_store_cpsr
.global _execute_arm_translate
-.global _step_debug_x86
.global _memory_map_read
.global _memory_map_write
@@ -528,12 +525,6 @@ _execute_arm_translate:
call _block_lookup_address_thumb
jmp *%eax
-_step_debug_x86:
- collapse_flags
-# mov $100, %edi
- mov %edi, %edx
- jmp _step_debug
-
.comm _memory_map_read 0x8000
.comm _memory_map_write 0x8000
.comm _reg 4