diff options
author | mjacob <mjacob@FreeBSD.org> | 1999-07-09 17:48:22 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 1999-07-09 17:48:22 +0000 |
commit | 51cff81e4dc2c0c43c2f3b6e7a7f7792a35b3deb (patch) | |
tree | 2ccb46f92a9d6a77a23c2435b3ac13da2593a762 /sys | |
parent | adecb1d4554d6fabb7d8fcd77a0d4616fe860386 (diff) | |
download | FreeBSD-src-51cff81e4dc2c0c43c2f3b6e7a7f7792a35b3deb.zip FreeBSD-src-51cff81e4dc2c0c43c2f3b6e7a7f7792a35b3deb.tar.gz |
Add in dbregs stubs that a committer for changes on the i386 ought to have done.
PR: 12579
Diffstat (limited to 'sys')
-rw-r--r-- | sys/alpha/alpha/procfs_machdep.c | 21 | ||||
-rw-r--r-- | sys/alpha/include/reg.h | 9 | ||||
-rw-r--r-- | sys/powerpc/powerpc/procfs_machdep.c | 21 |
3 files changed, 48 insertions, 3 deletions
diff --git a/sys/alpha/alpha/procfs_machdep.c b/sys/alpha/alpha/procfs_machdep.c index 621280a..cfaa023 100644 --- a/sys/alpha/alpha/procfs_machdep.c +++ b/sys/alpha/alpha/procfs_machdep.c @@ -37,7 +37,7 @@ * @(#)procfs_machdep.c 8.3 (Berkeley) 1/27/94 * * From: - * $Id: procfs_machdep.c,v 1.1 1998/06/10 10:53:04 dfr Exp $ + * $Id: procfs_machdep.c,v 1.2 1998/09/14 22:43:19 jdp Exp $ */ /* @@ -131,3 +131,22 @@ procfs_sstep(p) { return (EINVAL); } + +/* + * Placeholders + */ +int +procfs_read_dbregs(p, dbregs) + struct proc *p; + struct dbreg *dbregs; +{ + return (EIO); +} + +int +procfs_write_dbregs(p, dbregs) + struct proc *p; + struct dbreg *dbregs; +{ + return (EIO); +} diff --git a/sys/alpha/include/reg.h b/sys/alpha/include/reg.h index 47e18c8..40569a0 100644 --- a/sys/alpha/include/reg.h +++ b/sys/alpha/include/reg.h @@ -1,4 +1,4 @@ -/* $Id: reg.h,v 1.2 1998/06/10 10:55:26 dfr Exp $ */ +/* $Id: reg.h,v 1.3 1999/04/03 22:19:57 jdp Exp $ */ /* From: NetBSD: reg.h,v 1.3 1997/04/06 08:47:40 cgd Exp */ /* @@ -91,6 +91,13 @@ struct fpreg { u_int64_t fpr_cr; }; +/* + * Placeholder. + */ +struct dbreg { + unsigned long wankage; +}; + #ifdef KERNEL void restorefpstate __P((struct fpreg *)); void savefpstate __P((struct fpreg *)); diff --git a/sys/powerpc/powerpc/procfs_machdep.c b/sys/powerpc/powerpc/procfs_machdep.c index 621280a..cfaa023 100644 --- a/sys/powerpc/powerpc/procfs_machdep.c +++ b/sys/powerpc/powerpc/procfs_machdep.c @@ -37,7 +37,7 @@ * @(#)procfs_machdep.c 8.3 (Berkeley) 1/27/94 * * From: - * $Id: procfs_machdep.c,v 1.1 1998/06/10 10:53:04 dfr Exp $ + * $Id: procfs_machdep.c,v 1.2 1998/09/14 22:43:19 jdp Exp $ */ /* @@ -131,3 +131,22 @@ procfs_sstep(p) { return (EINVAL); } + +/* + * Placeholders + */ +int +procfs_read_dbregs(p, dbregs) + struct proc *p; + struct dbreg *dbregs; +{ + return (EIO); +} + +int +procfs_write_dbregs(p, dbregs) + struct proc *p; + struct dbreg *dbregs; +{ + return (EIO); +} |