NetBSD/sys/arch/next68k
sommerfeld 40339b39f9 Reduce use of curproc in several places:
- Change ktrace interface to pass in the current process, rather than
p->p_tracep, since the various ktr* function need curproc anyway.

 - Add curproc as a parameter to mi_switch() since all callers had it
handy anyway.

 - Add a second proc argument for inferior() since callers all had
curproc handy.

Also, miscellaneous cleanups in ktrace:

 - ktrace now always uses file-based, rather than vnode-based I/O
(simplifies, increases type safety); eliminate KTRFLAG_FD & KTRFAC_FD.
Do non-blocking I/O, and yield a finite number of times when receiving
EWOULDBLOCK before giving up.

 - move code duplicated between sys_fktrace and sys_ktrace into ktrace_common.

 - simplify interface to ktrwrite()
2000-05-27 00:40:29 +00:00
..
compile
conf Add "install" target, so "make install" after building the kernel 2000-05-09 00:56:21 +00:00
dev we don't have callrom(), so stop pretending otherwise. fixes PR 2000-03-06 04:14:15 +00:00
include First sweep at scheduler state cleanup. Collect MI scheduler 2000-05-26 21:19:19 +00:00
next68k Reduce use of curproc in several places: 2000-05-27 00:40:29 +00:00
stand include <lib/libkern/libkern.h> for intoa()/inet_ntoa() 1999-05-07 16:19:27 +00:00
Makefile fixed TAGS target for emacs style tags 1999-07-20 08:55:30 +00:00