Rev 2071 | Rev 2089 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2071 | Rev 2079 | ||
---|---|---|---|
Line 49... | Line 49... | ||
49 | #define IMPL_ULTRASPARCIII 0x15 |
49 | #define IMPL_ULTRASPARCIII 0x15 |
50 | #define IMPL_ULTRASPARCIV_PLUS 0x19 |
50 | #define IMPL_ULTRASPARCIV_PLUS 0x19 |
51 | 51 | ||
52 | #define IMPL_SPARC64V 0x5 |
52 | #define IMPL_SPARC64V 0x5 |
53 | 53 | ||
54 | struct cpu_arch { |
54 | typedef struct { |
55 | uint32_t mid; /**< Processor ID as read from UPA_CONFIG. */ |
55 | uint32_t mid; /**< Processor ID as read from UPA_CONFIG. */ |
56 | ver_reg_t ver; |
56 | ver_reg_t ver; |
57 | uint32_t clock_frequency; /**< Processor frequency in Hz. */ |
57 | uint32_t clock_frequency; /**< Processor frequency in Hz. */ |
58 | uint64_t next_tick_cmpr; /**< Next clock interrupt should be |
58 | uint64_t next_tick_cmpr; /**< Next clock interrupt should be |
59 | * generated when the TICK register |
59 | generated when the TICK register |
60 | * matches this value. |
60 | matches this value. */ |
61 | */ |
61 | } cpu_arch_t; |
62 | }; |
- | |
63 | 62 | ||
64 | #endif |
63 | #endif |
65 | 64 | ||
66 | /** @} |
65 | /** @} |
67 | */ |
66 | */ |