]> git.saurik.com Git - apple/xnu.git/blob - bsd/i386/reboot.h
53088b1207b9595c8d5e51dcf5d22816d4a6a625
[apple/xnu.git] / bsd / i386 / reboot.h
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 * File: next/reboot.h
24 * Author: Avadis Tevanian, Jr.
25 *
26 * NeXT specific reboot flags.
27 *
28 * HISTORY
29 * 28-Feb-90 John Seamons (jks) at NeXT
30 * Added RB_COMMAND flag that allows a specific reboot command to be used.
31 *
32 * 06-Jul-88 Avadis Tevanian (avie) at NeXT, Inc.
33 * Created.
34 */
35
36 #ifndef _BSD_I386_REBOOT_H_
37 #define _BSD_I386_REBOOT_H_
38
39 /*
40 * Empty file (publicly)
41 */
42
43 #ifdef KERNEL_PRIVATE
44
45 /*
46 * Use most significant 16 bits to avoid collisions with
47 * machine independent flags.
48 */
49 #define RB_POWERDOWN 0x00010000 /* power down on halt */
50 #define RB_NOBOOTRC 0x00020000 /* don't run '/etc/rc.boot' */
51 #define RB_DEBUG 0x00040000 /* drop into mini monitor on panic */
52 #define RB_EJECT 0x00080000 /* eject disks on halt */
53 #define RB_COMMAND 0x00100000 /* new boot command specified */
54 #define RB_NOFP 0x00200000 /* don't use floating point */
55 #define RB_BOOTNEXT 0x00400000 /* reboot into NeXT */
56 #define RB_BOOTDOS 0x00800000 /* reboot into DOS */
57 #define RB_PRETTY 0x01000000 /* shutdown with pretty graphics */
58
59 #endif /* KERNEL_PRIVATE */
60
61 #endif /* _BSD_I386_REBOOT_H_ */