diff options
author | marcel <marcel@FreeBSD.org> | 2002-05-19 04:14:42 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2002-05-19 04:14:42 +0000 |
commit | 4f957964a608b06caeca655fd6e562c8361620c4 (patch) | |
tree | 10ef1a9234b5e96c0cdce3eef86acdf3a0d968ae /sys/ia64 | |
parent | cf06f4ab5a58792ddd724a9155a6a0144f6d197d (diff) | |
download | FreeBSD-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.h | 2 | ||||
-rw-r--r-- | sys/ia64/include/pcb.h | 8 |
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_ */ |