summaryrefslogtreecommitdiffstats
path: root/usr.sbin/acpi/acpidump
Commit message (Collapse)AuthorAgeFilesLines
* Fix a small style problem and add a __packed pragma for safety.scottl2005-02-171-1/+1
|
* Note addition of MCFG support.njl2005-02-141-1/+2
|
* Add support for parsing MCFG tables.scottl2005-02-142-0/+36
|
* Sort sections.ru2005-01-181-16/+16
|
* Update a comment that was outdated.njl2004-10-051-1/+1
|
* Back out the -s flag and go back to dumping the SSDTs by default.njl2004-10-054-22/+6
|
* Update the man page for the -s flag and other changes that we've missed.njl2004-10-051-5/+19
| | | | MFC after: 3 days
* Add the -s flag to make dumping SSDTs optional (disabled by default).njl2004-10-053-5/+16
| | | | | | | | | Since we can only override the DSDT, a custom ASL dumped previously that contained SSDTs would result in lots of multiple definition errors. A longer-term fix involves adding the ability to override SSDTs to ACPI-CA. MFC after: 3 days
* When one entry in the RSDT is corrupted, just skip it instead of bailing out.njl2004-08-181-2/+5
| | | | | | | | | This gets us the info we need on systems which have proprietary tables that don't match the standard. For instance, an AMI system has a table of type "OEMB" with an invalid checksum. Tested by: Maxim Maximov <mcsi_at_mcsi.pp.ru> MFC after: 1 day
* Update man page for supported table types.njl2004-08-181-5/+2
| | | | MFC after: 1 day
* We now handle SSDT tables. Remove a reference from the BUGS sectionmarcel2004-08-161-2/+4
| | | | | | | | and explicitly mention SSDT when we talk about the DSDT so that people don't have to guess whether it includes the SSDT. While here, touch date. Pointed out by: le@
* Add support for SSDT tables. Dumping or disassembling the DSDT willmarcel2004-08-133-20/+58
| | | | | | | | | now include the contents if any SSDT table as well. This makes use of the property that one can concatenate the body of SSDT tables to the DSDT, updating the DSDT header (length and checksum) and end up with a larger and valid DSDT table. Hence, this also works with -f. Reviewed by: njl@
* Removed trailing whitespace.ru2004-07-021-2/+2
|
* Also print out the standard header for FADT since it has one.njl2004-06-301-7/+12
|
* Expand contraction.ru2004-06-041-1/+1
|
* Unify the start/size parameters for the RSDP search area. Don't bothernjl2004-05-282-4/+6
| | | | | | trying to exclude the top end of the range since it should hurt to overlap by 4 bytes in the off-chance the RSDP signature appears incorrectly at the very top of our search space.
* Use the correct location of the EBDA for searching for the RSDP.njl2004-05-252-19/+31
| | | | | | The EBDA is the 1 KB area addressed by the 16 bit pointer at 0x40E. Pointed out by: robert.moore AT intel.com
* If the revision is 0, don't trust the length in the RSDP. Instead assumenjl2004-05-161-2/+7
| | | | an ACPI version 1.0 length.
* Read in the entire RSDP but only run the standard checksum over thenjl2004-05-161-7/+12
| | | | | | version 1 header. Add comments to explain what we're doing here better. Reported by: Alex Vasylenko <lxv@omut.org>
* Instead of scanning the entire lower 1 MB of RAM, only scan locationsnjl2004-05-142-29/+53
| | | | | | | | | | where the RSD PTR can actually occur. According to section 5.2.2 of the ACPI spec, we only consider two regions for the base address: 1. EBDA (0x0 - 0x3FF) 2. High memory (0xE0000 - 0xFFFFF) I don't know whether this fixes any actual problems but is more correct.
* Minor style issues.des2004-05-103-6/+6
|
* Instead of using a static, check for the FADT revision before using it.njl2004-04-181-12/+20
| | | | | | This fixes a bug where acpidump -d crashed (but not -t -d). Submitted by: Alex Vasylenko <lxv@omut.org>
* Clean up the check for invalid X_DSDT and X_FACS portions of the FADT.njl2004-01-041-16/+25
| | | | | Add fadt_revision for telling if the FADT has correct 64 bit addresses, separate from whether the XSDT has legal 64 bit addresses.
* Add a newline even if IAPC_BOOT_ARCH == 0.njl2003-10-291-1/+2
|
* Only print an end '}' if the field was non-zero (i.e. there were some flagsnjl2003-09-211-2/+4
| | | | to print).
* Correct typo in comment.njl2003-09-141-1/+1
|
* For dumping the DSDT (-o option), be sure to use the X_DSDT address ifnjl2003-09-141-1/+7
| | | | appropriate. This should be the last change to make ia64 work.
* C2/C3 latency is in microseconds (us), not ms.njl2003-09-131-1/+1
|
* Only print various optional fields if they are non-zero. Always print thenjl2003-09-131-24/+31
| | | | required fields, no matter what their value.
* Reduce the default width for IO port GAS printing.njl2003-09-131-4/+4
| | | | Courtesy of: rwatson's chart presentation
* Add dumping of the ECDT table.njl2003-09-102-0/+29
| | | | Courtesy of: USENIX hall track
* o Workaround a bug where my T23 reports that it is ACPI 2.0x compatiblenjl2003-09-102-29/+70
| | | | | | | | but has invalid 64 bit pointers for FACS and DSDT. o Finish work to print all of the FADT and FACS. o Resort the comment generating functions. Submitted by: marcel Courtesy of: BSDcon back wall
* Add support for ACPI 2.x and the XSDT.njl2003-09-091-25/+77
| | | | Submitted by: marcel
* Rename FACP to FADT throughout.njl2003-09-094-111/+206
| | | | | | | Update FADT for new fields including pm_profile, pstate_cnt, and cst_cnt. Add acpi_print_gas() for printing various address formats. Print FACS contents. Remove unused code.
* Modify acpidump to use iasl(8) as the backend for disassembling AML.njl2003-08-288-2086/+366
| | | | | Also clean up the output of dumped tables. Update the man page for the new usage. Make WARNS=6 clean.
* Hoo sed I kan spel?peter2003-08-021-1/+1
|
* Dump the HPET information block.peter2003-08-022-0/+38
| | | | | | | | | | | | What is the HPET I hear you ask? It is the High Precision Event Timer that is supposed to supplement and eventually replace the 8254 timer and the RTC periodic interrupts. Among other things, it is 64 bit (can be run in 32 bit mode for 32 bit cpus), and is suitable as a replacement for the ACPI timer on SMP systems (the specs are much better) and as a replacement for the ITC based synthetic clock for on ia64 systems. It seems IA64 and AMD64 systems tend to have this. It is likely to start showing up in i386 systems if it isn't already on some of them.
* Fix a warning about deprecated string literals.njl2003-04-151-8/+8
| | | | Reviewed by: diff
* Add code to parse the contents of an ACPI MADT table and to dump itsjhb2003-01-081-0/+176
| | | | | | | contents in the form of a comment in the acpidump output. The output is not in the prettiest output, but it does work correctly. Approved by: marcel
* Add structure definitions for the various items in a ACPI Multiplejhb2003-01-081-0/+105
| | | | | | APIC Descriptor Table (MADT) which has the signature 'ACPI'. Approved by: marcel
* o Use sysctl machdep.acpi_root to get the physical address of themarcel2002-12-194-17/+42
| | | | | | | | | | | RSDP. Scan the first 1MB on i386 if the sysctl fails, o Extend struct ACPIrsdp with the ACPI 2.0 fields which involves changing a prior reserved field into the ACPI revision, o Only calculate the RSDP checksum on the first 20 bytes to remain compatible with ACPI 1.0 tables; we don't check the extended checksum covering the whole table, o Use the length field in the RSDP to map the RSDP into the address space so that we don't have to know about future extensions here.
* Use __packed.jhb2002-10-091-5/+5
|
* The .Nm utilitycharnier2002-07-141-4/+7
|
* Fix bug on method local named object related panic and Bankfieldtakawata2002-03-021-1/+17
| | | | operation.
* mdoc(7) police: kill WEOL and HSB, tidy up the AUTHORS section.ru2002-01-101-4/+6
|
* Add support for decoding Buffer objects that contain PnP/ACPI resourcemsmith2002-01-024-28/+406
| | | | | | | | streams. Since the output is bulky, it's controlled by the '-r' option. Document this in the manpage, and clean up some awkward English a little.
* Collect multi name handling.takawata2001-10-231-0/+2
| | | | Reported by : Stephan Kulow <coolo@caldera.de>
* Fix UserTerms disassembling. Now that dumped ASL can be compiled withiwasaki2001-10-228-29/+264
| | | | | | | | | | | ports/devel/acpitools (iasl). - Merge AML parser to build ACPI namespace - Comment header info. out so that ASL compiler ignore them - Fix DSDT header size to be discarded when DSDT file is specified for input (acpidump and amldb) - Write DSDT header as well into DSDT file for output - Fix some trivial typo (Concatenate and SizeOf) - Remove DEBUG_FLAGS from Makefile (acpidump and amldb)
* Fix typo.dd2001-09-051-1/+1
| | | | | PR: 30342 Submitted by: Giorgos Keramidas <charon@labs.gr>
* mdoc(7) police:ru2001-08-071-10/+10
| | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block.
OpenPOWER on IntegriCloud