reboot.h (5743) | reboot.h (5896) |
---|---|
1/* 2 * Copyright (c) 1982, 1986, 1988, 1993 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.1 (Berkeley) 6/2/93 | 1/* 2 * Copyright (c) 1982, 1986, 1988, 1993 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.1 (Berkeley) 6/2/93 |
34 * $Id: reboot.h,v 1.7 1994/11/26 09:08:40 phk Exp $ | 34 * $Id: reboot.h,v 1.8 1995/01/20 07:28:47 wpaul Exp $ |
35 */ 36 37#ifndef _SYS_REBOOT_H_ 38#define _SYS_REBOOT_H_ 39 40/* 41 * Arguments to reboot system call. 42 * These are passed to boot program in r11, --- 10 unchanged lines hidden (view full) --- 53#define RB_KDB 0x40 /* give control to kernel debugger */ 54#define RB_RDONLY 0x80 /* mount root fs read-only */ 55#define RB_DUMP 0x100 /* dump kernel memory before reboot */ 56#define RB_MINIROOT 0x200 /* mini-root present in memory at boot time */ 57#define RB_CONFIG 0x400 /* invoke user configuration routing */ 58#define RB_VERBOSE 0x800 /* print all potentially useful info */ 59#define RB_SERIAL 0x1000 /* user serial port as console */ 60 | 35 */ 36 37#ifndef _SYS_REBOOT_H_ 38#define _SYS_REBOOT_H_ 39 40/* 41 * Arguments to reboot system call. 42 * These are passed to boot program in r11, --- 10 unchanged lines hidden (view full) --- 53#define RB_KDB 0x40 /* give control to kernel debugger */ 54#define RB_RDONLY 0x80 /* mount root fs read-only */ 55#define RB_DUMP 0x100 /* dump kernel memory before reboot */ 56#define RB_MINIROOT 0x200 /* mini-root present in memory at boot time */ 57#define RB_CONFIG 0x400 /* invoke user configuration routing */ 58#define RB_VERBOSE 0x800 /* print all potentially useful info */ 59#define RB_SERIAL 0x1000 /* user serial port as console */ 60 |
61#define RB_BOOTINFO 0x80000000 /* have `struct bootinfo *' arg */ 62 |
|
61/* 62 * Constants for converting boot-style device number to type, 63 * adaptor (uba, mba, etc), unit number and partition number. 64 * Type (== major device number) is in the low byte 65 * for backward compatibility. Except for that of the "magic 66 * number", each mask applies to the shifted value. 67 * Format: 68 * (4) (4) (4) (4) (8) (8) --- 29 unchanged lines hidden --- | 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 68 * number", each mask applies to the shifted value. 69 * Format: 70 * (4) (4) (4) (4) (8) (8) --- 29 unchanged lines hidden --- |