mirror of
https://github.com/reactos/reactos.git
synced 2025-04-18 03:34:11 +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++;
|
||||
|
||||
/* Check if this is invisible memory */
|
||||
if ((Descriptor->MemoryType == LoaderFirmwarePermanent) &&
|
||||
(Descriptor->MemoryType == LoaderSpecialMemory) &&
|
||||
(Descriptor->MemoryType == LoaderHALCachedMemory) &&
|
||||
if ((Descriptor->MemoryType == LoaderFirmwarePermanent) ||
|
||||
(Descriptor->MemoryType == LoaderSpecialMemory) ||
|
||||
(Descriptor->MemoryType == LoaderHALCachedMemory) ||
|
||||
(Descriptor->MemoryType == LoaderBBTMemory))
|
||||
{
|
||||
/* Skip this descriptor */
|
||||
|
|
Loading…
Reference in a new issue