flush tlb also when cr4.smap changes
This commit is contained in:
parent
a8068812df
commit
c96f5e27a9
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user