diff options
author | cognet <cognet@FreeBSD.org> | 2005-06-03 19:49:53 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2005-06-03 19:49:53 +0000 |
commit | 70eb7340eaffafecab73f10e98a5afc0b8a8bd3e (patch) | |
tree | 4297f0af69d9f34a61437846c477e1ab4d0e9d6f | |
parent | 074906c2f63a32ced210fc7b104d34fcf43d5ba0 (diff) | |
download | FreeBSD-src-70eb7340eaffafecab73f10e98a5afc0b8a8bd3e.zip FreeBSD-src-70eb7340eaffafecab73f10e98a5afc0b8a8bd3e.tar.gz |
Bring in bits I forgot while importing write back support for arm9.
-rw-r--r-- | sys/arm/include/cpufunc.h | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/sys/arm/include/cpufunc.h b/sys/arm/include/cpufunc.h index 9a7e70b..251b716 100644 --- a/sys/arm/include/cpufunc.h +++ b/sys/arm/include/cpufunc.h @@ -322,23 +322,25 @@ void arm9_setttb (u_int); void arm9_tlb_flushID_SE (u_int va); -void arm9_cache_flushID (void); -void arm9_cache_flushID_SE (u_int); -void arm9_cache_flushI (void); -void arm9_cache_flushI_SE (u_int); -void arm9_cache_flushD (void); -void arm9_cache_flushD_SE (u_int); +void arm9_icache_sync_all __P((void)); +void arm9_icache_sync_range __P((vm_offset_t, vm_size_t)); -void arm9_cache_cleanID (void); +void arm9_dcache_wbinv_all __P((void)); +void arm9_dcache_wbinv_range __P((vm_offset_t, vm_size_t)); +void arm9_dcache_inv_range __P((vm_offset_t, vm_size_t)); +void arm9_dcache_wb_range __P((vm_offset_t, vm_size_t)); -void arm9_cache_syncI (void); -void arm9_cache_flushID_rng (vm_offset_t, vm_size_t); -void arm9_cache_flushD_rng (vm_offset_t, vm_size_t); -void arm9_cache_syncI_rng (vm_offset_t, vm_size_t); +void arm9_idcache_wbinv_all __P((void)); +void arm9_idcache_wbinv_range __P((vm_offset_t, vm_size_t)); void arm9_context_switch (void); void arm9_setup (char *string); + +extern unsigned arm9_dcache_sets_max; +extern unsigned arm9_dcache_sets_inc; +extern unsigned arm9_dcache_index_max; +extern unsigned arm9_dcache_index_inc; #endif #ifdef CPU_ARM10 |