freebsd-dev/sys/alpha
Dag-Erling Smørgrav 3da3249106 Dissociate ptrace from procfs.
Until now, the ptrace syscall was implemented as a wrapper that called
various functions in procfs depending on which ptrace operation was
requested.  Most of these functions were themselves wrappers around
procfs_{read,write}_{,db,fp}regs(), with only some extra error checks,
which weren't necessary in the ptrace case anyway.

This commit moves procfs_rwmem() from procfs_mem.c into sys_process.c
(renaming it to proc_rwmem() in the process), and implements ptrace()
directly in terms of procfs_{read,write}_{,db,fp}regs() instead of
having it fake up a struct uio and then call procfs_do{,db,fp}regs().

It also moves the prototypes for procfs_{read,write}_{,db,fp}regs()
and proc_rwmem() from proc.h to ptrace.h, and marks all procfs files
except procfs_machdep.c as "optional procfs" instead of "standard".
2001-10-07 20:08:42 +00:00
..
alpha Dissociate ptrace from procfs. 2001-10-07 20:08:42 +00:00
compile Don't need the .keep_me files. Obrien and I committed past each other. 2001-07-01 23:35:44 +00:00
conf Add AlphaPC64 to comments. Correct names (ds10 -> DS10 etc) 2001-09-30 12:09:50 +00:00
include - If we ever do the per-cpu KTR stuff, the index won't be volatile as it 2001-09-18 21:46:26 +00:00
isa Sanity guard- return ENODEV if we don't have a good IRQ resource. 2001-07-11 02:24:28 +00:00
linux Regen. 2001-10-07 00:21:18 +00:00
mcbus fix alpha-MD compile errors after the vm_mtx commit 2001-05-20 16:22:46 +00:00
osf1 Overzealous search/replace: PROC_LOCK_ASSERT(p, not PROC_LOCK_ASSERT(td, 2001-09-23 06:16:01 +00:00
pci Fix Assembler buglet: Warning: .end directive names different symbol than .ent 2001-06-14 19:33:16 +00:00
tc If we're not going to use am7990_shutdown, comment it all out. 2001-06-14 19:36:37 +00:00
tlsb KSE Milestone 2 2001-09-12 08:38:13 +00:00
Makefile Add a dopey makefile to do the tags dance, which is probably not perfect 2000-12-31 23:26:34 +00:00