init_main.c (35136) | init_main.c (35256) |
---|---|
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.88 1998/04/08 09:01:52 phk Exp $ | 42 * $Id: init_main.c,v 1.89 1998/04/11 17:24:06 phk 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> --- 335 unchanged lines hidden (view full) --- 386 vm_map_init(&vmspace0.vm_map, round_page(VM_MIN_ADDRESS), 387 trunc_page(VM_MAXUSER_ADDRESS)); 388 vmspace0.vm_map.pmap = &vmspace0.vm_pmap; 389 p->p_addr = proc0paddr; /* XXX */ 390 391#define INCOMPAT_LITES2 392#ifdef INCOMPAT_LITES2 393 /* | 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> --- 335 unchanged lines hidden (view full) --- 386 vm_map_init(&vmspace0.vm_map, round_page(VM_MIN_ADDRESS), 387 trunc_page(VM_MAXUSER_ADDRESS)); 388 vmspace0.vm_map.pmap = &vmspace0.vm_pmap; 389 p->p_addr = proc0paddr; /* XXX */ 390 391#define INCOMPAT_LITES2 392#ifdef INCOMPAT_LITES2 393 /* |
394 * proc0 needs to have a coherent frame base in it's stack. | 394 * proc0 needs to have a coherent frame base in its stack. |
395 */ 396 cpu_set_init_frame(p, init_framep); /* XXX! */ 397#endif /* INCOMPAT_LITES2*/ 398 399 /* 400 * We continue to place resource usage info and signal 401 * actions in the user struct so they're pageable. 402 */ --- 228 unchanged lines hidden --- | 395 */ 396 cpu_set_init_frame(p, init_framep); /* XXX! */ 397#endif /* INCOMPAT_LITES2*/ 398 399 /* 400 * We continue to place resource usage info and signal 401 * actions in the user struct so they're pageable. 402 */ --- 228 unchanged lines hidden --- |