summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/alpha/alpha/procfs_machdep.c21
-rw-r--r--sys/alpha/include/reg.h9
-rw-r--r--sys/powerpc/powerpc/procfs_machdep.c21
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);
+}
OpenPOWER on IntegriCloud