From a926a68eb30710c61ea3c0dbfa2597e96842d31e Mon Sep 17 00:00:00 2001 From: aliaspider Date: Wed, 10 Dec 2014 12:53:26 +0100 Subject: cleanups --- x86/x86_emit.h | 6 ------ x86/x86_stub.S | 9 --------- 2 files changed, 15 deletions(-) (limited to 'x86') 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 -- cgit v1.2.3