Commit Graph

242172 Commits

Author SHA1 Message Date
christos ac892fb52b add clock_cpugetclockid{2,} 2016-04-23 23:10:10 +00:00
christos ef9bd43259 regen 2016-04-23 23:09:27 +00:00
christos 8114776c49 Add clock_getcpuclockid2(2) as well as CLOCK_{PROCESS,THREAD}_CPUTIME_ID. 2016-04-23 23:08:26 +00:00
dholland 796a3ac327 Avoid unnecessary use of basename(1). From Jukka Salmi a long, long time
ago on a tech-kern far, far away.
2016-04-23 21:24:31 +00:00
skrll d4f032a2ca Fix KASSERT 2016-04-23 18:54:42 +00:00
jakllsch 303c7edfa1 Put omapwdt32k(4) in known state (disarmed) on attach.
Some newer U-Boot builds for am335x_evm (BeagleBone) hand us the hardware
with an armed watchdog.
2016-04-23 17:05:30 +00:00
ozaki-r 8bb2f299cd Return 0 for $DEBUG=false case 2016-04-23 15:47:54 +00:00
riastradh 6cf42677a6 Make it clearer to Coverity that there's no array overrun.
CID 989067
2016-04-23 14:59:01 +00:00
riastradh 233c08f603 Mark fallthrough with a comment to appease Coverity, CID 703385. 2016-04-23 14:48:45 +00:00
christos d8ea5c36d1 add a newline 2016-04-23 14:15:36 +00:00
skrll b539025e2d Fix non-DIAGNOSTIC build 2016-04-23 13:14:52 +00:00
skrll 50a0239a34 Bump kernel version for nick-nhusb merge and usb API change 2016-04-23 12:53:52 +00:00
skrll ee8228cf5e Merge nick-nhusb (missed commit) 2016-04-23 12:50:35 +00:00
martin 1fef8e789c When we fail to allocate a usb xfer, abort TX list initialization. 2016-04-23 12:26:29 +00:00
martin 2b65c0c0c6 Add missing breaks (cosmetic change only) 2016-04-23 12:15:38 +00:00
skrll 4e8e66439e Merge nick-nhusb
- API / infrastructure changes to support memory management changes.
- Memory management improvements and bug fixes.
- HCDs should now be MP safe
- conversion to KERNHIST based debug
- FS/LS isoc support on ehci(4).
- conversion to kmem(9)
- Some USB 3 support - mostly from Takahiro HAYASHI (t-hash).
- interrupt transfers now get proper DMA operations
- general bug fixes
    - kern/48308
    - uhub status notification improvements
    - umass(4) probe fix (applied to HEAD already)
    - ohci(4) short transfer fix
2016-04-23 10:15:27 +00:00
ozaki-r 4b837129f9 Add more tests of RTF_REJECT 2016-04-23 08:54:20 +00:00
riastradh 1a3521ef21 Mark intended fallthrough to suppress Coverity CID 201378. 2016-04-22 20:19:30 +00:00
riastradh 22b2ecdf0a Sanity-check that the encoder we found is not null.
I think the previous code guarantees that finding this encoder should
work, so this should be a moot point.

CID 145720
2016-04-22 20:17:59 +00:00
riastradh 44989a88ad Mark fallthrough to suppress Coverity complaints.
CID 143119
CID 143120
CID 143121
CID 143122
CID 143123
CID 143124
2016-04-22 19:52:56 +00:00
riastradh 98bea04d22 Avoid possible null pointer dereference.
Found by Coverity, CID 709895.
2016-04-22 19:40:55 +00:00
christos 8a7283ac4d undo unintended commit 2016-04-22 18:25:41 +00:00
christos 590700bc51 undo unintended commit 2016-04-22 18:13:42 +00:00
christos ec8d3496ba Elide unused variable warnings (Felix Deichmann) 2016-04-22 18:13:01 +00:00
christos 19537c0f2f Use the right variable (Felix Deichmann) 2016-04-22 18:12:47 +00:00
christos 75518e7407 Propagate PLT fix from our gcc-5.3 tree:
Some functions like __udivsi3 are used in other assembly files like __umodsi3.
Use PLT linkage to avoid text relocations.

XXX: pullup-7
2016-04-22 18:05:52 +00:00
christos 17ab1145c9 Undo previous; wrong tree. 2016-04-22 18:05:13 +00:00
christos 6d71bd475a Propagate PLT fix from our gcc-5.3 tree:
Some functions like __udivsi3 are used in other assembly files like __umodsi3.
Use PLT linkage to avoid text relocations.

XXX: pullup-7
2016-04-22 18:03:54 +00:00
christos 4c876db4b4 Print the symbol that caused the text relocation for m68k like we do for
other platforms.
2016-04-22 17:40:36 +00:00
christos 97bb42372a Some functions like __udivsi3 are used in other assembly files like __umodsi3.
Use PLT linkage to avoid text relocations.
2016-04-22 17:39:38 +00:00
riastradh a65b673dfd Report what error was if nonzero with KASSERTMSG. 2016-04-22 15:01:54 +00:00
ozaki-r 0ba9b3455b Add more tests of RTF_REJECT 2016-04-22 06:24:10 +00:00
riastradh f600927ce7 #if DIAGNOSTIC panic ---> KASSERTMSG 2016-04-22 05:34:58 +00:00
mrg 8398abcc05 mknative for GCC 5.3 and *arm* after netbsd-elf.h order fix. 2016-04-22 01:45:26 +00:00
roy aabc63fcaa Change used from int to bool.
If used, abort the loop because we think we're already at the end.
2016-04-22 00:25:42 +00:00
riastradh 81e3279f24 MLD: multicast listener discovery 2016-04-21 23:14:25 +00:00
macallan b1ae921ac6 cgfourteen needs vcons 2016-04-21 18:27:29 +00:00
macallan edfa954b52 fix some tpyos, add some comments 2016-04-21 18:24:02 +00:00
macallan 945536925d more RASTERCONSOLE purging 2016-04-21 18:10:57 +00:00
macallan 6cb3d5c739 RASTERCONSOLE is gone, wsdisplay no longer optional 2016-04-21 18:06:06 +00:00
macallan 13f197f799 RASTERCONSOLE is no more 2016-04-21 17:59:18 +00:00
skrll 6e4fa334ab Re-order includes so that ARM_TARGET2_DWARF_FORMAT takes effect
Fixes PR/51066: C++ text relocations
2016-04-21 16:09:16 +00:00
skrll b3745dc9c0 autoconf(9) requires the kernel_lock so take it while discovering new
devices.

PR/51081: calling ioctl while attaching wifi device causes a jump to NULL
2016-04-21 15:42:56 +00:00
ozaki-r e53ad40782 Fix tests for blackhole routes
The gateway of a blackhole route must be a loopback interface.
2016-04-21 09:46:49 +00:00
mrg 0010df8996 regenerate mknative-gcc for GCC 4.8 and *arm* 2016-04-21 07:24:09 +00:00
mrg 814d336214 set _OUTDIR and _OUTDIRBASE properly for gcc.old, and fix a sed. 2016-04-21 07:22:15 +00:00
ozaki-r 2223b893c1 Add tests of route flags using IPv6 addresses 2016-04-21 05:10:15 +00:00
ozaki-r c325d0ca4f Fix RTF_{REJECT,BLACKHOLE} behavior for IPv6 routes
We still need a nexthop route to reflect RTF_{REJECT,BLACKHOLE}.
In the future, we would do it w/o looking up a route.
2016-04-21 05:07:50 +00:00
christos d5fc259be3 WARNS=1 2016-04-20 17:18:52 +00:00
christos a56964c222 /32 and /128 are valid netmasks. 2016-04-20 15:46:08 +00:00