2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
6 * The contents of this file constitute Original Code as defined in and
7 * are subject to the Apple Public Source License Version 1.1 (the
8 * "License"). You may not use this file except in compliance with the
9 * License. Please obtain a copy of the License at
10 * http://www.apple.com/publicsource and read it before using this file.
12 * This Original Code and all software distributed under the License are
13 * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
14 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
15 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
17 * License for the specific language governing rights and limitations
20 * @APPLE_LICENSE_HEADER_END@
28 * Revision 1.1.1.1 1998/09/22 21:05:30 wsanchez
29 * Import of Mac OS X kernel (~semeria)
31 * Revision 1.1.1.1 1998/03/07 02:25:46 wsanchez
32 * Import of OSF Mach kernel (~mburg)
34 * Revision 1.2.6.1 1994/09/23 02:40:32 ezf
35 * change marker to not FREE
36 * [1994/09/22 21:41:53 ezf]
38 * Revision 1.2.2.2 1993/06/09 02:42:27 gm
39 * Added to OSF/1 R1.3 from NMK15.0.
40 * [1993/06/02 21:17:28 jeffc]
42 * Revision 1.2 1993/04/19 16:36:32 devrcs
44 * Support for logging and tracing within the MIG stubs
45 * [1993/02/24 14:47:01 travos]
46 * [1993/03/16 13:19:16 rod]
60 MACH_MSG_REQUEST_BEING_SENT
,
61 MACH_MSG_REQUEST_BEING_RCVD
,
62 MACH_MSG_REPLY_BEING_SENT
,
63 MACH_MSG_REPLY_BEING_RCVD
67 MACH_MSG_ERROR_WHILE_PARSING
,
68 MACH_MSG_ERROR_UNKNOWN_ID
71 extern void MigEventTracer
75 mig_which_event_t what
,
76 mach_msg_id_t msgh_id
,
81 unsigned int oolports
,
86 #else /* !defined(__STDC__) */
88 #endif /* !defined(__STDC__) */
90 extern void MigEventErrors
94 mig_which_error_t what
,
99 #else /* !defined(__STDC__) */
101 #endif /* !defined(__STDC__) */
103 extern int mig_errors
;
104 extern int mig_tracing
;
106 #define LOG_ERRORS if (mig_errors) MigEventErrors
107 #define LOG_TRACE if (mig_tracing) MigEventTracer
109 #endif /* _mach_log_ */