Stanislav Shwartsman eda28b95f4 unfortunately this change is rquired to make SMAP and SMEP features to work.
I observed ~5% emulation slowdown ... thinking about possible mitigations

this fixes TLB issue with SMAP and SMEP features.
these features introduce a new behavior when page can be inaccessible by System (CPL=0).
Current behavior is accessBits was not supporting it but legacy (from Bochs 2.3.6) was.
The wrong behavior can be observed if user access a user page and system access the same page later.
user access is fine and pass SMEP/SMA checks and stores the translation in TLB.
the system access will hit the TLB and nobody could detect that system cannot access that page.
2013-01-16 17:28:20 +00:00
..
2012-11-27 15:40:45 +00:00
2012-12-09 16:42:48 +00:00
2012-12-11 21:01:05 +00:00
2012-09-21 14:56:56 +00:00
2012-09-21 14:56:56 +00:00
2012-09-21 14:56:56 +00:00
2013-01-14 17:02:51 +00:00
2012-12-11 21:01:05 +00:00
2012-10-01 18:19:09 +00:00
2012-11-27 15:40:45 +00:00
2012-08-09 13:11:25 +00:00
2012-11-27 15:40:45 +00:00
2012-12-09 16:42:48 +00:00
2012-11-05 06:41:10 +00:00