Changes in kernel/arch/arm32/include/cpu.h [9d58539:bad1f53] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/include/cpu.h
r9d58539 rbad1f53 40 40 #include <arch/asm.h> 41 41 42 enum { 43 ARM_MAX_CACHE_LEVELS = 7, 44 }; 42 45 43 /** Struct representing ARM CPU identifi action. */46 /** Struct representing ARM CPU identification. */ 44 47 typedef struct { 45 /** Implement ator (vendor) number. */48 /** Implementor (vendor) number. */ 46 49 uint32_t imp_num; 47 50 … … 57 60 /** Revision number. */ 58 61 uint32_t rev_num; 62 63 struct { 64 unsigned ways; 65 unsigned sets; 66 unsigned line_size; 67 unsigned way_shift; 68 unsigned set_shift; 69 } dcache[ARM_MAX_CACHE_LEVELS]; 70 unsigned dcache_levels; 59 71 } cpu_arch_t; 60 72
Note:
See TracChangeset
for help on using the changeset viewer.