Difference between revisions of "ACPI"

From coreboot
Jump to navigation Jump to search
(→‎More to Read: add acpi guideline for vendors)
(→‎More to Read: add some acpi debugging info)
Line 178: Line 178:
==== FACS table ====
==== FACS table ====
This table must be aligned to 64B boundary (Windows check this).
This table must be aligned to 64B boundary (Windows check this).
=== Debugging ACPI ===
When CONFIG_ACPI_DEBUG is compiled into the kernel, the ACPI debug level can be specified on the kernel command line:
acpi.debug_level=0x2003
(warn, error und tables debug enabled)
The values can be checked at runtime:
# cat /sys/module/acpi/parameters/debug_level
Description                    Hex        SET
ACPI_LV_ERROR                  0x00000001 [*]
ACPI_LV_WARN                    0x00000002 [*]
ACPI_LV_INIT                    0x00000004 [*]
ACPI_LV_DEBUG_OBJECT            0x00000008 [ ]
ACPI_LV_INFO                    0x00000010 [ ]
ACPI_LV_INIT_NAMES              0x00000020 [ ]
ACPI_LV_PARSE                  0x00000040 [ ]
ACPI_LV_LOAD                    0x00000080 [ ]
ACPI_LV_DISPATCH                0x00000100 [ ]
ACPI_LV_EXEC                    0x00000200 [ ]
ACPI_LV_NAMES                  0x00000400 [ ]
ACPI_LV_OPREGION                0x00000800 [ ]
ACPI_LV_BFIELD                  0x00001000 [ ]
ACPI_LV_TABLES                  0x00002000 [ ]
ACPI_LV_VALUES                  0x00004000 [ ]
ACPI_LV_OBJECTS                0x00008000 [ ]
ACPI_LV_RESOURCES              0x00010000 [ ]
ACPI_LV_USER_REQUESTS          0x00020000 [ ]
ACPI_LV_PACKAGE                0x00040000 [ ]
ACPI_LV_ALLOCATIONS            0x00100000 [ ]
ACPI_LV_FUNCTIONS              0x00200000 [ ]
ACPI_LV_OPTIMIZATIONS          0x00400000 [ ]
ACPI_LV_MUTEX                  0x01000000 [ ]
ACPI_LV_THREADS                0x02000000 [ ]
ACPI_LV_IO                      0x04000000 [ ]
ACPI_LV_INTERRUPTS              0x08000000 [ ]
ACPI_LV_AML_DISASSEMBLE        0x10000000 [ ]
ACPI_LV_VERBOSE_INFO            0x20000000 [ ]
ACPI_LV_FULL_TABLES            0x40000000 [ ]
ACPI_LV_EVENTS                  0x80000000 [ ]
--
debug_level = 0x00000007 (* = enabled)


=== More to Read ===
=== More to Read ===

Revision as of 17:29, 20 March 2009