VirtualBox

Changeset 96993 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Oct 5, 2022 7:56:57 AM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
153925
Message:

VMM/HMVMXR0: Nested VMX: bugref:10092 Fix pointer alignment for ASMBitTest too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r96991 r96993  
    10781078{
    10791079    Assert(offMsr + (iBit >> 3) <= X86_PAGE_4K_SIZE);
    1080     return ASMBitTest(pbMsrBitmap + offMsr, iBit);
     1080    return ASMBitTest(pbMsrBitmap, (offMsr << 3) + iBit);
    10811081}
    10821082#endif
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