NetBSD/sys/arch/x68k
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 defopt FPSP. 2000-05-14 14:13:53 +00:00
dev Treat receiver overrun of MFP (clear the error). 2000-05-25 03:33:27 +00:00
include First sweep at scheduler state cleanup. Collect MI scheduler 2000-05-26 21:19:19 +00:00
stand Use bsd.hostprog.mk to allow ELF target on a.out host. 2000-05-15 05:02:29 +00:00
usr.bin all -> realall. 2000-04-16 14:19:53 +00:00
usr.sbin According to Takeshi Nakayama <tn@catvmics.ne.jp>, 2000-02-20 16:18:51 +00:00
x68k Reduce use of curproc in several places: 2000-05-27 00:40:29 +00:00
Makefile Rework the way kernel include files are installed. In the new method, 1998-06-12 23:22:30 +00:00