init_main.c (8f19eb88dff40008a1ef7524390e8a00f114781a) | init_main.c (f36ba45234e29c86aa1d00093022d2f6c49f9c38) |
---|---|
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 --- 33 unchanged lines hidden (view full) --- 42 * $FreeBSD$ 43 */ 44 45#include "opt_init_path.h" 46#include "opt_mac.h" 47 48#include <sys/param.h> 49#include <sys/kernel.h> | 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 --- 33 unchanged lines hidden (view full) --- 42 * $FreeBSD$ 43 */ 44 45#include "opt_init_path.h" 46#include "opt_mac.h" 47 48#include <sys/param.h> 49#include <sys/kernel.h> |
50#include <sys/exec.h> |
|
50#include <sys/file.h> 51#include <sys/filedesc.h> 52#include <sys/ktr.h> 53#include <sys/lock.h> 54#include <sys/mac.h> 55#include <sys/mount.h> 56#include <sys/mutex.h> 57#include <sys/syscallsubr.h> --- 192 unchanged lines hidden (view full) --- 250set_boot_verbose(void *data __unused) 251{ 252 253 if (boothowto & RB_VERBOSE) 254 bootverbose++; 255} 256SYSINIT(boot_verbose, SI_SUB_TUNABLES, SI_ORDER_ANY, set_boot_verbose, NULL) 257 | 51#include <sys/file.h> 52#include <sys/filedesc.h> 53#include <sys/ktr.h> 54#include <sys/lock.h> 55#include <sys/mac.h> 56#include <sys/mount.h> 57#include <sys/mutex.h> 58#include <sys/syscallsubr.h> --- 192 unchanged lines hidden (view full) --- 251set_boot_verbose(void *data __unused) 252{ 253 254 if (boothowto & RB_VERBOSE) 255 bootverbose++; 256} 257SYSINIT(boot_verbose, SI_SUB_TUNABLES, SI_ORDER_ANY, set_boot_verbose, NULL) 258 |
258static struct sysentvec null_sysvec; | 259struct sysentvec null_sysvec = { 260 0, 261 NULL, 262 0, 263 0, 264 NULL, 265 0, 266 NULL, 267 NULL, 268 NULL, 269 NULL, 270 NULL, 271 NULL, 272 NULL, 273 "null", 274 NULL, 275 NULL, 276 0, 277 PAGE_SIZE, 278 VM_MIN_ADDRESS, 279 VM_MAXUSER_ADDRESS, 280 USRSTACK, 281 PS_STRINGS, 282 VM_PROT_ALL, 283 NULL, 284 NULL 285}; |
259 | 286 |
260 | |
261/* 262 *************************************************************************** 263 **** 264 **** The two following SYSINT's are proc0 specific glue code. I am not 265 **** convinced that they can not be safely combined, but their order of 266 **** operation has been maintained as the same as the original init_main.c 267 **** for right now. 268 **** --- 428 unchanged lines hidden --- | 287/* 288 *************************************************************************** 289 **** 290 **** The two following SYSINT's are proc0 specific glue code. I am not 291 **** convinced that they can not be safely combined, but their order of 292 **** operation has been maintained as the same as the original init_main.c 293 **** for right now. 294 **** --- 428 unchanged lines hidden --- |