littlekernel / lk

LK embedded kernel
MIT License
3.14k stars 615 forks source link

Bug fix on SMAP/SMEP detection and float test. #188

Closed AjanZhong closed 7 years ago

AjanZhong commented 7 years ago

Hi Travisg, There is an bug on x86 architecture code: SMAP/SMEP detection, SMAP is bit 7 and SMEP is bit 20 while invoking CPU with subleaf 07H. To float test case, since test case updated, test results for each thread should not similar now. Array of expected test result added to help check whether test result for each thread is correct.

AjanZhong commented 7 years ago

Delete this request first.