Commit Graph

250710 Commits

Author SHA1 Message Date
ryo
d9ee24f798 whitespace police 2017-05-01 10:00:43 +00:00
abhinav
520f86ec72 Avoid dereferencing pointer at multiple places, instead use a local variable. 2017-05-01 06:56:00 +00:00
abhinav
05f4872247 Remove the table name parameter from the check_md5 function.
There is only one table storing the md5 checksums, so we can hardcode the table
name instead of passing it as a function argument.
2017-05-01 06:43:56 +00:00
abhinav
1d50c960ff Avoid copying strings where it is not needed. 2017-05-01 05:52:33 +00:00
abhinav
1373f782a3 Simplify handling of the section arguments in apropos(1).
Earlier, a white space separated string was generated containing all the section
numbers passed through command line arguments. Later on that would have to be
tokenized and processed. Instead of that, use a NULL terminated array of strings.

Thanks to christos@ for reviewing and suggesting further improvements.
2017-05-01 05:28:00 +00:00
christos
6cacb5f5a7 new acpica 2017-04-30 23:19:11 +00:00
christos
3e9df59c18 Adjust for 20170303 2017-04-30 23:18:07 +00:00
christos
8f1e17bd8d merge conflicts 2017-04-30 23:13:36 +00:00
christos
835858a6a9 ----------------------------------------
03 March 2017. Summary of changes for version 20170303:


0) ACPICA licensing:

The licensing information at the start of each source code module has
been updated. In addition to the Intel license, the dual GPLv2/BSD
license has been added for completeness. Now, a single version of the
source code should be suitable for all ACPICA customers. This is the
major change for this release since it affects all source code modules.


1) ACPICA kernel-resident subsystem:

Fixed two issues with the common asltypes.h header that could cause
problems in some environments: (Kim Jung-uk)
    Removed typedef for YY_BUFFER_STATE ?
       Fixes an error with earlier versions of Flex.
    Removed use of FILE typedef (which is only defined in stdio.h)


2) iASL Compiler/Disassembler and Tools:

Disassembler: fixed a regression introduced in 20170224. A fix for a
memory leak related to resource descriptor tags (names) could fault when
the disassembler was generated with 64-bit compilers.

The ASLTS test suite has been updated to implement a new testing
architecture. During generation of the suite from ASL source, both the
ASL and ASL+ compilers are now validated, as well as the disassembler
itself (Erik Schmauss). The architecture executes as follows:

    For every ASL source module:
        Compile (legacy ASL compilation)
        Disassemble the resulting AML to ASL+ source code
        Compile the new ASL+ module
        Perform a binary compare on the legacy AML and the new ASL+ AML
    The ASLTS suite then executes normally using the AML binaries.

----------------------------------------
24 February 2017. Summary of changes for version 20170224:


1) ACPICA kernel-resident subsystem:

Interpreter: Fixed two issues with the control method return value auto-
repair feature, where an attempt to double-delete an internal object
could result in an ACPICA warning (for _CID repair and others). No fault
occurs, however, because the attempted deletion (actually a release to an
internal cache) is detected and ignored via object poisoning.

Debugger: Fixed an AML interpreter mutex issue during the single stepping
of control methods. If certain debugger commands are executed during
stepping, a mutex aquire/release error could occur. Lv Zheng.

Fixed some issues generating ACPICA with the Intel C compiler by
restoring the original behavior and compiler-specific include file in
acenv.h. Lv Zheng.

Example Code and Data Size: These are the sizes for the OS-independent
acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
debug version of the code includes the debug output trace mechanism and
has a much larger code and data size.

  Current Release:
    Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
    Debug Version:     207.5K Code, 82.7K Data, 290.2K Total
  Previous Release:
    Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
    Debug Version:     201.5K Code, 82.2K Data, 283.7K Total


2) iASL Compiler/Disassembler and Tools:

iASL/Disassembler: A preliminary version of a new ASL-to-ASL+ conversion
tool has been designed, implemented, and included in this release. The
key feature of this utility is that the original comments within the
input ASL file are preserved during the conversion process, and included
within the converted ASL+ file -- thus creating a transparent conversion
of existing ASL files to ASL+ (ASL 2.0). Erik Schmauss.

    Usage: iasl -ca <ASL-filename>  // Output is a .dsl file with
converted code

iASL/Disassembler: Improved the detection and correct disassembly of
Switch/Case operators. This feature detects sequences of if/elseif/else
operators that originated from ASL Switch/Case/Default operators and
emits the original operators. David Box.

iASL: Improved the IORT ACPI table support in the following areas. Lv
Zheng:
    Clear MappingOffset if the MappingCount is zero.
    Fix the disassembly of the SMMU GSU interrupt offset.
    Update the template file for the IORT table.

Disassembler: Enhanced the detection and disassembly of resource
template/descriptor within a Buffer object. An EndTag descriptor is now
required to have a zero second byte, since all known ASL compilers emit
this. This helps eliminate incorrect decisions when a buffer is
disassembled (false positives on resource templates).
2017-04-30 20:57:21 +00:00
wiz
6a689d47ba Use URL and appropriate macro for pointing to ftp.freebsd.org. 2017-04-30 20:28:53 +00:00
sevan
a81ff05aa1 Direct reader solely to ftp.FreeBSD.org.
The mirror list is no longer publish on FTP and the main mirror now uses geodns
to guide visitors to nearest mirror.
Bump date.
2017-04-30 20:05:30 +00:00
christos
b9dfc8dc3f Use backtracking for regular patterns, but not ksh-specific ones [*?!+@](...)
which still use recursion.
2017-04-30 17:34:29 +00:00
abhinav
c08af49426 Simplify 2017-04-30 16:56:30 +00:00
jmcneill
ff3dc5e46c Rename of_getprop_bool to of_hasprop and make of_getprop_bool an alias. 2017-04-30 16:46:09 +00:00
wiz
53f81df777 Uppercase UID. Fix typo. 2017-04-30 16:02:48 +00:00
wiz
93cd6a62e6 Remove unnecessary Pp. Add missing plural-s. More markup. 2017-04-30 15:59:18 +00:00
abhinav
b8c9b20183 Instead of dereferencing the pointer passed in as function argument, use a
temporary local buffer. Saves the cost of pointer dereferencing at so many places.
2017-04-30 15:27:24 +00:00
abhinav
ba948c919e Update the comment to be in sync with the code. 2017-04-30 14:53:58 +00:00
abhinav
3c0134393a Use sqlite3_mprintf() to generate SQL query instead of asprintf. 2017-04-30 14:49:26 +00:00
abhinav
28a2c1c134 Free the buffer allocated by getline(3).
ok christos.
2017-04-30 13:45:06 +00:00
pgoyette
ca0e313cbd Add a cross-ref to devsw(9) 2017-04-30 12:32:40 +00:00
pgoyette
80a22f761a Add new primary entry for devsw(9) man page 2017-04-30 12:30:55 +00:00
pgoyette
11a5449d19 Make the primary name for this man-page devsw 2017-04-30 12:30:00 +00:00
abhinav
be698a8c12 Add missing words. 2017-04-30 09:00:49 +00:00
abhinav
e62bbc5df1 Avoid a call to strncmp when comparing only the first character of the string. 2017-04-30 08:41:18 +00:00
jmcneill
0474988ece Adjust voltage when changing CPU frequency. 2017-04-29 23:00:42 +00:00
jakllsch
8e858e53c6 - Recognize the AS3722 sd0_v_minus_200mV bit, which is 1 on my Jetson TK1.
- Reduce intended core voltage for Tegra K1 124 by 200mV to 1.2V.

The actual value programmed into the SD0 regulator remains the same (0x50),
a value corresponding to 1.20V.
2017-04-29 20:43:48 +00:00
jakllsch
818c51c494 Add AS3722 SD4 regulator frobbing bits.
Reduces aprint_error counter with TEGRA kernel on Jetson TK1 to 1 from 3.
2017-04-29 19:56:59 +00:00
mrg
8ce88958b3 add a link to midirecord(1). 2017-04-29 18:31:43 +00:00
abhinav
116a5447e2 Bring the comment in sync with code (after changes brought by the last commit). 2017-04-29 16:49:51 +00:00
kre
d778b916e6 Correct description of the trap command (make it posix compatible)
and add a couple more examples.   Also terminate a few sentences...
2017-04-29 15:26:44 +00:00
kre
51c4dfe49c Keep track of which file descriptors the shell is using for its
own purposes, and move them elsewhere whenever a user redirection
happens to pick the same number.   With this we can move the shell
file descriptors back to lower values (be slightly kinder to the kernel)
since we can no longer clash.   (Also get rid of a little old unneeded code.)

This also completes the fdflags command, which no longer permits access
to (by way or either obtaining, or changing) the shell's internal fds.
2017-04-29 15:14:28 +00:00
kre
6f0d4805b2 Fix several problems with the implementation of the "trap" command
(that is, with the command itself, not with the traps that are
executed, if any).

- "trap -- -l" is not rational, permit the (non-std) -l option only
  when given as the sole arg (ie: "trap -l").
- "trap --" is the same as just "trap" (and -- is ignored for below)
- "trap action" generates a usage message (there must be at least one condition)
- "trap N [condition...]" (the old form with a numeric first arg, to reset
  traps to default, instead of "trap - condition...") is properly detected.
  In particular while "trap 1 2 3" resets sighup sigint and siquit handlers
  to default, "trap hup int quit" runs the "hup" command on sigint or sigquit
  and does nothing to sighup at all.
- actions can start with "-" (as can commands in general) - it may be unusual
  or even unwise, but it is not prohibited, and should work
- bad conditions (signal names/numbers) are just a usage error (resulting in
  non-zero "exit status" (and a diagnostic on stderr)) they do not cause
  the script to abort (as a syntax error in a special builtin would.)
  (so says posix, very explicitly.)
- when outputting the trap list ("trap") properly quote null actions
  (ignored conditions).  This has the side effect of also generating an
  explicit null string ('') in other cases where null values are output,
  such as when reporting var values ("set") but that's OK, and might be
  better (VAR= and VAR='' mean the same, but the latter is more obvious.)

We still do not properly handle traps=$(trap) (ie: it does not work at all,
and should) but that's a different problem that needs fixing in another place.
2017-04-29 15:12:21 +00:00
abhinav
c376a38e5b Don't parse Nm macro when it occurs anywhere outside the NAME section.
mandoc(3) already generates the text node representing the value for the .Nm macro.
Doing our own parsing for .Nm on top of that leads to large duplication of text
in the database. This gets specially worse for man pages with large NAME sections,
such as queue(3).
2017-04-29 14:43:09 +00:00
christos
001c3fa330 remove extra S 2017-04-29 13:25:27 +00:00
jmcneill
88f9ee6165 Rename fdt_print to fdtbus_print and make it public. 2017-04-29 12:49:05 +00:00
jmcneill
e0acee194d Move logic for checking "status" property out of fdtbus into a public
fdtbus_status_okay function.
2017-04-29 12:38:26 +00:00
jmcneill
0144a37cc7 APB-DMA channel registers start at offset 1000h relative to the APB-DMA
controller registers.
2017-04-29 11:47:32 +00:00
jmcneill
2023f8b6b4 add tegraapbdma driver 2017-04-29 11:02:17 +00:00
jmcneill
c10789b972 Add Tegra124 APB-DMA controller driver. 2017-04-29 11:01:51 +00:00
jmcneill
cc252bcdb0 Add FDT DMA controller API. 2017-04-29 11:00:56 +00:00
jmcneill
167fc7ec14 add APB-DMA clock gate 2017-04-29 11:00:17 +00:00
christos
cc3b642007 MAP_COPY is handled in compat 2017-04-29 01:18:35 +00:00
christos
e3f7dc487e MAP_COPY moved to compat 2017-04-29 01:17:47 +00:00
christos
1dd20c251a move MAP_COPY in compat 2017-04-29 01:15:40 +00:00
nonaka
addbc19a7a Added missing file...
> nvmectl(8): sync with FreeBSD HEAD r316105.
>
>  - Expand the SMART / Health Information Log Page (Page 02) printout based on
>    NVM Express 1.2.1 Standard.
>  - Implement Intel-specific log pages.
>  - Implement HGST-specific log pages.
>  - Implement wdc-specific nvme control options.
>  - Add the ability to dump log pages directly in binary to stdout.
2017-04-29 00:08:46 +00:00
nonaka
d003492f75 nvmectl(8): sync with FreeBSD HEAD r316105.
- Expand the SMART / Health Information Log Page (Page 02) printout based on
   NVM Express 1.2.1 Standard.
 - Implement Intel-specific log pages.
 - Implement HGST-specific log pages.
 - Implement wdc-specific nvme control options.
 - Add the ability to dump log pages directly in binary to stdout.
2017-04-29 00:06:40 +00:00
nonaka
d6c1a4862f efiboot: Boot parameters can be set via installboot(8). 2017-04-29 00:05:35 +00:00
kamil
a9391cc9b5 Fix typo in ATF test t_strtoi.c
No functional change.
2017-04-28 19:01:01 +00:00
skrll
94df2250c7 Remove unused LNAME macro 2017-04-28 17:04:33 +00:00