| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
Rate units are mA/mW, not mAh/mWh. Get full battery status and time
remaining from ACPIIO_BATT_GET_BATTINFO instead of BST.
PR: bin/83672
MFC after: 2 days
|
|
|
|
| |
MFC after: 2 days
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
particular, enabling interpreter workarounds for bad ASL.
MFC after: 1 day
|
|
|
|
|
|
|
| |
units (as specified in _BIF). (noted by Bruno Ducrot)
o In looking in the standard, if the cap numbers are 0xffffffff, then acpi
is reporting unknown for that field. Report unknown numbers properly.
o Update the state to reflect charging, discharging and critical.
|
|
|
|
|
|
|
|
| |
my patches for this information. Commit my more complete version.
This version isn't complete yet, since some details aren't handled
right just yet.
Poaching by: phk
|
|
|
|
|
| |
The -i code doesn't really belong here in the first place I would think,
but keep it together for now.
|
| |
|
|
|
|
| |
Spotted by: Randy Bush <randy@psg.com>
|
| |
|
|
|
|
| |
ACPI_TYPE_INTEGER can be 64 bits wide in acpi v2.
|
|
|
|
|
|
|
| |
WARNS=2 clean, and mark it as such.
PR: 71672 (partly)
Reviewed by: njl
|
| |
|
| |
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
MFC after: 1 day
|
|
|
|
|
|
|
|
|
|
| |
callers. These ioctls attempted to enable and disable the ACPI
interpreter at runtime. In practice, it is not possible to boot with
ACPI and then disable it on many systems and trying to do so can cause
crashes, interrupt storms, etc. Binary compatibility with userland is
retained.
MFC after: 2 days
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
| |
to not work reliably and crash some systems. It is not supported at all
on others. Pending discussion, the underlying ioctls will be removed.
|
|
|
|
|
|
|
|
|
| |
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@
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
The EBDA is the 1 KB area addressed by the 16 bit pointer at 0x40E.
Pointed out by: robert.moore AT intel.com
|
| |
|
|
|
|
| |
an ACPI version 1.0 length.
|
|
|
|
|
|
| |
version 1 header. Add comments to explain what we're doing here better.
Reported by: Alex Vasylenko <lxv@omut.org>
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
This fixes a bug where acpidump -d crashed (but not -t -d).
Submitted by: Alex Vasylenko <lxv@omut.org>
|
|
|
|
| |
Noticed by: njl
|
| |
|
|
|
|
|
| |
man pages (though not from copyright notices). While I'm here, add email
addresses where appropriate.
|
|
|
|
|
|
|
|
|
|
|
| |
the usual parallel make race in custom .y rules.
- Fixed some style bugs.
- Removed -v from YFLAGS.
Prodded by: bde
Reviewed by: bde, njl
|
|
|
|
|
|
|
|
|
| |
SRCS to teach make(1) that many .c sources are dependent on it.
This fixes parallel (-j) builds and makes it possible to build
individual .o files separately.
While here, removed PROG from CLEANFILES -- it's taken care of
already by bsd.prog.mk.
|
|
|
|
|
| |
Add fadt_revision for telling if the FADT has correct 64 bit addresses,
separate from whether the XSDT has legal 64 bit addresses.
|
|
|
|
|
| |
called directly from acpiconf(8). Change both scripts to take a
subsystem (apm|acpi) and sleep level (suspend,standby|1-5) argument.
|
| |
|
|
|
|
| |
to print).
|