Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/mach Bootstrap messages are not for the kernel, t...



details:   https://anonhg.NetBSD.org/src/rev/2aa4640042ad
branches:  trunk
changeset: 540800:2aa4640042ad
user:      manu <manu%NetBSD.org@localhost>
date:      Tue Dec 24 16:40:46 2002 +0000

description:
Bootstrap messages are not for the kernel, they are for mach_init.

diffstat:

 sys/compat/mach/mach_message.c |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (29 lines):

diff -r e473d8e7a908 -r 2aa4640042ad sys/compat/mach/mach_message.c
--- a/sys/compat/mach/mach_message.c    Tue Dec 24 15:54:26 2002 +0000
+++ b/sys/compat/mach/mach_message.c    Tue Dec 24 16:40:46 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mach_message.c,v 1.8 2002/12/24 15:54:26 manu Exp $ */
+/*     $NetBSD: mach_message.c,v 1.9 2002/12/24 16:40:46 manu Exp $ */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mach_message.c,v 1.8 2002/12/24 15:54:26 manu Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mach_message.c,v 1.9 2002/12/24 16:40:46 manu Exp $");
 
 #include "opt_ktrace.h"
 #include "opt_compat_mach.h" /* For COMPAT_MACH in <sys/ktrace.h> */
@@ -158,9 +158,7 @@
                 */
                med = (struct mach_emuldata *)p->p_emuldata;
                mp = ((struct mach_right *)sm->msgh_remote_port)->mr_port;
-               if ((mp == med->med_host) ||
-                   (mp == med->med_kernel) ||
-                   (mp == med->med_bootstrap)) {
+               if ((mp == med->med_host) || (mp == med->med_kernel)) {
                        /* 
                         * Look for the function that will handle it,
                         * using the message id.



Home | Main Index | Thread Index | Old Index