summaryrefslogtreecommitdiffstats
path: root/usr.sbin/acpi
Commit message (Collapse)AuthorAgeFilesLines
* 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
* english(4) police.schweikh2002-12-271-2/+2
|
* 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.
* mdoc(7) police: markup fixes.ru2002-11-271-9/+9
| | | | Approved by: re
* Use __packed.jhb2002-10-091-5/+5
|
* Only include parent directory Makefile.inc if it exists. Now you canjhb2002-09-171-1/+3
| | | | cvs co acpi and build acpi utilities w/o needing the usr.sbin Makefile.inc.
* Add sleep state explanation.takawata2002-09-161-4/+10
| | | | Requested by: murray at Cafe in Tokyo.
* mdoc(7) police: Removed redundant .Ns calls.ru2002-08-131-1/+1
|
* The .Nm utilitycharnier2002-07-143-13/+18
|
* Resolve conflicts arising from the ACPI CA 20020611 import.iwasaki2002-07-091-1/+1
|
* 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.
* Make the error messaging more helpful.cjc2001-11-301-9/+11
| | | | | | PR: 31483 Approved by: iwasaki, ru MFC after: 4 days
* Collect multi name handling.takawata2001-10-232-0/+4
| | | | Reported by : Stephan Kulow <coolo@caldera.de>
* Fix UserTerms disassembling. Now that dumped ASL can be compiled withiwasaki2001-10-2210-35/+266
| | | | | | | | | | | 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-072-18/+18
| | | | | | | 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.
* ACPI CA doesn't recognis S4BIOS as a seperate sleep type anymore, somsmith2001-07-212-17/+0
| | | | drop support for it here until we work out a better way of handling it.
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-07-204-6/+7
| | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
* Remove GCC'isms in CFLAGS.obrien2001-07-201-1/+1
|
* Remove whitespace at EOL.dd2001-07-153-10/+10
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-102-2/+2
|
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.dd2001-07-091-3/+0
|
* mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).ru2001-07-061-1/+1
|
* Remove double //'s in path.obrien2001-06-021-1/+1
|
* Catch up to new include paths.msmith2001-05-301-2/+2
| | | | Submitted by: walt <wsheets@att.net>
* Remove NOSHARED.iwasaki2001-04-011-1/+0
| | | | | | | | The usr.sbin/acpi/ utilities should be compiled non-static. It just followed the usr.sbin/pccard/Makefile.inc way last time. Pointed out by: ru and msmith Committed at: BSD HANAMI in Japan 2001
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-263-0/+3
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for usr.sbin/ to 8.ru2001-03-204-5/+4
|
* mdoc(7) police: removed leading (non-sense) .Ns call.ru2001-02-061-1/+1
|
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-12/+11
|
* mdoc(7) police: .Dv -> .Cm where appropriate.ru2001-01-221-6/+6
|
* Spell my name right in the copyright.des2001-01-141-1/+1
|
* Oops, forgotten to add manpage.iwasaki2001-01-131-0/+80
|
* Add manpage for acpiconf.iwasaki2001-01-131-2/+1
| | | | Submitted by: des
* mdoc(7) police: removed history info from the .Os FreeBSD call.ru2000-12-142-2/+2
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-202-8/+8
|
* Format string error in warn()kris2000-11-191-2/+2
|
* Move old aml interpreter code to amldb/aml/. This will be used for ouriwasaki2000-11-0916-79/+79
| | | | reference and comparison with ACPICA aml interpreter's behavior.
* Remove dependence on old acpi driver from acpi userland tools.iwasaki2000-11-087-19/+175
| | | | | | | | | | - acpiconf Replace include files from old acpi driver to acpica driver. New sleep type `4b' had been added (S4BIOS) for `-s' option. Of course this has no effect because driver doesn't support it for now :-) - acpidump All needed structs in sys/dev/acpi/*.h had been merged into local header file. No changes on its usage.
* Fix StallOp implementaion. I've noticed that StallOp corresponds toiwasaki2000-10-022-2/+1
| | | | | | | OsdSleepUsec(), SleepOp corresponds to OsdSleep() by reading ACPICA source code. - Add OsdSleepUsec() which uses DELAY() simply. - Change unit of acpi_sleep() argument; microseconds to milliseconds.
* Remove ACPI_NO_OSDFUNC_INLINE option from kernel configuration. Nowiwasaki2000-10-012-0/+5
| | | | | | | that it's enabled in acpireg.h only if DIAGNOSTIC option is specified. ACPICA OSD functions will be compiled in machine/acpi_machdep.c again tentatively (if DIAGNOSTIC option is specified). # Should we have acpica_osd.c ?
* - Add acpi_disable_events() and set it with EVENTHANDLER_REGISTER in order toiwasaki2000-09-302-4/+20
| | | | | | | | avoid power on again problem after acpi_soft_off() calling. - Implement SleepOp/StallOp in AML interpreter. Also provide ACPICA compatibility. - Minor changes on __inline function declaration in acpica_osd.h (obtained from NetBSD porting).
* Update include paths for new header locations.msmith2000-09-308-8/+15
| | | | Submitted by: iwasaki
* More updates to the ACPI code:msmith2000-09-302-2/+7
| | | | | | | | | | | | | | | - Move all register I/O into acpi_io.c - Move event handling into acpi_event.c - Reorganise headers into acpivar/acpireg/acpiio - Move find-RSDT and find-ACPI-owned-memory into acpi_machdep - Allocate all resources (except those detailed only by AML) as real resources. Add infrastructure that will make adding resource support to AML code easy. - Remove all ACPI #ifdefs in non-ACPI code - Removed unnecessary includes - Minor style and commenting fixes Reviewed by: iwasaki
* Fix LINT breakage by options ACPI_NO_OSDFUNC_INLINE.iwasaki2000-09-211-0/+3
| | | | | | | Also space/tab-fix in NOTE. Grrr, my bad. Pointed-out by: eivind
* Add new function in AML interpreter; aml_invoke_method().iwasaki2000-09-204-6/+16
| | | | | | | | Also remove unneeded includes in aml_obj.c and aml_parse.c. This new function takes 'struct aml_name *' as a argument rather than 'char *' where aml_invoke_method_by_name() does. It's worth to have these two interfaces in many cases.
* Improve region I/O sub-routines by re-writing most of low level partiwasaki2000-09-208-445/+732
| | | | | | | | | | | | | | | | | | | of AML interpreter. - Delete and cleanup a lot of almost duplicated code in kernel/userland. - Add new common functions for kernel/userland code. aml_adjust_readvalue(), aml_adjust_updatevalue(), aml_region_handle_alloc(), aml_region_handle_free() and aml_region_io(). - Add primitive functions for both versions of kernel/userland in order to have shared code as much as possible. aml_region_read_simple(), aml_region_write_simple(), aml_region_prompt_read(), aml_region_prompt_write() and aml_region_prompt_update_value(). - Consider update rule and access type in field flags. Also add a lot of definitions for the flags. - Fix bugs on bit manipulation for read/write operations. - Fix bugs on IndexField I/O part. Also add workaround for temporary object corruption during StoreOp interpretation.
OpenPOWER on IntegriCloud