Commit Graph

246824 Commits

Author SHA1 Message Date
mrg
d3581646bd revert binutils check polarity. now we know that only these are
not updated to binutils 2.27: aarch64*, *arm*, hppa, mipse[lb]
2016-12-10 23:40:03 +00:00
mrg
0ef38b0092 note that crash/sparc is unstable 2016-12-10 23:21:02 +00:00
mrg
8d6d8e66db switch ppc* to binutils 2.27. 2016-12-10 23:19:26 +00:00
christos
34152e53bb Back in 1993 ${MACHINE} was a unique way to define objdirs for
every platform. Thus setting OBJMACHINE, allowed one to keep
in-tree objdirs with multiple builds. With the advent of evb*, this
has become impossible until now. Introduce OBJMACHINE_ARCH that
adds ${MACHINE_ARCH} to the objdir so that we have unique objdirs
per build again. Until we restructure things to that this is not
necessary, it is the simplest fix.
2016-12-10 23:12:39 +00:00
maya
7126f38657 raidframe: use existing routines to print an error and panic.
fixes the i386 ALL build with clang which complained about the
format string not being a string literal, and lets us get rid of
rf_panicbuf.

note: kern_assert is not KASSERT. it should panic as long as the
string is not NULL.

No functional change intended.
2016-12-10 23:03:27 +00:00
christos
219b8dae14 remove VAUDIOSPEAKER for now, will be done differently. 2016-12-10 23:03:22 +00:00
mrg
30b9303d3c regen mknative-binutils for ppc64 and binutils 2.27 2016-12-10 22:57:41 +00:00
christos
c57a477f70 remove VAUDIOSPEAKER, needs to be done differently. 2016-12-10 22:36:28 +00:00
christos
8a52904684 revert dir hack. 2016-12-10 22:09:49 +00:00
christos
a363700a4c Fix the direction; ipf/pf seem to be wrong... 2016-12-10 22:09:18 +00:00
christos
4ce8846de5 Fix varargs. 2016-12-10 22:08:13 +00:00
mrg
de41f27e8a rebuild mkantive for ppc and binutils 2.27. 2016-12-10 21:33:53 +00:00
scole
5e40039f22 Add exect stub so "build.sh distribution" will compile 2016-12-10 21:19:15 +00:00
mlelstv
d2cd12e1a7 appease gcc. 2016-12-10 21:17:12 +00:00
christos
5467719bc0 use array notation 2016-12-10 21:04:12 +00:00
kamil
4067ec816b Remove outdated note in the PT_DUMPCORE call of the ptrace(2) man-page
Currently the PT_DUMPCORE call requires process to be stopped, therefore it
no longer need to warn about stoped tracee to generate consistent data.

Sponsored by <The NetBSD Foundation>
2016-12-10 20:02:07 +00:00
martin
9043cf767a glint_drv.so.1.debug is not obsolete with XOrg server 1.18 any more 2016-12-10 19:28:19 +00:00
christos
431fde0e65 update for v18 conn list; more error checks 2016-12-10 19:07:22 +00:00
christos
9543d3ecd6 Welcome to version 18:
- Connection state keys are not stored and loaded using the logical key
  contents.
- connection finder key is stored in a map that contains the key and the
  direction.
2016-12-10 19:05:45 +00:00
christos
8feed355cb Add missing extcalls array. This is currently a no-op, but this is what
userland does too. Allows npfctl save; npfctl load to work again.
2016-12-10 19:02:18 +00:00
maya
44e7baede1 Be explicit about precedence of operators
Appeases clang when building an ALL kernel
2016-12-10 17:41:44 +00:00
martin
26f0ee9df1 Avoid crashes in calcwater when audioattach did not fully complete 2016-12-10 17:31:33 +00:00
maya
4080f99a72 fix AUDIO_DEBUG build (it builds, it boots, it plays music)
typos (vhan to vchan), sc->sc_mode[n] to vc->sc_mode, etc.
2016-12-10 17:01:08 +00:00
maya
c307f0df3c remove redundant null check
allocating with KM_SLEEP can't fail
2016-12-10 16:08:04 +00:00
rin
7edfde5134 Fix typo; ".Lx" should be ".Nx" 2016-12-10 14:13:29 +00:00
rin
585993030e Fix comment. We do not use the a.out format anymore... 2016-12-10 14:06:44 +00:00
rin
01217f1a0c Clear STRIPFLAG after include bsd.own.mk; it can be modified by mk.conf via
bsd.own.mk.
2016-12-10 14:03:34 +00:00
rin
a3ee12347a s/LIButil/LIBUTIL/ in DPADD 2016-12-10 13:55:55 +00:00
rin
a1a710f899 PR bin/50123 (myself): less and lesskey do not depend on libcurses and
libterminfo, respectively.
2016-12-10 13:44:51 +00:00
mrg
cccf376f77 note crash for sparc 2016-12-10 10:43:28 +00:00
mrg
20888c6f10 enable sparc crash(8) builds.
it's not very stable yet but it's not 100% useless.
2016-12-10 10:42:43 +00:00
mrg
3f687061b6 rearrange slightly to enable crash(8) to build. 2016-12-10 10:41:07 +00:00
mlelstv
722016fe51 Refactored sd and cd to use common disk subroutines. 2016-12-10 10:26:38 +00:00
mrg
d141926363 move struct cpu_info and xpmsg into <machine/cpu.h> from
<sparc/sparc/cpuvar.h>.  this enables them for crash(8)
and this seems more natural to me anyway.
2016-12-10 09:51:43 +00:00
mlelstv
6e90174755 Add d_label and add a few words to minphys and strategy.
Update disk man page for other users of the disk driver switch and
add reference to dksubr(9).
2016-12-10 09:49:00 +00:00
mrg
5f63d1b28b revert the previous. sparc has no spkr. 2016-12-10 09:44:06 +00:00
kre
27d85bae08 Remove what looks like remnant (partly removed already) debug code,
which could not possibly compile as it was.
2016-12-10 09:26:16 +00:00
kre
c0121372b2 Remove what was probably a left over remnant of a debugging printf
which was incompletely deleted.   Hopefully fix the build.
2016-12-10 08:48:11 +00:00
christos
b525cd90e0 add npf support. 2016-12-10 05:43:11 +00:00
christos
0ce32297f1 add functionality to lookup a nat entry from the connection list. 2016-12-10 05:41:10 +00:00
christos
6f9ed89369 bump libnpf. 2016-12-10 05:39:13 +00:00
christos
3d5a430c2b add npf_nat_lookup() 2016-12-10 05:37:55 +00:00
nat
c885b4911a Need to include audiobell.c 2016-12-10 05:09:10 +00:00
macallan
f9497ee986 now we have pm2_exa.c 2016-12-10 01:58:36 +00:00
pgoyette
d77ef3c058 Ooopss, missed the Makefile 2016-12-10 00:40:27 +00:00
pgoyette
21a19d30ca Create a new module for the synthesized speaker(4).
XXX Device module autoload (invoked when the /dev/speaker is opened, and
XXX no driver exists) will not find this module.  On i386 and amd64, the
XXX autoload will find the spkr module (spkr0 at pcppi0) and that module
XXX will be autoloaded.  For other architectures, either include the
XXX "spkr0 at audio0" in your config file, or manually load this new
XXX spkr_synth module using modload(8).
2016-12-10 00:39:40 +00:00
sjg
f65fa017b9 Avoid coredump for
(FOO) = fu

reported by Ori Bernstein
2016-12-09 22:56:21 +00:00
nat
14bff6ac28 No audio speaker on emips. Fixes build. 2016-12-09 22:50:10 +00:00
nat
f1631e52a4 Add functions to access device flags. This restores simultaneous audio
open/close.

OK hannken@ christos@
2016-12-09 19:13:47 +00:00
maxv
1311bb81d9 On amd64 we try to guarantee that VA = PA + KERNBASE in the bootstrap
memory. But we have a problem with the ISA I/O MEM, because its va is
located above the kernel and its pa below it, so it does not respect
the rule.

To compensate for that we make the map look like the ISA stuff is above
the kernel by applying an offset on the pa. The issue with this design is
that we systematically lose 96 pages of physical memory.

Fix this by applying the offset on the va instead. Now these 96 pages are
internalized into uvm, and the rule is respected until kern_end.
2016-12-09 17:57:24 +00:00