VirtualBox

Changeset 80191 in vbox for trunk/src/VBox/VMM/testcase


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

Location:
trunk/src/VBox/VMM/testcase
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/testcase/tstVMStruct.h

    r80080 r80191  
    2727
    2828    GEN_CHECK_SIZE(CPUM);    // has .mac
    29     GEN_CHECK_OFF(CPUM, offCPUMCPU0);
    3029    GEN_CHECK_OFF(CPUM, fHostUseFlags);
    3130    GEN_CHECK_OFF(CPUM, CR4);
     
    4948    GEN_CHECK_OFF(CPUMCPU, fUseFlags);
    5049    GEN_CHECK_OFF(CPUMCPU, fChanged);
    51     GEN_CHECK_OFF(CPUMCPU, offCPUM);
    5250    GEN_CHECK_OFF(CPUMCPU, u32RetCode);
    5351#ifdef VBOX_WITH_VMMR0_DISABLE_LAPIC_NMI
  • trunk/src/VBox/VMM/testcase/tstVMStructSize.cpp

    r80181 r80191  
    232232    CHECK_PADDING_VM(8, cfgm);
    233233    CHECK_PADDING_VM(8, apic);
     234    PRINT_OFFSET(VM, cfgm);
     235    PRINT_OFFSET(VM, apCpusR3);
    234236
    235237    PRINT_OFFSET(VMCPU, cpum);
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