reboot.h (14484) | reboot.h (17768) |
---|---|
1/* 2 * Copyright (c) 1982, 1986, 1988, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)reboot.h 8.3 (Berkeley) 12/13/94 | 1/* 2 * Copyright (c) 1982, 1986, 1988, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)reboot.h 8.3 (Berkeley) 12/13/94 |
34 * $Id: reboot.h,v 1.11 1996/02/24 06:46:17 hsu Exp $ | 34 * $Id: reboot.h,v 1.11 1996/03/11 02:09:55 hsu Exp $ |
35 */ 36 37#ifndef _SYS_REBOOT_H_ 38#define _SYS_REBOOT_H_ 39 40/* 41 * Arguments to reboot system call. These are passed to 42 * the boot program and on to init. --- 9 unchanged lines hidden (view full) --- 52#define RB_KDB 0x040 /* give control to kernel debugger */ 53#define RB_RDONLY 0x080 /* mount root fs read-only */ 54#define RB_DUMP 0x100 /* dump kernel memory before reboot */ 55#define RB_MINIROOT 0x200 /* mini-root present in memory at boot time */ 56#define RB_CONFIG 0x400 /* invoke user configuration routing */ 57#define RB_VERBOSE 0x800 /* print all potentially useful info */ 58#define RB_SERIAL 0x1000 /* user serial port as console */ 59#define RB_CDROM 0x2000 /* use cdrom as root */ | 35 */ 36 37#ifndef _SYS_REBOOT_H_ 38#define _SYS_REBOOT_H_ 39 40/* 41 * Arguments to reboot system call. These are passed to 42 * the boot program and on to init. --- 9 unchanged lines hidden (view full) --- 52#define RB_KDB 0x040 /* give control to kernel debugger */ 53#define RB_RDONLY 0x080 /* mount root fs read-only */ 54#define RB_DUMP 0x100 /* dump kernel memory before reboot */ 55#define RB_MINIROOT 0x200 /* mini-root present in memory at boot time */ 56#define RB_CONFIG 0x400 /* invoke user configuration routing */ 57#define RB_VERBOSE 0x800 /* print all potentially useful info */ 58#define RB_SERIAL 0x1000 /* user serial port as console */ 59#define RB_CDROM 0x2000 /* use cdrom as root */ |
60#define RB_POWEROFF 0x4000 /* if you can, turn the power off */ |
|
60 61#define RB_BOOTINFO 0x80000000 /* have `struct bootinfo *' arg */ 62 63/* 64 * Constants for converting boot-style device number to type, 65 * adaptor (uba, mba, etc), unit number and partition number. 66 * Type (== major device number) is in the low byte 67 * for backward compatibility. Except for that of the "magic --- 32 unchanged lines hidden --- | 61 62#define RB_BOOTINFO 0x80000000 /* have `struct bootinfo *' arg */ 63 64/* 65 * Constants for converting boot-style device number to type, 66 * adaptor (uba, mba, etc), unit number and partition number. 67 * Type (== major device number) is in the low byte 68 * for backward compatibility. Except for that of the "magic --- 32 unchanged lines hidden --- |