diff --git a/qemu/aarch64.h b/qemu/aarch64.h index 7a7a5ea7..04c3715a 100644 --- a/qemu/aarch64.h +++ b/qemu/aarch64.h @@ -1,6 +1,7 @@ /* Autogen header for Unicorn Engine - DONOT MODIFY */ #ifndef UNICORN_AUTOGEN_AARCH64_H #define UNICORN_AUTOGEN_AARCH64_H +#define arm_release arm_release_aarch64 #define aarch64_tb_set_jmp_target aarch64_tb_set_jmp_target_aarch64 #define ppc_tb_set_jmp_target ppc_tb_set_jmp_target_aarch64 #define use_idiv_instructions_rt use_idiv_instructions_rt_aarch64 diff --git a/qemu/arm.h b/qemu/arm.h index 80225bdd..5dcea42b 100644 --- a/qemu/arm.h +++ b/qemu/arm.h @@ -1,6 +1,7 @@ /* Autogen header for Unicorn Engine - DONOT MODIFY */ #ifndef UNICORN_AUTOGEN_ARM_H #define UNICORN_AUTOGEN_ARM_H +#define arm_release arm_release_arm #define aarch64_tb_set_jmp_target aarch64_tb_set_jmp_target_arm #define ppc_tb_set_jmp_target ppc_tb_set_jmp_target_arm #define use_idiv_instructions_rt use_idiv_instructions_rt_arm diff --git a/qemu/armeb.h b/qemu/armeb.h index 2c846ce6..3cfc4338 100644 --- a/qemu/armeb.h +++ b/qemu/armeb.h @@ -1,6 +1,7 @@ /* Autogen header for Unicorn Engine - DONOT MODIFY */ -#ifndef UNICORN_AUTOGEN_ARM_H -#define UNICORN_AUTOGEN_ARM_H +#ifndef UNICORN_AUTOGEN_ARMEB_H +#define UNICORN_AUTOGEN_ARMEB_H +#define arm_release arm_release_armeb #define aarch64_tb_set_jmp_target aarch64_tb_set_jmp_target_armeb #define ppc_tb_set_jmp_target ppc_tb_set_jmp_target_armeb #define use_idiv_instructions_rt use_idiv_instructions_rt_armeb @@ -84,67 +85,67 @@ #define alloc_code_gen_buffer alloc_code_gen_buffer_armeb #define alloc_entry alloc_entry_armeb #define always_true always_true_armeb -#define armeb1026_initfn armeb1026_initfn_armeb -#define armeb1136_initfn armeb1136_initfn_armeb -#define armeb1136_r2_initfn armeb1136_r2_initfn_armeb -#define armeb1176_initfn armeb1176_initfn_armeb -#define armeb11mpcore_initfn armeb11mpcore_initfn_armeb -#define armeb926_initfn armeb926_initfn_armeb -#define armeb946_initfn armeb946_initfn_armeb -#define armeb_ccnt_enabled armeb_ccnt_enabled_armeb -#define armeb_cp_read_zero armeb_cp_read_zero_armeb -#define armeb_cp_reset_ignore armeb_cp_reset_ignore_armeb -#define armeb_cpu_do_interrupt armeb_cpu_do_interrupt_armeb -#define armeb_cpu_exec_interrupt armeb_cpu_exec_interrupt_armeb -#define armeb_cpu_finalizefn armeb_cpu_finalizefn_armeb -#define armeb_cpu_get_phys_page_debug armeb_cpu_get_phys_page_debug_armeb -#define armeb_cpu_handle_mmu_fault armeb_cpu_handle_mmu_fault_armeb -#define armeb_cpu_initfn armeb_cpu_initfn_armeb -#define armeb_cpu_list armeb_cpu_list_armeb +#define arm1026_initfn arm1026_initfn_armeb +#define arm1136_initfn arm1136_initfn_armeb +#define arm1136_r2_initfn arm1136_r2_initfn_armeb +#define arm1176_initfn arm1176_initfn_armeb +#define arm11mpcore_initfn arm11mpcore_initfn_armeb +#define arm926_initfn arm926_initfn_armeb +#define arm946_initfn arm946_initfn_armeb +#define arm_ccnt_enabled arm_ccnt_enabled_armeb +#define arm_cp_read_zero arm_cp_read_zero_armeb +#define arm_cp_reset_ignore arm_cp_reset_ignore_armeb +#define arm_cpu_do_interrupt arm_cpu_do_interrupt_armeb +#define arm_cpu_exec_interrupt arm_cpu_exec_interrupt_armeb +#define arm_cpu_finalizefn arm_cpu_finalizefn_armeb +#define arm_cpu_get_phys_page_debug arm_cpu_get_phys_page_debug_armeb +#define arm_cpu_handle_mmu_fault arm_cpu_handle_mmu_fault_armeb +#define arm_cpu_initfn arm_cpu_initfn_armeb +#define arm_cpu_list arm_cpu_list_armeb #define cpu_loop_exit cpu_loop_exit_armeb -#define armeb_cpu_post_init armeb_cpu_post_init_armeb -#define armeb_cpu_realizefn armeb_cpu_realizefn_armeb -#define armeb_cpu_register_gdb_regs_for_features armeb_cpu_register_gdb_regs_for_features_armeb -#define armeb_cpu_register_types armeb_cpu_register_types_armeb +#define arm_cpu_post_init arm_cpu_post_init_armeb +#define arm_cpu_realizefn arm_cpu_realizefn_armeb +#define arm_cpu_register_gdb_regs_for_features arm_cpu_register_gdb_regs_for_features_armeb +#define arm_cpu_register_types arm_cpu_register_types_armeb #define cpu_resume_from_signal cpu_resume_from_signal_armeb -#define armeb_cpus armeb_cpus_armeb -#define armeb_cpu_set_pc armeb_cpu_set_pc_armeb -#define armeb_cp_write_ignore armeb_cp_write_ignore_armeb -#define armeb_current_el armeb_current_el_armeb -#define armeb_dc_feature armeb_dc_feature_armeb -#define armeb_debug_excp_handler armeb_debug_excp_handler_armeb -#define armeb_debug_target_el armeb_debug_target_el_armeb -#define armeb_el_is_aa64 armeb_el_is_aa64_armeb -#define armeb_env_get_cpu armeb_env_get_cpu_armeb -#define armeb_excp_target_el armeb_excp_target_el_armeb -#define armeb_excp_unmasked armeb_excp_unmasked_armeb -#define armeb_feature armeb_feature_armeb -#define armeb_generate_debug_exceptions armeb_generate_debug_exceptions_armeb +#define arm_cpus arm_cpus_armeb +#define arm_cpu_set_pc arm_cpu_set_pc_armeb +#define arm_cp_write_ignore arm_cp_write_ignore_armeb +#define arm_current_el arm_current_el_armeb +#define arm_dc_feature arm_dc_feature_armeb +#define arm_debug_excp_handler arm_debug_excp_handler_armeb +#define arm_debug_target_el arm_debug_target_el_armeb +#define arm_el_is_aa64 arm_el_is_aa64_armeb +#define arm_env_get_cpu arm_env_get_cpu_armeb +#define arm_excp_target_el arm_excp_target_el_armeb +#define arm_excp_unmasked arm_excp_unmasked_armeb +#define arm_feature arm_feature_armeb +#define arm_generate_debug_exceptions arm_generate_debug_exceptions_armeb #define gen_intermediate_code gen_intermediate_code_armeb #define gen_intermediate_code_pc gen_intermediate_code_pc_armeb -#define armeb_gen_test_cc armeb_gen_test_cc_armeb -#define armeb_gt_ptimer_cb armeb_gt_ptimer_cb_armeb -#define armeb_gt_vtimer_cb armeb_gt_vtimer_cb_armeb -#define armeb_handle_psci_call armeb_handle_psci_call_armeb -#define armeb_is_psci_call armeb_is_psci_call_armeb -#define armeb_is_secure armeb_is_secure_armeb -#define armeb_is_secure_below_el3 armeb_is_secure_below_el3_armeb -#define armeb_ldl_code armeb_ldl_code_armeb -#define armeb_lduw_code armeb_lduw_code_armeb -#define armeb_log_exception armeb_log_exception_armeb -#define armeb_reg_read armeb_reg_read_armeb -#define armeb_reg_reset armeb_reg_reset_armeb -#define armeb_reg_write armeb_reg_write_armeb +#define arm_gen_test_cc arm_gen_test_cc_armeb +#define arm_gt_ptimer_cb arm_gt_ptimer_cb_armeb +#define arm_gt_vtimer_cb arm_gt_vtimer_cb_armeb +#define arm_handle_psci_call arm_handle_psci_call_armeb +#define arm_is_psci_call arm_is_psci_call_armeb +#define arm_is_secure arm_is_secure_armeb +#define arm_is_secure_below_el3 arm_is_secure_below_el3_armeb +#define arm_ldl_code arm_ldl_code_armeb +#define arm_lduw_code arm_lduw_code_armeb +#define arm_log_exception arm_log_exception_armeb +#define arm_reg_read arm_reg_read_armeb +#define arm_reg_reset arm_reg_reset_armeb +#define arm_reg_write arm_reg_write_armeb #define restore_state_to_opc restore_state_to_opc_armeb -#define armeb_rmode_to_sf armeb_rmode_to_sf_armeb -#define armeb_singlestep_active armeb_singlestep_active_armeb +#define arm_rmode_to_sf arm_rmode_to_sf_armeb +#define arm_singlestep_active arm_singlestep_active_armeb #define tlb_fill tlb_fill_armeb #define tlb_flush tlb_flush_armeb #define tlb_flush_page tlb_flush_page_armeb #define tlb_set_page tlb_set_page_armeb -#define armeb_translate_init armeb_translate_init_armeb -#define armeb_v7m_class_init armeb_v7m_class_init_armeb -#define armeb_v7m_cpu_do_interrupt armeb_v7m_cpu_do_interrupt_armeb +#define arm_translate_init arm_translate_init_armeb +#define arm_v7m_class_init arm_v7m_class_init_armeb +#define arm_v7m_cpu_do_interrupt arm_v7m_cpu_do_interrupt_armeb #define ats_access ats_access_armeb #define ats_write ats_write_armeb #define bad_mode_switch bad_mode_switch_armeb @@ -210,9 +211,9 @@ #define cpsr_write cpsr_write_armeb #define cptype_valid cptype_valid_armeb #define cpu_abort cpu_abort_armeb -#define cpu_armeb_exec cpu_armeb_exec_armeb -#define cpu_armeb_gen_code cpu_armeb_gen_code_armeb -#define cpu_armeb_init cpu_armeb_init_armeb +#define cpu_arm_exec cpu_arm_exec_armeb +#define cpu_arm_gen_code cpu_arm_gen_code_armeb +#define cpu_arm_init cpu_arm_init_armeb #define cpu_breakpoint_insert cpu_breakpoint_insert_armeb #define cpu_breakpoint_remove cpu_breakpoint_remove_armeb #define cpu_breakpoint_remove_all cpu_breakpoint_remove_all_armeb @@ -302,11 +303,11 @@ #define debug_cp_reginfo debug_cp_reginfo_armeb #define debug_frame debug_frame_armeb #define debug_lpae_cp_reginfo debug_lpae_cp_reginfo_armeb -#define define_armeb_cp_regs define_armeb_cp_regs_armeb -#define define_armeb_cp_regs_with_opaque define_armeb_cp_regs_with_opaque_armeb +#define define_arm_cp_regs define_arm_cp_regs_armeb +#define define_arm_cp_regs_with_opaque define_arm_cp_regs_with_opaque_armeb #define define_debug_regs define_debug_regs_armeb -#define define_one_armeb_cp_reg define_one_armeb_cp_reg_armeb -#define define_one_armeb_cp_reg_with_opaque define_one_armeb_cp_reg_with_opaque_armeb +#define define_one_arm_cp_reg define_one_arm_cp_reg_armeb +#define define_one_arm_cp_reg_with_opaque define_one_arm_cp_reg_with_opaque_armeb #define deposit32 deposit32_armeb #define deposit64 deposit64_armeb #define deregister_tm_clones deregister_tm_clones_armeb @@ -319,7 +320,7 @@ #define device_reset device_reset_armeb #define device_set_realized device_set_realized_armeb #define device_type_info device_type_info_armeb -#define disas_armeb_insn disas_armeb_insn_armeb +#define disas_arm_insn disas_arm_insn_armeb #define disas_coproc_insn disas_coproc_insn_armeb #define disas_dsp_insn disas_dsp_insn_armeb #define disas_iwmmxt_insn disas_iwmmxt_insn_armeb @@ -329,7 +330,7 @@ #define disas_thumb_insn disas_thumb_insn_armeb #define disas_vfp_insn disas_vfp_insn_armeb #define disas_vfp_v8_insn disas_vfp_v8_insn_armeb -#define do_armeb_semihosting do_armeb_semihosting_armeb +#define do_arm_semihosting do_arm_semihosting_armeb #define do_clz16 do_clz16_armeb #define do_clz8 do_clz8_armeb #define do_constant_folding do_constant_folding_armeb @@ -618,9 +619,9 @@ #define gen_addq gen_addq_armeb #define gen_addq_lo gen_addq_lo_armeb #define gen_addq_msw gen_addq_msw_armeb -#define gen_armeb_parallel_addsub gen_armeb_parallel_addsub_armeb -#define gen_armeb_shift_im gen_armeb_shift_im_armeb -#define gen_armeb_shift_reg gen_armeb_shift_reg_armeb +#define gen_arm_parallel_addsub gen_arm_parallel_addsub_armeb +#define gen_arm_shift_im gen_arm_shift_im_armeb +#define gen_arm_shift_reg gen_arm_shift_reg_armeb #define gen_bx gen_bx_armeb #define gen_bx_im gen_bx_im_armeb #define gen_clrex gen_clrex_armeb @@ -638,10 +639,10 @@ #define gen_helper_clear_pstate_ss gen_helper_clear_pstate_ss_armeb #define gen_helper_clz32 gen_helper_clz32_armeb #define gen_helper_clz64 gen_helper_clz64_armeb -#define gen_helper_clz_armeb gen_helper_clz_armeb_armeb +#define gen_helper_clz_arm gen_helper_clz_arm_armeb #define gen_helper_cpsr_read gen_helper_cpsr_read_armeb #define gen_helper_cpsr_write gen_helper_cpsr_write_armeb -#define gen_helper_crc32_armeb gen_helper_crc32_armeb_armeb +#define gen_helper_crc32_arm gen_helper_crc32_arm_armeb #define gen_helper_crc32c gen_helper_crc32c_armeb #define gen_helper_crypto_aese gen_helper_crypto_aese_armeb #define gen_helper_crypto_aesmc gen_helper_crypto_aesmc_armeb @@ -1292,7 +1293,7 @@ #define gen_vfp_uhto gen_vfp_uhto_armeb #define gen_vfp_uito gen_vfp_uito_armeb #define gen_vfp_ulto gen_vfp_ulto_armeb -#define get_armeb_cp_reginfo get_armeb_cp_reginfo_armeb +#define get_arm_cp_reginfo get_arm_cp_reginfo_armeb #define get_clock get_clock_armeb #define get_clock_realtime get_clock_realtime_armeb #define get_constraint_priority get_constraint_priority_armeb @@ -1356,10 +1357,10 @@ #define helper_be_stq_mmu helper_be_stq_mmu_armeb #define helper_be_stw_mmu helper_be_stw_mmu_armeb #define helper_clear_pstate_ss helper_clear_pstate_ss_armeb -#define helper_clz_armeb helper_clz_armeb_armeb +#define helper_clz_arm helper_clz_arm_armeb #define helper_cpsr_read helper_cpsr_read_armeb #define helper_cpsr_write helper_cpsr_write_armeb -#define helper_crc32_armeb helper_crc32_armeb_armeb +#define helper_crc32_arm helper_crc32_arm_armeb #define helper_crc32c helper_crc32c_armeb #define helper_crypto_aese helper_crypto_aese_armeb #define helper_crypto_aesmc helper_crypto_aesmc_armeb @@ -2585,7 +2586,7 @@ #define string_input_get_visitor string_input_get_visitor_armeb #define string_input_visitor_cleanup string_input_visitor_cleanup_armeb #define string_input_visitor_new string_input_visitor_new_armeb -#define strongarmeb_cp_reginfo strongarmeb_cp_reginfo_armeb +#define strongarm_cp_reginfo strongarm_cp_reginfo_armeb #define strstart strstart_armeb #define strtosz strtosz_armeb #define strtosz_suffix strtosz_suffix_armeb @@ -3016,5 +3017,4 @@ #define xpsr_write xpsr_write_armeb #define xscale_cpar_write xscale_cpar_write_armeb #define xscale_cp_reginfo xscale_cp_reginfo_armeb -#define arm_release arm_release_armeb #endif diff --git a/qemu/header_gen.py b/qemu/header_gen.py index 047f6358..f4702e67 100644 --- a/qemu/header_gen.py +++ b/qemu/header_gen.py @@ -7,6 +7,7 @@ import sys symbols = ( + 'arm_release', 'aarch64_tb_set_jmp_target', 'ppc_tb_set_jmp_target', 'use_idiv_instructions_rt', diff --git a/qemu/m68k.h b/qemu/m68k.h index f40a8dc4..dffdf7e7 100644 --- a/qemu/m68k.h +++ b/qemu/m68k.h @@ -1,6 +1,7 @@ /* Autogen header for Unicorn Engine - DONOT MODIFY */ #ifndef UNICORN_AUTOGEN_M68K_H #define UNICORN_AUTOGEN_M68K_H +#define arm_release arm_release_m68k #define aarch64_tb_set_jmp_target aarch64_tb_set_jmp_target_m68k #define ppc_tb_set_jmp_target ppc_tb_set_jmp_target_m68k #define use_idiv_instructions_rt use_idiv_instructions_rt_m68k diff --git a/qemu/mips.h b/qemu/mips.h index 1b8e9e2b..99d0899d 100644 --- a/qemu/mips.h +++ b/qemu/mips.h @@ -1,6 +1,7 @@ /* Autogen header for Unicorn Engine - DONOT MODIFY */ #ifndef UNICORN_AUTOGEN_MIPS_H #define UNICORN_AUTOGEN_MIPS_H +#define arm_release arm_release_mips #define aarch64_tb_set_jmp_target aarch64_tb_set_jmp_target_mips #define ppc_tb_set_jmp_target ppc_tb_set_jmp_target_mips #define use_idiv_instructions_rt use_idiv_instructions_rt_mips diff --git a/qemu/mips64.h b/qemu/mips64.h index 06b30666..139d9389 100644 --- a/qemu/mips64.h +++ b/qemu/mips64.h @@ -1,6 +1,7 @@ /* Autogen header for Unicorn Engine - DONOT MODIFY */ #ifndef UNICORN_AUTOGEN_MIPS64_H #define UNICORN_AUTOGEN_MIPS64_H +#define arm_release arm_release_mips64 #define aarch64_tb_set_jmp_target aarch64_tb_set_jmp_target_mips64 #define ppc_tb_set_jmp_target ppc_tb_set_jmp_target_mips64 #define use_idiv_instructions_rt use_idiv_instructions_rt_mips64 diff --git a/qemu/mips64el.h b/qemu/mips64el.h index 87cc74c8..62289de5 100644 --- a/qemu/mips64el.h +++ b/qemu/mips64el.h @@ -1,6 +1,7 @@ /* Autogen header for Unicorn Engine - DONOT MODIFY */ #ifndef UNICORN_AUTOGEN_MIPS64EL_H #define UNICORN_AUTOGEN_MIPS64EL_H +#define arm_release arm_release_mips64el #define aarch64_tb_set_jmp_target aarch64_tb_set_jmp_target_mips64el #define ppc_tb_set_jmp_target ppc_tb_set_jmp_target_mips64el #define use_idiv_instructions_rt use_idiv_instructions_rt_mips64el diff --git a/qemu/mipsel.h b/qemu/mipsel.h index a8a3fb4f..147bda28 100644 --- a/qemu/mipsel.h +++ b/qemu/mipsel.h @@ -1,6 +1,7 @@ /* Autogen header for Unicorn Engine - DONOT MODIFY */ #ifndef UNICORN_AUTOGEN_MIPSEL_H #define UNICORN_AUTOGEN_MIPSEL_H +#define arm_release arm_release_mipsel #define aarch64_tb_set_jmp_target aarch64_tb_set_jmp_target_mipsel #define ppc_tb_set_jmp_target ppc_tb_set_jmp_target_mipsel #define use_idiv_instructions_rt use_idiv_instructions_rt_mipsel diff --git a/qemu/powerpc.h b/qemu/powerpc.h index fd831d98..998f1f3b 100644 --- a/qemu/powerpc.h +++ b/qemu/powerpc.h @@ -1,6 +1,7 @@ /* Autogen header for Unicorn Engine - DONOT MODIFY */ #ifndef UNICORN_AUTOGEN_POWERPC_H #define UNICORN_AUTOGEN_POWERPC_H +#define arm_release arm_release_powerpc #define aarch64_tb_set_jmp_target aarch64_tb_set_jmp_target_powerpc #define ppc_tb_set_jmp_target ppc_tb_set_jmp_target_powerpc #define use_idiv_instructions_rt use_idiv_instructions_rt_powerpc diff --git a/qemu/sparc.h b/qemu/sparc.h index fda21bf4..4fbf55e7 100644 --- a/qemu/sparc.h +++ b/qemu/sparc.h @@ -1,6 +1,7 @@ /* Autogen header for Unicorn Engine - DONOT MODIFY */ #ifndef UNICORN_AUTOGEN_SPARC_H #define UNICORN_AUTOGEN_SPARC_H +#define arm_release arm_release_sparc #define aarch64_tb_set_jmp_target aarch64_tb_set_jmp_target_sparc #define ppc_tb_set_jmp_target ppc_tb_set_jmp_target_sparc #define use_idiv_instructions_rt use_idiv_instructions_rt_sparc diff --git a/qemu/sparc64.h b/qemu/sparc64.h index aaafd634..f3895222 100644 --- a/qemu/sparc64.h +++ b/qemu/sparc64.h @@ -1,6 +1,7 @@ /* Autogen header for Unicorn Engine - DONOT MODIFY */ #ifndef UNICORN_AUTOGEN_SPARC64_H #define UNICORN_AUTOGEN_SPARC64_H +#define arm_release arm_release_sparc64 #define aarch64_tb_set_jmp_target aarch64_tb_set_jmp_target_sparc64 #define ppc_tb_set_jmp_target ppc_tb_set_jmp_target_sparc64 #define use_idiv_instructions_rt use_idiv_instructions_rt_sparc64 diff --git a/qemu/x86_64.h b/qemu/x86_64.h index 71025141..9b05becf 100644 --- a/qemu/x86_64.h +++ b/qemu/x86_64.h @@ -1,6 +1,7 @@ /* Autogen header for Unicorn Engine - DONOT MODIFY */ #ifndef UNICORN_AUTOGEN_X86_64_H #define UNICORN_AUTOGEN_X86_64_H +#define arm_release arm_release_x86_64 #define aarch64_tb_set_jmp_target aarch64_tb_set_jmp_target_x86_64 #define ppc_tb_set_jmp_target ppc_tb_set_jmp_target_x86_64 #define use_idiv_instructions_rt use_idiv_instructions_rt_x86_64