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

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

44 *
45 * Created : 17/09/94
46 */
47
48#include "opt_msgbuf.h"
49#include "opt_ddb.h"
50
51#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

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

44 *
45 * Created : 17/09/94
46 */
47
48#include "opt_msgbuf.h"
49#include "opt_ddb.h"
50
51#include <sys/cdefs.h>
52__FBSDID("$FreeBSD: head/sys/arm/xscale/pxa/pxa_machdep.c 180584 2008-07-18 06:14:36Z alc $");
52__FBSDID("$FreeBSD: head/sys/arm/xscale/pxa/pxa_machdep.c 185513 2008-12-01 10:16:25Z stas $");
53
54#define _ARM32_BUS_DMA_PRIVATE
55#include <sys/param.h>
56#include <sys/systm.h>
57#include <sys/sysproto.h>
58#include <sys/signalvar.h>
59#include <sys/imgact.h>
60#include <sys/kernel.h>

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

325
326 /*
327 * We must now clean the cache again....
328 * Cleaning may be done by reading new data to displace any
329 * dirty data in the cache. This will have happened in setttb()
330 * but since we are boot strapping the addresses used for the read
331 * may have just been remapped and thus the cache could be out
332 * of sync. A re-clean after the switch will cure this.
53
54#define _ARM32_BUS_DMA_PRIVATE
55#include <sys/param.h>
56#include <sys/systm.h>
57#include <sys/sysproto.h>
58#include <sys/signalvar.h>
59#include <sys/imgact.h>
60#include <sys/kernel.h>

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

325
326 /*
327 * We must now clean the cache again....
328 * Cleaning may be done by reading new data to displace any
329 * dirty data in the cache. This will have happened in setttb()
330 * but since we are boot strapping the addresses used for the read
331 * may have just been remapped and thus the cache could be out
332 * of sync. A re-clean after the switch will cure this.
333 * After booting there are no gross reloations of the kernel thus
333 * After booting there are no gross relocations of the kernel thus
334 * this problem will not occur after initarm().
335 */
336 cpu_idcache_wbinv_all();
337
338 /*
339 * Sort out bus_space for on-board devices.
340 */
341 pxa_obio_tag_init();

--- 177 unchanged lines hidden ---
334 * this problem will not occur after initarm().
335 */
336 cpu_idcache_wbinv_all();
337
338 /*
339 * Sort out bus_space for on-board devices.
340 */
341 pxa_obio_tag_init();

--- 177 unchanged lines hidden ---