diff options
author | dfr <dfr@FreeBSD.org> | 2000-10-12 14:36:39 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2000-10-12 14:36:39 +0000 |
commit | 8f965dc2c3abffb0e3a6a0fd9ea46e9ca04b7b85 (patch) | |
tree | 0b7dec0827f11947f6802abf6434ba7374dd9c5b /sys/ia64/include/cpu.h | |
parent | 14f5acf06f8e509533ec780d43155a71a5e773e3 (diff) | |
download | FreeBSD-src-8f965dc2c3abffb0e3a6a0fd9ea46e9ca04b7b85.zip FreeBSD-src-8f965dc2c3abffb0e3a6a0fd9ea46e9ca04b7b85.tar.gz |
* Fix exception handling so that it actually works. We can now handle
exceptions from both kernel and user mode.
* Fix context switching so that we can switch back to a proc which we
switched away from (we were saving the state in the wrong place).
* Implement lazy switching of the high-fp state. This needs to be looked
at again for SMP to cope with the case of a process migrating from one
processor to another while it has the high-fp state.
* Make setregs() work properly. I still think this should be called
cpu_exec() or something.
* Various other minor fixes.
With this lot, we can execve() /sbin/init and we get all the way up to its
first syscall. At that point, we stop because syscall handling is not done
yet.
Diffstat (limited to 'sys/ia64/include/cpu.h')
-rw-r--r-- | sys/ia64/include/cpu.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/ia64/include/cpu.h b/sys/ia64/include/cpu.h index 79f3727..f14c20e 100644 --- a/sys/ia64/include/cpu.h +++ b/sys/ia64/include/cpu.h @@ -131,7 +131,6 @@ struct reg; struct rpb; struct trapframe; -extern struct proc *fpcurproc; extern struct rpb *hwrpb; extern volatile int mc_expected, mc_received; @@ -142,7 +141,7 @@ void child_return __P((struct proc *p)); u_int64_t console_restart __P((u_int64_t, u_int64_t, u_int64_t)); void do_sir __P((void)); void dumpconf __P((void)); -void exception_return __P((void)); /* MAGIC */ +void exception_restore __P((void)); /* MAGIC */ void frametoreg __P((struct trapframe *, struct reg *)); long fswintrberr __P((void)); /* MAGIC */ int ia64_pa_access __P((u_long)); |