Commit Graph

16037 Commits

Author SHA1 Message Date
hannken 2b4a4af133 Move vnode members v_dnclist and v_nclist as vi_dnclist and
vi_nclist to vnode_impl.h.
2017-01-11 09:04:37 +00:00
maya 3b4ebb08a0 -Wa,--fatal-warnings is a GCC flag and unknown to clang. make it
GCC specific, so we can (try to) build a kernel with higher WARNS
using clang.
2017-01-10 17:16:19 +00:00
skrll 6093e5eae2 binutils 2.26 is no more. 2017-01-10 13:47:18 +00:00
kamil 189ca4b8c7 Document TRAP_CHLD in siginfo(2)
The SIGTRAP signal is thrown from the kernel if EVENT_MASK (ptrace_event)
enables PTRACE_FORK. This new si_code helps debuggers to distinguish the
exact source of signal delivered for a debugger.

Another purpose of TRAP_CHLD is to retain the same behavior inside the
NetBSD kernel for process child traps and have an interface to monitor it.

Retrieving exact event and extended properties of process child trap is
available with PT_GET_PROCESS_STATE.

There is no behavior change for existing software.

This si_code value is NetBSD extension.

Sponsored by <The NetBSD Foundation>
2017-01-10 00:51:56 +00:00
hubertf a12c8506b7 Document kern.sched sysctl variables. 2017-01-09 20:08:26 +00:00
christos 88a8605262 mention tcp signature 2017-01-08 17:57:37 +00:00
christos 13da18a371 - centralize setting of MK* vars in bsd.own.mk
- make sure that the default setting of all vars is done in _MKVARS.{yes,no}
  if possible.
2017-01-08 17:40:44 +00:00
wiz aca767b26f Fix display problem reported by kamil via abhinav. 2017-01-08 14:28:42 +00:00
wiz e7a30ec40c Sort a bit. 2017-01-08 13:53:28 +00:00
christos 44ed840a46 add nsd 2017-01-07 22:27:36 +00:00
kamil 8780553feb Document that TRAP_EXEC is .Nx extension and update .Sh HISTORY for it
Sponsored by <The NetBSD Foundation>
2017-01-07 06:01:20 +00:00
ozaki-r 5ee8b500a7 Add entries of pmap(9) functions 2017-01-07 04:44:12 +00:00
kamil d152fc3170 Document TRAP_EXEC in SIGRAP in siginfo(2)
TRAP_EXEC - Process exec trap

This signal is emitted on exec() when a process is controlled by a
debugger.

Sponsored by <The NetBSD Foundation>
2017-01-07 01:22:12 +00:00
wiz 25ffc5e78c New sentence, new line. 2017-01-05 09:55:01 +00:00
wiz b4e07d632b Bump date for previous. 2017-01-05 09:54:03 +00:00
wiz dd61d2ee17 Use Fl for flags. 2017-01-05 09:50:40 +00:00
maya c29c35b7ee Remove npx.4 for real now 2017-01-03 09:17:19 +00:00
maya 148cc75bdf remove npx(4) and references to it. bump dates for reference removal.
This used to refer to x87 support for x86 machines.

npx isn't really a driver any more. we don't support x86 hardware
without an FPU, and we don't call it by that name in the code or
attach it as npx at something.

brought up on tech-kern. unfortunately the copy to port-i386 disappeared
in a spam filter.
2017-01-03 08:49:04 +00:00
cherry 32a513de8f Document sys/uvm/uvm_init.c:uvm_md_init() 2017-01-02 21:42:01 +00:00
hannken 998709c439 Rename vget() to vcache_vget() and vcache_tryvget() respectively and
move the definitions to sys/vnode_impl.h.

No functional change intended.

Welcome to 7.99.54
2017-01-02 10:33:28 +00:00
wiz d9c9f0be5b More macros, whitespace. 2017-01-02 09:53:04 +00:00
sevan 6a6f30abbb Give a heads up about bus_dmatag_subregion() 2017-01-02 03:12:49 +00:00
pgoyette c09178b60e Document kern.hist 2017-01-01 23:59:19 +00:00
kamil df3a703207 Document AMP in wtf(6)
AMP    asymmetric multiprocessing
2017-01-01 22:44:30 +00:00
wiz 7585dbcb6a bitstring.h does not provide size_t; include sys/types.h for that.
Bump date.
2016-12-29 23:55:28 +00:00
wiz 96932fac5b Fix typos. 2016-12-29 11:50:44 +00:00
kamil 66ee2fea73 Bump date for siginfo(2) and document SI_LWP and SI_NOINFO as .Nx extension
Sponsored by <The NetBSD Foundation>
2016-12-28 21:19:06 +00:00
kamil b87a69e6d0 Document SI_MESGQ in siginfo(2)
SI_MESGQ
  The signal was generated because of the arrival of a message
  on an empty message queue.

This code was commented out since inception of this manual page (originally
located in siginfo(5)).

Sponsored by <The NetBSD Foundation>
2016-12-28 20:41:55 +00:00
kamil 29480d5842 Document SI_QUEUE in siginfo(2)
SI_QUEUE
  The signal was generated via sigqueue(2).

This code was commented out since inception of this manual page (originally
located in siginfo(5)).

Sponsored by <The NetBSD Foundation>
2016-12-28 20:34:36 +00:00
kamil 588fa8e476 Document SI_LWP in siginfo(2)
SI_LWP
  The signal was generated via _lwp_kill(2).

Sponsored by <The NetBSD Foundation>
2016-12-28 20:06:00 +00:00
kamil 16c81e612e Document SI_NOINFO in siginfo(2)
SI_NOINFO
  The signal was generated without specifc info available.

Sponsored by <The NetBSD Foundation>
2016-12-28 20:00:15 +00:00
wiz 81f31009a1 Use more macros. 2016-12-28 11:44:58 +00:00
ozaki-r b79bd95d27 Use ether_ifattach in carp_clone_create instead of C&P code
carp_clone_destroy calls ether_ifdetach so not calling ether_ifattach is
inconsistent. If we add something pair of initialization and destruction
to ether_ifattach and ether_ifdetach (e.g., mutex_init/mutex_destroy),
ether_ifdetach of carp_clone_destroy won't work. So use ether_ifattach.

In order to do so, make ether_ifattach accept the 2nd argument (lla) as
NULL to allow carp to initialize its link level address by itself.
2016-12-28 07:26:24 +00:00
msaitoh 02a1c2e3d0 Add X550. 2016-12-28 05:03:32 +00:00
pgoyette 77ce73405e Bump date for previous. 2016-12-27 21:54:50 +00:00
pgoyette ed445f1b6c Update the list of options that enable the "show kernhist" command, and
restructure a bit.
2016-12-27 21:54:17 +00:00
pgoyette 19f5287d84 Give the reader a clue as to what information BIOHIST can provide. 2016-12-27 10:30:24 +00:00
kamil cd2d2d0c2e Rename SIGPOLL signal to SIGIO in documentation siginfo(2)
SIGPOLL is absent on NetBSD, it's emulated in linux_compat(8).
2016-12-27 01:44:06 +00:00
pgoyette 7f0851cee1 Add a BIOHIST option. As mentioned on tech-kern. 2016-12-26 23:12:33 +00:00
wiz a823b333c5 New sentence, new line. 2016-12-26 16:03:50 +00:00
flxd a910009158 Add tcu(4) for TC-USB. 2016-12-26 15:59:26 +00:00
christos ffa88d505d Add to lint flags for MKREPRO 2016-12-24 17:44:22 +00:00
abhinav 9e3eb1e837 Add a missing .El, which is causing the rest of the text being
rendered indented. Patch provided by fox on IRC.

While there, remove a .Pp before .Bl.
2016-12-24 14:04:10 +00:00
wiz 5aed204344 Fix SYNOPSIS. Fix xref. Avoid Xr for itself. 2016-12-24 08:05:47 +00:00
abhinav d2ed5b2faa Fix a sentence
Make some makrup improvments to make mandoc -Tlint happy
Sort xrefs in SEE ALSO
2016-12-24 07:22:41 +00:00
christos 41f4de4258 Don't attempt to shorten resolved path names (via realpath) because it could
lead to inconsistencies between different builds.
2016-12-23 21:11:45 +00:00
cherry 8cea678b1d Add the uvm_hotplug.9 manpage to the build tree. 2016-12-22 11:46:48 +00:00
christos 45fd52509c wildcard obj dirs 2016-12-21 03:13:00 +00:00
christos 50b4b37dbe Don't remap mkdep, otherwise we add dependencies for /usr/include instead
of ${DESTDIR}/usr/include and things go south.
2016-12-21 03:00:51 +00:00
ryoon cfaa2ed36b Add UE-200TX-G 2016-12-19 15:09:38 +00:00
ryoon 9f9505b77a Add LAN-TXU2C and LAN-TXU2H3A 2016-12-19 15:08:03 +00:00
ryoon 93882b3f92 Add Anker A7611 and DIEWU USB-DW8152, and bump date 2016-12-19 15:03:59 +00:00
ryoon 4a775abe09 Add LUA3-U2-ATX and bump date 2016-12-19 14:55:32 +00:00
wiz 0b615192ef Various improvements.
New sentence, new line.
Better punctuation.
More appropriate macros.
More markup.
2016-12-19 13:45:57 +00:00
cherry 07acf3c096 This is a preview of the uvm_hotplug(9) api code.
This commit does not actually introduce the UVM_HOTPLUG option.
However it does provide developers a way to review, test and try out
the API.

To do this, please go to tests/sys/uvm/ and build and run the tests
there. The tests also have a set of basic load tests, to get a measure
of the performance penalties due to enabling the UVM_HOTPLUG option.

In order to build the tests you need to have at least done the
following in $SRC/

cd $SRC; $NBMAKE do-distrib-dirs includes
cd $SRC/lib/csu; $NBMAKE all install || exit
cd $SRC/external/gpl3/gcc/lib/libgcc/libgcc_s; $NBMAKE all install || exit
cd $SRC/external/gpl3/gcc/lib/libgcc/libgcc; $NBMAKE all install || exit
cd $SRC/lib/libc; $NBMAKE includes all install || exit
cd $SRC/lib/libpthread; $NBMAKE all install || exit
cd $SRC/lib/libm; $NBMAKE all install || exit
cd $SRC/external/gpl3/gcc/lib/libstdc++-v3/; $NBMAKE all install || exit

Once the development environment has these userspace libraries, one
can simple build using $NBMAKE and finally test the kernel API using

atf-run|atf-report
2016-12-19 12:21:29 +00:00
maya 9faa971c56 Change one more "generic DHCP client" reference to say dhcpcd rather
than dhclient
2016-12-17 07:44:59 +00:00
maya 17af23f753 Reference dhcpcd as the sole DHCP client in general man pages.
We'd rather have new users use dhcpcd. hopefully this eliminates some
unnecessary confusion about there being two clients.
2016-12-17 07:37:24 +00:00
abhinav e5909f155b Fix sentence. 2016-12-16 17:20:52 +00:00
scole 975ce79004 Make ia64 considered 64bit for the _XSERVER64 define so a release with x11 will at least build. 2016-12-14 16:03:19 +00:00
hannken 70ec436e39 Move vnode members "v_freelisthd" and "v_freelist" from "struct vnode"
to "struct vnode_impl" and rename to "vi_lrulisthd" and "vi_lrulist".

No functional change intended.

Welcome to 7.99.48
2016-12-14 15:48:54 +00:00
wiz c63070ac1f Bump date for previous. 2016-12-13 11:00:20 +00:00
kamil 35e94f32ac KSTACK_CHECK_DR0 is no longer available
It used to detect stackoverflow on the i386 port.

Sponsored by <The NetBSD Foundation>
2016-12-13 10:55:40 +00:00
riastradh efda97f48b wtf tfw
Courtesy of i3enedek.
2016-12-12 20:41:49 +00:00
nat 4012ae34ea Update audio man page with regard to audio changes.
OK wiz@
2016-12-12 11:49:27 +00:00
wiz c985f95b45 Improve wording. Fix typo. Remove superfluous Pp. 2016-12-12 10:13:00 +00:00
wiz 9b02f8947b New sentence, new line.
Sort SEE ALSO.
2016-12-12 10:10:05 +00:00
wiz 36a13280ea Fix xref. 2016-12-12 10:09:52 +00:00
christos e04e53e08d complete the transition to binutils-2.27 2016-12-11 06:37:49 +00:00
mrg 9aed0f5ab2 aarch64 builds work with binutils 2.27. switch it. hppa builds,
just needs a run time test if someone wants.  then we're done!
2016-12-11 03:40:57 +00:00
mrg 692b61f19e switch mips (32 bit) and arm to binutils 2.27. hppa and aarch64 left. 2016-12-11 02:38:54 +00:00
alnsn 127c7e7c0f Document AES-XTS in cgd(4). 2016-12-11 00:24:48 +00:00
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 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
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
nat 03783bb56a Add a synthesized pc beeper and keyboard bell for platforms with an audio
device.
2016-12-08 11:31:08 +00:00
christos db332cd014 factor out expression. 2016-12-08 03:25:35 +00:00
christos 86dd6d287c move sh3 to new binutils 2016-12-08 03:22:36 +00:00
maya baefce2250 update uep(4) to reflect the fact it can be calibrated now. 2016-12-05 13:17:28 +00:00
skrll ae2187513d Note all chipsets supported.
Bump date.
2016-12-04 11:31:55 +00:00
christos c4cb6918e1 switch sparc/sparc64 to binutils 227 2016-12-03 16:02:10 +00:00
christos 1b08d10df9 move alpha to new binutils 2016-12-03 04:06:25 +00:00
christos 2de9513676 switch mips64 to new binutils and gdb. 2016-12-03 02:18:38 +00:00
christos 0ab93415f3 switch m68k to new binutils and gdb 2016-12-02 17:54:35 +00:00
mrg a361e6a644 document new UVMHIST_MAPHIST_SIZE and UVMHIST_PDHIST_SIZE options. 2016-12-01 02:12:21 +00:00
pgoyette 5ce4a2dac2 orrect the text for fileassoc_table_run() - it takes two parameters. 2016-12-01 01:06:12 +00:00
wiz 238875cdff New sentence, new line.
Use more/better formatting.
Fix a typo.
2016-11-28 11:54:18 +00:00
mlelstv 9185ad93b5 Provide a man page for the disk driver subroutines (dksubr). 2016-11-28 11:00:24 +00:00
christos 787783f1e0 switch vax to new binutils and gdb. 2016-11-27 18:53:05 +00:00
christos 1b50694b4e Mention fileassoc dependencies 2016-11-26 13:54:34 +00:00
kamil f97e335d53 Add: PCB process control block 2016-11-26 03:33:34 +00:00
mrg 4a00697d3d document NFS_BOOT_TCP option. 2016-11-22 04:55:10 +00:00
kamil c37dd9bcb4 Add entry for pthread_dbg in share/tmac/doc2html
pthread_dbg is POSIX Debug Threads Library

Sponsored by <The NetBSD Foundation>
2016-11-22 00:36:49 +00:00
snj 7ae8358cfa nuke xf86-video-nvxbox, as xbox support went away in 2011. 2016-11-21 17:00:32 +00:00
wiz 48516259b7 Add RCS Id. Bump date for import. Case fixes. 2016-11-20 17:02:33 +00:00
wiz 1d1b567584 Bump date for previous. Use more markup. 2016-11-20 16:59:11 +00:00
macallan 91eaa6ded9 add driver for Permedia 3 based graphics devices
from Naruaki Etomi, via PR 49518
2016-11-20 16:55:18 +00:00
mlelstv b6a6db8fe4 Make scsipi framework MPSAFE.
Data structures are now protected by a per-adapter mutex at IPL_BIO
that is created by the scsibus or atapibus instance when the adapter
is configured.
The enable reference counter and the channel freeze counter which are
currently used by HBA code before the adapter is configured, are made
atomic.
The target drivers are now all tagged as D_MPSAFE.

Almost all HBA drivers still require the kernel lock to present,
so all callbacks into HBA code are still protected by kernel lock
unless the driver is tagged as SCSIPI_ADAPT_MPSAFE.

TODO: refactor sd and cd to use dksubr.
2016-11-20 15:37:19 +00:00
dholland c90f9ca485 Add crossreference to scsictl per note in PR 9627. 2016-11-20 07:02:21 +00:00
wiz 3d5157a1a4 Use more markup. 2016-11-18 08:29:43 +00:00