diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-03-02 23:36:46 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-03-02 23:36:46 +0000 |
commit | 3623aa59366a383494516167e784507361c47666 (patch) | |
tree | 1f27b91afcdc670ddd313fc6c9ec702e3c4c3077 /usr.sbin | |
parent | 9aebc676361f459df5ba83581d437ee61cca5e87 (diff) |
A wrong comment is worth a thousand bugs...
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/afs/src/lwp/process.m88k.S | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/afs/src/lwp/process.m88k.S b/usr.sbin/afs/src/lwp/process.m88k.S index eebfda1ab7c..f7ccb8ba4de 100644 --- a/usr.sbin/afs/src/lwp/process.m88k.S +++ b/usr.sbin/afs/src/lwp/process.m88k.S @@ -1,4 +1,4 @@ -/* $OpenBSD: process.m88k.S,v 1.1 2004/03/02 18:17:51 miod Exp $ */ +/* $OpenBSD: process.m88k.S,v 1.2 2004/03/02 23:36:45 miod Exp $ */ /* * Copyright (c) 2004, Miodrag Vallat. @@ -35,7 +35,8 @@ * savecontext(int (*f)(), struct savearea *a1, char *newsp) */ ENTRY(savecontext) - /* save all registers but r0, r2, r3 and r4 on stack */ + /* save all registers but r0, r2, r3 and r31 on stack - we could + skip r4 but saving it allows us to use it as a temporary below. */ sub r31, r31, 4 * 30 st.d r4, r31, 4 * 0 st.d r6, r31, 4 * 2 |