Deleted Added
full compact
crb_machdep.c (180584) crb_machdep.c (185513)
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

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

43 * This file needs a lot of work.
44 *
45 * Created : 17/09/94
46 */
47
48#include "opt_msgbuf.h"
49
50#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

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

43 * This file needs a lot of work.
44 *
45 * Created : 17/09/94
46 */
47
48#include "opt_msgbuf.h"
49
50#include <sys/cdefs.h>
51__FBSDID("$FreeBSD: head/sys/arm/xscale/i8134x/crb_machdep.c 180584 2008-07-18 06:14:36Z alc $");
51__FBSDID("$FreeBSD: head/sys/arm/xscale/i8134x/crb_machdep.c 185513 2008-12-01 10:16:25Z stas $");
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>

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

327
328 /*
329 * We must now clean the cache again....
330 * Cleaning may be done by reading new data to displace any
331 * dirty data in the cache. This will have happened in setttb()
332 * but since we are boot strapping the addresses used for the read
333 * may have just been remapped and thus the cache could be out
334 * of sync. A re-clean after the switch will cure this.
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>

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

327
328 /*
329 * We must now clean the cache again....
330 * Cleaning may be done by reading new data to displace any
331 * dirty data in the cache. This will have happened in setttb()
332 * but since we are boot strapping the addresses used for the read
333 * may have just been remapped and thus the cache could be out
334 * of sync. A re-clean after the switch will cure this.
335 * After booting there are no gross reloations of the kernel thus
335 * After booting there are no gross relocations of the kernel thus
336 * this problem will not occur after initarm().
337 */
338 cpu_idcache_wbinv_all();
339 i80321_calibrate_delay();
340 i81342_sdram_bounds(&obio_bs_tag, IOP34X_VADDR, &memstart, &memsize);
341 physmem = memsize / PAGE_SIZE;
342 cninit();
343 /* Set stack for exception handlers */

--- 52 unchanged lines hidden ---
336 * this problem will not occur after initarm().
337 */
338 cpu_idcache_wbinv_all();
339 i80321_calibrate_delay();
340 i81342_sdram_bounds(&obio_bs_tag, IOP34X_VADDR, &memstart, &memsize);
341 physmem = memsize / PAGE_SIZE;
342 cninit();
343 /* Set stack for exception handlers */

--- 52 unchanged lines hidden ---