Rev 2082 | Rev 2783 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2082 | Rev 2089 | ||
---|---|---|---|
Line 30... | Line 30... | ||
30 | * @{ |
30 | * @{ |
31 | */ |
31 | */ |
32 | /** @file |
32 | /** @file |
33 | */ |
33 | */ |
34 | 34 | ||
- | 35 | #include <cpu.h> |
|
35 | #include <arch/cpu.h> |
36 | #include <arch/cpu.h> |
36 | #include <arch/cpuid.h> |
37 | #include <arch/cpuid.h> |
37 | #include <arch/pm.h> |
38 | #include <arch/pm.h> |
38 | 39 | ||
39 | #include <arch.h> |
40 | #include <arch.h> |
40 | #include <arch/types.h> |
41 | #include <arch/types.h> |
41 | #include <print.h> |
42 | #include <print.h> |
42 | #include <typedefs.h> |
- | |
43 | #include <fpu_context.h> |
43 | #include <fpu_context.h> |
44 | 44 | ||
45 | /* |
45 | /* |
46 | * Identification of CPUs. |
46 | * Identification of CPUs. |
47 | * Contains only non-MP-Specification specific SMP code. |
47 | * Contains only non-MP-Specification specific SMP code. |
Line 54... | Line 54... | ||
54 | #define INTEL_CPUID_ECX 0x6c65746e |
54 | #define INTEL_CPUID_ECX 0x6c65746e |
55 | #define INTEL_CPUID_EDX 0x49656e69 |
55 | #define INTEL_CPUID_EDX 0x49656e69 |
56 | 56 | ||
57 | 57 | ||
58 | enum vendor { |
58 | enum vendor { |
59 | VendorUnknown=0, |
59 | VendorUnknown = 0, |
60 | VendorAMD, |
60 | VendorAMD, |
61 | VendorIntel |
61 | VendorIntel |
62 | }; |
62 | }; |
63 | 63 | ||
64 | static char *vendor_str[] = { |
64 | static char *vendor_str[] = { |