VirtualBox

Ignore:
Timestamp:
Aug 13, 2015 1:26:00 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
102085
Message:

the-linux-kernel.h: Use ASMChangeFlags for IPRT_LINUX_RESTORE_EFL_ONLY_AC.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h

    r57318 r57323  
    388388# define IPRT_LINUX_SAVE_EFL_AC()           RTCCUINTREG fSavedEfl = ASMGetFlags()
    389389# define IPRT_LINUX_RESTORE_EFL_AC()        ASMSetFlags(fSavedEfl)
    390 # define IPRT_LINUX_RESTORE_EFL_ONLY_AC()   ASMSetFlags((ASMGetFlags() & ~IPRT_X86_EFL_AC) | (fSavedEfl & IPRT_X86_EFL_AC))
     390# define IPRT_LINUX_RESTORE_EFL_ONLY_AC()   ASMChangeFlags(~IPRT_X86_EFL_AC, fSavedEfl & IPRT_X86_EFL_AC)
    391391#else
    392392# define IPRT_LINUX_SAVE_EFL_AC()           do { } while (0)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette