| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Notes:
svn path=/head/; revision=345713
|
|
|
|
| |
Notes:
svn path=/head/; revision=343455
|
|
|
|
|
|
|
| |
Differential Revision: https://reviews.freebsd.org/D18937
Notes:
svn path=/head/; revision=343438
|
|
|
|
|
|
|
|
|
|
|
|
| |
is specified by its number (index), starting with zero. Previously,
sometimes users would try to literally invoke `acpiconf -i batt' in
their console and become confused as to why this did not work.
Approved by: bcr (manpages)
Differential Revision: https://reviews.freebsd.org/D18659
Notes:
svn path=/head/; revision=342550
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D15247
Notes:
svn path=/head/; revision=339818
|
|
|
|
|
|
|
| |
Approved by: re (gjb)
Notes:
svn path=/head/; revision=339262
|
|
|
|
| |
Notes:
svn path=/head/; revision=337713
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The LPIT is the part of the "standardized" way that one can enumerate
various power state information on Intel platforms.
The documentation for this change can be found here:
http://www.uefi.org/sites/default/files/resources/Intel_ACPI_Low_Power_S0_Idle.pdf
Reviewed By: jhb
Approved By: jhb
Differential Revision: https://reviews.freebsd.org/D15931
Notes:
svn path=/head/; revision=336185
|
|
|
|
|
|
|
|
|
|
| |
Was missed in r321298.
Reported by: Ben Widawsky (in review D15931)
MFC after: 1 week
Notes:
svn path=/head/; revision=335459
|
|
|
|
|
|
|
| |
Merge ACPICA 20180209.
Notes:
svn path=/head/; revision=329085
|
|
|
|
|
|
|
|
|
|
|
|
| |
the ACPI_ROOT_OBJECT and ACPI_TO_POINTER macros from acpica's actypes.h
header, that they use arithmetic on a null pointer treated as a cast
from integer to pointer, which is a GNU extension. We turn off the
warning, because this is in contributed code.
Requested by: rakuco
Notes:
svn path=/projects/clang600-import/; revision=327702
|
|
|
|
|
|
|
|
| |
macros. Instead, turn off clang 6.0.0 warnings about null pointer
arithmetic in usr.sbin/acpi/acpidb instead.
Notes:
svn path=/projects/clang600-import/; revision=327622
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Improve options handling and error out if multiple mutually exclusive
options are passed to acpiconf. Switch from using atoi() to strtol() for
argument parsing, and add error checking and handling, instead of blindly
trusting that the integer conversion is OK.
Cange err() to errx() in once case, the errno value was garbage there.
Reviewed by: emaste
Approved by: emaste
Differential Revision: D13430
Notes:
svn path=/head/; revision=326733
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.
The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
No functional change intended.
Notes:
svn path=/head/; revision=326276
|
|
|
|
|
|
|
| |
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=325188
|
|
|
|
| |
Notes:
svn path=/head/; revision=324502
|
|
|
|
|
|
|
|
| |
Reported by: lwhsu, kib
Requested by: ngie
Notes:
svn path=/head/; revision=324136
|
|
|
|
| |
Notes:
svn path=/head/; revision=324109
|
|
|
|
|
|
|
| |
Sponsored by: Netflix
Notes:
svn path=/head/; revision=323614
|
|
|
|
| |
Notes:
svn path=/head/; revision=323076
|
|
|
|
|
|
|
|
|
|
|
| |
It looked like incomplete copy/paste, printing absolute garbage.
While there, print ValidFields field ax hex, since it is a bitmask.
MFC after: 3 days
Notes:
svn path=/head/; revision=323045
|
|
|
|
|
|
|
| |
MFC after: 2 weeks
Notes:
svn path=/head/; revision=322351
|
|
|
|
| |
Notes:
svn path=/head/; revision=321670
|
|
|
|
|
|
|
|
|
|
| |
From ACPI 6.2, 5.2.16.5
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=321299
|
|
|
|
|
|
|
|
|
|
| |
Submitted by: Guangyuan Yang <yzgyyang@outlook.com>
MFC after: 3 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D11479
Notes:
svn path=/head/; revision=321298
|
|
|
|
|
|
|
|
|
| |
Submitted by: Guangyuan Yang <yzgyyang@outlook.com>
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D11659
Notes:
svn path=/head/; revision=321294
|
|
|
|
|
|
|
|
| |
Submitted by: Guangyuan Yang <yzgyyang@outlook.com>
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=320736
|
|
|
|
| |
Notes:
svn path=/head/; revision=319365
|
|
|
|
|
|
|
|
|
| |
getopt returns int and not char, so assigning the value to
char is not ideal, especially on platforms with unsigned
chars.
Notes:
svn path=/head/; revision=316627
|
|
|
|
|
|
|
|
|
| |
Reviewed by: ngie
MFC after: 3 weeks.
Differential Revision: https://reviews.freebsd.org/D9940
Notes:
svn path=/head/; revision=314994
|
|
|
|
|
|
|
|
|
|
| |
This simplifies make logic/output
MFC after: 1 month
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=314659
|
|
|
|
| |
Notes:
svn path=/head/; revision=314611
|
|
|
|
| |
Notes:
svn path=/head/; revision=311462
|
|
|
|
| |
Notes:
svn path=/head/; revision=306686
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ThunderX units in the netperf cluster.
Approved by: jkim
Obtained from: ABT Systems Ltd
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D7252
Notes:
svn path=/head/; revision=305471
|
|
|
|
|
|
|
|
|
|
| |
This fixes acpidump(8) compiled with "WITHOUT_ASSERT_DEBUG=yes" that
removes assert(3)'s from the code.
Submitted by: Alexander Nedotsukov
Notes:
svn path=/head/; revision=304000
|
|
|
|
|
|
|
|
|
|
|
|
| |
printed. The HW_REDUCED flag is useful as it should be set on arm64 to
comply with the ARM Server Base Boot Requirements.
Obtained from: ABT Systems Ltd
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=303026
|
|
|
|
|
|
|
|
|
|
|
| |
unsigned so will never be -1.
Obtained from: ABT Systems Ltd
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=302788
|
|
|
|
|
|
|
|
|
|
|
|
| |
The first file in these lists will generate everything else so only
it should be getting a .meta file. With bmake's missing=yes meta
feature these would otherwise cause a rebuild without the
.NOMETA hint.
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=301285
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D6368
Notes:
svn path=/head/; revision=300633
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D6360
Notes:
svn path=/head/; revision=300632
|
|
|
|
| |
Notes:
svn path=/head/; revision=298714
|
|\
| |
| |
| |
| |
| |
| | |
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/projects/release-pkg/; revision=296318
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These are no longer needed after the recent 'beforebuild: depend' changes
and hooking DIRDEPS_BUILD into a subset of FAST_DEPEND which supports
skipping 'make depend'.
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=295989
|
|\|
| |
| |
| |
| |
| |
| | |
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/projects/release-pkg/; revision=293172
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
directory.
Tracking these leads to situations where meta mode will consider the
file to be out of date if /bin/sh or /bin/ln are newer than the source
file. There's no reason for meta mode to do this as make is already
handling the rebuild dependency fine.
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=291320
|
|\|
| |
| |
| | |
Notes:
svn path=/projects/release-pkg/; revision=288441
|
| |
| |
| |
| |
| |
| |
| |
| | |
Reported by: Iam Smith (smithi at nimnet dot asn dot au)
MFC after: 3 days
Notes:
svn path=/head/; revision=288116
|
|\|
| |
| |
| | |
Notes:
svn path=/projects/release-pkg/; revision=287710
|
|\|
| |
| |
| | |
Notes:
svn path=/projects/release-pkg/; revision=287708
|