Deleted Added
full compact
at91_machdep.c (185477) at91_machdep.c (185513)
1/*-
2 * Copyright (c) 1994-1998 Mark Brinicombe.
3 * Copyright (c) 1994 Brini.
4 * All rights reserved.
5 *
6 * This code is derived from software written for Brini by Mark Brinicombe
7 *
8 * Redistribution and use in source and binary forms, with or without

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

41 * This file needs a lot of work.
42 *
43 * Created : 17/09/94
44 */
45
46#include "opt_msgbuf.h"
47
48#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1994-1998 Mark Brinicombe.
3 * Copyright (c) 1994 Brini.
4 * All rights reserved.
5 *
6 * This code is derived from software written for Brini by Mark Brinicombe
7 *
8 * Redistribution and use in source and binary forms, with or without

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

41 * This file needs a lot of work.
42 *
43 * Created : 17/09/94
44 */
45
46#include "opt_msgbuf.h"
47
48#include <sys/cdefs.h>
49__FBSDID("$FreeBSD: head/sys/arm/at91/at91_machdep.c 185477 2008-11-30 17:40:05Z imp $");
49__FBSDID("$FreeBSD: head/sys/arm/at91/at91_machdep.c 185513 2008-12-01 10:16:25Z stas $");
50
51#define _ARM32_BUS_DMA_PRIVATE
52#include <sys/param.h>
53#include <sys/systm.h>
54#include <sys/sysproto.h>
55#include <sys/signalvar.h>
56#include <sys/imgact.h>
57#include <sys/kernel.h>

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

336
337 /*
338 * We must now clean the cache again....
339 * Cleaning may be done by reading new data to displace any
340 * dirty data in the cache. This will have happened in setttb()
341 * but since we are boot strapping the addresses used for the read
342 * may have just been remapped and thus the cache could be out
343 * of sync. A re-clean after the switch will cure this.
50
51#define _ARM32_BUS_DMA_PRIVATE
52#include <sys/param.h>
53#include <sys/systm.h>
54#include <sys/sysproto.h>
55#include <sys/signalvar.h>
56#include <sys/imgact.h>
57#include <sys/kernel.h>

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

336
337 /*
338 * We must now clean the cache again....
339 * Cleaning may be done by reading new data to displace any
340 * dirty data in the cache. This will have happened in setttb()
341 * but since we are boot strapping the addresses used for the read
342 * may have just been remapped and thus the cache could be out
343 * of sync. A re-clean after the switch will cure this.
344 * After booting there are no gross reloations of the kernel thus
344 * After booting there are no gross relocations of the kernel thus
345 * this problem will not occur after initarm().
346 */
347 cpu_idcache_wbinv_all();
348
349 /* Set stack for exception handlers */
350
351 data_abort_handler_address = (u_int)data_abort_handler;
352 prefetch_abort_handler_address = (u_int)prefetch_abort_handler;

--- 47 unchanged lines hidden ---
345 * this problem will not occur after initarm().
346 */
347 cpu_idcache_wbinv_all();
348
349 /* Set stack for exception handlers */
350
351 data_abort_handler_address = (u_int)data_abort_handler;
352 prefetch_abort_handler_address = (u_int)prefetch_abort_handler;

--- 47 unchanged lines hidden ---