flush tlb also when cr4.smap changes

This commit is contained in:
Stanislav Shwartsman 2013-01-14 17:02:51 +00:00
parent a8068812df
commit c96f5e27a9

View File

@ -138,7 +138,7 @@ struct bx_cr4_t {
};
#define BX_CR4_FLUSH_TLB_MASK \
(BX_CR4_PSE_MASK | BX_CR4_PAE_MASK | BX_CR4_PGE_MASK | BX_CR4_PCIDE_MASK | BX_CR4_SMEP_MASK)
(BX_CR4_PSE_MASK | BX_CR4_PAE_MASK | BX_CR4_PGE_MASK | BX_CR4_PCIDE_MASK | BX_CR4_SMEP_MASK | BX_CR4_SMAP_MASK)
#endif // #if BX_CPU_LEVEL >= 5