VirtualBox

Ignore:
Timestamp:
Nov 23, 2018 1:19:11 PM (6 years ago)
Author:
vboxsync
Message:

VBoxNetFlt: Better assert some darwin alignment assumptions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/darwin/VBoxNetFlt-darwin.cpp

    r73097 r75687  
    10711071    }
    10721072
     1073    AssertCompileMemberAlignment(VBOXNETFLTINS, u.s.pIfNet, ARCH_BITS / 8);
     1074    AssertMsg(!((uintptr_t)&pThis->u.s.pIfNet & (ARCH_BITS / 8 - 1)), ("pThis=%p\n", pThis));
    10731075    RTSpinlockAcquire(pThis->hSpinlock);
    10741076    ASMAtomicUoWritePtr(&pThis->u.s.pIfNet, pIfNet);
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