Rev 125 | Rev 309 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 125 | Rev 141 | ||
---|---|---|---|
Line 47... | Line 47... | ||
47 | 47 | ||
48 | #define INTEL_CPUID_EBX 0x756e6547 |
48 | #define INTEL_CPUID_EBX 0x756e6547 |
49 | #define INTEL_CPUID_ECX 0x6c65746e |
49 | #define INTEL_CPUID_ECX 0x6c65746e |
50 | #define INTEL_CPUID_EDX 0x49656e69 |
50 | #define INTEL_CPUID_EDX 0x49656e69 |
51 | 51 | ||
- | 52 | ||
52 | enum vendor { |
53 | enum vendor { |
53 | VendorUnknown=0, |
54 | VendorUnknown=0, |
54 | VendorAMD, |
55 | VendorAMD, |
55 | VendorIntel |
56 | VendorIntel |
56 | }; |
57 | }; |
Line 87... | Line 88... | ||
87 | ); |
88 | ); |
88 | } |
89 | } |
89 | 90 | ||
90 | 91 | ||
91 | 92 | ||
- | 93 | ||
92 | void cpu_arch_init(void) |
94 | void cpu_arch_init(void) |
93 | { |
95 | { |
94 | CPU->arch.tss = tss_p; |
96 | CPU->arch.tss = tss_p; |
95 | CPU->fpu_owner=NULL; |
97 | CPU->fpu_owner=NULL; |
96 | } |
98 | } |