avila_machdep.c (263017) | avila_machdep.c (266160) |
---|---|
1/* $NetBSD: hpc_machdep.c,v 1.70 2003/09/16 08:18:22 agc Exp $ */ 2 3/*- 4 * Copyright (c) 1994-1998 Mark Brinicombe. 5 * Copyright (c) 1994 Brini. 6 * All rights reserved. 7 * 8 * This code is derived from software written for Brini by Mark Brinicombe --- 32 unchanged lines hidden (view full) --- 41 * Machine dependant functions for kernel setup 42 * 43 * This file needs a lot of work. 44 * 45 * Created : 17/09/94 46 */ 47 48#include <sys/cdefs.h> | 1/* $NetBSD: hpc_machdep.c,v 1.70 2003/09/16 08:18:22 agc Exp $ */ 2 3/*- 4 * Copyright (c) 1994-1998 Mark Brinicombe. 5 * Copyright (c) 1994 Brini. 6 * All rights reserved. 7 * 8 * This code is derived from software written for Brini by Mark Brinicombe --- 32 unchanged lines hidden (view full) --- 41 * Machine dependant functions for kernel setup 42 * 43 * This file needs a lot of work. 44 * 45 * Created : 17/09/94 46 */ 47 48#include <sys/cdefs.h> |
49__FBSDID("$FreeBSD: stable/10/sys/arm/xscale/ixp425/avila_machdep.c 263017 2014-03-11 12:58:45Z jhay $"); | 49__FBSDID("$FreeBSD: stable/10/sys/arm/xscale/ixp425/avila_machdep.c 266160 2014-05-15 17:30:16Z ian $"); |
50 51#define _ARM32_BUS_DMA_PRIVATE 52#include <sys/param.h> 53#include <sys/systm.h> 54#include <sys/sysproto.h> 55#include <sys/signalvar.h> 56#include <sys/imgact.h> 57#include <sys/kernel.h> --- 370 unchanged lines hidden (view full) --- 428 undefined_handler_address = (u_int)undefinedinstruction_bounce; 429 undefined_init(); 430 431 init_proc0(kernelstack.pv_va); 432 433 arm_vector_init(ARM_VECTORS_HIGH, ARM_VEC_ALL); 434 435 pmap_curmaxkvaddr = afterkern + PAGE_SIZE; | 50 51#define _ARM32_BUS_DMA_PRIVATE 52#include <sys/param.h> 53#include <sys/systm.h> 54#include <sys/sysproto.h> 55#include <sys/signalvar.h> 56#include <sys/imgact.h> 57#include <sys/kernel.h> --- 370 unchanged lines hidden (view full) --- 428 undefined_handler_address = (u_int)undefinedinstruction_bounce; 429 undefined_init(); 430 431 init_proc0(kernelstack.pv_va); 432 433 arm_vector_init(ARM_VECTORS_HIGH, ARM_VEC_ALL); 434 435 pmap_curmaxkvaddr = afterkern + PAGE_SIZE; |
436 arm_dump_avail_init(memsize, sizeof(dump_avail) / sizeof(dump_avail[0])); | 436 arm_dump_avail_init(abp->abp_physaddr, memsize, 437 sizeof(dump_avail) / sizeof(dump_avail[0])); |
437 vm_max_kernel_address = 0xd0000000; 438 pmap_bootstrap(pmap_curmaxkvaddr, &kernel_l1pt); 439 msgbufp = (void*)msgbufpv.pv_va; 440 msgbufinit(msgbufp, msgbufsize); 441 mutex_init(); 442 443 i = 0; 444#ifdef ARM_USE_SMALL_ALLOC --- 23 unchanged lines hidden --- | 438 vm_max_kernel_address = 0xd0000000; 439 pmap_bootstrap(pmap_curmaxkvaddr, &kernel_l1pt); 440 msgbufp = (void*)msgbufpv.pv_va; 441 msgbufinit(msgbufp, msgbufsize); 442 mutex_init(); 443 444 i = 0; 445#ifdef ARM_USE_SMALL_ALLOC --- 23 unchanged lines hidden --- |