]> git.saurik.com Git - apple/xnu.git/blame - osfmk/mach/prof.defs
xnu-344.21.73.tar.gz
[apple/xnu.git] / osfmk / mach / prof.defs
CommitLineData
1c79356b
A
1/*
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
d7e50217 6 * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
1c79356b 7 *
d7e50217
A
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,
d7e50217
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:30 wsanchez
32 * Import of Mac OS X kernel (~semeria)
33 *
34 * Revision 1.1.1.1 1998/03/07 02:25:46 wsanchez
35 * Import of OSF Mach kernel (~mburg)
36 *
37 * Revision 1.2.12.3 1996/01/09 19:22:20 devrcs
38 * Change notices: msgoption options from int to mach_msg_options_t.
39 * [1995/12/01 19:49:49 jfraser]
40 *
41 * Merged '64-bit safe' changes from DEC alpha port.
42 * [1995/11/21 18:09:30 jfraser]
43 *
44 * Revision 1.2.12.2 1995/01/06 19:51:41 devrcs
45 * mk6 CR668 - 1.3b26 merge
46 * * Revision 1.2.2.4 1994/03/24 21:23:54 hidden
47 * added send_notices to support DCI profile/event tracing
48 * * End1.3merge
49 * [1994/11/02 18:32:19 dwm]
50 *
51 * Revision 1.2.12.1 1994/09/23 02:41:58 ezf
52 * change marker to not FREE
53 * [1994/09/22 21:42:31 ezf]
54 *
55 * Revision 1.2.2.2 1993/06/09 02:43:11 gm
56 * Added to OSF/1 R1.3 from NMK15.0.
57 * [1993/06/02 21:18:01 jeffc]
58 *
59 * Revision 1.2 1993/04/19 16:38:55 devrcs
60 * [0014] Change subsystem number as current shared with exc.defs reply messages.
61 * [1992/12/23 13:11:20 david]
62 *
63 * Revision 1.1 1992/09/30 02:23:01 robert
64 * Initial revision
65 *
66 * $EndLog$
67 */
68/* CMU_HIST */
69/*
70 * Revision 2.1.2.1 92/09/15 17:25:42 jeffreyh
71 * Created
72 * [92/07/17 bernadat]
73 *
74 */
75/* CMU_ENDHIST */
76/*
77 * Mach Operating System
78 * Copyright (c) 1991,1990,1989,1988,1987 Carnegie Mellon University
79 * All Rights Reserved.
80 *
81 * Permission to use, copy, modify and distribute this software and its
82 * documentation is hereby granted, provided that both the copyright
83 * notice and this permission notice appear in all copies of the
84 * software, derivative works or modified versions, and any portions
85 * thereof, and that both notices appear in supporting documentation.
86 *
87 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
88 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
89 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
90 *
91 * Carnegie Mellon requests users of this software to return to
92 *
93 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
94 * School of Computer Science
95 * Carnegie Mellon University
96 * Pittsburgh PA 15213-3890
97 *
98 * any improvements or extensions that they make and grant Carnegie Mellon
99 * the rights to redistribute these changes.
100 */
101/*
102 */
103/*
104 * Abstract:
105 * MiG definitions file for Mach Profiling interface.
106 * receive_samples();
107 */
108
109subsystem
110#if KERNEL_USER
111 KernelUser
112#endif KERNEL_USER
113 prof 2450; /* exc.defs from 2400 - 2449 */
114
115#include <mach/std_types.defs>
116#include <mach/mach_types.defs>
117
118ServerPrefix receive_;
119UserPrefix send_;
120
121type sample_array_t = array[*:1024] of unsigned;
122
123simpleroutine samples(
124 reply_port : mach_port_t;
125 samples : sample_array_t);
126
127simpleroutine notices(
128 reply_port : mach_port_t;
129 samples : sample_array_t;
130 msgoption options : mach_msg_options_t);
131
132
133
134