]> git.saurik.com Git - apple/xnu.git/blame - osfmk/ipc/ipc_print.h
xnu-344.49.tar.gz
[apple/xnu.git] / osfmk / ipc / ipc_print.h
CommitLineData
1c79356b
A
1/*
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
43866e37
A
6 * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
7 *
8 * This file contains Original Code and/or Modifications of Original Code
9 * as defined in and that are subject to the Apple Public Source License
10 * Version 2.0 (the 'License'). You may not use this file except in
11 * compliance with the License. Please obtain a copy of the License at
12 * http://www.opensource.apple.com/apsl/ and read it before using this
13 * file.
14 *
15 * The Original Code and all software distributed under the License are
16 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
1c79356b
A
17 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
18 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
43866e37
A
19 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
20 * Please see the License for the specific language governing rights and
21 * limitations under the License.
1c79356b
A
22 *
23 * @APPLE_LICENSE_HEADER_END@
24 */
25/*
26 * @OSF_COPYRIGHT@
27 */
28/*
29 * HISTORY
30 *
31 * Revision 1.1.1.1 1998/09/22 21:05:29 wsanchez
32 * Import of Mac OS X kernel (~semeria)
33 *
34 * Revision 1.1.1.1 1998/03/07 02:26:16 wsanchez
35 * Import of OSF Mach kernel (~mburg)
36 *
37 * Revision 1.1.8.3 1995/02/23 17:31:31 alanl
38 * DIPC: Merge from nmk17b2 to nmk18b8.
39 * [95/01/03 mmp]
40 *
41 * Revision 1.1.7.3 1994/11/29 01:21:22 robert
42 * re-submit for failed CF backup
43 * [1994/11/29 01:17:55 robert]
44 *
45 * Revision 1.1.7.2 1994/11/28 23:58:36 travos
46 * Add MACH_KDB ifdef.
47 * [1994/11/28 23:53:46 travos]
48 *
49 * Revision 1.1.7.1 1994/08/04 02:22:55 mmp
50 * NOTE: file was moved back to b11 version for dipc2_shared.
51 * Update prototype for ipc_port_print.
52 * [1994/08/03 19:26:56 mmp]
53 *
54 * Revision 1.1.8.2 1994/09/23 02:10:26 ezf
55 * change marker to not FREE
56 * [1994/09/22 21:30:09 ezf]
57 *
58 * Revision 1.1.8.1 1994/08/07 20:46:08 bolinger
59 * Merge up to colo_b7.
60 * [1994/08/01 20:59:21 bolinger]
61 *
62 * Revision 1.1.2.2 1993/08/02 16:12:25 jeffc
63 * CR9523 -- New file to hold prototypes for ddb print
64 * functions in the ipc system.
65 * [1993/07/29 20:13:45 jeffc]
66 *
67 * $EndLog$
68 */
69
70#ifndef IPC_PRINT_H
71#define IPC_PRINT_H
72
73#include <mach_kdb.h>
74#include <ipc/ipc_pset.h>
75
76extern void ipc_pset_print(
77 ipc_pset_t pset);
78
79#include <ipc/ipc_port.h>
80
81#if MACH_KDB
82#include <ddb/db_expr.h>
83
84extern void ipc_port_print(
85 ipc_port_t port,
86 boolean_t have_addr,
87 db_expr_t count,
88 char *modif);
89
90#include <ipc/ipc_kmsg.h>
91
92extern void ipc_kmsg_print(
93 ipc_kmsg_t kmsg);
94
95#include <mach/message.h>
96
97extern void ipc_msg_print(
98 mach_msg_header_t *msgh);
99
100extern ipc_port_t ipc_name_to_data(
101 task_t task,
102 mach_port_name_t name);
103
104#endif /* MACH_KDB */
105#endif /* IPC_PRINT_H */