summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2002-05-19 04:14:42 +0000
committermarcel <marcel@FreeBSD.org>2002-05-19 04:14:42 +0000
commit4f957964a608b06caeca655fd6e562c8361620c4 (patch)
tree10ef1a9234b5e96c0cdce3eef86acdf3a0d968ae /sys/ia64
parentcf06f4ab5a58792ddd724a9155a6a0144f6d197d (diff)
downloadFreeBSD-src-4f957964a608b06caeca655fd6e562c8361620c4.zip
FreeBSD-src-4f957964a608b06caeca655fd6e562c8361620c4.tar.gz
o Move prototypes for restorectx and savectx from cpu.h to pcb.h,
o Remove Alpha specific contents of struct md_coredump.
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/include/cpu.h2
-rw-r--r--sys/ia64/include/pcb.h8
2 files changed, 6 insertions, 4 deletions
diff --git a/sys/ia64/include/cpu.h b/sys/ia64/include/cpu.h
index 5169f37..cf8f451 100644
--- a/sys/ia64/include/cpu.h
+++ b/sys/ia64/include/cpu.h
@@ -129,8 +129,6 @@ u_int64_t hwrpb_checksum(void);
void hwrpb_restart_setup(void);
void regdump(struct trapframe *);
void regtoframe(struct reg *, struct trapframe *);
-int savectx(struct pcb *);
-void restorectx(struct pcb *);
void set_iointr(void (*)(void *, unsigned long));
void fork_trampoline(void); /* MAGIC */
void syscall(int, u_int64_t *, struct trapframe *);
diff --git a/sys/ia64/include/pcb.h b/sys/ia64/include/pcb.h
index b7474d7..a20b342 100644
--- a/sys/ia64/include/pcb.h
+++ b/sys/ia64/include/pcb.h
@@ -77,10 +77,14 @@ struct pcb {
/*
* The pcb is augmented with machine-dependent additional data for
- * core dumps. For the Alpha, that's a trap frame.
+ * core dumps. Not applicable...
*/
struct md_coredump {
- struct trapframe md_tf;
};
+#ifdef _KERNEL
+void restorectx(struct pcb *);
+void savectx(struct pcb *);
+#endif
+
#endif /* _MACHINE_PCB_H_ */
OpenPOWER on IntegriCloud