[freeldr] When creating a component, provide at the same time its configuration data
authorHervé Poussineau <hpoussin@reactos.org>
Sun, 23 Aug 2009 08:34:20 +0000 (08:34 +0000)
committerHervé Poussineau <hpoussin@reactos.org>
Sun, 23 Aug 2009 08:34:20 +0000 (08:34 +0000)
svn path=/trunk/; revision=42875

reactos/boot/freeldr/freeldr/include/arch/amd64/hardware.h
reactos/boot/freeldr/freeldr/include/arch/arm/hardware.h
reactos/boot/freeldr/freeldr/include/arch/i386/hardware.h
reactos/boot/freeldr/freeldr/include/arch/powerpc/hardware.h

index 7814eff..9c6c41c 100644 (file)
@@ -54,18 +54,11 @@ FldrCreateComponentKey(
     IN ULONG Key,
     IN ULONG Affinity,
     IN PCHAR IdentifierString,
-    OUT PCONFIGURATION_COMPONENT_DATA *ComponentKey
-);
-
-VOID
-NTAPI
-FldrSetConfigurationData(
-    IN PCONFIGURATION_COMPONENT_DATA ComponentKey,
     IN PCM_PARTIAL_RESOURCE_LIST ResourceList,
-    IN ULONG Size
+    IN ULONG Size,
+    OUT PCONFIGURATION_COMPONENT_DATA *ComponentKey
 );
 
-
 /* PROTOTYPES ***************************************************************/
 
 /* hardware.c */
index 2f3c9bb..549eefe 100644 (file)
@@ -74,15 +74,9 @@ FldrCreateComponentKey(
     IN ULONG Key,
     IN ULONG Affinity,
     IN PCHAR IdentifierString,
-    OUT PCONFIGURATION_COMPONENT_DATA *ComponentKey
-);
-
-VOID
-NTAPI
-FldrSetConfigurationData(
-    IN PCONFIGURATION_COMPONENT_DATA ComponentKey,
     IN PCM_PARTIAL_RESOURCE_LIST ResourceList,
-    IN ULONG Size
+    IN ULONG Size,
+    OUT PCONFIGURATION_COMPONENT_DATA *ComponentKey
 );
 
 VOID
index d0b8e18..314cd63 100644 (file)
@@ -54,18 +54,11 @@ FldrCreateComponentKey(
     IN ULONG Key,
     IN ULONG Affinity,
     IN PCHAR IdentifierString,
-    OUT PCONFIGURATION_COMPONENT_DATA *ComponentKey
-);
-
-VOID
-NTAPI
-FldrSetConfigurationData(
-    IN PCONFIGURATION_COMPONENT_DATA ComponentKey,
     IN PCM_PARTIAL_RESOURCE_LIST ResourceList,
-    IN ULONG Size
+    IN ULONG Size,
+    OUT PCONFIGURATION_COMPONENT_DATA *ComponentKey
 );
 
-
 /* PROTOTYPES ***************************************************************/
 
 /* hardware.c */
index 7fa5d06..9d9c229 100644 (file)
@@ -53,18 +53,11 @@ FldrCreateComponentKey(
     IN ULONG Key,
     IN ULONG Affinity,
     IN PCHAR IdentifierString,
-    OUT PCONFIGURATION_COMPONENT_DATA *ComponentKey
-);
-
-VOID
-NTAPI
-FldrSetConfigurationData(
-    IN PCONFIGURATION_COMPONENT_DATA ComponentKey,
     IN PCM_PARTIAL_RESOURCE_LIST ResourceList,
-    IN ULONG Size
+    IN ULONG Size,
+    OUT PCONFIGURATION_COMPONENT_DATA *ComponentKey
 );
 
-
 /* PROTOTYPES ***************************************************************/
 
 /* hardware.c */