Changeset 81096 in vbox for trunk/src/VBox/HostDrivers/Support
- Timestamp:
- Oct 1, 2019 7:29:03 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 133707
- Location:
- trunk/src/VBox/HostDrivers/Support
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDrvGip.cpp
r81075 r81096 1939 1939 */ 1940 1940 cCpus = RTMpGetArraySize(); 1941 if ( cCpus > RTCPUSET_MAX_CPUS 1942 #if RTCPUSET_MAX_CPUS != 256 1943 || cCpus > 256 /* ApicId is used for the mappings */ 1944 #endif 1945 ) 1946 { 1947 SUPR0Printf("VBoxDrv: Too many CPUs (%u) for the GIP (max %u)\n", cCpus, RT_MIN(RTCPUSET_MAX_CPUS, 256)); 1941 if (cCpus > RT_MIN(RTCPUSET_MAX_CPUS, RT_ELEMENTS(pGip->aiCpuFromApicId))) 1942 { 1943 SUPR0Printf("VBoxDrv: Too many CPUs (%u) for the GIP (max %u)\n", cCpus, RT_MIN(RTCPUSET_MAX_CPUS, RT_ELEMENTS(pGip->aiCpuFromApicId))); 1948 1944 return VERR_TOO_MANY_CPUS; 1949 1945 } -
trunk/src/VBox/HostDrivers/Support/SUPDrvIOC.h
r81071 r81096 223 223 * - Move SUP_IOCTL_FAST_DO_NOP and SUP_VMMR0_DO_NEM_RUN after NEM. 224 224 */ 225 #define SUPDRV_IOC_VERSION 0x002 b0000225 #define SUPDRV_IOC_VERSION 0x002c0000 226 226 227 227 /** SUP_IOCTL_COOKIE. */ -
trunk/src/VBox/HostDrivers/Support/testcase/tstGIP-2.cpp
r76553 r81096 131 131 SUPR3GipSetFlags(SUPGIP_FLAGS_TESTING_ENABLE, UINT32_MAX); 132 132 133 RTPrintf("tstGIP-2: u32Mode=%d (%s) fTestMode=%RTbool u32Version=%#x fGetGipCpu=%#RX32 \n",133 RTPrintf("tstGIP-2: u32Mode=%d (%s) fTestMode=%RTbool u32Version=%#x fGetGipCpu=%#RX32 cPages=%#RX32\n", 134 134 g_pSUPGlobalInfoPage->u32Mode, 135 135 SUPGetGIPModeName(g_pSUPGlobalInfoPage), 136 136 fTestMode, 137 137 g_pSUPGlobalInfoPage->u32Version, 138 g_pSUPGlobalInfoPage->fGetGipCpu); 138 g_pSUPGlobalInfoPage->fGetGipCpu, 139 g_pSUPGlobalInfoPage->cPages); 139 140 RTPrintf("tstGIP-2: cCpus=%d cPossibleCpus=%d cPossibleCpuGroups=%d cPresentCpus=%d cOnlineCpus=%d idCpuMax=%#x\n", 140 141 g_pSUPGlobalInfoPage->cCpus,
Note:
See TracChangeset
for help on using the changeset viewer.