init_main.c (46192) | init_main.c (46381) |
---|---|
1/* 2 * Copyright (c) 1995 Terrence R. Lambert 3 * All rights reserved. 4 * 5 * Copyright (c) 1982, 1986, 1989, 1991, 1992, 1993 6 * The Regents of the University of California. All rights reserved. 7 * (c) UNIX System Laboratories, Inc. 8 * All or some portions of this file are derived from material licensed --- 25 unchanged lines hidden (view full) --- 34 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 35 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 36 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 37 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 38 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 39 * SUCH DAMAGE. 40 * 41 * @(#)init_main.c 8.9 (Berkeley) 1/21/94 | 1/* 2 * Copyright (c) 1995 Terrence R. Lambert 3 * All rights reserved. 4 * 5 * Copyright (c) 1982, 1986, 1989, 1991, 1992, 1993 6 * The Regents of the University of California. All rights reserved. 7 * (c) UNIX System Laboratories, Inc. 8 * All or some portions of this file are derived from material licensed --- 25 unchanged lines hidden (view full) --- 34 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 35 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 36 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 37 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 38 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 39 * SUCH DAMAGE. 40 * 41 * @(#)init_main.c 8.9 (Berkeley) 1/21/94 |
42 * $Id: init_main.c,v 1.115 1999/04/28 11:36:50 phk Exp $ | 42 * $Id: init_main.c,v 1.116 1999/04/29 22:51:59 dt Exp $ |
43 */ 44 45#include "opt_devfs.h" 46 47#include <sys/param.h> 48#include <sys/file.h> 49#include <sys/filedesc.h> 50#include <sys/kernel.h> --- 40 unchanged lines hidden (view full) --- 91 92int cmask = CMASK; 93extern struct user *proc0paddr; 94 95struct vnode *rootvp; 96int boothowto = 0; /* initialized so that it can be patched */ 97 98struct timeval boottime; | 43 */ 44 45#include "opt_devfs.h" 46 47#include <sys/param.h> 48#include <sys/file.h> 49#include <sys/filedesc.h> 50#include <sys/kernel.h> --- 40 unchanged lines hidden (view full) --- 91 92int cmask = CMASK; 93extern struct user *proc0paddr; 94 95struct vnode *rootvp; 96int boothowto = 0; /* initialized so that it can be patched */ 97 98struct timeval boottime; |
99SYSCTL_STRUCT(_kern, KERN_BOOTTIME, boottime, 100 CTLFLAG_RD, &boottime, timeval, ""); | 99SYSCTL_STRUCT(_kern, KERN_BOOTTIME, boottime, CTLFLAG_RD, 100 &boottime, timeval, "System boottime"); |
101 102/* 103 * Promiscuous argument pass for start_init() 104 * 105 * This is a kludge because we use a return from main() rather than a call 106 * to a new routine in locore.s to kick the kernel alive from locore.s. 107 */ 108static void *init_framep; --- 593 unchanged lines hidden --- | 101 102/* 103 * Promiscuous argument pass for start_init() 104 * 105 * This is a kludge because we use a return from main() rather than a call 106 * to a new routine in locore.s to kick the kernel alive from locore.s. 107 */ 108static void *init_framep; --- 593 unchanged lines hidden --- |