Kernel: Cleanup AML debug dump output
This commit is contained in:
@@ -33,8 +33,10 @@ namespace Kernel::ACPI
|
||||
void AML::Name::debug_print(int indent) const
|
||||
{
|
||||
AML_DEBUG_PRINT_INDENT(indent);
|
||||
AML_DEBUG_PRINT("Name {} { ", name);
|
||||
object->debug_print(0);
|
||||
AML_DEBUG_PRINTLN("Name {} { ", name);
|
||||
object->debug_print(indent + 1);
|
||||
AML_DEBUG_PRINTLN("");
|
||||
AML_DEBUG_PRINT_INDENT(indent);
|
||||
AML_DEBUG_PRINT("}");
|
||||
}
|
||||
|
||||
|
||||
@@ -28,11 +28,10 @@ namespace Kernel::ACPI
|
||||
LockGuard _(m_object_mutex);
|
||||
AML_DEBUG_PRINT_INDENT(indent);
|
||||
AML_DEBUG_PRINTLN("Namespace {} {", name);
|
||||
for (auto& [path, child] : m_objects)
|
||||
{
|
||||
for_each_child(scope, [&](const auto&, const auto& child) {
|
||||
child->debug_print(indent + 1);
|
||||
AML_DEBUG_PRINTLN("");
|
||||
}
|
||||
});
|
||||
AML_DEBUG_PRINT_INDENT(indent);
|
||||
AML_DEBUG_PRINT("}");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user