From a57c34c75ceeea668edd746e2f56c1eb6c7ee448 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Mon, 22 Sep 2014 22:46:10 +0000 Subject: [PATCH 1/1] [KSECDD] CORE-8542 #comment Disable read of performance counters until it has been investigated, what the exact CPU requirements are and how we can detect them. This will only lower the amount "random" entropy data, nothing severe. Should fix bugcheck on qemu. svn path=/trunk/; revision=64234 --- reactos/drivers/crypto/ksecdd/random.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/drivers/crypto/ksecdd/random.c b/reactos/drivers/crypto/ksecdd/random.c index 6e5a795fad3..0dc1b59cfce 100644 --- a/reactos/drivers/crypto/ksecdd/random.c +++ b/reactos/drivers/crypto/ksecdd/random.c @@ -63,7 +63,7 @@ KsecReadMachineSpecificCounters( /* Read the TSC value */ MachineSpecificCounters->Tsc = __rdtsc(); } - +#if 0 // FIXME: investigate what the requirements are for these /* Read the CPU event counter MSRs */ //MachineSpecificCounters->Ctr0 = __readmsr(0x12); //MachineSpecificCounters->Ctr1 = __readmsr(0x13); @@ -75,6 +75,7 @@ KsecReadMachineSpecificCounters( MachineSpecificCounters->Pmc0 = __readpmc(0); MachineSpecificCounters->Pmc1 = __readpmc(1); } +#endif #else #error Implement me! #endif -- 2.17.1