mirror of
https://github.com/reactos/reactos.git
synced 2025-04-21 12:40:33 +00:00
[NTOSKRNL/MM]
- Fix memory type comparison in MiScanMemoryDescriptors. Spotted by Samuel Serapion svn path=/trunk/; revision=54865
This commit is contained in:
parent
d70e186df5
commit
f2d3731646
1 changed files with 3 additions and 3 deletions
|
@ -397,9 +397,9 @@ MiScanMemoryDescriptors(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
|
||||||
MiNumberDescriptors++;
|
MiNumberDescriptors++;
|
||||||
|
|
||||||
/* Check if this is invisible memory */
|
/* Check if this is invisible memory */
|
||||||
if ((Descriptor->MemoryType == LoaderFirmwarePermanent) &&
|
if ((Descriptor->MemoryType == LoaderFirmwarePermanent) ||
|
||||||
(Descriptor->MemoryType == LoaderSpecialMemory) &&
|
(Descriptor->MemoryType == LoaderSpecialMemory) ||
|
||||||
(Descriptor->MemoryType == LoaderHALCachedMemory) &&
|
(Descriptor->MemoryType == LoaderHALCachedMemory) ||
|
||||||
(Descriptor->MemoryType == LoaderBBTMemory))
|
(Descriptor->MemoryType == LoaderBBTMemory))
|
||||||
{
|
{
|
||||||
/* Skip this descriptor */
|
/* Skip this descriptor */
|
||||||
|
|
Loading…
Reference in a new issue