Changeset View
Changeset View
Standalone View
Standalone View
sys/i386/include/md_var.h
Show All 39 Lines | |||||
#if defined(I586_CPU) && !defined(NO_F00F_HACK) | #if defined(I586_CPU) && !defined(NO_F00F_HACK) | ||||
extern int has_f00f_bug; | extern int has_f00f_bug; | ||||
#endif | #endif | ||||
#ifdef COMPAT_FREEBSD4 | #ifdef COMPAT_FREEBSD4 | ||||
extern int szfreebsd4_sigcode; | extern int szfreebsd4_sigcode; | ||||
#endif | #endif | ||||
#ifdef COMPAT_43 | #ifdef COMPAT_43 | ||||
extern int szosigcode; | extern int szosigcode; | ||||
extern int sz_lcall_tramp; | |||||
#endif | #endif | ||||
extern uint32_t *vm_page_dump; | extern uint32_t *vm_page_dump; | ||||
extern vm_offset_t proc0kstack; | |||||
extern uintptr_t setidt_disp; | |||||
struct segment_descriptor; | struct segment_descriptor; | ||||
union savefpu; | union savefpu; | ||||
void bcopyb(const void *from, void *to, size_t len); | void bcopyb(const void *from, void *to, size_t len); | ||||
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)); | ||||
void doreti_popl_es(void) __asm(__STRING(doreti_popl_es)); | void doreti_popl_es(void) __asm(__STRING(doreti_popl_es)); | ||||
void doreti_popl_es_fault(void) __asm(__STRING(doreti_popl_es_fault)); | void doreti_popl_es_fault(void) __asm(__STRING(doreti_popl_es_fault)); | ||||
void doreti_popl_fs(void) __asm(__STRING(doreti_popl_fs)); | void doreti_popl_fs(void) __asm(__STRING(doreti_popl_fs)); | ||||
void doreti_popl_fs_fault(void) __asm(__STRING(doreti_popl_fs_fault)); | void doreti_popl_fs_fault(void) __asm(__STRING(doreti_popl_fs_fault)); | ||||
void fill_based_sd(struct segment_descriptor *sdp, uint32_t base); | void fill_based_sd(struct segment_descriptor *sdp, uint32_t base); | ||||
void i686_pagezero(void *addr); | void i686_pagezero(void *addr); | ||||
void sse2_pagezero(void *addr); | void sse2_pagezero(void *addr); | ||||
void init_AMD_Elan_sc520(void); | void init_AMD_Elan_sc520(void); | ||||
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 set_fsbase(struct thread *td, uint32_t base); | void set_fsbase(struct thread *td, uint32_t base); | ||||
void set_gsbase(struct thread *td, uint32_t base); | void set_gsbase(struct thread *td, uint32_t base); | ||||
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); | ||||
void setidt_nodisp(int idx, uintptr_t func, int typ, int dpl, int selec); | |||||
union savefpu *get_pcb_user_save_td(struct thread *td); | union savefpu *get_pcb_user_save_td(struct thread *td); | ||||
union savefpu *get_pcb_user_save_pcb(struct pcb *pcb); | union savefpu *get_pcb_user_save_pcb(struct pcb *pcb); | ||||
#endif /* !_MACHINE_MD_VAR_H_ */ | #endif /* !_MACHINE_MD_VAR_H_ */ |