Disable RDRand in CPUID

This commit is contained in:
Ryan Houdek authored and Stefanos Kornilios Mitsis Poiitidis committed 2020-03-06 07:56:15 +02:00
1 parent 7ade645af2
commit d2bfb39b54
1 file changed
+2 -1
+2 -1
View File
@@ -34,7 +34,8 @@ CPUIDEmu::FunctionResults CPUIDEmu::Function_01h() {
(3 << 26) | // Let's say that XSAVE isn't enabled by the OS. Prevents glibc from using XSAVE/XGETBV
(1 << 19) | // Remove SSE4.1
(1 << 20) | // Remove SSE4.2
(1 << 28) // Remove AVX
(1 << 28) | // Remove AVX
(1 << 30) // Remove RDRAND
);
return Res;