VirtualBox

Ignore:
Timestamp:
Oct 1, 2019 7:29:03 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
133707
Message:

IPRT,SUP,*: Increased RTCPUSET_MAX_CPUS to 1024 for AMD64, except for darwin, and reduced the OS/2 CPU count to 64. Implies GIP and SUPDrv version bump. bugref:9501

Location:
trunk/src/VBox/HostDrivers/Support
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPDrvGip.cpp

    r81075 r81096  
    19391939     */
    19401940    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)));
    19481944        return VERR_TOO_MANY_CPUS;
    19491945    }
  • trunk/src/VBox/HostDrivers/Support/SUPDrvIOC.h

    r81071 r81096  
    223223 *          - Move SUP_IOCTL_FAST_DO_NOP and SUP_VMMR0_DO_NEM_RUN after NEM.
    224224 */
    225 #define SUPDRV_IOC_VERSION                              0x002b0000
     225#define SUPDRV_IOC_VERSION                              0x002c0000
    226226
    227227/** SUP_IOCTL_COOKIE. */
  • trunk/src/VBox/HostDrivers/Support/testcase/tstGIP-2.cpp

    r76553 r81096  
    131131                SUPR3GipSetFlags(SUPGIP_FLAGS_TESTING_ENABLE, UINT32_MAX);
    132132
    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",
    134134                     g_pSUPGlobalInfoPage->u32Mode,
    135135                     SUPGetGIPModeName(g_pSUPGlobalInfoPage),
    136136                     fTestMode,
    137137                     g_pSUPGlobalInfoPage->u32Version,
    138                      g_pSUPGlobalInfoPage->fGetGipCpu);
     138                     g_pSUPGlobalInfoPage->fGetGipCpu,
     139                     g_pSUPGlobalInfoPage->cPages);
    139140            RTPrintf("tstGIP-2: cCpus=%d  cPossibleCpus=%d cPossibleCpuGroups=%d cPresentCpus=%d cOnlineCpus=%d idCpuMax=%#x\n",
    140141                     g_pSUPGlobalInfoPage->cCpus,
Note: See TracChangeset for help on using the changeset viewer.

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