diff options
author | des <des@FreeBSD.org> | 2001-10-21 23:57:24 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2001-10-21 23:57:24 +0000 |
commit | f4cecd8fd870f1069e3897c5001bbc12ef72eebe (patch) | |
tree | 4d88290415ec9c8c1cff416415c846591f275a37 /sys/fs/procfs | |
parent | 68ea04e86493611196c5c3e77f3479fb9eb464c5 (diff) | |
download | FreeBSD-src-f4cecd8fd870f1069e3897c5001bbc12ef72eebe.zip FreeBSD-src-f4cecd8fd870f1069e3897c5001bbc12ef72eebe.tar.gz |
Move procfs_* from procfs_machdep.c into sys_process.c, and rename them to
proc_* in the process; procfs_machdep.c is no longer needed.
Run-tested on i386, build-tested on Alpha, untested on other platforms.
Diffstat (limited to 'sys/fs/procfs')
-rw-r--r-- | sys/fs/procfs/procfs_ctl.c | 2 | ||||
-rw-r--r-- | sys/fs/procfs/procfs_dbregs.c | 4 | ||||
-rw-r--r-- | sys/fs/procfs/procfs_fpregs.c | 4 | ||||
-rw-r--r-- | sys/fs/procfs/procfs_regs.c | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/sys/fs/procfs/procfs_ctl.c b/sys/fs/procfs/procfs_ctl.c index 14e3d0a..2dcae24 100644 --- a/sys/fs/procfs/procfs_ctl.c +++ b/sys/fs/procfs/procfs_ctl.c @@ -242,7 +242,7 @@ out: case PROCFS_CTL_STEP: _PHOLD(p); PROC_UNLOCK(p); - error = procfs_sstep(&p->p_thread); /* XXXKSE */ + error = proc_sstep(&p->p_thread); /* XXXKSE */ PRELE(p); if (error) return (error); diff --git a/sys/fs/procfs/procfs_dbregs.c b/sys/fs/procfs/procfs_dbregs.c index 1327f27..dad4025 100644 --- a/sys/fs/procfs/procfs_dbregs.c +++ b/sys/fs/procfs/procfs_dbregs.c @@ -84,14 +84,14 @@ procfs_dodbregs(curp, p, pfs, uio) if (kl < 0) error = EINVAL; else - error = procfs_read_dbregs(&p->p_thread, &r); /* XXXKSE */ + error = proc_read_dbregs(&p->p_thread, &r); /* XXXKSE */ if (error == 0) error = uiomove(kv, kl, uio); if (error == 0 && uio->uio_rw == UIO_WRITE) { if (p->p_stat != SSTOP) error = EBUSY; else - error = procfs_write_dbregs(&p->p_thread, &r); /* XXXKSE */ + error = proc_write_dbregs(&p->p_thread, &r); /* XXXKSE */ } PRELE(p); diff --git a/sys/fs/procfs/procfs_fpregs.c b/sys/fs/procfs/procfs_fpregs.c index b01509b..99ed221 100644 --- a/sys/fs/procfs/procfs_fpregs.c +++ b/sys/fs/procfs/procfs_fpregs.c @@ -81,14 +81,14 @@ procfs_dofpregs(curp, p, pfs, uio) if (kl < 0) error = EINVAL; else - error = procfs_read_fpregs(&p->p_thread, &r); + error = proc_read_fpregs(&p->p_thread, &r); if (error == 0) error = uiomove(kv, kl, uio); if (error == 0 && uio->uio_rw == UIO_WRITE) { if (p->p_stat != SSTOP) error = EBUSY; else - error = procfs_write_fpregs(&p->p_thread, &r); + error = proc_write_fpregs(&p->p_thread, &r); } PRELE(p); diff --git a/sys/fs/procfs/procfs_regs.c b/sys/fs/procfs/procfs_regs.c index 27e950d..8488f13 100644 --- a/sys/fs/procfs/procfs_regs.c +++ b/sys/fs/procfs/procfs_regs.c @@ -82,14 +82,14 @@ procfs_doregs(curp, p, pfs, uio) if (kl < 0) error = EINVAL; else - error = procfs_read_regs(&p->p_thread, &r); /* XXXKSE */ + error = proc_read_regs(&p->p_thread, &r); /* XXXKSE */ if (error == 0) error = uiomove(kv, kl, uio); if (error == 0 && uio->uio_rw == UIO_WRITE) { if (p->p_stat != SSTOP) error = EBUSY; else - error = procfs_write_regs(&p->p_thread, &r); /* XXXKSE */ + error = proc_write_regs(&p->p_thread, &r); /* XXXKSE */ } PRELE(p); |