board_tsc4370.c (163521) | board_tsc4370.c (163709) |
---|---|
1/*- 2 * Copyright (c) 1994-1998 Mark Brinicombe. 3 * Copyright (c) 1994 Brini. 4 * All rights reserved. 5 * 6 * This code is derived from software written for Brini by Mark Brinicombe 7 * 8 * Redistribution and use in source and binary forms, with or without --- 34 unchanged lines hidden (view full) --- 43 * Created : 17/09/94 44 */ 45 46#include "opt_msgbuf.h" 47#include "opt_ddb.h" 48#include "opt_at91.h" 49 50#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1994-1998 Mark Brinicombe. 3 * Copyright (c) 1994 Brini. 4 * All rights reserved. 5 * 6 * This code is derived from software written for Brini by Mark Brinicombe 7 * 8 * Redistribution and use in source and binary forms, with or without --- 34 unchanged lines hidden (view full) --- 43 * Created : 17/09/94 44 */ 45 46#include "opt_msgbuf.h" 47#include "opt_ddb.h" 48#include "opt_at91.h" 49 50#include <sys/cdefs.h> |
51__FBSDID("$FreeBSD: head/sys/arm/at91/kb920x_machdep.c 163521 2006-10-20 07:03:57Z imp $"); | 51__FBSDID("$FreeBSD: head/sys/arm/at91/kb920x_machdep.c 163709 2006-10-26 21:42:22Z jb $"); |
52 53#define _ARM32_BUS_DMA_PRIVATE 54#include <sys/param.h> 55#include <sys/systm.h> 56#include <sys/sysproto.h> 57#include <sys/signalvar.h> 58#include <sys/imgact.h> 59#include <sys/kernel.h> --- 391 unchanged lines hidden (view full) --- 451 452 /* Set stack for exception handlers */ 453 454 data_abort_handler_address = (u_int)data_abort_handler; 455 prefetch_abort_handler_address = (u_int)prefetch_abort_handler; 456 undefined_handler_address = (u_int)undefinedinstruction_bounce; 457 undefined_init(); 458 | 52 53#define _ARM32_BUS_DMA_PRIVATE 54#include <sys/param.h> 55#include <sys/systm.h> 56#include <sys/sysproto.h> 57#include <sys/signalvar.h> 58#include <sys/imgact.h> 59#include <sys/kernel.h> --- 391 unchanged lines hidden (view full) --- 451 452 /* Set stack for exception handlers */ 453 454 data_abort_handler_address = (u_int)data_abort_handler; 455 prefetch_abort_handler_address = (u_int)prefetch_abort_handler; 456 undefined_handler_address = (u_int)undefinedinstruction_bounce; 457 undefined_init(); 458 |
459#ifdef KSE |
|
459 proc_linkup(&proc0, &ksegrp0, &thread0); | 460 proc_linkup(&proc0, &ksegrp0, &thread0); |
461#else 462 proc_linkup(&proc0, &thread0); 463#endif |
|
460 thread0.td_kstack = kernelstack.pv_va; 461 thread0.td_pcb = (struct pcb *) 462 (thread0.td_kstack + KSTACK_PAGES * PAGE_SIZE) - 1; 463 thread0.td_pcb->pcb_flags = 0; 464 thread0.td_frame = &proc0_tf; 465 pcpup->pc_curpcb = thread0.td_pcb; 466 467 arm_vector_init(ARM_VECTORS_HIGH, ARM_VEC_ALL); --- 32 unchanged lines hidden --- | 464 thread0.td_kstack = kernelstack.pv_va; 465 thread0.td_pcb = (struct pcb *) 466 (thread0.td_kstack + KSTACK_PAGES * PAGE_SIZE) - 1; 467 thread0.td_pcb->pcb_flags = 0; 468 thread0.td_frame = &proc0_tf; 469 pcpup->pc_curpcb = thread0.td_pcb; 470 471 arm_vector_init(ARM_VECTORS_HIGH, ARM_VEC_ALL); --- 32 unchanged lines hidden --- |