VirtualBox

Changeset 92856 in vbox


Ignore:
Timestamp:
Dec 9, 2021 9:57:32 PM (3 years ago)
Author:
vboxsync
Message:

/Config.kmk: Define WIN9X_COMPAT_SPINLOCK for win.amd64 too as according to https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/nf-wdm-keinitializespinlock KeInitializeSpinLock stopped being inlined in the Windows 8 WDK and became an ntoskrnl export, the WIN9X_COMPAT_SPINLOCK forces it to stay inline and resulting binaries work on windows 7 and older.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r92803 r92856  
    49794979 TEMPLATE_VBOXR0DRV_DEFS.x86          += WIN9X_COMPAT_SPINLOCK     # Avoid multiply defined _KeInitializeSpinLock@4
    49804980 TEMPLATE_VBOXR0DRV_DEFS.amd64         = _AMD64_
     4981 TEMPLATE_VBOXR0DRV_DEFS.amd64        += WIN9X_COMPAT_SPINLOCK     # For Windows 8+ WDKs where it is no longer inlined but imported from ntoskrnl.
    49814982 TEMPLATE_VBOXR0DRV_DEFS.win           = IPRT_NT_MAP_TO_ZW
    49824983 TEMPLATE_VBOXR0DRV_CXXFLAGS           = -Zi -Zl -GR- -EHs- -GF -Gz -GS- -Zc:wchar_t- $(VBOX_VCC_FP) -Gs4096 $(VBOX_VCC_OPT) \
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