VirtualBox

Changeset 36146 in vbox


Ignore:
Timestamp:
Mar 3, 2011 2:08:55 PM (14 years ago)
Author:
vboxsync
Message:

rem: build fix; removed obsolete header section.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/cpu-all.h

    r36143 r36146  
    3737# include <VBox/log.h>
    3838# include <VBox/vmm/pgm.h> /* PGM_DYNAMIC_RAM_ALLOC */
     39# include <stdio.h> /* FILE */
    3940#endif
    4041
     
    878879int page_check_range(target_ulong start, target_ulong len, int flags);
    879880void 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_DEFINES
    883 #ifdef SINGLE_CPU_DEFINES
    884 
    885 #if defined(TARGET_I386)
    886 
    887 #define CPUState CPUX86State
    888 #define cpu_init cpu_x86_init
    889 #define cpu_exec cpu_x86_exec
    890 #define cpu_gen_code cpu_x86_gen_code
    891 #define cpu_signal_handler cpu_x86_signal_handler
    892 
    893 #elif defined(TARGET_ARM)
    894 
    895 #define CPUState CPUARMState
    896 #define cpu_init cpu_arm_init
    897 #define cpu_exec cpu_arm_exec
    898 #define cpu_gen_code cpu_arm_gen_code
    899 #define cpu_signal_handler cpu_arm_signal_handler
    900 
    901 #elif defined(TARGET_SPARC)
    902 
    903 #define CPUState CPUSPARCState
    904 #define cpu_init cpu_sparc_init
    905 #define cpu_exec cpu_sparc_exec
    906 #define cpu_gen_code cpu_sparc_gen_code
    907 #define cpu_signal_handler cpu_sparc_signal_handler
    908 
    909 #elif defined(TARGET_PPC)
    910 
    911 #define CPUState CPUPPCState
    912 #define cpu_init cpu_ppc_init
    913 #define cpu_exec cpu_ppc_exec
    914 #define cpu_gen_code cpu_ppc_gen_code
    915 #define cpu_signal_handler cpu_ppc_signal_handler
    916 
    917 #elif defined(TARGET_M68K)
    918 #define CPUState CPUM68KState
    919 #define cpu_init cpu_m68k_init
    920 #define cpu_exec cpu_m68k_exec
    921 #define cpu_gen_code cpu_m68k_gen_code
    922 #define cpu_signal_handler cpu_m68k_signal_handler
    923 
    924 #elif defined(TARGET_MIPS)
    925 #define CPUState CPUMIPSState
    926 #define cpu_init cpu_mips_init
    927 #define cpu_exec cpu_mips_exec
    928 #define cpu_gen_code cpu_mips_gen_code
    929 #define cpu_signal_handler cpu_mips_signal_handler
    930 
    931 #elif defined(TARGET_SH4)
    932 #define CPUState CPUSH4State
    933 #define cpu_init cpu_sh4_init
    934 #define cpu_exec cpu_sh4_exec
    935 #define cpu_gen_code cpu_sh4_gen_code
    936 #define cpu_signal_handler cpu_sh4_signal_handler
    937 
    938 #else
    939 
    940 #error unsupported target CPU
    941 
    942 #endif
    943 
    944 #endif /* SINGLE_CPU_DEFINES */
    945 #endif /* bird: removed? */
    946881
    947882void cpu_dump_state(CPUState *env, FILE *f,
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette