NetBSD/sys/arch
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
..
alpha Reduce use of curproc in several places: 2000-05-27 00:40:29 +00:00
amiga Reduce use of curproc in several places: 2000-05-27 00:40:29 +00:00
amigappc First sweep at scheduler state cleanup. Collect MI scheduler 2000-05-26 21:19:19 +00:00
arc First sweep at scheduler state cleanup. Collect MI scheduler 2000-05-26 21:19:19 +00:00
arm26 Reduce use of curproc in several places: 2000-05-27 00:40:29 +00:00
arm32 Reduce use of curproc in several places: 2000-05-27 00:40:29 +00:00
atari Reduce use of curproc in several places: 2000-05-27 00:40:29 +00:00
bebox First sweep at scheduler state cleanup. Collect MI scheduler 2000-05-26 21:19:19 +00:00
cobalt First sweep at scheduler state cleanup. Collect MI scheduler 2000-05-26 21:19:19 +00:00
evbsh3 First sweep at scheduler state cleanup. Collect MI scheduler 2000-05-26 21:19:19 +00:00
hp300 Reduce use of curproc in several places: 2000-05-27 00:40:29 +00:00
hpcmips First sweep at scheduler state cleanup. Collect MI scheduler 2000-05-26 21:19:19 +00:00
i386 Reduce use of curproc in several places: 2000-05-27 00:40:29 +00:00
luna68k Reduce use of curproc in several places: 2000-05-27 00:40:29 +00:00
m68k First sweep at scheduler state cleanup. Collect MI scheduler 2000-05-26 21:19:19 +00:00
mac68k Reduce use of curproc in several places: 2000-05-27 00:40:29 +00:00
macppc First sweep at scheduler state cleanup. Collect MI scheduler 2000-05-26 21:19:19 +00:00
mips Reduce use of curproc in several places: 2000-05-27 00:40:29 +00:00
mmeye First sweep at scheduler state cleanup. Collect MI scheduler 2000-05-26 21:19:19 +00:00
mvme68k Reduce use of curproc in several places: 2000-05-27 00:40:29 +00:00
news68k Reduce use of curproc in several places: 2000-05-27 00:40:29 +00:00
newsmips 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
ofppc First sweep at scheduler state cleanup. Collect MI scheduler 2000-05-26 21:19:19 +00:00
pc532 Reduce use of curproc in several places: 2000-05-27 00:40:29 +00:00
pmax First sweep at scheduler state cleanup. Collect MI scheduler 2000-05-26 21:19:19 +00:00
powerpc Reduce use of curproc in several places: 2000-05-27 00:40:29 +00:00
prep First sweep at scheduler state cleanup. Collect MI scheduler 2000-05-26 21:19:19 +00:00
sh3 Reduce use of curproc in several places: 2000-05-27 00:40:29 +00:00
sparc Reduce use of curproc in several places: 2000-05-27 00:40:29 +00:00
sparc64 Reduce use of curproc in several places: 2000-05-27 00:40:29 +00:00
sun3 Reduce use of curproc in several places: 2000-05-27 00:40:29 +00:00
vax Reduce use of curproc in several places: 2000-05-27 00:40:29 +00:00
x68k Reduce use of curproc in several places: 2000-05-27 00:40:29 +00:00
Makefile Add new SUBDIRs. 2000-02-19 02:03:29 +00:00