From 8359d00f20b01ed3fd398d21437b2cf80779249f Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Wed, 7 May 1997 20:07:25 +0000 Subject: [PATCH] forgotten comment --- sys/amd64/amd64/exception.S | 7 ++++++- sys/amd64/amd64/exception.s | 7 ++++++- sys/i386/i386/exception.s | 7 ++++++- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/sys/amd64/amd64/exception.S b/sys/amd64/amd64/exception.S index 2705c08efcfe..01d403a1cbb0 100644 --- a/sys/amd64/amd64/exception.S +++ b/sys/amd64/amd64/exception.S @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: exception.s,v 1.24 1997/04/13 16:58:08 bde Exp $ + * $Id: exception.s,v 1.25 1997/04/26 11:45:05 peter Exp $ */ #include "opt_smp.h" @@ -278,6 +278,11 @@ ENTRY(fork_trampoline) call _microtime popl %eax + /* + * cpu_set_fork_handler intercepts this function call to + * have this call a non-return function to stay in kernel mode. + * initproc has it's own fork handler, but it does return. + */ pushl %ebx /* arg1 */ call %esi /* function */ addl $4,%esp diff --git a/sys/amd64/amd64/exception.s b/sys/amd64/amd64/exception.s index 2705c08efcfe..01d403a1cbb0 100644 --- a/sys/amd64/amd64/exception.s +++ b/sys/amd64/amd64/exception.s @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: exception.s,v 1.24 1997/04/13 16:58:08 bde Exp $ + * $Id: exception.s,v 1.25 1997/04/26 11:45:05 peter Exp $ */ #include "opt_smp.h" @@ -278,6 +278,11 @@ ENTRY(fork_trampoline) call _microtime popl %eax + /* + * cpu_set_fork_handler intercepts this function call to + * have this call a non-return function to stay in kernel mode. + * initproc has it's own fork handler, but it does return. + */ pushl %ebx /* arg1 */ call %esi /* function */ addl $4,%esp diff --git a/sys/i386/i386/exception.s b/sys/i386/i386/exception.s index 2705c08efcfe..01d403a1cbb0 100644 --- a/sys/i386/i386/exception.s +++ b/sys/i386/i386/exception.s @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: exception.s,v 1.24 1997/04/13 16:58:08 bde Exp $ + * $Id: exception.s,v 1.25 1997/04/26 11:45:05 peter Exp $ */ #include "opt_smp.h" @@ -278,6 +278,11 @@ ENTRY(fork_trampoline) call _microtime popl %eax + /* + * cpu_set_fork_handler intercepts this function call to + * have this call a non-return function to stay in kernel mode. + * initproc has it's own fork handler, but it does return. + */ pushl %ebx /* arg1 */ call %esi /* function */ addl $4,%esp