init_main.c (253604) | init_main.c (254025) |
---|---|
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 --- 28 unchanged lines hidden (view full) --- 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 */ 43 44#include <sys/cdefs.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 --- 28 unchanged lines hidden (view full) --- 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 */ 43 44#include <sys/cdefs.h> |
45__FBSDID("$FreeBSD: head/sys/kern/init_main.c 253604 2013-07-24 09:45:31Z avg $"); | 45__FBSDID("$FreeBSD: head/sys/kern/init_main.c 254025 2013-08-07 06:21:20Z jeff $"); |
46 47#include "opt_ddb.h" 48#include "opt_init_path.h" 49 50#include <sys/param.h> 51#include <sys/kernel.h> 52#include <sys/exec.h> 53#include <sys/file.h> --- 402 unchanged lines hidden (view full) --- 456 */ 457 schedinit(); /* scheduler gets its house in order */ 458 /* 459 * Initialize sleep queue hash table 460 */ 461 sleepinit(); 462 463 /* | 46 47#include "opt_ddb.h" 48#include "opt_init_path.h" 49 50#include <sys/param.h> 51#include <sys/kernel.h> 52#include <sys/exec.h> 53#include <sys/file.h> --- 402 unchanged lines hidden (view full) --- 456 */ 457 schedinit(); /* scheduler gets its house in order */ 458 /* 459 * Initialize sleep queue hash table 460 */ 461 sleepinit(); 462 463 /* |
464 * additional VM structures 465 */ 466 vm_init2(); 467 468 /* | |
469 * Create process 0 (the swapper). 470 */ 471 LIST_INSERT_HEAD(&allproc, p, p_list); 472 LIST_INSERT_HEAD(PIDHASH(0), p, p_hash); 473 mtx_init(&pgrp0.pg_mtx, "process group", NULL, MTX_DEF | MTX_DUPOK); 474 p->p_pgrp = &pgrp0; 475 LIST_INSERT_HEAD(PGRPHASH(0), &pgrp0, pg_hash); 476 LIST_INIT(&pgrp0.pg_members); --- 388 unchanged lines hidden --- | 464 * Create process 0 (the swapper). 465 */ 466 LIST_INSERT_HEAD(&allproc, p, p_list); 467 LIST_INSERT_HEAD(PIDHASH(0), p, p_hash); 468 mtx_init(&pgrp0.pg_mtx, "process group", NULL, MTX_DEF | MTX_DUPOK); 469 p->p_pgrp = &pgrp0; 470 LIST_INSERT_HEAD(PGRPHASH(0), &pgrp0, pg_hash); 471 LIST_INIT(&pgrp0.pg_members); --- 388 unchanged lines hidden --- |