ep80219_machdep.c (180584) | ep80219_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/ep80219_machdep.c 180584 2008-07-18 06:14:36Z alc $"); | 51__FBSDID("$FreeBSD: head/sys/arm/xscale/i80321/ep80219_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> --- 287 unchanged lines hidden (view full) --- 347 348 /* 349 * We must now clean the cache again.... 350 * Cleaning may be done by reading new data to displace any 351 * dirty data in the cache. This will have happened in setttb() 352 * but since we are boot strapping the addresses used for the read 353 * may have just been remapped and thus the cache could be out 354 * 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> --- 287 unchanged lines hidden (view full) --- 347 348 /* 349 * We must now clean the cache again.... 350 * Cleaning may be done by reading new data to displace any 351 * dirty data in the cache. This will have happened in setttb() 352 * but since we are boot strapping the addresses used for the read 353 * may have just been remapped and thus the cache could be out 354 * of sync. A re-clean after the switch will cure this. |
355 * After booting there are no gross reloations of the kernel thus | 355 * After booting there are no gross relocations of the kernel thus |
356 * this problem will not occur after initarm(). 357 */ 358 cpu_idcache_wbinv_all(); 359 /* 360 * Fetch the SDRAM start/size from the i80321 SDRAM configration 361 * registers. 362 */ 363 i80321_calibrate_delay(); --- 98 unchanged lines hidden --- | 356 * this problem will not occur after initarm(). 357 */ 358 cpu_idcache_wbinv_all(); 359 /* 360 * Fetch the SDRAM start/size from the i80321 SDRAM configration 361 * registers. 362 */ 363 i80321_calibrate_delay(); --- 98 unchanged lines hidden --- |