NetBSD/sys/arch/sparc64
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 Use the new emergency fallback PROM console driver. 2000-05-19 05:28:47 +00:00
dev Use the PCI function code to distinguish simba bus A from bus B instead 2000-05-24 20:27:52 +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
sparc64 Reduce use of curproc in several places: 2000-05-27 00:40:29 +00:00
stand Add `-D' flag to drop to the PROM before jumping to the kernel. 2000-05-26 22:59:51 +00:00
Makefile Fixup non-DEBUG kernels. 1999-05-09 19:24:19 +00:00