Changeset 29329 in vbox for trunk/src/VBox/VMM
- Timestamp:
- May 11, 2010 10:18:30 AM (15 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/EM.cpp
r29250 r29329 38 38 #include <VBox/em.h> 39 39 #include <VBox/vmm.h> 40 #ifdef VBOX_WITH_VMI41 # include <VBox/parav.h>42 #endif43 40 #include <VBox/patm.h> 44 41 #include <VBox/csam.h> … … 1767 1764 break; 1768 1765 1769 #ifdef VBOX_WITH_VMI1770 /*1771 * Reschedule - parav call.1772 */1773 case VINF_EM_RESCHEDULE_PARAV:1774 Log2(("EMR3ExecuteVM: VINF_EM_RESCHEDULE_PARAV: %d -> %d (EMSTATE_PARAV)\n", pVCpu->em.s.enmState, EMSTATE_PARAV));1775 pVCpu->em.s.enmState = EMSTATE_PARAV;1776 break;1777 #endif1778 1779 1766 /* 1780 1767 * Resume. … … 1977 1964 break; 1978 1965 1979 #ifdef VBOX_WITH_VMI1980 /*1981 * Execute PARAV function.1982 */1983 case EMSTATE_PARAV:1984 rc = PARAVCallFunction(pVM);1985 pVCpu->em.s.enmState = EMSTATE_REM;1986 break;1987 #endif1988 1989 1966 /* 1990 1967 * Application processor execution halted until SIPI. -
trunk/src/VBox/VMM/EMHandleRCTmpl.h
r28800 r29329 106 106 #endif /* EMHANDLERC_WITH_PATM */ 107 107 108 #ifdef VBOX_WITH_VMI109 /*110 * PARAV function.111 */112 case VINF_EM_RESCHEDULE_PARAV:113 rc = PARAVCallFunction(pVM);114 break;115 #endif116 117 108 #ifdef EMHANDLERC_WITH_PATM 118 109 /* -
trunk/src/VBox/VMM/EMHwaccm.cpp
r29250 r29329 38 38 #include <VBox/em.h> 39 39 #include <VBox/vmm.h> 40 #ifdef VBOX_WITH_VMI41 # include <VBox/parav.h>42 #endif43 40 #include <VBox/csam.h> 44 41 #include <VBox/selm.h> -
trunk/src/VBox/VMM/EMRaw.cpp
r29250 r29329 38 38 #include <VBox/em.h> 39 39 #include <VBox/vmm.h> 40 #ifdef VBOX_WITH_VMI41 # include <VBox/parav.h>42 #endif43 40 #include <VBox/patm.h> 44 41 #include <VBox/csam.h> -
trunk/src/VBox/VMM/Makefile.kmk
r28800 r29329 44 44 VMMR3_DEFS += VBOX_WITH_USB 45 45 endif 46 ifdef VBOX_WITH_VMI47 VMMR3_DEFS += \48 VBOX_WITH_VMI49 endif50 46 ifdef VBOX_WITH_PDM_ASYNC_COMPLETION 51 47 VMMR3_DEFS += VBOX_WITH_PDM_ASYNC_COMPLETION … … 68 64 . \ 69 65 PATM 70 ifdef VBOX_WITH_VMI71 VMMR3_INCS += \72 PARAV73 endif74 66 75 67 VMMR3_SOURCES = \ … … 165 157 PATM/PATMSSM.cpp \ 166 158 PATM/VMMAll/PATMAll.cpp 167 ifdef VBOX_WITH_VMI168 VMMR3_SOURCES += \169 PARAV/PARAV.cpp \170 PARAV/PARAVAll.cpp171 endif172 159 ifdef VBOX_WITH_VUSB 173 160 VMMR3_SOURCES += PDMUsb.cpp … … 337 324 ifdef VBOX_WITH_MULTI_CORE 338 325 VMMGC_DEFS += VBOX_WITH_MULTI_CORE 339 endif340 ifdef VBOX_WITH_VMI341 VMMGC_DEFS += VBOX_WITH_VMI342 326 endif 343 327 ifeq ($(KBUILD_TARGET_ARCH),x86) … … 412 396 PATM/VMMGC/PATMGC.cpp \ 413 397 PATM/VMMAll/PATMAll.cpp 414 ifdef VBOX_WITH_VMI415 VMMGC_SOURCES += \416 PARAV/PARAV.cpp \417 PARAV/PARAVAll.cpp418 endif419 398 ifeq ($(VBOX_LDR_FMT32),pe) 420 399 VMMGC_SOURCES += VMMGC/VMMGC.def -
trunk/src/VBox/VMM/VM.cpp
r28800 r29329 59 59 #include <VBox/stam.h> 60 60 #include <VBox/patm.h> 61 #ifdef VBOX_WITH_VMI62 # include <VBox/parav.h>63 #endif64 61 #include <VBox/csam.h> 65 62 #include <VBox/iom.h> … … 849 846 if (RT_SUCCESS(rc)) 850 847 { 851 #ifdef VBOX_WITH_VMI 852 rc = PARAVR3Init(pVM); 848 rc = IOMR3Init(pVM); 853 849 if (RT_SUCCESS(rc)) 854 850 { 855 #endif 856 rc = IOMR3Init(pVM); 851 rc = EMR3Init(pVM); 857 852 if (RT_SUCCESS(rc)) 858 853 { 859 rc = EMR3Init(pVM);854 rc = DBGFR3Init(pVM); 860 855 if (RT_SUCCESS(rc)) 861 856 { 862 rc = DBGFR3Init(pVM);857 rc = PDMR3Init(pVM); 863 858 if (RT_SUCCESS(rc)) 864 859 { 865 rc = PDMR3Init(pVM); 860 rc = PGMR3InitDynMap(pVM); 861 if (RT_SUCCESS(rc)) 862 rc = MMR3HyperInitFinalize(pVM); 863 if (RT_SUCCESS(rc)) 864 rc = PATMR3InitFinalize(pVM); 865 if (RT_SUCCESS(rc)) 866 rc = PGMR3InitFinalize(pVM); 867 if (RT_SUCCESS(rc)) 868 rc = SELMR3InitFinalize(pVM); 869 if (RT_SUCCESS(rc)) 870 rc = TMR3InitFinalize(pVM); 871 if (RT_SUCCESS(rc)) 872 rc = VMMR3InitFinalize(pVM); 873 if (RT_SUCCESS(rc)) 874 rc = REMR3InitFinalize(pVM); 875 if (RT_SUCCESS(rc)) 876 rc = vmR3InitDoCompleted(pVM, VMINITCOMPLETED_RING3); 866 877 if (RT_SUCCESS(rc)) 867 878 { 868 rc = PGMR3InitDynMap(pVM); 869 if (RT_SUCCESS(rc)) 870 rc = MMR3HyperInitFinalize(pVM); 871 if (RT_SUCCESS(rc)) 872 rc = PATMR3InitFinalize(pVM); 873 if (RT_SUCCESS(rc)) 874 rc = PGMR3InitFinalize(pVM); 875 if (RT_SUCCESS(rc)) 876 rc = SELMR3InitFinalize(pVM); 877 if (RT_SUCCESS(rc)) 878 rc = TMR3InitFinalize(pVM); 879 if (RT_SUCCESS(rc)) 880 rc = VMMR3InitFinalize(pVM); 881 if (RT_SUCCESS(rc)) 882 rc = REMR3InitFinalize(pVM); 883 if (RT_SUCCESS(rc)) 884 rc = vmR3InitDoCompleted(pVM, VMINITCOMPLETED_RING3); 885 if (RT_SUCCESS(rc)) 886 { 887 LogFlow(("vmR3InitRing3: returns %Rrc\n", VINF_SUCCESS)); 888 return VINF_SUCCESS; 889 } 890 int rc2 = PDMR3Term(pVM); 891 AssertRC(rc2); 879 LogFlow(("vmR3InitRing3: returns %Rrc\n", VINF_SUCCESS)); 880 return VINF_SUCCESS; 892 881 } 893 int rc2 = DBGFR3Term(pVM);882 int rc2 = PDMR3Term(pVM); 894 883 AssertRC(rc2); 895 884 } 896 int rc2 = EMR3Term(pVM);885 int rc2 = DBGFR3Term(pVM); 897 886 AssertRC(rc2); 898 887 } 899 int rc2 = IOMR3Term(pVM);888 int rc2 = EMR3Term(pVM); 900 889 AssertRC(rc2); 901 890 } 902 #ifdef VBOX_WITH_VMI 903 int rc2 = PARAVR3Term(pVM); 891 int rc2 = IOMR3Term(pVM); 904 892 AssertRC(rc2); 905 893 } 906 #endif907 894 int rc2 = PATMR3Term(pVM); 908 895 AssertRC(rc2); -
trunk/src/VBox/VMM/testcase/Makefile.kmk
r28800 r29329 128 128 ifdef VBOX_WITH_R0_LOGGING 129 129 tstVMStructSize_DEFS += VBOX_WITH_R0_LOGGING 130 endif131 ifdef VBOX_WITH_VMI132 tstVMStructSize_DEFS += VBOX_WITH_VMI133 tstVMStructSize_INCS += $(VBOX_PATH_VMM_SRC)/PARAV134 130 endif 135 131 -
trunk/src/VBox/VMM/testcase/tstVMStructSize.cpp
r28942 r29329 43 43 #include "HWACCMInternal.h" 44 44 #include "PATMInternal.h" 45 #ifdef VBOX_WITH_VMI46 # include "PARAVInternal.h"47 #endif48 45 #include "VMMInternal.h" 49 46 #include "DBGFInternal.h" … … 220 217 CHECK_PADDING_VM(8, vm); 221 218 CHECK_PADDING_VM(8, cfgm); 222 #ifdef VBOX_WITH_VMI223 CHECK_PADDING_VM(8, parav);224 #endif225 219 226 220 PRINT_OFFSET(VMCPU, cpum);
Note:
See TracChangeset
for help on using the changeset viewer.