MCPcopy Create free account
hub / github.com/Bananymous/banan-os / can_read_impl

Method can_read_impl

kernel/kernel/ACPI/BatterySystem.cpp:73–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71
72 auto [method_path, method_ref] = TRY(m_acpi_namespace.find_named_object(m_battery_path, m_method_name));
73 if (method_ref == nullptr)
74 return BAN::Error::from_errno(EFAULT);
75
76 auto result = TRY(AML::method_call(method_path, method_ref->node, BAN::Array<AML::Reference*, 7>{}));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected