340967 |
26-Nov-2018 |
eugen |
MFC r339818: rcorder(8):
Add support for /etc/rc.resume, so it calls "rcorder -k resume" and runs scripts containing "KEYWORD: resume" with single "resume" argument.
Working example is the port sysutils/cpupdate that defines extra_commands="resume" to reload CPU microcode cleared by suspend/resume sequence.
This change does nothing for a system having no scripts with KEYWORD: resume.
PR: 227866 Differential Revision: https://reviews.freebsd.org/D15247 |
306536 |
30-Sep-2016 |
jkim |
MFC: r284583, r285797, r285799, r287168, r298714, r298720, r298838, r300879
Merge ACPICA up to 20160527.
Requested by: mav |
301142 |
01-Jun-2016 |
truckman |
MFC r300633
Fix acpidb CIDs 1011279 (Buffer not null terminated) and 978405 and 1199380 (Resource leak).
load_dsdt() calls strncpy() to copy a filename and Coverity warns that the destination buffer may not be NUL terminated. Fix this by using strlcpy() instead. If silent truncation occurs, then the filename was not valid anyway.
load_dsdt() leaks an fd (CID 978405) and a memory region allocated using mmap() (CID 1199380) when it returns. Fix these by calling close() and munmap() as appropriate.
Don't bother fixing the minor memory leak "list", allocated by AcGetAllTablesFromFile() (CID 1355191).
Check for truncation when creating the temp file name.
Set a flag to indicate that the temp file should be unlinked. Relying on a strcmp() test could delete the input file in contrived cases.
Reported by: Coverity CID: 1011279, 978405, 1199380 Reviewed by: jkim Differential Revision: https://reviews.freebsd.org/D6368 |
301141 |
01-Jun-2016 |
truckman |
MFC r300632
Fix acpidump CID 1011278 (Buffer not null terminated) and other issues
Coverity reports that a buffer used for temporary file generation might not be NUL terminated by strncpy(). This is probably not true because the input gets passed through realpath(), but if the path name is sufficiently long the name could be truncated and cause other problems. The code for generating the temp file names is also overly complex. Instead of a bunch of calls to strncpy() and and strncat(), simplify the code by using snprintf() and add checks for unexpected truncation.
The output file created by iasl -d is predictable. Fix this by using mkdtemp() to create a directory to hold the iasl input and output files.
Check the return values of more syscalls.
Reported by: Coverity CID: 1011278 Reviewed by: jkim Differential Revision: https://reviews.freebsd.org/D6360 |
288237 |
25-Sep-2015 |
jkim |
MFC: r288116
Remove unsupported S5 (power off) state. |
288236 |
25-Sep-2015 |
jkim |
MFC: r267248, r267260, r267261, r267320
Document 'k' option for acpiconf(8). |
284460 |
16-Jun-2015 |
jkim |
MFC: r283092, r283966
Merge ACPICA 20150515.
Relnotes: yes |
281506 |
13-Apr-2015 |
jkim |
MFC: r281335
Print 64-bit addresses clearly with leading zeros to avoid confusions. |
281505 |
13-Apr-2015 |
jkim |
MFC: r281331
Do not crash when RSDT/XSDT contains an empty entry. |
281389 |
11-Apr-2015 |
jkim |
MFC: r281171
Tidy up battery status information. Remove a trailing white space.
PR: 193671 |
281075 |
04-Apr-2015 |
dim |
MFC r272444 (by jkim):
Merge ACPICA 20140926.
MFC r278970 (by jkim):
Merge ACPICA 20141107 and 20150204.
Approved by: jkim Relnotes: yes |
256281 |
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
252276 |
27-Jun-2013 |
jkim |
Consistently cast ACPICA 64-bit integer types when we print them.
|
251186 |
31-May-2013 |
jkim |
Fix a long standing logic bug introduced in r167814. The code was added to get RSDP from loader(8) hint via kenv(2) but the bug nullified the new code and we always fell back to the previous method, i. e., sysctlbyname(3).
MFC after: 3 days
|
250838 |
20-May-2013 |
jkim |
Merge ACPICA 20130517.
|
249821 |
23-Apr-2013 |
jkim |
Fix declarations to slightly increase WARNS level.
|
249818 |
23-Apr-2013 |
jkim |
Clean up generated files added in r233250.
|
249663 |
19-Apr-2013 |
jkim |
Merge ACPICA 20130418.
|
249112 |
04-Apr-2013 |
jkim |
Merge ACPICA 20130328.
|
246849 |
15-Feb-2013 |
jkim |
Merge ACPICA 20130214.
|
245582 |
18-Jan-2013 |
jkim |
Merge ACPICA 20130117.
|
244525 |
21-Dec-2012 |
neel |
Teach acpidump to dump the DMA Remapping Reporting table (aka DMAR).
The DMAR table is documented in chapter 8 of the Intel VT-d specification.
Reviewed by: jhb Obtained from: NetApp
|
243347 |
20-Nov-2012 |
jkim |
Merge ACPICA 20121114.
|
241737 |
19-Oct-2012 |
ed |
More -Wmissing-variable-declarations fixes.
In addition to adding `static' where possible:
- bin/date: Move `retval' into extern.h to make it visible to date.c. - bin/ed: Move globally used variables into ed.h. - sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings. - usr.bin/calendar: Remove unneeded variables. - usr.bin/chat: Make `line' local instead of global. - usr.bin/elfdump: Comment out unneeded function. - usr.bin/rlogin: Use _Noreturn instead of __dead2. - usr.bin/tset: Pull `Ospeed' into extern.h. - usr.sbin/mfiutil: Put global variables in mfiutil.h. - usr.sbin/pkg: Remove unused `os_corres'. - usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'.
|
241198 |
04-Oct-2012 |
jhb |
Display the matrix of inter-domain distances in the SLIT table. This is used to complement the SRAT table on NUMA machines.
MFC after: 1 week
|
239340 |
16-Aug-2012 |
jkim |
Merge ACPICA 20120816.
|
238381 |
11-Jul-2012 |
jkim |
Merge ACPICA 20120711.
|
238288 |
09-Jul-2012 |
takawata |
Add range and table revision checking to avoid abend.
PR:bin/169707 Submitted by:Dan Lukes <dan@obluda.cz> MFC after:3 days.
|
237412 |
22-Jun-2012 |
jkim |
Merge ACPICA 20120620.
|
235948 |
25-May-2012 |
jkim |
Catch up with realpath(3) changes (r235266) and unbreak acpidump(8).
|
234623 |
23-Apr-2012 |
jkim |
Merge ACPICA 20120420.
|
233250 |
20-Mar-2012 |
jkim |
Merge ACPICA 20120320.
|
232676 |
08-Mar-2012 |
jkim |
Make parallel build more safer.
Reviewed by: tijl
|
231845 |
16-Feb-2012 |
jkim |
Fix a stupid typo.
|
231844 |
16-Feb-2012 |
jkim |
Merge ACPICA 20120215.
|
230089 |
13-Jan-2012 |
jkim |
Remove unused ACPICA sources from userland makefiles.
|
229989 |
11-Jan-2012 |
jkim |
Merge ACPICA 20120111.
|
228976 |
30-Dec-2011 |
uqs |
Reencode files to UTF-8. Drop CP1252 em-dash.
|
228110 |
28-Nov-2011 |
jkim |
Merge ACPICA 20111123.
|
227876 |
23-Nov-2011 |
kevlo |
Plug fd leaks
|
220682 |
15-Apr-2011 |
jkim |
Purge _USE_BERKELEY_YACC definition from Makefile. This ugly hack is no long necessary for us since r220680.
|
220663 |
15-Apr-2011 |
jkim |
Merge ACPICA 20110413.
|
218590 |
12-Feb-2011 |
jkim |
Merge ACPICA 20110211.
|
217365 |
13-Jan-2011 |
jkim |
Merge ACPICA 20110112. Switch to BSD/GPLv2 dual license[1].
Discussed with: core [1]
|
216471 |
15-Dec-2010 |
jkim |
Merge ACPICA 20101209.
|
212761 |
16-Sep-2010 |
jkim |
Merge ACPICA 20100915.
|
211763 |
24-Aug-2010 |
mav |
When ACPI reports current battery consumption rate in mAmps, print it also in mWatts. Values in mAmps are not always suitable, because they depend on battery voltage, which depends on battery type and charge level.
|
211278 |
13-Aug-2010 |
takawata |
use uintmax_t instead of uint64_t.
Pointed out by: des.
|
211252 |
13-Aug-2010 |
takawata |
Fix build on amd64 and ia64.
|
211221 |
12-Aug-2010 |
takawata |
Fix breakage on 64bit architecture by using inttypes.h macro.
|
211219 |
12-Aug-2010 |
takawata |
Fix tindebox breakage about format warning.
|
211196 |
11-Aug-2010 |
takawata |
Add TCG ACPI spec table (TCPA) support.
Submitted by: Hans-Joerg_Hoexer@genua.de
|
210976 |
06-Aug-2010 |
jkim |
Merge ACPICA 20100806.
|
209746 |
06-Jul-2010 |
jkim |
Merge ACPICA 20100702.
|
207344 |
28-Apr-2010 |
jkim |
Merge ACPICA 20100428.
|
204773 |
05-Mar-2010 |
jkim |
Merge ACPICA 20100304.
|
202771 |
21-Jan-2010 |
jkim |
Merge ACPICA 20100121.
|
201390 |
02-Jan-2010 |
ed |
The last big commit: let usr.sbin/ use WARNS=6 by default.
|
199337 |
16-Nov-2009 |
jkim |
Merge ACPICA 20091112.
|
198237 |
19-Oct-2009 |
jkim |
Merge ACPICA 20091013.
|
197106 |
11-Sep-2009 |
jkim |
Catch up with ACPICA 20090903.
|
196555 |
25-Aug-2009 |
jhb |
- Use the headers from ACPI-CA to define various constants and structures for table layouts, etc. rather than homerolling our own structures and constants in acpidump.h. - Verify the extended checksum on the RSDP. - Handle new ACPI 3.0 fields in MADT including X2APIC entries and UIDs for local SAPICs. - Add handling for new ACPI 3.0 flags in the FADT.
Reviewed by: jkim MFC after: 1 month
|
195947 |
29-Jul-2009 |
jhb |
Parse the System Resource Affinity Table ('SRAT') used to describe affinity relationships between CPUs and memory.
Reviewed by: jkim Approved by: re (kib) MFC after: 1 week
|
193531 |
05-Jun-2009 |
jkim |
Import ACPICA 20090521.
|
179153 |
20-May-2008 |
rpaulo |
Update to reflect reality: * iasl(8) supports ACPI 3.0b. * Add new options.
MFC after: 1 week
|
173766 |
20-Nov-2007 |
jb |
These are the things that the tinderbox has problems with because it doesn't use the default CFLAGS which contain -fno-strict-aliasing.
Until the code is cleaned up, just add -fno-strict-aliasing to the CFLAGS of these for the tinderboxes' sake, allowing the rest of the tree to have -Werror enabled again.
|
173726 |
18-Nov-2007 |
jb |
Use an explicit pointer cast since NULL isn't guaranteed to be defined as a pointer type.
Submitted by: Christoph Mallon - christoph mallon at gmx de
|
173723 |
18-Nov-2007 |
jb |
Use a NULL instead of a zero to avoid a compiler warning about a missing sentinel.
|
171642 |
28-Jul-2007 |
marcel |
Fix acpidump(8) on ia64. Revision 1.13 introduced an uninitialized variable bug that's hidden by the precense of the hint_acpi_0_rsdp hint on 386 and amd64. There's never a need for such hint on ia64.
Approved by: re (kensmith)
|
170976 |
21-Jun-2007 |
njl |
Update the suspend/resume user API while maintaining backwards compat.
Improvements: * /etc/rc.suspend,rc.resume are always run, no matter the source of the suspend request (user or kernel, apm or acpi) * suspend now requires positive user acknowledgement. If a user program wants to cancel the suspend, they can. If one of the user programs hangs or doesn't respond within 10 seconds, the system suspends anyway. * /dev/apm is clonable, allowing multiple listeners for suspend events. In the future, xorg-server can use this to be informed about suspend even if there are other listeners (i.e. apmd).
Changes: * Two new ACPI ioctls: REQSLPSTATE and ACKSLPSTATE. Request begins the process of suspending by notifying all listeners. acpi is monitored by devd(8) and /dev/apm listener(s) are also counted. Users register their approval or disapproval via Ack. If anyone disapproves, suspend is vetoed. * Old user programs or kernel modules that used SETSLPSTATE continue to work. A message is printed once that this interface is deprecated. * acpiconf gains the -k flag to ack the suspend request. This flag is undocumented on purpose since it's only used by /etc/rc.suspend. It is not intended to be a permanent change and will be removed once a better power API is implemented. * S5 (power off) is no longer supported via acpiconf -s 5 or apm -z/-Z. This restores previous behavior of halt/shutdown -p being the interface. * Miscellaneous improvements to error reporting
Approved by: re
|
167945 |
27-Mar-2007 |
takawata |
Correct HPET header handling. MFC after: 7 days
|
167814 |
22-Mar-2007 |
jkim |
Catch up with ACPI-CA 20070320 import.
|
167579 |
14-Mar-2007 |
njl |
Document exact command preferred for sending ASL as part of bug reports.
|
151948 |
01-Nov-2005 |
jkim |
Catch up with ACPI-CA 20051021 import
|
148493 |
28-Jul-2005 |
njl |
Correct column alignment.
|
148491 |
28-Jul-2005 |
njl |
Fix nits in reporting battery information and add battery status reporting. 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
|
148310 |
22-Jul-2005 |
njl |
Use the current BST/BIF ioctls, not the deprecated ones.
MFC after: 2 days
|
142028 |
17-Feb-2005 |
scottl |
Fix a small style problem and add a __packed pragma for safety.
|
141916 |
14-Feb-2005 |
njl |
Note addition of MCFG support.
|
141905 |
14-Feb-2005 |
scottl |
Add support for parsing MCFG tables.
|
141580 |
09-Feb-2005 |
ru |
Fixed the misplaced $FreeBSD$.
|
140442 |
18-Jan-2005 |
ru |
Sort sections.
|
139602 |
03-Jan-2005 |
njl |
Catch up with the kernel and set any global variables we are using, in particular, enabling interpreter workarounds for bad ASL.
MFC after: 1 day
|
138049 |
24-Nov-2004 |
imp |
o Report charge/discharge rate and remaining capacity in the proper 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.
|
138047 |
24-Nov-2004 |
imp |
phk jumped the gun and posted what looks like a preliminary version of 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
|
138044 |
24-Nov-2004 |
phk |
Dump current status of battery as well.
The -i code doesn't really belong here in the first place I would think, but keep it together for now.
|
137763 |
16-Nov-2004 |
imp |
Minor style(9) before possible larger commits.
|
137666 |
13-Nov-2004 |
philip |
Somehow I missed this last night, acpi_init() doesn't return an int.
Spotted by: Randy Bush <randy@psg.com>
|
137638 |
13-Nov-2004 |
philip |
With the addition of a proper prototype, this is now WARNS=6 clean.
|
137637 |
13-Nov-2004 |
philip |
Two uint32_t casts crept in where they shouldn't have. ACPI_TYPE_INTEGER can be 64 bits wide in acpi v2.
|
137636 |
13-Nov-2004 |
philip |
Change some formats and add some casts to make this WARNS=2 clean, and mark it as such.
PR: 71672 (partly) Reviewed by: njl
|
136168 |
05-Oct-2004 |
njl |
Update a comment that was outdated.
|
136165 |
05-Oct-2004 |
njl |
Back out the -s flag and go back to dumping the SSDTs by default.
|
136129 |
05-Oct-2004 |
njl |
Update the man page for the -s flag and other changes that we've missed.
MFC after: 3 days
|
136128 |
05-Oct-2004 |
njl |
Add the -s flag to make dumping SSDTs optional (disabled by default). 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
|
133935 |
18-Aug-2004 |
njl |
When one entry in the RSDT is corrupted, just skip it instead of bailing out. 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
|
133934 |
18-Aug-2004 |
njl |
Update man page for supported table types.
MFC after: 1 day
|
133933 |
18-Aug-2004 |
njl |
Remove the ACPIIO_ENABLE and ACPIIO_DISABLE ioctls as well as all 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
|
133883 |
16-Aug-2004 |
marcel |
We now handle SSDT tables. Remove a reference from the BUGS section 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@
|
133788 |
15-Aug-2004 |
njl |
Comment out the ability to enable/disable ACPI at runtime. This appears to not work reliably and crash some systems. It is not supported at all on others. Pending discussion, the underlying ioctls will be removed.
|
133679 |
13-Aug-2004 |
marcel |
Add support for SSDT tables. Dumping or disassembling the DSDT will 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@
|
131472 |
02-Jul-2004 |
ru |
Removed trailing whitespace.
|
131307 |
30-Jun-2004 |
njl |
Also print out the standard header for FADT since it has one.
|
130420 |
13-Jun-2004 |
ru |
Assorted markup, grammar, and spelling fixes.
|
130159 |
06-Jun-2004 |
ru |
Tidy up markup.
|
130083 |
04-Jun-2004 |
ru |
Expand contraction.
|
130082 |
04-Jun-2004 |
ru |
Markup nit: make the list of options look better.
|
129808 |
28-May-2004 |
njl |
Unify the start/size parameters for the RSDP search area. Don't bother 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.
|
129702 |
25-May-2004 |
njl |
Use the correct location of the EBDA for searching for the RSDP. The EBDA is the 1 KB area addressed by the 16 bit pointer at 0x40E.
Pointed out by: robert.moore AT intel.com
|
129693 |
25-May-2004 |
njl |
Add suspend/resume support to the debugger.
|
129278 |
16-May-2004 |
njl |
If the revision is 0, don't trust the length in the RSDP. Instead assume an ACPI version 1.0 length.
|
129272 |
16-May-2004 |
njl |
Read in the entire RSDP but only run the standard checksum over the version 1 header. Add comments to explain what we're doing here better.
Reported by: Alex Vasylenko <lxv@omut.org>
|
129230 |
14-May-2004 |
njl |
Instead of scanning the entire lower 1 MB of RAM, only scan locations 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.
|
129102 |
10-May-2004 |
des |
Minor style issues.
|
128382 |
18-Apr-2004 |
njl |
Instead of using a static, check for the FADT revision before using it. This fixes a bug where acpidump -d crashed (but not -t -d).
Submitted by: Alex Vasylenko <lxv@omut.org>
|
126625 |
05-Mar-2004 |
takawata |
Fix style breakage.
Noticed by: njl
|
126609 |
04-Mar-2004 |
takawata |
Make unprivilaged user can see battery info.
|
124963 |
25-Jan-2004 |
des |
I don't normally use my middle name, so remove it from attributions in man pages (though not from copyright notices). While I'm here, add email addresses where appropriate.
|
124495 |
13-Jan-2004 |
ru |
- Use the standard .y and .l transformation rules -- this fixes the usual parallel make race in custom .y rules.
- Fixed some style bugs.
- Removed -v from YFLAGS.
Prodded by: bde Reviewed by: bde, njl
|
124388 |
11-Jan-2004 |
ru |
Use my newly acquired magic stick and put aslcompiler.y.h into 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.
|
124138 |
04-Jan-2004 |
njl |
Clean up the check for invalid X_DSDT and X_FACS portions of the FADT. Add fadt_revision for telling if the FADT has correct 64 bit addresses, separate from whether the XSDT has legal 64 bit addresses.
|
124001 |
30-Dec-2003 |
njl |
Add support for /etc/rc.suspend and /etc/rc.resume for ACPI. They are called directly from acpiconf(8). Change both scripts to take a subsystem (apm|acpi) and sleep level (suspend,standby|1-5) argument.
|
121693 |
29-Oct-2003 |
njl |
Add a newline even if IAPC_BOOT_ARCH == 0.
|
120309 |
21-Sep-2003 |
njl |
Only print an end '}' if the field was non-zero (i.e. there were some flags to print).
|
120045 |
14-Sep-2003 |
njl |
Correct typo in comment.
|
120044 |
14-Sep-2003 |
njl |
For dumping the DSDT (-o option), be sure to use the X_DSDT address if appropriate. This should be the last change to make ia64 work.
|
120036 |
13-Sep-2003 |
njl |
Add the -i flag to acpiconf(8) to retrieve battery information. Rename a few structure elements.
|
120034 |
13-Sep-2003 |
njl |
C2/C3 latency is in microseconds (us), not ms.
|
120032 |
13-Sep-2003 |
njl |
Only print various optional fields if they are non-zero. Always print the required fields, no matter what their value.
|
120030 |
13-Sep-2003 |
njl |
Reduce the default width for IO port GAS printing.
Courtesy of: rwatson's chart presentation
|
119971 |
10-Sep-2003 |
njl |
Add dumping of the ECDT table.
Courtesy of: USENIX hall track
|
119968 |
10-Sep-2003 |
njl |
o Workaround a bug where my T23 reports that it is ACPI 2.0x compatible 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
|
119913 |
09-Sep-2003 |
njl |
Add support for ACPI 2.x and the XSDT.
Submitted by: marcel
|
119912 |
09-Sep-2003 |
njl |
Rename FACP to FADT throughout. 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.
|
119516 |
28-Aug-2003 |
njl |
Now that amldb(8) is no longer needed by acpidump, remove the last vestiges of the original userland ACPI implementation. amldb is still available from the devel/acpicatools port.
|
119515 |
28-Aug-2003 |
njl |
Modify acpidump to use iasl(8) as the backend for disassembling AML. Also clean up the output of dumped tables. Update the man page for the new usage. Make WARNS=6 clean.
|
118785 |
11-Aug-2003 |
njl |
Remove the band-aid to make these compile on amd64/ia64.
|
118698 |
09-Aug-2003 |
marcel |
Apparently I limited my testing of the ductape and bubblegum solution 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.
|
118691 |
09-Aug-2003 |
marcel |
Perform first-aid: unbreak the build for amd64 and ia64 by patching 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.
|
118643 |
08-Aug-2003 |
njl |
Hook acpidb(8) and iasl(8) up to the build and unhook amldb(8). It will be going away after a short while but still available in ports.
|
118621 |
07-Aug-2003 |
njl |
Add man pages for acpidb and iasl
|
118616 |
07-Aug-2003 |
njl |
Add the acpidb and iasl utilities. This is not yet hooked up to the build.
Obtained from: acpicatools port by Iwasaki-san
|
118335 |
02-Aug-2003 |
peter |
Hoo sed I kan spel?
|
118334 |
02-Aug-2003 |
peter |
Dump the HPET information block.
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.
|
118127 |
28-Jul-2003 |
njl |
Allow sleep states to be specified as S1, S2, ... This is used by zzz(8).
|
114246 |
29-Apr-2003 |
njl |
Support functions for the new ACPI import. * 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
|
113499 |
15-Apr-2003 |
njl |
Fix a warning about deprecated string literals.
Reviewed by: diff
|
108967 |
08-Jan-2003 |
jhb |
Add code to parse the contents of an ACPI MADT table and to dump its 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
|
108966 |
08-Jan-2003 |
jhb |
Add structure definitions for the various items in a ACPI Multiple APIC Descriptor Table (MADT) which has the signature 'ACPI'.
Approved by: marcel
|
108317 |
27-Dec-2002 |
schweikh |
english(4) police.
|
108082 |
19-Dec-2002 |
marcel |
o Use sysctl machdep.acpi_root to get the physical address of the 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.
|
107312 |
27-Nov-2002 |
ru |
mdoc(7) police: markup fixes.
Approved by: re
|
104721 |
09-Oct-2002 |
jhb |
Use __packed.
|
103489 |
17-Sep-2002 |
jhb |
Only include parent directory Makefile.inc if it exists. Now you can cvs co acpi and build acpi utilities w/o needing the usr.sbin Makefile.inc.
|
103400 |
16-Sep-2002 |
takawata |
Add sleep state explanation. Requested by: murray at Cafe in Tokyo.
|
101828 |
13-Aug-2002 |
ru |
mdoc(7) police: Removed redundant .Ns calls.
|
99968 |
14-Jul-2002 |
charnier |
The .Nm utility
|
99682 |
09-Jul-2002 |
iwasaki |
Resolve conflicts arising from the ACPI CA 20020611 import.
|
91568 |
02-Mar-2002 |
takawata |
Fix bug on method local named object related panic and Bankfield operation.
|
89210 |
10-Jan-2002 |
ru |
mdoc(7) police: kill WEOL and HSB, tidy up the AUTHORS section.
|
88802 |
02-Jan-2002 |
msmith |
Add support for decoding Buffer objects that contain PnP/ACPI resource 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.
|
87121 |
30-Nov-2001 |
cjc |
Make the error messaging more helpful.
PR: 31483 Approved by: iwasaki, ru MFC after: 4 days
|
85364 |
23-Oct-2001 |
takawata |
Collect multi name handling.
Reported by : Stephan Kulow <coolo@caldera.de>
|
85323 |
22-Oct-2001 |
iwasaki |
Fix UserTerms disassembling. Now that dumped ASL can be compiled with 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)
|
83106 |
05-Sep-2001 |
dd |
Fix typo.
PR: 30342 Submitted by: Giorgos Keramidas <charon@labs.gr>
|
81251 |
07-Aug-2001 |
ru |
mdoc(7) police:
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.
|
80109 |
21-Jul-2001 |
msmith |
ACPI CA doesn't recognis S4BIOS as a seperate sleep type anymore, so drop support for it here until we work out a better way of handling it.
|
80029 |
20-Jul-2001 |
obrien |
Perform a major cleanup of the usr.sbin Makefiles. 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.
|
80022 |
20-Jul-2001 |
obrien |
Remove GCC'isms in CFLAGS.
|
79755 |
15-Jul-2001 |
dd |
Remove whitespace at EOL.
|
79537 |
10-Jul-2001 |
ru |
mdoc(7) police: removed HISTORY info from the .Os call.
|
79454 |
09-Jul-2001 |
dd |
mdoc(7) police: remove extraneous .Pp before and/or after .Sh.
|
79366 |
06-Jul-2001 |
ru |
mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).
|
77633 |
02-Jun-2001 |
obrien |
Remove double //'s in path.
|
77449 |
30-May-2001 |
msmith |
Catch up to new include paths.
Submitted by: walt <wsheets@att.net>
|
75058 |
01-Apr-2001 |
iwasaki |
Remove NOSHARED. 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
|
74816 |
26-Mar-2001 |
ru |
- Backout botched attempt to introduce MANSECT feature. - MAN[1-9] -> MAN.
|
74532 |
20-Mar-2001 |
ru |
Set the default manual section for usr.sbin/ to 8.
|
72105 |
06-Feb-2001 |
ru |
mdoc(7) police: removed leading (non-sense) .Ns call.
|
71898 |
01-Feb-2001 |
ru |
mdoc(7) police: split punctuation characters + misc fixes.
|
71368 |
22-Jan-2001 |
ru |
mdoc(7) police: .Dv -> .Cm where appropriate.
|
71030 |
14-Jan-2001 |
des |
Spell my name right in the copyright.
|
70996 |
13-Jan-2001 |
iwasaki |
Oops, forgotten to add manpage.
|
70995 |
13-Jan-2001 |
iwasaki |
Add manpage for acpiconf.
Submitted by: des
|
70015 |
14-Dec-2000 |
ru |
mdoc(7) police: removed history info from the .Os FreeBSD call.
|
68965 |
20-Nov-2000 |
ru |
mdoc(7) police: use the new features of the Nm macro.
|
68904 |
19-Nov-2000 |
kris |
Format string error in warn()
|
68518 |
09-Nov-2000 |
iwasaki |
Move old aml interpreter code to amldb/aml/. This will be used for our reference and comparison with ACPICA aml interpreter's behavior.
|
68475 |
08-Nov-2000 |
iwasaki |
Remove dependence on old acpi driver from acpi userland tools.
- 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.
|
66537 |
02-Oct-2000 |
iwasaki |
Fix StallOp implementaion. I've noticed that StallOp corresponds to 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.
|
66502 |
01-Oct-2000 |
iwasaki |
Remove ACPI_NO_OSDFUNC_INLINE option from kernel configuration. Now 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 ?
|
66491 |
30-Sep-2000 |
iwasaki |
- Add acpi_disable_events() and set it with EVENTHANDLER_REGISTER in order to 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).
|
66490 |
30-Sep-2000 |
msmith |
Update include paths for new header locations.
Submitted by: iwasaki
|
66489 |
30-Sep-2000 |
msmith |
More updates to the ACPI code:
- 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
|
66166 |
21-Sep-2000 |
iwasaki |
Fix LINT breakage by options ACPI_NO_OSDFUNC_INLINE. Also space/tab-fix in NOTE. Grrr, my bad.
Pointed-out by: eivind
|
66150 |
20-Sep-2000 |
iwasaki |
Add new function in AML interpreter; aml_invoke_method(). 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.
|
66090 |
20-Sep-2000 |
iwasaki |
Improve region I/O sub-routines by re-writing most of low level part 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.
|
65867 |
14-Sep-2000 |
iwasaki |
Add manpages acpi userland tools.
Obtained from: ACPI for FreeBSD project
|
65288 |
31-Aug-2000 |
iwasaki |
This commit was generated by cvs2svn to compensate for changes in r65287, which included commits to RCS files with non-trunk default branches.
|
65286 |
31-Aug-2000 |
iwasaki |
This commit was generated by cvs2svn to compensate for changes in r65285, which included commits to RCS files with non-trunk default branches.
|
65284 |
31-Aug-2000 |
iwasaki |
This commit was generated by cvs2svn to compensate for changes in r65283, which included commits to RCS files with non-trunk default branches.
|
65282 |
31-Aug-2000 |
iwasaki |
Add Makefile for acpi userland tools.
Obtained from: ACPI For FreeBSD project
|
65216 |
29-Aug-2000 |
iwasaki |
A lot of changes on acpi driver code. - 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!
|
65047 |
24-Aug-2000 |
takawata |
Add orthogonal part of ACPI support code. This does not come effect until non-orthogonal part is commited.
Approved by: jkh Obtained from: ACPI for FreeBSD CVS repository.
|