2 == MEMORY_PRIORITY_FOREGROUND

0 == MEMORY_PRIORITY_BACKGROUND

svn path=/trunk/; revision=41385
This commit is contained in:
Dmitry Chapyshev 2009-06-11 15:37:43 +00:00
parent bdee30aee5
commit d44cbb4ee0

View file

@ -201,13 +201,13 @@ PspComputeQuantumAndPriority(IN PEPROCESS Process,
if (Mode == PsProcessPriorityForeground)
{
/* Set the memory priority and use priority separation */
MemoryPriority = 2;
MemoryPriority = MEMORY_PRIORITY_FOREGROUND;
i = PsPrioritySeparation;
}
else
{
/* Set the background memory priority and no separation */
MemoryPriority = 0;
MemoryPriority = MEMORY_PRIORITY_BACKGROUND;
i = 0;
}