VirtualBox

Changeset 57313 in vbox for trunk/src/VBox/Runtime/r0drv


Ignore:
Timestamp:
Aug 13, 2015 10:16:46 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
102075
Message:

IPRT,SUPDrv: More work on preserving certain EFLAGS for CONFIG_X86_SMAP.

File:
1 edited

Legend:

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

    r57276 r57313  
    383383 * restoring flags.
    384384 * @{ */
     385# define IPRT_X86_EFL_AC                    RT_BIT(18)
    385386#ifdef CONFIG_X86_SMAP
    386387# include <iprt/asm-amd64-x86.h>
    387 # define IPRT_X86_EFL_AC                    RT_BIT(18)
     388#endif
     389#if defined(CONFIG_X86_SMAP) || defined(RT_STRICT) || defined(IPRT_WITH_EFLAGS_AC_PRESERVING)
    388390# define IPRT_LINUX_SAVE_EFL_AC()           RTCCUINTREG fSavedEfl = ASMGetFlags()
    389391# define IPRT_LINUX_RESTORE_EFL_AC()        ASMSetFlags(fSavedEfl)
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