Commit in reactos/hal/halx86 on MAIN
adapter.c+3-31.13 -> 1.14
- Fix call to RtlInitializeBitMap (spotted and debugged by Arty).

reactos/hal/halx86
adapter.c 1.13 -> 1.14
diff -u -r1.13 -r1.14
--- adapter.c	21 Nov 2004 21:53:06 -0000	1.13
+++ adapter.c	24 Nov 2004 17:54:38 -0000	1.14
@@ -1,4 +1,4 @@
-/* $Id: adapter.c,v 1.13 2004/11/21 21:53:06 ion Exp $
+/* $Id: adapter.c,v 1.14 2004/11/24 17:54:38 navaraf Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS kernel
@@ -273,8 +273,8 @@
 		
 		/* Set up Bitmap */
 		RtlInitializeBitMap(AdapterObject->MapRegisters,
-				    (PULONG)(AdapterObject->MapRegisters + sizeof(RTL_BITMAP)),
-				    64);
+				    (PULONG)(AdapterObject->MapRegisters + 1),
+				    AllowedMapRegisters);
 				    
 		/* Reset the Bitmap */	
 		RtlSetAllBits(AdapterObject->MapRegisters);
CVSspam 0.2.8