https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d3a718eb01b47b8a6f3cd…
commit d3a718eb01b47b8a6f3cdc2460c8ebb9dcf7c723
Author: Thomas Faber <thomas.faber(a)reactos.org>
AuthorDate: Fri Jan 20 23:58:18 2023 -0500
Commit: Thomas Faber <thomas.faber(a)reactos.org>
CommitDate: Sat Jan 21 00:10:06 2023 -0500
[COMPBATT] Add inf entry. CORE-18167
---
drivers/bus/acpi/acpi.inf | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/drivers/bus/acpi/acpi.inf b/drivers/bus/acpi/acpi.inf
index b1b94764d30..7fcafbfa630 100644
--- a/drivers/bus/acpi/acpi.inf
+++ b/drivers/bus/acpi/acpi.inf
@@ -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í)"