NetBSD/sys/arch/sparc
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 Need to provide a consdev to the cons_attach_input call now. 2000-05-21 14:36:15 +00:00
fpu unconditionalize "ifdef sparc". 2000-04-12 04:06:41 +00:00
include First sweep at scheduler state cleanup. Collect MI scheduler 2000-05-26 21:19:19 +00:00
sparc Reduce use of curproc in several places: 2000-05-27 00:40:29 +00:00
stand dvma_init: avoid integer variable overflow 2000-04-14 14:14:47 +00:00
Makefile