[ros-diffs] [ion] 24428: - Fix calls to HvInitializeHive due to my last patch. Proof that Fireball doesn't properly test his commits... I broke Freeldr building before his commit, yet he commited it anyway even though freeldr couldn't build ; ). Just kidding.

ion at svn.reactos.org ion at svn.reactos.org
Sat Oct 7 18:37:15 CEST 2006


Author: ion
Date: Sat Oct  7 00:52:50 2006
New Revision: 24428

URL: http://svn.reactos.org/svn/reactos?rev=24428&view=rev
Log:
- Fix calls to HvInitializeHive due to my last patch. Proof that Fireball doesn't properly test his commits... I broke Freeldr building before his commit, yet he commited it anyway even though freeldr couldn't build ;). Just kidding.

Modified:
    trunk/reactos/boot/freeldr/freeldr/reactos/binhive.c

Modified: trunk/reactos/boot/freeldr/freeldr/reactos/binhive.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/reactos/binhive.c?rev=24428&r1=24427&r2=24428&view=diff
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/reactos/binhive.c (original)
+++ trunk/reactos/boot/freeldr/freeldr/reactos/binhive.c Sat Oct  7 00:52:50 2006
@@ -28,6 +28,7 @@
 /* FUNCTIONS ****************************************************************/
 
 static PVOID
+NTAPI
 CmpAllocate (ULONG Size, BOOLEAN Paged)
 {
   return MmAllocateMemory(Size);
@@ -35,6 +36,7 @@
 
 
 static VOID
+NTAPI
 CmpFree (PVOID Ptr)
 {
   return MmFreeMemory(Ptr);
@@ -714,7 +716,7 @@
   DbgPrint((DPRINT_REGISTRY, "RegImportBinaryHive(%x, %u) called\n",ChunkBase,ChunkSize));
 
   CmHive = CmpAllocate(sizeof(EREGISTRY_HIVE), TRUE);
-  Status = HvInitialize (&CmHive->Hive, HV_OPERATION_MEMORY_INPLACE,
+  Status = HvInitialize (&CmHive->Hive, HV_OPERATION_MEMORY_INPLACE, 0, 0,
                          (ULONG_PTR)ChunkBase, 0,
                          CmpAllocate, CmpFree,
                          NULL, NULL, NULL, NULL, NULL);
@@ -813,7 +815,7 @@
   DbgPrint((DPRINT_REGISTRY, "Creating binary hardware hive\n"));
 
   CmHive = CmpAllocate(sizeof(EREGISTRY_HIVE), TRUE);
-  Status = HvInitialize (&CmHive->Hive, HV_OPERATION_CREATE_HIVE, 0, 0,
+  Status = HvInitialize (&CmHive->Hive, HV_OPERATION_CREATE_HIVE, 0, 0, 0, 0,
                          CmpAllocate, CmpFree,
                          NULL, NULL, NULL, NULL, NULL);
   Hive = &CmHive->Hive;




More information about the Ros-diffs mailing list