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