VirtualBox

Ignore:
Timestamp:
Aug 8, 2019 12:36:57 AM (5 years ago)
Author:
vboxsync
Message:

VMM/r3: Refactored VMCPU enumeration in preparation that aCpus will be replaced with a pointer array. Removed two raw-mode offset members from the CPUM and CPUMCPU sub-structures. bugref:9217 bugref:9517

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/CPUMDbg.cpp

    r80060 r80191  
    2020*   Header Files                                                                                                                 *
    2121*********************************************************************************************************************************/
     22#define VBOX_BUGREF_9217_PART_I
    2223#define LOG_GROUP LOG_GROUP_DBGF
    2324#include <VBox/vmm/cpum.h>
     
    12501251int cpumR3DbgInit(PVM pVM)
    12511252{
    1252     for (VMCPUID iCpu = 0; iCpu < pVM->cCpus; iCpu++)
    1253     {
    1254         int rc = DBGFR3RegRegisterCpu(pVM, &pVM->aCpus[iCpu], g_aCpumRegGstDescs, true /*fGuestRegs*/);
     1253    for (VMCPUID idCpu = 0; idCpu < pVM->cCpus; idCpu++)
     1254    {
     1255        int rc = DBGFR3RegRegisterCpu(pVM, pVM->apCpusR3[idCpu], g_aCpumRegGstDescs, true /*fGuestRegs*/);
    12551256        AssertLogRelRCReturn(rc, rc);
    12561257    }
Note: See TracChangeset for help on using the changeset viewer.

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