avila_machdep.c (183557) | avila_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/ixp425/avila_machdep.c 183557 2008-10-02 22:31:30Z bms $"); | 51__FBSDID("$FreeBSD: head/sys/arm/xscale/ixp425/avila_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> --- 353 unchanged lines hidden (view full) --- 413 414 /* 415 * We must now clean the cache again.... 416 * Cleaning may be done by reading new data to displace any 417 * dirty data in the cache. This will have happened in setttb() 418 * but since we are boot strapping the addresses used for the read 419 * may have just been remapped and thus the cache could be out 420 * 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> --- 353 unchanged lines hidden (view full) --- 413 414 /* 415 * We must now clean the cache again.... 416 * Cleaning may be done by reading new data to displace any 417 * dirty data in the cache. This will have happened in setttb() 418 * but since we are boot strapping the addresses used for the read 419 * may have just been remapped and thus the cache could be out 420 * of sync. A re-clean after the switch will cure this. |
421 * After booting there are no gross reloations of the kernel thus | 421 * After booting there are no gross relocations of the kernel thus |
422 * this problem will not occur after initarm(). 423 */ 424 cpu_idcache_wbinv_all(); 425 /* 426 * Fetch the SDRAM start/size from the ixp425 SDRAM configration 427 * registers. 428 */ 429 cninit(); --- 61 unchanged lines hidden --- | 422 * this problem will not occur after initarm(). 423 */ 424 cpu_idcache_wbinv_all(); 425 /* 426 * Fetch the SDRAM start/size from the ixp425 SDRAM configration 427 * registers. 428 */ 429 cninit(); --- 61 unchanged lines hidden --- |