VirtualBox

Changeset 87213 in vbox


Ignore:
Timestamp:
Jan 11, 2021 1:29:41 PM (4 years ago)
Author:
vboxsync
Message:

iprt/asm.h,tstRTInlineAsm: Extending testcase, added a couple of missing function/macros. bugref:9898

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstRTInlineAsm.cpp

    r87212 r87213  
    14031403
    14041404#if ARCH_BITS == 32
    1405     void * volatile *ppv = (void * volatile *)pu64;
     1405    void * volatile *ppv = (void * volatile *)pu32;
    14061406    CHECK_OP_AND_VAL_EX(bool, "%d", "%p", ppv, ASMAtomicCmpXchgPtrVoid(ppv, NULL, (void *)(intptr_t)-29), false, (void *)(intptr_t)29);
    14071407    CHECK_OP_AND_VAL_EX(bool, "%d", "%p", ppv, ASMAtomicCmpXchgPtrVoid(ppv, NULL, (void *)(intptr_t)29), true, NULL);
     
    14101410
    14111411    bool fRc;
    1412     RTSEMEVENT volatile *phEvt = (RTSEMEVENT volatile *)pu64;
     1412    RTSEMEVENT volatile *phEvt = (RTSEMEVENT volatile *)pu32;
    14131413    ASMAtomicCmpXchgHandle(phEvt, (RTSEMEVENT)~(uintptr_t)0x12356389, (RTSEMEVENT)NULL, fRc);
    14141414    CHECKVAL(fRc, false, "%d");
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