Rev 2189 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2189 | Rev 2329 | ||
---|---|---|---|
Line 36... | Line 36... | ||
36 | #define KERN_arm32_CPU_H_ |
36 | #define KERN_arm32_CPU_H_ |
37 | 37 | ||
38 | #include <arch/types.h> |
38 | #include <arch/types.h> |
39 | #include <arch/asm.h> |
39 | #include <arch/asm.h> |
40 | 40 | ||
- | 41 | ||
- | 42 | /** Structure representing ARM CPU identifiaction. */ |
|
41 | typedef struct { |
43 | typedef struct { |
42 | /** Implementator (vendor) number */ |
44 | /** Implementator (vendor) number. */ |
43 | uint32_t imp_num; |
45 | uint32_t imp_num; |
44 | /** Variant number */ |
46 | /** Variant number. */ |
45 | uint32_t variant_num; |
47 | uint32_t variant_num; |
46 | /** Architecture number */ |
48 | /** Architecture number. */ |
47 | uint32_t arch_num; |
49 | uint32_t arch_num; |
48 | /** Primary part number */ |
50 | /** Primary part number. */ |
49 | uint32_t prim_part_num; |
51 | uint32_t prim_part_num; |
50 | /** Revision number */ |
52 | /** Revision number. */ |
51 | uint32_t rev_num; |
53 | uint32_t rev_num; |
52 | } cpu_arch_t; |
54 | } cpu_arch_t; |
53 | 55 | ||
54 | 56 | ||
55 | #endif |
57 | #endif |