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