VirtualBox

Changeset 86177 in vbox for trunk/include/iprt/nt


Ignore:
Timestamp:
Sep 19, 2020 4:06:57 PM (4 years ago)
Author:
vboxsync
Message:

Revert r140428 for now (Runtime/mp-r0drv-nt.cpp: Dynamically determine the size of the KAFFINITY_EX structure as it is not static across Windows versions (increased lately with W10 20H2) )

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/nt/nt.h

    r86176 r86177  
    607607    /** Reserved / aligmment padding. */
    608608    uint32_t                Reserved;
    609     /** Bitmap where one bit corresponds to a CPU.
    610      * @note Started at 20 entries.  W10 20H2 increased it to 32.  Must be
    611      *       probed by passing a big buffer to KeInitializeAffinityEx and check
    612      *       the Size afterwards. */
    613     uintptr_t               Bitmap[RT_FLEXIBLE_ARRAY_IN_NESTED_UNION];
     609    /** Bitmap where one bit corresponds to a CPU. */
     610    uintptr_t               Bitmap[20];
    614611} KAFFINITY_EX;
    615612typedef KAFFINITY_EX *PKAFFINITY_EX;
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