[parisc-linux-cvs] comment fixes for entry.S
Richard Hirst
rhirst@puffin.external.hp.com
Tue, 3 Apr 2001 13:22:55 +0100
+++ entry.S 2001/04/03 12:15:13
@@ -608,14 +608,20 @@
copy %r26, %r28
/*
- * Common rfi return path for interruptions, kernel execve, and some
- * syscalls. The sys_rt_sigreturn syscall will return via this path
- * if the signal was received when the process was running; if the
- * process was blocked on a syscall then the normal syscall_exit
- * path is used. All syscalls for traced proceses exit via
- * intr_restore.
- * Note that the following code uses a "relied upon translation". See
- * the parisc ACD for details. The ssm is necessary due to a PCXT bug.
+ * Common rfi return path for interruptions, kernel execve, and
+ * sys_rt_sigreturn (sometimes). The sys_rt_sigreturn syscall will
+ * return via this path if the signal was received when the process
+ * was running; if the process was blocked on a syscall then the
+ * normal syscall_exit path is used. All syscalls for traced
+ * proceses exit via intr_restore.
+ *
+ * XXX If any syscalls that change a processes space id ever exit
+ * this way, then we will need to copy %sr3 in to PT_SR[3..7], and
+ * adjust IASQ[0..1].
+ *
+ * Note that the following code uses a "relied upon translation".
+ * See the parisc ACD for details. The ssm is necessary due to a
+ * PCXT bug.
*/
.align 4096
@@ -635,7 +641,7 @@
LDREG PT_IAOQ1(%r16),%r19
depi 3,31,2,%r19
STREG %r19,PT_IAOQ1(%r16)
-
+
intr_return:
/* Check for software interrupts */
@@ -2003,8 +2009,7 @@
values. */
/* NOTE: Not all syscalls exit this way. rt_sigreturn will exit
* via syscall_exit_rfi if the signal was received while the process
- * was running. All traced processes will probably exit via
- * syscall_exit_rfi in the future.
+ * was running.
*/
/* save return value now */