Rev 2071 | Rev 2082 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2071 | Rev 2079 | ||
---|---|---|---|
Line 40... | Line 40... | ||
40 | #include <arch/register.h> |
40 | #include <arch/register.h> |
41 | 41 | ||
42 | #define FAMILY_ITANIUM 0x7 |
42 | #define FAMILY_ITANIUM 0x7 |
43 | #define FAMILY_ITANIUM2 0x1f |
43 | #define FAMILY_ITANIUM2 0x1f |
44 | 44 | ||
45 | struct cpu_arch { |
45 | typedef struct { |
46 | uint64_t cpuid0; |
46 | uint64_t cpuid0; |
47 | uint64_t cpuid1; |
47 | uint64_t cpuid1; |
48 | cpuid3_t cpuid3; |
48 | cpuid3_t cpuid3; |
49 | }; |
49 | } cpu_arch_t; |
50 | 50 | ||
51 | /** Read CPUID register. |
51 | /** Read CPUID register. |
52 | * |
52 | * |
53 | * @param n CPUID register number. |
53 | * @param n CPUID register number. |
54 | * |
54 | * |