VirtualBox

Changeset 59179 in vbox for trunk/src/VBox/Additions/common


Ignore:
Timestamp:
Dec 18, 2015 8:51:00 AM (9 years ago)
Author:
vboxsync
Message:

Additions: ASMCompilerBarrier for HGSMI IO port writes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxVideo/HGSMIBase.cpp

    r56378 r59179  
    170170        /* Submit the buffer to the host. */
    171171        VBoxVideoCmnPortWriteUlong(pCtx->port, offBuffer);
     172        /* Make the compiler aware that the host has changed memory. */
     173        ASMCompilerBarrier();
    172174        return VINF_SUCCESS;
    173175    }
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