aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>2001-10-09 19:50:29 +0000
committerDoug Rabson <dfr@FreeBSD.org>2001-10-09 19:50:29 +0000
commit7e3e8e556f1180b9b0a755cf541cfa91c3de9dd1 (patch)
tree2605b75d38fa60a22577416b0c2c2c5dc02192be
parentbaadfb4c1e81c817b9bce595265d428d2ed7bb5a (diff)
Notes
-rw-r--r--sys/ia64/ia64/vm_machdep.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/ia64/ia64/vm_machdep.c b/sys/ia64/ia64/vm_machdep.c
index 81c5c4a95a5ea..cd21b2a2fc751 100644
--- a/sys/ia64/ia64/vm_machdep.c
+++ b/sys/ia64/ia64/vm_machdep.c
@@ -255,7 +255,9 @@ cpu_fork(td1, p2, flags)
* will return to exception_restore(). Note that the
* child process doesn't stay in the kernel for long!
*
- * XXX what is this +/- 16 stuff here?
+ * The extra 16 bytes subtracted from sp is part of the ia64
+ * ABI - a function can assume that the 16 bytes above sp are
+ * available as scratch space.
*/
td2->td_pcb->pcb_sp = (u_int64_t)p2tf - 16;
td2->td_pcb->pcb_r4 = (u_int64_t)fork_return;