Remove debug printf (now ktrace does the job)
This commit is contained in:
parent
6492e2171f
commit
9e08cf7d46
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mach_errno.c,v 1.6 2002/12/09 21:29:23 manu Exp $ */
|
||||
/* $NetBSD: mach_errno.c,v 1.7 2002/12/09 21:53:28 manu Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2002 The NetBSD Foundation, Inc.
|
||||
@ -37,7 +37,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: mach_errno.c,v 1.6 2002/12/09 21:29:23 manu Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: mach_errno.c,v 1.7 2002/12/09 21:53:28 manu Exp $");
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/systm.h>
|
||||
@ -157,7 +157,5 @@ mach_msg_error(p, msgh, req, rep, error, maxlen, dst)
|
||||
rep->rep_retval = native_to_mach_errno[error];
|
||||
rep->rep_trailer.msgh_trailer_size = 8;
|
||||
|
||||
DPRINTF(("mach_msg_error: error = %d\n", error));
|
||||
|
||||
return MACH_MSG_RETURN(p, rep, msgh, sizeof(*rep), maxlen, dst);
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mach_port.c,v 1.10 2002/12/09 21:29:24 manu Exp $ */
|
||||
/* $NetBSD: mach_port.c,v 1.11 2002/12/09 21:53:28 manu Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2002 The NetBSD Foundation, Inc.
|
||||
@ -37,7 +37,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: mach_port.c,v 1.10 2002/12/09 21:29:24 manu Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: mach_port.c,v 1.11 2002/12/09 21:53:28 manu Exp $");
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
@ -59,7 +59,6 @@ mach_sys_reply_port(p, v, retval)
|
||||
{
|
||||
static int current_port = 0x80b;
|
||||
|
||||
DPRINTF(("mach_sys_reply_port();\n"));
|
||||
*retval = current_port; /* XXX */
|
||||
return 0;
|
||||
}
|
||||
@ -70,7 +69,6 @@ mach_sys_thread_self_trap(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
DPRINTF(("mach_sys_thread_self_trap();\n"));
|
||||
*retval = 0; /* XXX */
|
||||
return 0;
|
||||
}
|
||||
@ -82,7 +80,6 @@ mach_sys_task_self_trap(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
DPRINTF(("mach_sys_task_self_trap();\n"));
|
||||
*retval = 0xa07; /* XXX */
|
||||
return 0;
|
||||
}
|
||||
@ -94,7 +91,6 @@ mach_sys_host_self_trap(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
DPRINTF(("mach_sys_host_self_trap();\n"));
|
||||
*retval = 0x90b; /* XXX */
|
||||
return 0;
|
||||
}
|
||||
@ -113,7 +109,6 @@ mach_port_deallocate(p, msgh, maxlen, dst)
|
||||
if ((error = copyin(msgh, &req, sizeof(req))) != 0)
|
||||
return error;
|
||||
|
||||
DPRINTF(("mach_port_deallocate();\n"));
|
||||
bzero(&rep, sizeof(rep));
|
||||
|
||||
rep.rep_msgh.msgh_bits =
|
||||
@ -140,8 +135,6 @@ mach_port_allocate(p, msgh, maxlen, dst)
|
||||
if ((error = copyin(msgh, &req, sizeof(req))) != 0)
|
||||
return error;
|
||||
|
||||
DPRINTF(("mach_port_allocate();\n"));
|
||||
|
||||
bzero(&rep, sizeof(rep));
|
||||
|
||||
rep.rep_msgh.msgh_bits =
|
||||
@ -168,8 +161,6 @@ mach_port_insert_right(p, msgh, maxlen, dst)
|
||||
if ((error = copyin(msgh, &req, sizeof(req))) != 0)
|
||||
return error;
|
||||
|
||||
DPRINTF(("mach_port_insert_right();\n"));
|
||||
|
||||
bzero(&rep, sizeof(rep));
|
||||
|
||||
rep.rep_msgh.msgh_bits =
|
||||
@ -196,8 +187,6 @@ mach_port_type(p, msgh, maxlen, dst)
|
||||
if ((error = copyin(msgh, &req, sizeof(req))) != 0)
|
||||
return error;
|
||||
|
||||
DPRINTF(("mach_port_type();\n"));
|
||||
|
||||
bzero(&rep, sizeof(rep));
|
||||
|
||||
rep.rep_msgh.msgh_bits =
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mach_task.c,v 1.8 2002/12/09 21:29:25 manu Exp $ */
|
||||
/* $NetBSD: mach_task.c,v 1.9 2002/12/09 21:53:28 manu Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2002 The NetBSD Foundation, Inc.
|
||||
@ -37,7 +37,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: mach_task.c,v 1.8 2002/12/09 21:29:25 manu Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: mach_task.c,v 1.9 2002/12/09 21:53:28 manu Exp $");
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
@ -69,7 +69,6 @@ mach_task_get_special_port(p, msgh, maxlen, dst)
|
||||
if ((error = copyin(msgh, &req, sizeof(req))) != 0)
|
||||
return error;
|
||||
|
||||
DPRINTF(("mach_task_get_special_port();\n"));
|
||||
bzero(&rep, sizeof(rep));
|
||||
|
||||
rep.rep_msgh.msgh_bits =
|
||||
@ -101,8 +100,6 @@ mach_ports_lookup(p, msgh, maxlen, dst)
|
||||
if ((error = copyin(msgh, &req, sizeof(req))) != 0)
|
||||
return error;
|
||||
|
||||
DPRINTF(("mach_ports_lookup();\n"));
|
||||
|
||||
bzero(&evc, sizeof(evc));
|
||||
evc.ev_addr = 0x00008000;
|
||||
evc.ev_len = PAGE_SIZE;
|
||||
|
Loading…
Reference in New Issue
Block a user