Add in dbregs stubs that a committer for changes on the i386 ought to have done.
PR: 12579
This commit is contained in:
parent
adecb1d455
commit
51cff81e4d
@ -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);
|
||||
}
|
||||
|
@ -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 *));
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user