Deleted Added
full compact
iq31244_machdep.c (180584) iq31244_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/i80321/iq31244_machdep.c 180584 2008-07-18 06:14:36Z alc $");
51__FBSDID("$FreeBSD: head/sys/arm/xscale/i80321/iq31244_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>

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

345
346 /*
347 * We must now clean the cache again....
348 * Cleaning may be done by reading new data to displace any
349 * dirty data in the cache. This will have happened in setttb()
350 * but since we are boot strapping the addresses used for the read
351 * may have just been remapped and thus the cache could be out
352 * 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>

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

345
346 /*
347 * We must now clean the cache again....
348 * Cleaning may be done by reading new data to displace any
349 * dirty data in the cache. This will have happened in setttb()
350 * but since we are boot strapping the addresses used for the read
351 * may have just been remapped and thus the cache could be out
352 * of sync. A re-clean after the switch will cure this.
353 * After booting there are no gross reloations of the kernel thus
353 * After booting there are no gross relocations of the kernel thus
354 * this problem will not occur after initarm().
355 */
356 cpu_idcache_wbinv_all();
357 /*
358 * Fetch the SDRAM start/size from the i80321 SDRAM configration
359 * registers.
360 */
361 i80321_calibrate_delay();

--- 119 unchanged lines hidden ---
354 * this problem will not occur after initarm().
355 */
356 cpu_idcache_wbinv_all();
357 /*
358 * Fetch the SDRAM start/size from the i80321 SDRAM configration
359 * registers.
360 */
361 i80321_calibrate_delay();

--- 119 unchanged lines hidden ---