]> git.saurik.com Git - apple/xnu.git/blob - bsd/i386/reboot.h
xnu-792.tar.gz
[apple/xnu.git] / bsd / i386 / reboot.h
1 /*
2 * Copyright (c) 2000-2002 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 #ifndef _BSD_I386_REBOOT_H_
24 #define _BSD_I386_REBOOT_H_
25
26 /*
27 * Empty file (publicly)
28 */
29
30 #include <sys/appleapiopts.h>
31
32 #ifdef BSD_KERNEL_PRIVATE
33
34 /*
35 * Use most significant 16 bits to avoid collisions with
36 * machine independent flags.
37 */
38 #define RB_POWERDOWN 0x00010000 /* power down on halt */
39 #define RB_NOBOOTRC 0x00020000 /* don't run '/etc/rc.boot' */
40 #define RB_DEBUG 0x00040000 /* drop into mini monitor on panic */
41 #define RB_EJECT 0x00080000 /* eject disks on halt */
42 #define RB_COMMAND 0x00100000 /* new boot command specified */
43 #define RB_NOFP 0x00200000 /* don't use floating point */
44 #define RB_BOOTNEXT 0x00400000 /* reboot into NeXT */
45 #define RB_BOOTDOS 0x00800000 /* reboot into DOS */
46 #define RB_PRETTY 0x01000000 /* shutdown with pretty graphics */
47
48 #endif /* BSD_KERNEL_PRIVATE */
49
50 #endif /* _BSD_I386_REBOOT_H_ */