VirtualBox

Changeset 55690 in vbox


Ignore:
Timestamp:
May 6, 2015 10:55:27 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
100092
Message:

x86.h: PKE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/x86.h

    r55456 r55690  
    823823/** Bit 21 - SMAP - Supervisor-mode Access Prevention enabled. */
    824824#define X86_CR4_SMAP                        RT_BIT(21)
     825/** Bit 22 - PKE - Protection Key Enable. */
     826#define X86_CR4_PKE                         RT_BIT(22)
    825827/** @} */
    826828
     
    28322834/** Bit 7 - Hi16_ZMM - 512-bits ZMM16-31 state (AVX-512). */
    28332835#define XSAVE_C_ZMM_16HI        RT_BIT_64(XSAVE_C_ZMM_16HI_BIT)
     2836/** Bit 9 - PKRU - Protection-key state (bit number). */
     2837#define XSAVE_C_PKRU_BIT        9
     2838/** Bit 9 - PKRU - Protection-key state. */
     2839#define XSAVE_C_PKRU            RT_BIT_64(XSAVE_C_PKRU_BIT)
    28342840/** Bit 62 - LWP - Lightweight Profiling (AMD) (bit number). */
    28352841#define XSAVE_C_LWP_BIT         62
     
    37383744/** Bit 4 - I/D - Instruction fetch (set) / Data access (clear) - PAE + NXE. */
    37393745#define X86_TRAP_PF_ID              RT_BIT(4)
     3746/** Bit 5 - PK - Protection-key violation (AMD64 mode only). */
     3747#define X86_TRAP_PF_PK              RT_BIT(5)
    37403748/** @} */
    37413749
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