| .. | .. |
|---|
| 3 | 3 | * |
|---|
| 4 | 4 | * Name: acdebug.h - ACPI/AML debugger |
|---|
| 5 | 5 | * |
|---|
| 6 | | - * Copyright (C) 2000 - 2018, Intel Corp. |
|---|
| 6 | + * Copyright (C) 2000 - 2020, Intel Corp. |
|---|
| 7 | 7 | * |
|---|
| 8 | 8 | *****************************************************************************/ |
|---|
| 9 | 9 | |
|---|
| .. | .. |
|---|
| 16 | 16 | #include "acdisasm.h" |
|---|
| 17 | 17 | #endif |
|---|
| 18 | 18 | |
|---|
| 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)" |
|---|
| 20 | 21 | |
|---|
| 21 | 22 | struct acpi_db_command_info { |
|---|
| 22 | 23 | const char *name; /* Command Name */ |
|---|
| .. | .. |
|---|
| 36 | 37 | struct acpi_db_execute_walk { |
|---|
| 37 | 38 | u32 count; |
|---|
| 38 | 39 | u32 max_count; |
|---|
| 40 | + char name_seg[ACPI_NAMESEG_SIZE + 1]; |
|---|
| 39 | 41 | }; |
|---|
| 40 | 42 | |
|---|
| 41 | 43 | #define PARAM_LIST(pl) pl |
|---|
| 42 | 44 | |
|---|
| 43 | 45 | #define EX_NO_SINGLE_STEP 1 |
|---|
| 44 | 46 | #define EX_SINGLE_STEP 2 |
|---|
| 47 | +#define EX_ALL 4 |
|---|
| 45 | 48 | |
|---|
| 46 | 49 | /* |
|---|
| 47 | 50 | * dbxface - external debugger interfaces |
|---|
| .. | .. |
|---|
| 123 | 126 | |
|---|
| 124 | 127 | void acpi_db_evaluate_predefined_names(void); |
|---|
| 125 | 128 | |
|---|
| 129 | +void acpi_db_evaluate_all(char *name_seg); |
|---|
| 130 | + |
|---|
| 126 | 131 | /* |
|---|
| 127 | 132 | * dbnames - namespace commands |
|---|
| 128 | 133 | */ |
|---|
| .. | .. |
|---|
| 147 | 152 | |
|---|
| 148 | 153 | void acpi_db_get_bus_info(void); |
|---|
| 149 | 154 | |
|---|
| 155 | +acpi_status acpi_db_display_fields(u32 address_space_id); |
|---|
| 156 | + |
|---|
| 150 | 157 | /* |
|---|
| 151 | 158 | * dbdisply - debug display commands |
|---|
| 152 | 159 | */ |
|---|