| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
| |
appropriate. This should be the last change to make ia64 work.
|
|
|
|
| |
Rename a few structure elements.
|
| |
|
|
|
|
| |
required fields, no matter what their value.
|
|
|
|
| |
Courtesy of: rwatson's chart presentation
|
|
|
|
| |
Courtesy of: USENIX hall track
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Submitted by: marcel
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
of the original userland ACPI implementation. amldb is still available from
the devel/acpicatools port.
|
|
|
|
|
| |
Also clean up the output of dumped tables. Update the man page for the
new usage. Make WARNS=6 clean.
|
| |
|
|
|
|
|
|
|
| |
to acpidb. The same problem exists in iasl. Add JIT patching there
too.
Add a comment to both makefiles to increase the chance that both
kludges are removed when a real solution is committed.
|
|
|
|
|
|
|
| |
osunixxf.c on the fly. This avoids having to pull it from the vendor
branch or otherwise pollute the repository with new short-lived files.
This should hold until the real fix arrives.
|
|
|
|
| |
be going away after a short while but still available in ports.
|
| |
|
|
|
|
| |
Obtained from: acpicatools port by Iwasaki-san
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
This is used by zzz(8).
|
|
|
|
|
|
|
|
|
|
|
| |
* AcpiOsDerivePciId(): finds a bus number, given the slot/func and the
acpi parse tree.
* AcpiOsPredefinedOverride(): use the sysctl hw.acpi.os_name to
override the value for _OS.
Ideas from: takawata, jhb
Reviewed by: takawata, marcel
Tested on: i386, ia64
|
|
|
|
| |
Reviewed by: diff
|
|
|
|
|
|
|
| |
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.
|