Author: jgardou
Date: Tue Sep 23 11:32:50 2014
New Revision: 64237
URL: http://svn.reactos.org/svn/reactos?rev=64237&view=rev
Log:
[NTDLL/LDR]
- Mark module entries as "load in progress" when pinning them.
CORE-7819 #comment Committed, as a lot of applications rely on this. Feel free to revert if you feel the change is not correct.
Modified:
trunk/reactos/dll/ntdll/ldr/ldrutils.c
Modified: trunk/reactos/dll/ntdll/ldr/ldrutils.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/ntdll/ldr/ldrutils.c?r…
==============================================================================
--- trunk/reactos/dll/ntdll/ldr/ldrutils.c [iso-8859-1] (original)
+++ trunk/reactos/dll/ntdll/ldr/ldrutils.c [iso-8859-1] Tue Sep 23 11:32:50 2014
@@ -235,7 +235,7 @@
ULONG i;
/* Check the action we need to perform */
- if (Flags == LDRP_UPDATE_REFCOUNT)
+ if ((Flags == LDRP_UPDATE_REFCOUNT) || (Flags == LDRP_UPDATE_PIN))
{
/* Make sure entry is not being loaded already */
if (LdrEntry->Flags & LDRP_LOAD_IN_PROGRESS)
Author: tkreuzer
Date: Mon Sep 22 22:46:10 2014
New Revision: 64234
URL: http://svn.reactos.org/svn/reactos?rev=64234&view=rev
Log:
[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.
Modified:
trunk/reactos/drivers/crypto/ksecdd/random.c
Modified: trunk/reactos/drivers/crypto/ksecdd/random.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/crypto/ksecdd/rand…
==============================================================================
--- trunk/reactos/drivers/crypto/ksecdd/random.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/crypto/ksecdd/random.c [iso-8859-1] Mon Sep 22 22:46:10 2014
@@ -63,7 +63,7 @@
/* 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 @@
MachineSpecificCounters->Pmc0 = __readpmc(0);
MachineSpecificCounters->Pmc1 = __readpmc(1);
}
+#endif
#else
#error Implement me!
#endif