Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4acb6884 authored by Bob Moore's avatar Bob Moore Committed by Len Brown
Browse files

ACPICA: Debugger: Add missing object info to namespace dump



Many namespace node types must have an attached object. For
these node types, print a message about a missing object during
a namespace dump.

Signed-off-by: default avatarBob Moore <robert.moore@intel.com>
Signed-off-by: default avatarLin Ming <ming.m.lin@intel.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent a1acd22f
Loading
Loading
Loading
Loading
+14 −1
Original line number Diff line number Diff line
@@ -242,7 +242,20 @@ acpi_ns_dump_one_object(acpi_handle obj_handle,

		if (!obj_desc) {

			/* No attached object, we are done */
			/* No attached object. Some types should always have an object */

			switch (type) {
			case ACPI_TYPE_INTEGER:
			case ACPI_TYPE_PACKAGE:
			case ACPI_TYPE_BUFFER:
			case ACPI_TYPE_STRING:
			case ACPI_TYPE_METHOD:
				acpi_os_printf("<No attached object>");
				break;

			default:
				break;
			}

			acpi_os_printf("\n");
			return (AE_OK);