Changeset 36146 in vbox
- Timestamp:
- Mar 3, 2011 2:08:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/cpu-all.h
r36143 r36146 37 37 # include <VBox/log.h> 38 38 # include <VBox/vmm/pgm.h> /* PGM_DYNAMIC_RAM_ALLOC */ 39 # include <stdio.h> /* FILE */ 39 40 #endif 40 41 … … 878 879 int page_check_range(target_ulong start, target_ulong len, int flags); 879 880 void page_unprotect_range(target_ulong data, target_ulong data_size); 880 881 #if 0 /* bird: Not there in the code I'm looking at. */882 #define SINGLE_CPU_DEFINES883 #ifdef SINGLE_CPU_DEFINES884 885 #if defined(TARGET_I386)886 887 #define CPUState CPUX86State888 #define cpu_init cpu_x86_init889 #define cpu_exec cpu_x86_exec890 #define cpu_gen_code cpu_x86_gen_code891 #define cpu_signal_handler cpu_x86_signal_handler892 893 #elif defined(TARGET_ARM)894 895 #define CPUState CPUARMState896 #define cpu_init cpu_arm_init897 #define cpu_exec cpu_arm_exec898 #define cpu_gen_code cpu_arm_gen_code899 #define cpu_signal_handler cpu_arm_signal_handler900 901 #elif defined(TARGET_SPARC)902 903 #define CPUState CPUSPARCState904 #define cpu_init cpu_sparc_init905 #define cpu_exec cpu_sparc_exec906 #define cpu_gen_code cpu_sparc_gen_code907 #define cpu_signal_handler cpu_sparc_signal_handler908 909 #elif defined(TARGET_PPC)910 911 #define CPUState CPUPPCState912 #define cpu_init cpu_ppc_init913 #define cpu_exec cpu_ppc_exec914 #define cpu_gen_code cpu_ppc_gen_code915 #define cpu_signal_handler cpu_ppc_signal_handler916 917 #elif defined(TARGET_M68K)918 #define CPUState CPUM68KState919 #define cpu_init cpu_m68k_init920 #define cpu_exec cpu_m68k_exec921 #define cpu_gen_code cpu_m68k_gen_code922 #define cpu_signal_handler cpu_m68k_signal_handler923 924 #elif defined(TARGET_MIPS)925 #define CPUState CPUMIPSState926 #define cpu_init cpu_mips_init927 #define cpu_exec cpu_mips_exec928 #define cpu_gen_code cpu_mips_gen_code929 #define cpu_signal_handler cpu_mips_signal_handler930 931 #elif defined(TARGET_SH4)932 #define CPUState CPUSH4State933 #define cpu_init cpu_sh4_init934 #define cpu_exec cpu_sh4_exec935 #define cpu_gen_code cpu_sh4_gen_code936 #define cpu_signal_handler cpu_sh4_signal_handler937 938 #else939 940 #error unsupported target CPU941 942 #endif943 944 #endif /* SINGLE_CPU_DEFINES */945 #endif /* bird: removed? */946 881 947 882 void cpu_dump_state(CPUState *env, FILE *f,
Note:
See TracChangeset
for help on using the changeset viewer.