acpidump - dump ACPI tables and ASL
ACPI tables have an essential data block (the DSDT, Differentiated System Description Table) that includes information used on the kernel side such as detailed information about PnP hardware, procedures for controlling power management support, and so on. The utility can extract the DSDT data block from physical memory and store it into an output file and optionally also disassemble it. If any Secondary System Description Table (SSDT) entries exist, they will also be included in the output file and disassembly.
When is invoked without the -f option, it will read ACPI tables from physical memory via /dev/mem First it searches for the RSDP (Root System Description Pointer), which has the signature Qq RSD PTR , and then gets the RSDT (Root System Description Table), which includes a list of pointers to physical memory addresses for other tables. The RSDT itself and all other tables linked from RSDT are generically called SDTs (System Description Tables) and their header has a common format which consists of items such as Signature, Length, Revision, Checksum, OEMID, OEM Table ID, OEM Revision, Creator ID and Creator Revision. When invoked with the -t flag, the utility dumps contents of the following tables:
The RSDT contains a pointer to the physical memory address of the FACP (Fixed ACPI Description Table). The FACP defines static system information about power management support (ACPI Hardware Register Implementation) such as interrupt mode (INT_MODEL), SCI interrupt number, SMI command port (SMI_CMD) and the location of ACPI registers. The FACP also has a pointer to a physical memory address for the DSDT. While the other tables are fixed format, the DSDT consists of free-formatted AML data.
# acpidump -dt | gzip -c9 > my_computer.asl.gz
This example dumps the DSDT from physical memory to foo.dsdt. It also prints the contents of various system tables and disassembles the AML contained in the DSDT to stdout, redirecting the output to foo.asl.
# acpidump -t -d -o foo.dsdt > foo.asl
This example reads a DSDT file and disassembles it to stdout. Verbose messages are enabled.
# acpidump -v -d -f foo.dsdt
An -nosplit Some contributions made by An Chitoshi Ohsawa Aq ohsawa@catv1.ccn-net.ne.jp , An Takayasu IWANASHI Aq takayasu@wendy.a.perfect-liberty.or.jp , An Yoshihiko SARUMARU Aq mistral@imasy.or.jp , An Hiroki Sato Aq hrs@FreeBSD.org , An Michael Lucas Aq mwlucas@blackhelicopters.org and An Michael Smith Aq msmith@FreeBSD.org .
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |