- Timestamp:
- May 1, 2009 5:03:40 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r19009 r19297 240 240 VBOX_WITHOUT_ADDITIONS=1 241 241 endif 242 243 ## Enable new TCG-based recompiler244 VBOX_WITH_NEW_RECOMPILER = 1245 242 246 243 # Don't create the additions ISO. -
trunk/src/Makefile.kmk
r14158 r19297 37 37 include $(PATH_SUB_CURRENT)/VBox/Makefile.kmk 38 38 include $(PATH_SUB_CURRENT)/libs/Makefile.kmk 39 ifdef VBOX_WITH_NEW_RECOMPILER 40 include $(PATH_SUB_CURRENT)/recompiler_new/Makefile.kmk 41 else 42 include $(PATH_SUB_CURRENT)/recompiler/Makefile.kmk 43 endif 39 include $(PATH_SUB_CURRENT)/recompiler/Makefile.kmk 44 40 ifneq ($(wildcard $(PATH_SUB_CURRENT)/apps),) 45 41 include $(PATH_SUB_CURRENT)/apps/Makefile.kmk … … 68 64 else # !VBOX_ONLY_ADDITIONS 69 65 # Build IPRT first because xpcom (IPC, nspr, python) depends on it. 70 SUBDIRS = VBox/Runtime bldprogs libs VBox 71 72 ifdef VBOX_WITH_NEW_RECOMPILER 73 SUBDIRS += recompiler_new 74 else 75 SUBDIRS += recompiler 76 endif 66 SUBDIRS = VBox/Runtime bldprogs libs VBox recompiler 77 67 ifneq ($(wildcard apps),) 78 68 SUBDIRS += apps -
trunk/src/VBox/Installer/linux/Makefile.kmk
r18798 r19297 135 135 VMMGC.gc \ 136 136 VMMR0.r0 137 ifeq ($(KBUILD_TARGET_ARCH),amd64)138 ifndef VBOX_WITH_NEW_RECOMPILER139 VBOX_LNX_STRIP_OBJ += \140 VBoxREM2.rel141 endif142 endif143 137 144 138 # Do not strip anything of these files -
trunk/src/VBox/Installer/solaris/Makefile.kmk
r19053 r19297 222 222 VBoxREM64.so 223 223 224 ifndef VBOX_WITH_NEW_RECOMPILER225 SOLARIS_STRIP_OBJ_64 = VBoxREM2.rel226 endif227 228 224 VBOX_SOL_PYTHON_DIR_64 = 64 229 225 … … 354 350 $(addprefix $(SOLARIS_VBOXINST_DIR_32)/,$(SOLARIS_QTLIBS)) \ 355 351 $(addprefix $(SOLARIS_VBOXINST_DIR_32)/,$(SOLARIS_STRIP_BIN_32)) \ 356 $(if $(VBOX_WITH_NEW_RECOMPILER),,$(addprefix $(SOLARIS_VBOXINST_DIR_64)/,$(SOLARIS_STRIP_OBJ_64))) \357 352 $(addprefix $(SOLARIS_OUT_BIN_32)/,VBoxPython.so) \ 358 353 $(addprefix $(SOLARIS_OUT_BIN_64)/,VBoxPython.so) -
trunk/src/VBox/VMM/CPUM.cpp
r19075 r19297 317 317 | 0; 318 318 pCPUM->aGuestCpuIdStd[1].ecx &= 0 319 #ifdef VBOX_WITH_NEW_RECOMPILER320 319 | X86_CPUID_FEATURE_ECX_SSE3 321 #endif322 320 | X86_CPUID_FEATURE_ECX_MONITOR 323 321 //| X86_CPUID_FEATURE_ECX_CPLDS - no CPL qualified debug store. … … 508 506 if (pVM->cpum.s.enmCPUVendor == CPUMCPUVENDOR_AMD) 509 507 { 510 508 511 509 } 512 510 #endif -
trunk/src/VBox/VMM/Makefile.kmk
r19288 r19297 40 40 ifdef VBOX_WITH_R0_LOGGING 41 41 VMMR3_DEFS += VBOX_WITH_R0_LOGGING 42 endif43 ifdef VBOX_WITH_NEW_RECOMPILER44 VMMR3_DEFS += VBOX_WITH_NEW_RECOMPILER45 42 endif 46 43 VMMR3_DEFS.darwin.x86 = \ … … 308 305 VMMGC_DEFS += VBOX_WITH_R0_LOGGING 309 306 endif 310 ifdef VBOX_WITH_NEW_RECOMPILER311 VMMGC_DEFS += VBOX_WITH_NEW_RECOMPILER312 endif313 307 ifeq ($(KBUILD_TARGET_ARCH),x86) 314 308 VMMGC_DEFS.darwin = \ … … 411 405 VMMR0_DEFS += VBOX_WITH_R0_LOGGING 412 406 endif 413 ifdef VBOX_WITH_NEW_RECOMPILER414 VMMR0_DEFS += VBOX_WITH_NEW_RECOMPILER415 endif416 407 VMMR0_DEFS.darwin.x86 = \ 417 408 VBOX_WITH_2X_4GB_ADDR_SPACE VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0 \ -
trunk/src/VBox/VMM/REMInternal.h
r18927 r19297 211 211 uint32_t abPadding[HC_ARCH_BITS == 32 ? 6 : 4]; 212 212 213 #ifdef VBOX_WITH_NEW_RECOMPILER214 213 #if GC_ARCH_BITS == 32 215 214 # define REM_ENV_SIZE (HC_ARCH_BITS == 32 ? 0xff00 : 0xff00) … … 217 216 # define REM_ENV_SIZE (HC_ARCH_BITS == 32 ? 0xff00 : 0xff00) 218 217 #endif 219 #else /* !VBOX_WITH_NEW_RECOMPILER */220 #if GC_ARCH_BITS == 32221 # define REM_ENV_SIZE (HC_ARCH_BITS == 32 ? 0x6550 : 0xb4a0)222 #else223 # define REM_ENV_SIZE (HC_ARCH_BITS == 32 ? 0x9440 : 0xd4a0)224 #endif225 #endif /* !VBOX_WITH_NEW_RECOMILER */226 218 227 219 /** Recompiler CPU state. */ … … 252 244 void remR3DmaRun(CPUState *env); 253 245 void remR3TimersRun(CPUState *env); 254 # ifdef VBOX_WITH_NEW_RECOMPILER255 246 int remR3NotifyTrap(CPUState *env, uint32_t uTrap, uint32_t uErrorCode, RTGCPTR pvNextEIP); 256 # else257 int remR3NotifyTrap(CPUState *env, uint32_t uTrap, uint32_t uErrorCode, uint32_t pvNextEIP);258 # endif259 247 void remR3TrapStat(CPUState *env, uint32_t uTrap); 260 248 void remR3CpuId(CPUState *env, unsigned uOperator, void *pvEAX, void *pvEBX, void *pvECX, void *pvEDX); -
trunk/src/VBox/VMM/testcase/Makefile.kmk
r18837 r19297 91 91 tstVMStructGC_DEFS += VBOX_WITH_R0_LOGGING 92 92 endif 93 ifdef VBOX_WITH_NEW_RECOMPILER94 tstVMStructGC_DEFS += VBOX_WITH_NEW_RECOMPILER95 endif96 93 tstVMStructGC_SOURCES = tstVMStructGC.cpp 97 94 tstVMStructGC_INCS = $(VBOX_PATH_VMM_SRC) $(VBOX_PATH_VMM_SRC)/PATM … … 105 102 tstVMStructSize_DEFS += VBOX_WITH_R0_LOGGING 106 103 endif 107 ifdef VBOX_WITH_NEW_RECOMPILER108 tstVMStructSize_DEFS += VBOX_WITH_NEW_RECOMPILER109 endif110 104 ifdef VBOX_WITH_VMI 111 105 tstVMStructSize_DEFS += VBOX_WITH_VMI … … 118 112 tstAsmStructs_DEFS += VBOX_WITH_R0_LOGGING 119 113 endif 120 ifdef VBOX_WITH_NEW_RECOMPILER121 tstAsmStruct_DEFS += VBOX_WITH_NEW_RECOMPILER122 endif123 114 tstAsmStructs_INCS = $(VBOX_PATH_VMM_SRC) $(VBOX_VMM_TESTCASE_OUT_DIR) 124 115 tstAsmStructs_SOURCES = tstAsmStructs.cpp … … 128 119 ifdef VBOX_WITH_R0_LOGGING 129 120 tstAsmStructsGC_DEFS += VBOX_WITH_R0_LOGGING 130 endif131 ifdef VBOX_WITH_NEW_RECOMPILER132 tstAsmStructGC_DEFS += VBOX_WITH_NEW_RECOMPILER133 121 endif 134 122 tstAsmStructsGC_INCS = $(VBOX_PATH_VMM_SRC) $(VBOX_VMM_TESTCASE_OUT_DIR) -
trunk/src/recompiler/Makefile.kmk
r18914 r19297 109 109 $(REM_MOD)_DEFS += IN_REM_R3 REM_INCLUDE_CPU_H 110 110 #$(REM_MOD)_DEFS += REM_PHYS_ADDR_IN_TLB 111 $(REM_MOD)_DEFS += VBOX_WITH_NEW_RECOMPILER112 111 #$(REM_MOD)_DEFS += DEBUG_ALL_LOGGING DEBUG_DISAS DEBUG_PCALL DEBUG_EXEC DEBUG_FLUSH DEBUG_IOPORT DEBUG_SIGNAL DEBUG_TLB_CHECK DEBUG_TB_INVALIDATE DEBUG_TLB # Enables huge amounts of debug logging. 113 112 #$(REM_MOD)_DEFS += DEBUG_TMP_LOGGING # log qemu parts to "/tmp/vbox-qemu.log" - does not work with VBoxREM2. … … 206 205 VBoxREMWrapper_NAME = VBoxREM 207 206 VBoxREMWrapper_DEFS = IN_REM_R3 $(if $(VBOX_WITH_VMI),VBOX_WITH_VMI,) 208 VBoxREMWrapper_DEFS += VBOX_WITH_NEW_RECOMPILER209 207 ifdef VBOX_USE_REM64 210 208 VBoxREMWrapper_DEFS += VBOX_USE_BITNESS_SELECTOR … … 299 297 testmath_LDFLAGS = -g 300 298 testmath_DEFS = MATHTEST_STANDALONE 301 testmath_DEFS += VBOX_WITH_NEW_RECOMPILER302 299 testmath_SOURCES = Sun/testmath.c 303 300
Note:
See TracChangeset
for help on using the changeset viewer.