Deleted Added
full compact
iq31244_machdep.c (161592) iq31244_machdep.c (163709)
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

--- 35 unchanged lines hidden (view full) ---

44 *
45 * Created : 17/09/94
46 */
47
48#include "opt_msgbuf.h"
49#include "opt_ddb.h"
50
51#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

--- 35 unchanged lines hidden (view full) ---

44 *
45 * Created : 17/09/94
46 */
47
48#include "opt_msgbuf.h"
49#include "opt_ddb.h"
50
51#include <sys/cdefs.h>
52__FBSDID("$FreeBSD: head/sys/arm/xscale/i80321/iq31244_machdep.c 161592 2006-08-24 23:51:28Z cognet $");
52__FBSDID("$FreeBSD: head/sys/arm/xscale/i80321/iq31244_machdep.c 163709 2006-10-26 21:42:22Z jb $");
53
54#define _ARM32_BUS_DMA_PRIVATE
55#include <sys/param.h>
56#include <sys/systm.h>
57#include <sys/sysproto.h>
58#include <sys/signalvar.h>
59#include <sys/imgact.h>
60#include <sys/kernel.h>

--- 361 unchanged lines hidden (view full) ---

422
423 /* Set stack for exception handlers */
424
425 data_abort_handler_address = (u_int)data_abort_handler;
426 prefetch_abort_handler_address = (u_int)prefetch_abort_handler;
427 undefined_handler_address = (u_int)undefinedinstruction_bounce;
428 undefined_init();
429
53
54#define _ARM32_BUS_DMA_PRIVATE
55#include <sys/param.h>
56#include <sys/systm.h>
57#include <sys/sysproto.h>
58#include <sys/signalvar.h>
59#include <sys/imgact.h>
60#include <sys/kernel.h>

--- 361 unchanged lines hidden (view full) ---

422
423 /* Set stack for exception handlers */
424
425 data_abort_handler_address = (u_int)data_abort_handler;
426 prefetch_abort_handler_address = (u_int)prefetch_abort_handler;
427 undefined_handler_address = (u_int)undefinedinstruction_bounce;
428 undefined_init();
429
430#ifdef KSE
430 proc_linkup(&proc0, &ksegrp0, &thread0);
431 proc_linkup(&proc0, &ksegrp0, &thread0);
432#else
433 proc_linkup(&proc0, &thread0);
434#endif
431 thread0.td_kstack = kernelstack.pv_va;
432 thread0.td_pcb = (struct pcb *)
433 (thread0.td_kstack + KSTACK_PAGES * PAGE_SIZE) - 1;
434 thread0.td_pcb->pcb_flags = 0;
435 thread0.td_frame = &proc0_tf;
436 pcpup->pc_curpcb = thread0.td_pcb;
437
438 /* Enable MMU, I-cache, D-cache, write buffer. */

--- 99 unchanged lines hidden ---
435 thread0.td_kstack = kernelstack.pv_va;
436 thread0.td_pcb = (struct pcb *)
437 (thread0.td_kstack + KSTACK_PAGES * PAGE_SIZE) - 1;
438 thread0.td_pcb->pcb_flags = 0;
439 thread0.td_frame = &proc0_tf;
440 pcpup->pc_curpcb = thread0.td_pcb;
441
442 /* Enable MMU, I-cache, D-cache, write buffer. */

--- 99 unchanged lines hidden ---