equal
deleted
inserted
replaced
583 |
583 |
584 #if !defined(_ASM) |
584 #if !defined(_ASM) |
585 |
585 |
586 #if defined(_KERNEL) || defined(_KMEMUSER) |
586 #if defined(_KERNEL) || defined(_KMEMUSER) |
587 |
587 |
588 extern void *x86_featureset; |
588 #define NUM_X86_FEATURES 35 |
|
589 extern uchar_t x86_featureset[]; |
589 |
590 |
590 extern void free_x86_featureset(void *featureset); |
591 extern void free_x86_featureset(void *featureset); |
591 extern boolean_t is_x86_feature(void *featureset, uint_t feature); |
592 extern boolean_t is_x86_feature(void *featureset, uint_t feature); |
592 extern void add_x86_feature(void *featureset, uint_t feature); |
593 extern void add_x86_feature(void *featureset, uint_t feature); |
593 extern void remove_x86_feature(void *featureset, uint_t feature); |
594 extern void remove_x86_feature(void *featureset, uint_t feature); |
685 struct cpuid_info; |
686 struct cpuid_info; |
686 |
687 |
687 extern void setx86isalist(void); |
688 extern void setx86isalist(void); |
688 extern void cpuid_alloc_space(struct cpu *); |
689 extern void cpuid_alloc_space(struct cpu *); |
689 extern void cpuid_free_space(struct cpu *); |
690 extern void cpuid_free_space(struct cpu *); |
690 extern void *cpuid_pass1(struct cpu *); |
691 extern void cpuid_pass1(struct cpu *, uchar_t *); |
691 extern void cpuid_pass2(struct cpu *); |
692 extern void cpuid_pass2(struct cpu *); |
692 extern void cpuid_pass3(struct cpu *); |
693 extern void cpuid_pass3(struct cpu *); |
693 extern uint_t cpuid_pass4(struct cpu *); |
694 extern uint_t cpuid_pass4(struct cpu *); |
694 extern void cpuid_set_cpu_properties(void *, processorid_t, |
695 extern void cpuid_set_cpu_properties(void *, processorid_t, |
695 struct cpuid_info *); |
696 struct cpuid_info *); |