Rev 1731 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1731 | Rev 1780 | ||
---|---|---|---|
Line 96... | Line 96... | ||
96 | void cpu_arch_init(void) |
96 | void cpu_arch_init(void) |
97 | { |
97 | { |
98 | cpuid_feature_info fi; |
98 | cpuid_feature_info fi; |
99 | cpuid_extended_feature_info efi; |
99 | cpuid_extended_feature_info efi; |
100 | cpu_info_t info; |
100 | cpu_info_t info; |
101 | __u32 help = 0; |
101 | uint32_t help = 0; |
102 | 102 | ||
103 | CPU->arch.tss = tss_p; |
103 | CPU->arch.tss = tss_p; |
104 | CPU->arch.tss->iomap_base = &CPU->arch.tss->iomap[0] - ((__u8 *) CPU->arch.tss); |
104 | CPU->arch.tss->iomap_base = &CPU->arch.tss->iomap[0] - ((uint8_t *) CPU->arch.tss); |
105 | 105 | ||
106 | CPU->fpu_owner = NULL; |
106 | CPU->fpu_owner = NULL; |
107 | 107 | ||
108 | cpuid(1, &info); |
108 | cpuid(1, &info); |
109 | 109 |