- Timestamp:
- Oct 12, 2021 12:21:10 PM (3 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/NEMAllNativeTemplate-win.cpp.h
r91580 r91688 3833 3833 3834 3834 3835 #if def IN_RING03835 #if defined(IN_RING0) && defined(NEM_WIN_WITH_RING0_RUNLOOP) 3836 3836 /** 3837 3837 * Perform an I/O control operation on the partition handle (VID.SYS), -
trunk/src/VBox/VMM/VMMR0/NEMR0Native-win.cpp
r91676 r91688 808 808 AssertRCReturn(rc, rc); 809 809 SUPR0Printf("NEMR0InitVMPart2\n"); LogRel(("2: NEMR0InitVMPart2\n")); 810 #ifdef NEM_WIN_WITH_RING0_RUNLOOP 810 811 Assert(pGVM->nemr0.s.fMayUseRing0Runloop == false); 812 #endif 811 813 812 814 /* … … 825 827 pGVM->nemr0.s.IoCtlGetPartitionProperty = Copy; 826 828 829 #ifdef NEM_WIN_WITH_RING0_RUNLOOP 827 830 pGVM->nemr0.s.fMayUseRing0Runloop = pGVM->nem.s.fUseRing0Runloop; 828 831 … … 855 858 if (RT_SUCCESS(rc)) 856 859 pGVM->nemr0.s.IoCtlMessageSlotHandleAndGetNext = Copy; 860 #endif 857 861 858 862 if ( RT_SUCCESS(rc) -
trunk/src/VBox/VMM/VMMR3/NEMR3Native-win.cpp
r91679 r91688 178 178 /** Info about the VidGetPartitionProperty I/O control interface. */ 179 179 static NEMWINIOCTL g_IoCtlGetPartitionProperty; 180 #if defined(NEM_WIN_WITH_RING0_RUNLOOP) || defined(LOG_ENABLED) 180 181 /** Info about the VidStartVirtualProcessor I/O control interface. */ 181 182 static NEMWINIOCTL g_IoCtlStartVirtualProcessor; … … 184 185 /** Info about the VidMessageSlotHandleAndGetNext I/O control interface. */ 185 186 static NEMWINIOCTL g_IoCtlMessageSlotHandleAndGetNext; 187 #endif 186 188 #ifdef LOG_ENABLED 187 189 /** Info about the VidMessageSlotMap I/O control interface - for logging. */ … … 843 845 } 844 846 847 #if defined(NEM_WIN_WITH_RING0_RUNLOOP) || defined(LOG_ENABLED) 845 848 846 849 /** … … 944 947 } 945 948 949 #endif /* defined(NEM_WIN_WITH_RING0_RUNLOOP) || defined(LOG_ENABLED) */ 946 950 947 951 #ifdef LOG_ENABLED … … 1016 1020 1017 1021 int rcRet = VINF_SUCCESS; 1022 #if defined(NEM_WIN_WITH_RING0_RUNLOOP) || defined(LOG_ENABLED) 1023 1018 1024 /* VidStartVirtualProcessor */ 1019 1025 *g_ppfnVidNtDeviceIoControlFile = nemR3WinIoctlDetector_StartVirtualProcessor; … … 1052 1058 g_IoCtlMessageSlotHandleAndGetNext.cbOutput)); 1053 1059 1060 #endif /* defined(NEM_WIN_WITH_RING0_RUNLOOP) || defined(LOG_ENABLED) */ 1054 1061 #ifdef LOG_ENABLED 1055 1062 /* The following are only for logging: */ … … 1098 1105 pVM->nem.s.IoCtlGetHvPartitionId = g_IoCtlGetHvPartitionId; 1099 1106 pVM->nem.s.IoCtlGetPartitionProperty = g_IoCtlGetPartitionProperty; 1107 #ifdef NEM_WIN_WITH_RING0_RUNLOOP 1100 1108 pVM->nem.s.IoCtlStartVirtualProcessor = g_IoCtlStartVirtualProcessor; 1101 1109 pVM->nem.s.IoCtlStopVirtualProcessor = g_IoCtlStopVirtualProcessor; 1102 1110 pVM->nem.s.IoCtlMessageSlotHandleAndGetNext = g_IoCtlMessageSlotHandleAndGetNext; 1111 #endif 1103 1112 return rcRet; 1104 1113 } -
trunk/src/VBox/VMM/include/NEMInternal.h
r91676 r91688 197 197 /** Info about the VidGetPartitionProperty I/O control interface. */ 198 198 NEMWINIOCTL IoCtlGetPartitionProperty; 199 # ifdef NEM_WIN_WITH_RING0_RUNLOOP 199 200 /** Info about the VidStartVirtualProcessor I/O control interface. */ 200 201 NEMWINIOCTL IoCtlStartVirtualProcessor; … … 203 204 /** Info about the VidStopVirtualProcessor I/O control interface. */ 204 205 NEMWINIOCTL IoCtlMessageSlotHandleAndGetNext; 206 # endif 205 207 206 208 /** Statistics updated by NEMR0UpdateStatistics. */ … … 393 395 /** Info about the VidGetPartitionProperty I/O control interface. */ 394 396 NEMWINIOCTL IoCtlGetPartitionProperty; 397 # ifdef NEM_WIN_WITH_RING0_RUNLOOP 395 398 /** Info about the VidStartVirtualProcessor I/O control interface. */ 396 399 NEMWINIOCTL IoCtlStartVirtualProcessor; … … 401 404 /** Whether we may use the ring-0 runloop or not. */ 402 405 bool fMayUseRing0Runloop; 406 # endif 403 407 404 408 /** Hypercall input/ouput page for non-EMT. */
Note:
See TracChangeset
for help on using the changeset viewer.