Changeset View
Changeset View
Standalone View
Standalone View
head/sys/i386/include/md_var.h
Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Lines | |||||
extern u_int amd_pminfo; | extern u_int amd_pminfo; | ||||
extern u_int via_feature_rng; | extern u_int via_feature_rng; | ||||
extern u_int via_feature_xcrypt; | extern u_int via_feature_xcrypt; | ||||
extern u_int cpu_clflush_line_size; | extern u_int cpu_clflush_line_size; | ||||
extern u_int cpu_stdext_feature; | extern u_int cpu_stdext_feature; | ||||
extern u_int cpu_fxsr; | extern u_int cpu_fxsr; | ||||
extern u_int cpu_high; | extern u_int cpu_high; | ||||
extern u_int cpu_id; | extern u_int cpu_id; | ||||
extern u_int cpu_max_ext_state_size; | |||||
extern u_int cpu_mxcsr_mask; | extern u_int cpu_mxcsr_mask; | ||||
extern u_int cpu_procinfo; | extern u_int cpu_procinfo; | ||||
extern u_int cpu_procinfo2; | extern u_int cpu_procinfo2; | ||||
extern char cpu_vendor[]; | extern char cpu_vendor[]; | ||||
extern u_int cpu_vendor_id; | extern u_int cpu_vendor_id; | ||||
extern u_int cpu_mon_mwait_flags; | extern u_int cpu_mon_mwait_flags; | ||||
extern u_int cpu_mon_min_size; | extern u_int cpu_mon_min_size; | ||||
extern u_int cpu_mon_max_size; | extern u_int cpu_mon_max_size; | ||||
Show All 12 Lines | |||||
#ifdef COMPAT_43 | #ifdef COMPAT_43 | ||||
extern int szosigcode; | extern int szosigcode; | ||||
#endif | #endif | ||||
extern uint32_t *vm_page_dump; | extern uint32_t *vm_page_dump; | ||||
extern int vm_page_dump_size; | extern int vm_page_dump_size; | ||||
extern int workaround_erratum383; | extern int workaround_erratum383; | ||||
extern int _udatasel; | extern int _udatasel; | ||||
extern int _ucodesel; | extern int _ucodesel; | ||||
extern int use_xsave; | |||||
extern uint64_t xsave_mask; | |||||
typedef void alias_for_inthand_t(u_int cs, u_int ef, u_int esp, u_int ss); | typedef void alias_for_inthand_t(u_int cs, u_int ef, u_int esp, u_int ss); | ||||
struct pcb; | |||||
union savefpu; | |||||
struct thread; | struct thread; | ||||
struct reg; | struct reg; | ||||
struct fpreg; | struct fpreg; | ||||
struct dbreg; | struct dbreg; | ||||
struct dumperinfo; | struct dumperinfo; | ||||
void *alloc_fpusave(int flags); | |||||
void bcopyb(const void *from, void *to, size_t len); | void bcopyb(const void *from, void *to, size_t len); | ||||
void busdma_swi(void); | void busdma_swi(void); | ||||
void cpu_setregs(void); | void cpu_setregs(void); | ||||
void cpu_switch_load_gs(void) __asm(__STRING(cpu_switch_load_gs)); | void cpu_switch_load_gs(void) __asm(__STRING(cpu_switch_load_gs)); | ||||
void doreti_iret(void) __asm(__STRING(doreti_iret)); | void doreti_iret(void) __asm(__STRING(doreti_iret)); | ||||
void doreti_iret_fault(void) __asm(__STRING(doreti_iret_fault)); | void doreti_iret_fault(void) __asm(__STRING(doreti_iret_fault)); | ||||
void doreti_popl_ds(void) __asm(__STRING(doreti_popl_ds)); | void doreti_popl_ds(void) __asm(__STRING(doreti_popl_ds)); | ||||
void doreti_popl_ds_fault(void) __asm(__STRING(doreti_popl_ds_fault)); | void doreti_popl_ds_fault(void) __asm(__STRING(doreti_popl_ds_fault)); | ||||
Show All 14 Lines | |||||
int isa_nmi(int cd); | int isa_nmi(int cd); | ||||
vm_paddr_t kvtop(void *addr); | vm_paddr_t kvtop(void *addr); | ||||
void panicifcpuunsupported(void); | void panicifcpuunsupported(void); | ||||
void ppro_reenable_apic(void); | void ppro_reenable_apic(void); | ||||
void printcpuinfo(void); | void printcpuinfo(void); | ||||
void setidt(int idx, alias_for_inthand_t *func, int typ, int dpl, int selec); | void setidt(int idx, alias_for_inthand_t *func, int typ, int dpl, int selec); | ||||
int user_dbreg_trap(void); | int user_dbreg_trap(void); | ||||
int minidumpsys(struct dumperinfo *); | int minidumpsys(struct dumperinfo *); | ||||
union savefpu *get_pcb_user_save_td(struct thread *td); | |||||
union savefpu *get_pcb_user_save_pcb(struct pcb *pcb); | |||||
struct pcb *get_pcb_td(struct thread *td); | |||||
#endif /* !_MACHINE_MD_VAR_H_ */ | #endif /* !_MACHINE_MD_VAR_H_ */ |