Changeset View
Changeset View
Standalone View
Standalone View
sys/amd64/include/pcpu.h
Show First 20 Lines • Show All 70 Lines • ▼ Show 20 Lines | #define PCPU_MD_FIELDS \ | ||||
/* Pointer to the CPU %fs descriptor */ \ | /* Pointer to the CPU %fs descriptor */ \ | ||||
struct user_segment_descriptor *pc_fs32p; \ | struct user_segment_descriptor *pc_fs32p; \ | ||||
/* Pointer to the CPU %gs descriptor */ \ | /* Pointer to the CPU %gs descriptor */ \ | ||||
struct user_segment_descriptor *pc_gs32p; \ | struct user_segment_descriptor *pc_gs32p; \ | ||||
/* Pointer to the CPU LDT descriptor */ \ | /* Pointer to the CPU LDT descriptor */ \ | ||||
struct system_segment_descriptor *pc_ldt; \ | struct system_segment_descriptor *pc_ldt; \ | ||||
/* Pointer to the CPU TSS descriptor */ \ | /* Pointer to the CPU TSS descriptor */ \ | ||||
struct system_segment_descriptor *pc_tss; \ | struct system_segment_descriptor *pc_tss; \ | ||||
uint64_t pc_pm_save_cnt; \ | |||||
u_int pc_cmci_mask; /* MCx banks for CMCI */ \ | u_int pc_cmci_mask; /* MCx banks for CMCI */ \ | ||||
uint64_t pc_dbreg[16]; /* ddb debugging regs */ \ | uint64_t pc_dbreg[16]; /* ddb debugging regs */ \ | ||||
uint64_t pc_pti_stack[PC_PTI_STACK_SZ]; \ | uint64_t pc_pti_stack[PC_PTI_STACK_SZ]; \ | ||||
register_t pc_pti_rsp0; \ | register_t pc_pti_rsp0; \ | ||||
int pc_dbreg_cmd; /* ddb debugging reg cmd */ \ | int pc_dbreg_cmd; /* ddb debugging reg cmd */ \ | ||||
u_int pc_vcpu_id; /* Xen vCPU ID */ \ | u_int pc_vcpu_id; /* Xen vCPU ID */ \ | ||||
uint32_t pc_pcid_next; \ | uint32_t pc_pcid_next; \ | ||||
uint32_t pc_pcid_gen; \ | uint32_t pc_pcid_gen; \ | ||||
uint32_t pc_unused; \ | uint32_t pc_unused; \ | ||||
uint32_t pc_ibpb_set; \ | uint32_t pc_ibpb_set; \ | ||||
void *pc_mds_buf; \ | void *pc_mds_buf; \ | ||||
void *pc_mds_buf64; \ | void *pc_mds_buf64; \ | ||||
uint32_t pc_pad[2]; \ | uint32_t pc_pad[4]; \ | ||||
uint8_t pc_mds_tmp[64]; \ | uint8_t pc_mds_tmp[64]; \ | ||||
u_int pc_ipi_bitmap; \ | u_int pc_ipi_bitmap; \ | ||||
struct amd64tss pc_common_tss; \ | struct amd64tss pc_common_tss; \ | ||||
struct user_segment_descriptor pc_gdt[NGDT]; \ | struct user_segment_descriptor pc_gdt[NGDT]; \ | ||||
void *pc_smp_tlb_pmap; \ | void *pc_smp_tlb_pmap; \ | ||||
uint64_t pc_smp_tlb_addr1; \ | uint64_t pc_smp_tlb_addr1; \ | ||||
uint64_t pc_smp_tlb_addr2; \ | uint64_t pc_smp_tlb_addr2; \ | ||||
uint32_t pc_smp_tlb_gen; \ | uint32_t pc_smp_tlb_gen; \ | ||||
▲ Show 20 Lines • Show All 218 Lines • Show Last 20 Lines |