46 #include <vm/seg_kmem.h>
47 #include <sys/cpu_module.h>
48 #include <sys/callb.h>
49 #include <sys/machsystm.h>
50 #include <sys/vmsystm.h>
51 #include <sys/systm.h>
52 #include <sys/archsystm.h>
53 #include <sys/stack.h>
54 #include <sys/fs/ufs_fs.h>
55 #include <sys/memlist.h>
56 #include <sys/bootconf.h>
57 #include <sys/thread.h>
58 #include <sys/x_call.h>
59 #include <sys/smp_impldefs.h>
60 #include <vm/vm_dep.h>
61 #include <sys/psm.h>
62 #include <sys/epm.h>
63 #include <sys/cpr_wakecode.h>
64 #include <sys/x86_archext.h>
65 #include <sys/reboot.h>
66 #include <sys/acpi/acpi.h>
67 #include <sys/acpica.h>
68 #include <sys/fp.h>
69 #include <sys/sysmacros.h>
70
71 #define AFMT "%lx"
72
73 extern int flushes_require_xcalls;
74 extern cpuset_t cpu_ready_set;
75
76 #if defined(__amd64)
77 extern void *wc_long_mode_64(void);
78 #endif /* __amd64 */
79 extern int tsc_gethrtime_enable;
80 extern void i_cpr_start_cpu(void);
81
82 ushort_t cpr_mach_type = CPR_MACHTYPE_X86;
83 void (*cpr_start_cpu_func)(void) = i_cpr_start_cpu;
84
85 static wc_cpu_t *wc_other_cpus = NULL;
86 static cpuset_t procset;
|
46 #include <vm/seg_kmem.h>
47 #include <sys/cpu_module.h>
48 #include <sys/callb.h>
49 #include <sys/machsystm.h>
50 #include <sys/vmsystm.h>
51 #include <sys/systm.h>
52 #include <sys/archsystm.h>
53 #include <sys/stack.h>
54 #include <sys/fs/ufs_fs.h>
55 #include <sys/memlist.h>
56 #include <sys/bootconf.h>
57 #include <sys/thread.h>
58 #include <sys/x_call.h>
59 #include <sys/smp_impldefs.h>
60 #include <vm/vm_dep.h>
61 #include <sys/psm.h>
62 #include <sys/epm.h>
63 #include <sys/cpr_wakecode.h>
64 #include <sys/x86_archext.h>
65 #include <sys/reboot.h>
66 #include <acpica/include/acpi.h>
67 #include <sys/acpica.h>
68 #include <sys/fp.h>
69 #include <sys/sysmacros.h>
70
71 #define AFMT "%lx"
72
73 extern int flushes_require_xcalls;
74 extern cpuset_t cpu_ready_set;
75
76 #if defined(__amd64)
77 extern void *wc_long_mode_64(void);
78 #endif /* __amd64 */
79 extern int tsc_gethrtime_enable;
80 extern void i_cpr_start_cpu(void);
81
82 ushort_t cpr_mach_type = CPR_MACHTYPE_X86;
83 void (*cpr_start_cpu_func)(void) = i_cpr_start_cpu;
84
85 static wc_cpu_t *wc_other_cpus = NULL;
86 static cpuset_t procset;
|