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/PDMDevMiscHlp.cpp

    r78208 r80191  
    2020*   Header Files                                                                                                                 *
    2121*********************************************************************************************************************************/
     22#define VBOX_BUGREF_9217_PART_I
    2223#define LOG_GROUP LOG_GROUP_PDM_DEVICE
    2324#include "PDMInternal.h"
     
    5354    PDMDEV_ASSERT_DEVINS(pDevIns);
    5455    PVM    pVM = pDevIns->Internal.s.pVMR3;
    55     PVMCPU pVCpu = &pVM->aCpus[0];  /* for PIC we always deliver to CPU 0, MP use APIC */
     56    PVMCPU pVCpu = pVM->apCpusR3[0];  /* for PIC we always deliver to CPU 0, MP use APIC */
    5657
    5758    /* IRQ state should be loaded as-is by "LoadExec". Changes can be made from LoadDone. */
     
    6768    PDMDEV_ASSERT_DEVINS(pDevIns);
    6869    PVM pVM = pDevIns->Internal.s.pVMR3;
    69     PVMCPU pVCpu = &pVM->aCpus[0];  /* for PIC we always deliver to CPU 0, MP use APIC */
     70    PVMCPU pVCpu = pVM->apCpusR3[0];  /* for PIC we always deliver to CPU 0, MP use APIC */
    7071
    7172    /* IRQ state should be loaded as-is by "LoadExec". Changes can be made from LoadDone. */
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