summaryrefslogtreecommitdiffstats
path: root/usr.sbin/acpi
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Add manpages acpi userland tools.iwasaki2000-09-144-4/+516
| | | | Obtained from: ACPI for FreeBSD project
* This commit was generated by cvs2svn to compensate for changes in r65287,iwasaki2000-08-315-0/+1086
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * import amldb(8) from ACPI For FreeBSD project.iwasaki2000-08-315-0/+1086
| | | | | | | | Obtained from: ACPI For FreeBSD project
* | This commit was generated by cvs2svn to compensate for changes in r65285,iwasaki2000-08-317-0/+1848
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * import acpidump(8) from ACPI For FreeBSD project.iwasaki2000-08-317-0/+1848
| | | | | | | | Obtained from: ACPI For FreeBSD project
* | This commit was generated by cvs2svn to compensate for changes in r65283,iwasaki2000-08-312-0/+118
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * import acpiconf(8) from ACPI For FreeBSD project.iwasaki2000-08-312-0/+118
| | | | Obtained from: ACPI For FreeBSD project
* Add Makefile for acpi userland tools.iwasaki2000-08-312-0/+14
| | | | Obtained from: ACPI For FreeBSD project
* A lot of changes on acpi driver code.iwasaki2000-08-291-1/+5
| | | | | | | | | | | | | | | | - The "Osd*" stuff went away from acpi driver code, use the bus_space functions directly instead. - Fix minor english bugs. acpi_registers_input -> acpi_register_input acpi_registers_output -> acpi_register_output - Remove all magic numbers for the sleeping states. We now have #defines for these. - NULL is treated the same as the return from aml_get_rootname in aml_find_from_namespace(). Suggested by: msmith Thanks mike!
* Add orthogonal part of ACPI support code.takawata2000-08-2420-0/+5856
This does not come effect until non-orthogonal part is commited. Approved by: jkh Obtained from: ACPI for FreeBSD CVS repository.
OpenPOWER on IntegriCloud