forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/acpi/acpica/acdebug.h
....@@ -3,7 +3,7 @@
33 *
44 * Name: acdebug.h - ACPI/AML debugger
55 *
6
- * Copyright (C) 2000 - 2018, Intel Corp.
6
+ * Copyright (C) 2000 - 2020, Intel Corp.
77 *
88 *****************************************************************************/
99
....@@ -16,7 +16,8 @@
1616 #include "acdisasm.h"
1717 #endif
1818
19
-#define ACPI_DEBUG_BUFFER_SIZE 0x4000 /* 16K buffer for return objects */
19
+#define ACPI_DEBUG_BUFFER_SIZE 0x4000 /* 16K buffer for return objects */
20
+#define ACPI_DEBUG_LENGTH_FORMAT " (%.4X bits, %.3X bytes)"
2021
2122 struct acpi_db_command_info {
2223 const char *name; /* Command Name */
....@@ -36,12 +37,14 @@
3637 struct acpi_db_execute_walk {
3738 u32 count;
3839 u32 max_count;
40
+ char name_seg[ACPI_NAMESEG_SIZE + 1];
3941 };
4042
4143 #define PARAM_LIST(pl) pl
4244
4345 #define EX_NO_SINGLE_STEP 1
4446 #define EX_SINGLE_STEP 2
47
+#define EX_ALL 4
4548
4649 /*
4750 * dbxface - external debugger interfaces
....@@ -123,6 +126,8 @@
123126
124127 void acpi_db_evaluate_predefined_names(void);
125128
129
+void acpi_db_evaluate_all(char *name_seg);
130
+
126131 /*
127132 * dbnames - namespace commands
128133 */
....@@ -147,6 +152,8 @@
147152
148153 void acpi_db_get_bus_info(void);
149154
155
+acpi_status acpi_db_display_fields(u32 address_space_id);
156
+
150157 /*
151158 * dbdisply - debug display commands
152159 */