summaryrefslogtreecommitdiffstats
path: root/sys/ia64/include/md_var.h
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2004-08-11 02:35:06 +0000
committermarcel <marcel@FreeBSD.org>2004-08-11 02:35:06 +0000
commitfbbaea5f906ae98c3b2fe400a10aa7f73d292697 (patch)
tree6873386d3adcd9d8f724266b497cb4615a353766 /sys/ia64/include/md_var.h
parent36e89f928c8909ce943566776b5922f293e7dcd5 (diff)
downloadFreeBSD-src-fbbaea5f906ae98c3b2fe400a10aa7f73d292697.zip
FreeBSD-src-fbbaea5f906ae98c3b2fe400a10aa7f73d292697.tar.gz
Add __elfN(dump_thread). This function is called from __elfN(coredump)
to allow dumping per-thread machine specific notes. On ia64 we use this function to flush the dirty registers onto the backingstore before we write out the PRSTATUS notes. Tested on: alpha, amd64, i386, ia64 & sparc64 Not tested on: arm, powerpc
Diffstat (limited to 'sys/ia64/include/md_var.h')
-rw-r--r--sys/ia64/include/md_var.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/ia64/include/md_var.h b/sys/ia64/include/md_var.h
index 99d03dd42..d1a206e 100644
--- a/sys/ia64/include/md_var.h
+++ b/sys/ia64/include/md_var.h
@@ -65,6 +65,7 @@ extern char esigcode[];
extern int szsigcode;
extern long Maxmem;
+struct _special;
struct fpreg;
struct reg;
struct thread;
@@ -75,6 +76,7 @@ int copyout_regstack(struct thread *, uint64_t *, uint64_t *);
void cpu_mp_add(u_int, u_int, u_int);
int do_ast(struct trapframe *);
int ia64_count_cpus(void);
+void ia64_flush_dirty(struct thread *, struct _special *);
int ia64_highfp_drop(struct thread *);
int ia64_highfp_save(struct thread *);
void ia64_init(void);
OpenPOWER on IntegriCloud