mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 19:26:16 +00:00
[NTOSKRNL/MM]
- Fix memory type comparison in MiScanMemoryDescriptors. Spotted by Samuel Serapion svn path=/trunk/; revision=54865
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user