VirtualBox

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


Ignore:
Timestamp:
Aug 31, 2020 11:42:54 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
140159
Message:

VMM/APIC: Added a CFGM hack to work around a macOS x2APIC bug.

File:
1 edited

Legend:

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

    r84652 r85964  
    940940    /** Whether Hyper-V x2APIC compatibility mode is enabled. */
    941941    bool                        fHyperVCompatMode;
    942     /** Alignment padding. */
    943     bool                        afAlignment[1];
     942    /** Enable horrible macOS workaround where the ID register has the value
     943     * shifted up 24 bits to be compatible with buggy code in
     944     * i386_init.c/vstart().  Only applied if we're in typical macOS 64-bit
     945     * kernel load area and macOS kernel selector value (8), as we must not ever
     946     * apply this to the EFI code. */
     947    bool                        fMacOSWorkaround;
    944948    /** The max supported APIC mode from CFGM.  */
    945949    PDMAPICMODE                 enmMaxMode;
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