Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/include Add way_size to arm_cache_info



details:   https://anonhg.NetBSD.org/src/rev/35390876b3e9
branches:  trunk
changeset: 326939:35390876b3e9
user:      matt <matt%NetBSD.org@localhost>
date:      Sat Feb 22 20:50:46 2014 +0000

description:
Add way_size to arm_cache_info
Fix arm67_tlb_purge prototype

diffstat:

 sys/arch/arm/include/cpufunc.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 8a8541d8a761 -r 35390876b3e9 sys/arch/arm/include/cpufunc.h
--- a/sys/arch/arm/include/cpufunc.h    Sat Feb 22 20:46:35 2014 +0000
+++ b/sys/arch/arm/include/cpufunc.h    Sat Feb 22 20:50:46 2014 +0000
@@ -240,7 +240,7 @@
 #if defined(CPU_ARM6) || defined(CPU_ARM7)
 void   arm67_setttb            (u_int, bool);
 void   arm67_tlb_flush         (void);
-void   arm67_tlb_purge         (u_int);
+void   arm67_tlb_purge         (vaddr_t);
 void   arm67_cache_flush       (void);
 void   arm67_context_switch    (u_int);
 #endif /* CPU_ARM6 || CPU_ARM7 */
@@ -755,11 +755,13 @@
        u_int icache_size;
        u_int icache_line_size;
        u_int icache_ways;
+       u_int icache_way_size;
        u_int icache_sets;
 
        u_int dcache_size;
        u_int dcache_line_size;
        u_int dcache_ways;
+       u_int dcache_way_size;
        u_int dcache_sets;
 
        u_int cache_type;



Home | Main Index | Thread Index | Old Index