Deleted Added
full compact
cpufunc.h (139735) cpufunc.h (146948)
1/* $NetBSD: cpufunc.h,v 1.29 2003/09/06 09:08:35 rearnsha Exp $ */
2
3/*-
4 * Copyright (c) 1997 Mark Brinicombe.
5 * Copyright (c) 1997 Causality Limited
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

33 * SUCH DAMAGE.
34 *
35 * RiscBSD kernel project
36 *
37 * cpufunc.h
38 *
39 * Prototypes for cpu, mmu and tlb related functions.
40 *
1/* $NetBSD: cpufunc.h,v 1.29 2003/09/06 09:08:35 rearnsha Exp $ */
2
3/*-
4 * Copyright (c) 1997 Mark Brinicombe.
5 * Copyright (c) 1997 Causality Limited
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

33 * SUCH DAMAGE.
34 *
35 * RiscBSD kernel project
36 *
37 * cpufunc.h
38 *
39 * Prototypes for cpu, mmu and tlb related functions.
40 *
41 * $FreeBSD: head/sys/arm/include/cpufunc.h 139735 2005-01-05 21:58:49Z imp $
41 * $FreeBSD: head/sys/arm/include/cpufunc.h 146948 2005-06-03 19:49:53Z cognet $
42 */
43
44#ifndef _MACHINE_CPUFUNC_H_
45#define _MACHINE_CPUFUNC_H_
46
47#ifdef _KERNEL
48
49#include <sys/types.h>

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

317
318#endif
319
320#ifdef CPU_ARM9
321void arm9_setttb (u_int);
322
323void arm9_tlb_flushID_SE (u_int va);
324
42 */
43
44#ifndef _MACHINE_CPUFUNC_H_
45#define _MACHINE_CPUFUNC_H_
46
47#ifdef _KERNEL
48
49#include <sys/types.h>

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

317
318#endif
319
320#ifdef CPU_ARM9
321void arm9_setttb (u_int);
322
323void arm9_tlb_flushID_SE (u_int va);
324
325void arm9_cache_flushID (void);
326void arm9_cache_flushID_SE (u_int);
327void arm9_cache_flushI (void);
328void arm9_cache_flushI_SE (u_int);
329void arm9_cache_flushD (void);
330void arm9_cache_flushD_SE (u_int);
325void arm9_icache_sync_all __P((void));
326void arm9_icache_sync_range __P((vm_offset_t, vm_size_t));
331
327
332void arm9_cache_cleanID (void);
328void arm9_dcache_wbinv_all __P((void));
329void arm9_dcache_wbinv_range __P((vm_offset_t, vm_size_t));
330void arm9_dcache_inv_range __P((vm_offset_t, vm_size_t));
331void arm9_dcache_wb_range __P((vm_offset_t, vm_size_t));
333
332
334void arm9_cache_syncI (void);
335void arm9_cache_flushID_rng (vm_offset_t, vm_size_t);
336void arm9_cache_flushD_rng (vm_offset_t, vm_size_t);
337void arm9_cache_syncI_rng (vm_offset_t, vm_size_t);
333void arm9_idcache_wbinv_all __P((void));
334void arm9_idcache_wbinv_range __P((vm_offset_t, vm_size_t));
338
339void arm9_context_switch (void);
340
341void arm9_setup (char *string);
335
336void arm9_context_switch (void);
337
338void arm9_setup (char *string);
339
340extern unsigned arm9_dcache_sets_max;
341extern unsigned arm9_dcache_sets_inc;
342extern unsigned arm9_dcache_index_max;
343extern unsigned arm9_dcache_index_inc;
342#endif
343
344#ifdef CPU_ARM10
345void arm10_setttb (u_int);
346
347void arm10_tlb_flushID_SE (u_int);
348void arm10_tlb_flushI_SE (u_int);
349

--- 167 unchanged lines hidden ---
344#endif
345
346#ifdef CPU_ARM10
347void arm10_setttb (u_int);
348
349void arm10_tlb_flushID_SE (u_int);
350void arm10_tlb_flushI_SE (u_int);
351

--- 167 unchanged lines hidden ---