]> git.saurik.com Git - apple/xnu.git/blame - osfmk/mach/alert.h
xnu-201.19.tar.gz
[apple/xnu.git] / osfmk / mach / alert.h
CommitLineData
1c79356b
A
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_FREE_COPYRIGHT@
24 */
25/*
26 * HISTORY
27 *
28 * Revision 1.1.1.1 1998/09/22 21:05:31 wsanchez
29 * Import of Mac OS X kernel (~semeria)
30 *
31 * Revision 1.1.1.1 1998/03/07 02:25:45 wsanchez
32 * Import of OSF Mach kernel (~mburg)
33 *
34 * Revision 1.1.5.2 1995/01/18 18:35:06 ezf
35 * updated Utah CR notice
36 * [1995/01/18 18:30:38 ezf]
37 *
38 * Revision 1.1.5.1 1994/09/23 02:33:53 ezf
39 * change marker to not FREE
40 * [1994/09/22 21:38:56 ezf]
41 *
42 * Revision 1.1.2.1 1994/01/12 17:56:03 dwm
43 * Coloc: initial restructuring to follow Utah model.
44 * Alert bit definitions
45 * [1994/01/12 17:30:19 dwm]
46 *
47 * $EndLog$
48 */
49/*
50 * Copyright (c) 1993 The University of Utah and
51 * the Computer Systems Laboratory (CSL). All rights reserved.
52 *
53 * Permission to use, copy, modify and distribute this software and its
54 * documentation is hereby granted, provided that both the copyright
55 * notice and this permission notice appear in all copies of the
56 * software, derivative works or modified versions, and any portions
57 * thereof, and that both notices appear in supporting documentation.
58 *
59 * THE UNIVERSITY OF UTAH AND CSL ALLOW FREE USE OF THIS SOFTWARE IN ITS "AS
60 * IS" CONDITION. THE UNIVERSITY OF UTAH AND CSL DISCLAIM ANY LIABILITY OF
61 * ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
62 *
63 * CSL requests users of this software to return to csl-dist@cs.utah.edu any
64 * improvements that they make and grant CSL redistribution rights.
65 *
66 */
67
68#ifndef _MACH_ALERT_H_
69#define _MACH_ALERT_H_
70
71#define ALERT_BITS 32 /* Minimum; more may actually be available */
72
73/* Request to abort _all_ operations */
74#define ALERT_ABORT_STRONG 0x00000001
75
76/* Request to abort restartable operations */
77#define ALERT_ABORT_SAFE 0x00000002
78
79/* User-defined alert bits */
80#define ALERT_USER 0xffff0000
81
82#endif /* _MACH_ALERT_H_ */