]> git.saurik.com Git - apple/xnu.git/blame - osfmk/mach/prof.defs
xnu-7195.101.1.tar.gz
[apple/xnu.git] / osfmk / mach / prof.defs
CommitLineData
1c79356b
A
1/*
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
3 *
2d21ac55 4 * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
1c79356b 5 *
2d21ac55
A
6 * This file contains Original Code and/or Modifications of Original Code
7 * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
9 * compliance with the License. The rights granted to you under the License
10 * may not be used to create, or enable the creation or redistribution of,
11 * unlawful or unlicensed copies of an Apple operating system, or to
12 * circumvent, violate, or enable the circumvention or violation of, any
13 * terms of an Apple operating system software license agreement.
8f6c56a5 14 *
2d21ac55
A
15 * Please obtain a copy of the License at
16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
17 *
18 * The Original Code and all software distributed under the License are
19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
8f6c56a5
A
20 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
21 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2d21ac55
A
22 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
23 * Please see the License for the specific language governing rights and
24 * limitations under the License.
8f6c56a5 25 *
2d21ac55 26 * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
1c79356b
A
27 */
28/*
29 * @OSF_COPYRIGHT@
30 */
31/*
32 * HISTORY
33 *
34 * Revision 1.1.1.1 1998/09/22 21:05:30 wsanchez
35 * Import of Mac OS X kernel (~semeria)
36 *
37 * Revision 1.1.1.1 1998/03/07 02:25:46 wsanchez
38 * Import of OSF Mach kernel (~mburg)
39 *
40 * Revision 1.2.12.3 1996/01/09 19:22:20 devrcs
41 * Change notices: msgoption options from int to mach_msg_options_t.
42 * [1995/12/01 19:49:49 jfraser]
43 *
44 * Merged '64-bit safe' changes from DEC alpha port.
45 * [1995/11/21 18:09:30 jfraser]
46 *
47 * Revision 1.2.12.2 1995/01/06 19:51:41 devrcs
48 * mk6 CR668 - 1.3b26 merge
49 * * Revision 1.2.2.4 1994/03/24 21:23:54 hidden
50 * added send_notices to support DCI profile/event tracing
51 * * End1.3merge
52 * [1994/11/02 18:32:19 dwm]
53 *
54 * Revision 1.2.12.1 1994/09/23 02:41:58 ezf
55 * change marker to not FREE
56 * [1994/09/22 21:42:31 ezf]
57 *
58 * Revision 1.2.2.2 1993/06/09 02:43:11 gm
59 * Added to OSF/1 R1.3 from NMK15.0.
60 * [1993/06/02 21:18:01 jeffc]
61 *
62 * Revision 1.2 1993/04/19 16:38:55 devrcs
63 * [0014] Change subsystem number as current shared with exc.defs reply messages.
64 * [1992/12/23 13:11:20 david]
65 *
66 * Revision 1.1 1992/09/30 02:23:01 robert
67 * Initial revision
68 *
69 * $EndLog$
70 */
71/* CMU_HIST */
72/*
73 * Revision 2.1.2.1 92/09/15 17:25:42 jeffreyh
74 * Created
75 * [92/07/17 bernadat]
76 *
77 */
78/* CMU_ENDHIST */
79/*
80 * Mach Operating System
81 * Copyright (c) 1991,1990,1989,1988,1987 Carnegie Mellon University
82 * All Rights Reserved.
83 *
84 * Permission to use, copy, modify and distribute this software and its
85 * documentation is hereby granted, provided that both the copyright
86 * notice and this permission notice appear in all copies of the
87 * software, derivative works or modified versions, and any portions
88 * thereof, and that both notices appear in supporting documentation.
89 *
90 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
91 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
92 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
93 *
94 * Carnegie Mellon requests users of this software to return to
95 *
96 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
97 * School of Computer Science
98 * Carnegie Mellon University
99 * Pittsburgh PA 15213-3890
100 *
101 * any improvements or extensions that they make and grant Carnegie Mellon
102 * the rights to redistribute these changes.
103 */
104/*
105 */
106/*
107 * Abstract:
108 * MiG definitions file for Mach Profiling interface.
109 * receive_samples();
110 */
111
112subsystem
113#if KERNEL_USER
114 KernelUser
115#endif KERNEL_USER
116 prof 2450; /* exc.defs from 2400 - 2449 */
117
118#include <mach/std_types.defs>
119#include <mach/mach_types.defs>
120
121ServerPrefix receive_;
122UserPrefix send_;
123
124type sample_array_t = array[*:1024] of unsigned;
125
126simpleroutine samples(
127 reply_port : mach_port_t;
128 samples : sample_array_t);
129
130simpleroutine notices(
131 reply_port : mach_port_t;
132 samples : sample_array_t;
133 msgoption options : mach_msg_options_t);
134
2d21ac55 135/* vim: set ft=c : */