init_main.c (3451) | init_main.c (3728) |
---|---|
1/* 2 * Copyright (c) 1982, 1986, 1989, 1991, 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)init_main.c 8.9 (Berkeley) 1/21/94 | 1/* 2 * Copyright (c) 1982, 1986, 1989, 1991, 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)init_main.c 8.9 (Berkeley) 1/21/94 |
39 * $Id: init_main.c,v 1.12 1994/10/02 04:45:45 davidg Exp $ | 39 * $Id: init_main.c,v 1.13 1994/10/09 07:34:52 davidg Exp $ |
40 */ 41 42#include <sys/param.h> 43#include <sys/filedesc.h> 44#include <sys/errno.h> 45#include <sys/exec.h> 46#include <sys/kernel.h> 47#include <sys/mount.h> --- 83 unchanged lines hidden (view full) --- 131 extern struct sysentvec aout_sysvec; 132 133 /* 134 * Initialize the current process pointer (curproc) before 135 * any possible traps/probes to simplify trap processing. 136 */ 137 p = &proc0; 138 curproc = p; | 40 */ 41 42#include <sys/param.h> 43#include <sys/filedesc.h> 44#include <sys/errno.h> 45#include <sys/exec.h> 46#include <sys/kernel.h> 47#include <sys/mount.h> --- 83 unchanged lines hidden (view full) --- 131 extern struct sysentvec aout_sysvec; 132 133 /* 134 * Initialize the current process pointer (curproc) before 135 * any possible traps/probes to simplify trap processing. 136 */ 137 p = &proc0; 138 curproc = p; |
139 /* 140 * Attempt to find console and initialize 141 * in case of early panic or other messages. 142 */ 143 consinit(); | |
144 printf(copyright); 145 146 vm_mem_init(); 147 kmeminit(); 148 cpu_startup(); 149 150 /* 151 * Create process 0 (the swapper). --- 294 unchanged lines hidden --- | 139 printf(copyright); 140 141 vm_mem_init(); 142 kmeminit(); 143 cpu_startup(); 144 145 /* 146 * Create process 0 (the swapper). --- 294 unchanged lines hidden --- |