diff options
author | John Polstra <jdp@FreeBSD.org> | 1998-09-14 22:43:40 +0000 |
---|---|---|
committer | John Polstra <jdp@FreeBSD.org> | 1998-09-14 22:43:40 +0000 |
commit | 1a291e0cd4ff0e901be82a01e5fd47443dc786c7 (patch) | |
tree | f2a7f141e7d67a59798406c7d1141d278d19b9bc /sys/amd64/include/md_var.h | |
parent | 011ee1102f24322d6dea957778060305289c7c6b (diff) | |
download | src-1a291e0cd4ff0e901be82a01e5fd47443dc786c7.tar.gz src-1a291e0cd4ff0e901be82a01e5fd47443dc786c7.zip |
Add new functions fill_fpregs() and set_fpregs(), like fill_regs()
and set_regs() but for the floating point register state. The code
is stolen from procfs_machdep.c, and moved out of there into
machdep.c.
These functions are needed for generating ELF core dumps.
Notes
Notes:
svn path=/head/; revision=39197
Diffstat (limited to 'sys/amd64/include/md_var.h')
-rw-r--r-- | sys/amd64/include/md_var.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/amd64/include/md_var.h b/sys/amd64/include/md_var.h index 0db9334e7762..de71059ee292 100644 --- a/sys/amd64/include/md_var.h +++ b/sys/amd64/include/md_var.h @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: md_var.h,v 1.23 1998/02/01 23:00:53 bde Exp $ + * $Id: md_var.h,v 1.24 1998/07/11 05:59:35 bde Exp $ */ #ifndef _MACHINE_MD_VAR_H_ @@ -64,6 +64,7 @@ extern int szsigcode; typedef void alias_for_inthand_t __P((u_int cs, u_int ef, u_int esp, u_int ss)); struct proc; struct reg; +struct fpreg; void bcopyb __P((const void *from, void *to, size_t len)); void busdma_swi __P((void)); @@ -78,6 +79,7 @@ void doreti_popl_ds __P((void)) __asm(__STRING(doreti_popl_ds)); void doreti_popl_ds_fault __P((void)) __asm(__STRING(doreti_popl_ds_fault)); void doreti_popl_es __P((void)) __asm(__STRING(doreti_popl_es)); void doreti_popl_es_fault __P((void)) __asm(__STRING(doreti_popl_es_fault)); +int fill_fpregs __P((struct proc *, struct fpreg *)); int fill_regs __P((struct proc *p, struct reg *regs)); void fillw __P((int /*u_short*/ pat, void *base, size_t cnt)); int is_physical_memory __P((vm_offset_t addr)); |