Commit Graph

240916 Commits

Author SHA1 Message Date
christos f9c83eb7df Bump size. 2016-02-20 16:42:33 +00:00
christos aa307dc1bb bump more. 2016-02-20 16:40:15 +00:00
christos 26a356ba92 bump size 2016-02-20 16:37:51 +00:00
christos a481ce46bc Unbreak LLVM MKREPRO=yes builds (since the build system sets MKREPRO now) 2016-02-20 16:36:08 +00:00
riastradh 301aaf756f Note that SCHED_OTHER must have priority PRI_NONE. 2016-02-20 16:00:10 +00:00
christos 80fa2ce1a5 where is already void * 2016-02-20 15:20:23 +00:00
christos 678012db01 Provide a variable MKTOOLSDEBUG to build debugging versions of tools. 2016-02-20 15:18:46 +00:00
christos 8deba6d762 Add missing debug files 2016-02-20 14:43:59 +00:00
christos 594c2a778c Add missing debug files. 2016-02-20 14:42:18 +00:00
christos 6dea137a32 Add missing debug files 2016-02-20 14:41:11 +00:00
skrll b59397546a s/0/NULL/ 2016-02-20 09:38:28 +00:00
christos e7f950d16b mention latest elftoolchain 2016-02-20 02:50:33 +00:00
christos a23b9c5b66 bump for new elftoolchain 2016-02-20 02:44:51 +00:00
christos a844544399 bump version 2016-02-20 02:44:02 +00:00
christos 42bd301920 merge conflicts 2016-02-20 02:43:41 +00:00
christos 39a6cffc33 Import latest elftoolchain components needed for CTF from FreeBSD 2016-02-20 02:42:00 +00:00
christos 604231c4f0 - don't barf if the object does not have DWARF debug data.
- bump size of types to 1K to avoid string overflow
(both are needed for the new elftoolchain).
2016-02-20 02:39:47 +00:00
wiz 69951fe427 Spelling fixes. 2016-02-20 01:43:28 +00:00
sjg 30ecb77bc6 Add a knob .MAKE.SAVE_DOLLARS to control the behavior of $$ during :=
If TRUE '$$' are not consumed (saved).
If FALSE '$$' becomes '$' just like normal expansion rules.

default is TRUE.

Reviewed by: christos
2016-02-20 01:19:03 +00:00
macallan 3709f36323 make debug code compile again
from christos
2016-02-19 22:09:09 +00:00
skrll ca9e3f8040 Why KASSERT when you can KASSERTMSG 2016-02-19 21:41:59 +00:00
skrll 6b2006e1d1 In msleep use udelay if cold or sleep is small enough. This is mostly
copied from the drm2 version.
2016-02-19 21:10:18 +00:00
skrll 542f022158 In msleep use mdelay if cold 2016-02-19 21:08:19 +00:00
christos bedf7768e8 Intel MCU. 2016-02-19 20:45:21 +00:00
roy 72b9424275 Implement a queue for if_link_state_change() calls to fix a race condition
introduced in the prior patch.

The queue has capacity to store 8 link state changes, if it overflows then
the oldest state change is lost, but the oldest DOWN state change is
preserved to ensure any subsequent UP state changes reflect properly.

Because there are only 3 states to queue, the queue itself is implemented
by storing 2-bit numbers in a bigger one.
To increase the size of the queue, just increase the size of the backing
store to a bigger number.
2016-02-19 20:05:43 +00:00
joerg b0b911ff3e Don't use #pragma weak to implicitly change argument types. 2016-02-19 19:25:59 +00:00
joerg e9ae0934d6 dmu_objset_rename is an alias for dsl_dataset_rename, but differs in
constness of the first argument. Newer clang checks for this and
prohibits it, so just be consistent by constifying the latter.
2016-02-19 19:25:22 +00:00
macallan c04b415846 switch powerpc ports to new binutils 2016-02-19 18:47:24 +00:00
pooka 2657abc4e0 add cpu_lock
from freqlabs on irc
2016-02-19 18:38:37 +00:00
christos 3129d5ec3f avoid re-def 2016-02-19 17:05:40 +00:00
christos 2f573a20ed PR/50827: Richard Hansen: Fix default variable assignment with arithmetic,
from kre.
2016-02-19 13:50:37 +00:00
christos dd7e4e3700 undo accidental commit 2016-02-19 13:49:01 +00:00
christos 64d8e9d299 Add a test for PR/50827 2016-02-19 13:48:28 +00:00
sjg dcbb4e91e7 Initialize curFile->depending in Parse_SetInput. 2016-02-19 06:19:06 +00:00
riastradh f818fa6833 Explicitly cast between char and unsigned char here. 2016-02-19 04:18:32 +00:00
riastradh 9628679b27 Need <stdbool.h> for true/false. 2016-02-19 03:53:46 +00:00
riastradh 1a5afb31a5 Various housekeeping.
- Include <ufs/lfs/lfs.h> for union lfs_dinode &c.
- Include <string.h> or <sys/systm.h> for memcpy.
- Avoid signedness mismatch in lfs dino accessor for `rdev'.
- Avoid shadowing global `index'.
2016-02-19 03:43:42 +00:00
sjg 9359338bf8 getBoolean:
We need :U to ensure we get an empty string if knob isn't set.
2016-02-19 00:11:45 +00:00
sjg 230e72b2d8 Delete :@ loop iterator when done with it 2016-02-18 23:33:25 +00:00
macallan e2007d759e gcc does not pass floating point options to the assembler
by default, because it is afraid that the stricter tests
will break userland code. The new binutils is pickier about
this. Gcc 5.x fixes the issue so for now, set explicitly
the assembler soft-float flags when we build the kernel.
see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64569
2016-02-18 20:50:44 +00:00
sjg 3c092045e1 Adapt to changed Var_Subst() 2016-02-18 20:33:40 +00:00
sjg 8d916cfab5 Add .export-literal to avoid the need for $$ dance when trying to put
unexpanded variables into environment.

Reviewed by: christos
2016-02-18 20:25:08 +00:00
christos 4d0b1055db Collapse the 3 boolean parameter to 1 flags parameter. No functional change. 2016-02-18 18:29:14 +00:00
riastradh f2a2263adb Avoid reading one byte past end of array.
Fixes

   acpiout0: brightness levels: [20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,uvm_fault(0xffffffff8133d200, 0xffff80000c1d8000, 1) -> e
   fatal page fault in supervisor mode
   trap type 6 code 0 rip ffffffff803b63d7 cs 8 rflags 10212 cr2 ffff80000c1d8000 ilevel 8 rsp ffffffff816a1b00
2016-02-18 15:42:44 +00:00
sjg f24ab88bf9 It's 2016 2016-02-18 06:18:58 +00:00
sjg f67d104eff Actually FALSE as last arg to Var_Subst makes more sense 2016-02-18 05:40:50 +00:00
sjg a6c0ebbea8 Add support for .dinclude
Like .sinclude missing file will be ignored.
Like .depend stale dependencies will be ignored.
Allows better implementation of auto depend.

Reviewed by: christos
Requested by: Bryan Drewery at FreeBSD.
2016-02-18 05:02:49 +00:00
sjg 71bb4da1c9 Adapt to new Var_Subst prototype 2016-02-18 05:01:39 +00:00
macallan 677061ce2a Adapt CI20 HWRNG to synchronous on-demand callback.
Omit needless softint/locking dance.
from riastradh@
2016-02-17 20:12:42 +00:00
christos f91581fb8e PR/50815: David Binderman: Remove dup test 2016-02-17 20:11:17 +00:00