Changed functions RtlClearAllBits and RtlSetAllBits to use SizeOfBitMap
authorArt Yerkes <art.yerkes@gmail.com>
Sat, 25 Sep 2004 03:20:16 +0000 (03:20 +0000)
committerArt Yerkes <art.yerkes@gmail.com>
Sat, 25 Sep 2004 03:20:16 +0000 (03:20 +0000)
commit906e734ab48f47a1bfab08dc98c17e7448c0bbdf
treedc9c3d3f89baf426fc472dce6fea1d87bc1d4ca8
parent9e91360716c67f0de89a93c7b3ad07e80e198310
Changed functions RtlClearAllBits and RtlSetAllBits to use SizeOfBitMap
as the number of bits, not the number of bytes in the bitmap.  This was
making the whole page allocator in ntoskrnl/mm/npool.c crash early in
the boot process with whole page allocations on.  This may affect other
things adversely as well.

The documentation for RtlInitializeBitMap is here:
http://www.osronline.com/ddkx/kmarch/k109_5sfm.htm

svn path=/trunk/; revision=11039
reactos/lib/rtl/bitmap.c