| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
APIC Descriptor Table (MADT) which has the signature 'ACPI'.
Approved by: marcel
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Approved by: re
|
| |
|
|
|
|
| |
cvs co acpi and build acpi utilities w/o needing the usr.sbin Makefile.inc.
|
|
|
|
| |
Requested by: murray at Cafe in Tokyo.
|
| |
|
| |
|
| |
|
|
|
|
| |
operation.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
PR: 31483
Approved by: iwasaki, ru
MFC after: 4 days
|
|
|
|
| |
Reported by : Stephan Kulow <coolo@caldera.de>
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
PR: 30342
Submitted by: Giorgos Keramidas <charon@labs.gr>
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
drop support for it here until we work out a better way of handling it.
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Submitted by: walt <wsheets@att.net>
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
- MAN[1-9] -> MAN.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Submitted by: des
|
| |
|
| |
|
| |
|
|
|
|
| |
reference and comparison with ACPICA aml interpreter's behavior.
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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 ?
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
| |
Submitted by: iwasaki
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
| |
Also space/tab-fix in NOTE.
Grrr, my bad.
Pointed-out by: eivind
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|