VirtualBox

Changeset 107700 in vbox for trunk/src/VBox/VMM/include


Ignore:
Timestamp:
Jan 10, 2025 8:02:30 PM (4 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
166795
Message:

VMM/CPUM,++: Made the HostFeatures match the host when targeting x86 guests on arm64 hosts. Merged and deduplicated code targeting x86 & amd64. [build fix] jiraref:VBP-1470

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/CPUMInternal.h

    r107650 r107700  
    528528     *  when loading state, so we won't save it.) */
    529529    bool                    fCpuIdApicFeatureVisible;
    530     uint8_t                 abPadding[7];
     530    uint8_t                 abPadding[7+8];
    531531
    532532    /** Old hypervisor context, only used for combined DRx values now.
  • trunk/src/VBox/VMM/include/CPUMInternal.mac

    r107650 r107700  
    376376    ; Hypervisor Context.
    377377    ;
    378     alignb 8
     378    alignb 16 ; linux makes the whole struct 16 byte aligned, so we provided the necessary padding here to keep it simple.
    379379    .Hyper                      resq    0
    380380    .Hyper.dr                   resq    8
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