[COMPBATT] Add inf entry. CORE-18167
authorThomas Faber <thomas.faber@reactos.org>
Sat, 21 Jan 2023 04:58:18 +0000 (23:58 -0500)
committerThomas Faber <thomas.faber@reactos.org>
Sat, 21 Jan 2023 05:10:06 +0000 (00:10 -0500)
drivers/bus/acpi/acpi.inf

index b1b9476..7fcafbf 100644 (file)
@@ -19,6 +19,7 @@ DefaultDestDir = 12
 
 [GenericMfg]
 %*PNP0C08.DeviceDesc% = ACPI_Inst,*PNP0C08
+%COMPOSITE_BATTERY.DeviceDesc% = CompBatt_Inst,COMPOSITE_BATTERY
 
 ;------------------------------ ACPI DRIVER -----------------------------
 
@@ -38,6 +39,24 @@ ErrorControl  = 1
 ServiceBinary = %12%\acpi.sys
 LoadOrderGroup = Boot Bus Extender
 
+;---------------------------- COMPBATT DRIVER ---------------------------
+
+[CompBatt_Inst.NT]
+CopyFiles = CompBatt_CopyFiles.NT
+
+[CompBatt_CopyFiles.NT]
+compbatt.sys
+
+[CompBatt_Inst.NT.Services]
+AddService = compbatt, 0x00000002, compbatt_Service_Inst
+
+[compbatt_Service_Inst]
+ServiceType   = 1
+StartType     = 0
+ErrorControl  = 1
+ServiceBinary = %12%\compbatt.sys
+LoadOrderGroup = System Bus Extender
+
 ;-------------------------------- STRINGS -------------------------------
 
 [Strings]
@@ -47,6 +66,7 @@ ReactOS = "ReactOS Project"
 ; Localizable
 GenericMfg = "(Generic system devices)"
 *PNP0C08.DeviceDesc = "ACPI hardware"
+COMPOSITE_BATTERY.DeviceDesc = "Composite battery"
 
 [Strings.0405]
 GenericMfg = "(Generická systémová zařízení)"