summaryrefslogtreecommitdiffstats
path: root/sys/ia64/include/cpu.h
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2000-10-16 08:54:40 +0000
committerdfr <dfr@FreeBSD.org>2000-10-16 08:54:40 +0000
commiteff8f28a1d7344917be2f3c7bc8c3595cc1f95a6 (patch)
tree11df3db4b13e94c772920d3c8303aa26089f1b48 /sys/ia64/include/cpu.h
parent4585a8bcedebb58812522ee2a8c36552e4acb11f (diff)
downloadFreeBSD-src-eff8f28a1d7344917be2f3c7bc8c3595cc1f95a6.zip
FreeBSD-src-eff8f28a1d7344917be2f3c7bc8c3595cc1f95a6.tar.gz
* Correct some of my misunderstandings about how best to switch to the
kernel backing store. * Implement syscalls via break instructions. * Fix backing store copying in cpu_fork() so that the child gets the right register values. This thing is actually starting to work now. This set of changes takes me up to the second execve (the one which runs the first shell). Next stop single-user mode :-).
Diffstat (limited to 'sys/ia64/include/cpu.h')
-rw-r--r--sys/ia64/include/cpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ia64/include/cpu.h b/sys/ia64/include/cpu.h
index d1f4f86..d72f1d2 100644
--- a/sys/ia64/include/cpu.h
+++ b/sys/ia64/include/cpu.h
@@ -163,8 +163,8 @@ void restorectx __P((struct pcb *));
void set_iointr __P((void (*)(void *, unsigned long)));
void switch_exit __P((struct proc *)); /* MAGIC */
void switch_trampoline __P((void)); /* MAGIC */
-void syscall __P((u_int64_t, struct trapframe *));
-void trap __P((int vector, struct trapframe *framep));
+void syscall __P((int, u_int64_t *, struct trapframe *));
+void trap __P((int vector, int imm, struct trapframe *framep));
#endif /* _KERNEL */
OpenPOWER on IntegriCloud