Changeset View
Changeset View
Standalone View
Standalone View
sys/amd64/amd64/genassym.c
Show First 20 Lines • Show All 135 Lines • ▼ Show 20 Lines | |||||
ASSYM(PCB_DR6, offsetof(struct pcb, pcb_dr6)); | ASSYM(PCB_DR6, offsetof(struct pcb, pcb_dr6)); | ||||
ASSYM(PCB_DR7, offsetof(struct pcb, pcb_dr7)); | ASSYM(PCB_DR7, offsetof(struct pcb, pcb_dr7)); | ||||
ASSYM(PCB_GDT, offsetof(struct pcb, pcb_gdt)); | ASSYM(PCB_GDT, offsetof(struct pcb, pcb_gdt)); | ||||
ASSYM(PCB_IDT, offsetof(struct pcb, pcb_idt)); | ASSYM(PCB_IDT, offsetof(struct pcb, pcb_idt)); | ||||
ASSYM(PCB_LDT, offsetof(struct pcb, pcb_ldt)); | ASSYM(PCB_LDT, offsetof(struct pcb, pcb_ldt)); | ||||
ASSYM(PCB_TR, offsetof(struct pcb, pcb_tr)); | ASSYM(PCB_TR, offsetof(struct pcb, pcb_tr)); | ||||
ASSYM(PCB_FLAGS, offsetof(struct pcb, pcb_flags)); | ASSYM(PCB_FLAGS, offsetof(struct pcb, pcb_flags)); | ||||
ASSYM(PCB_ONFAULT, offsetof(struct pcb, pcb_onfault)); | ASSYM(PCB_ONFAULT, offsetof(struct pcb, pcb_onfault)); | ||||
ASSYM(PCB_SAVED_UCR3, offsetof(struct pcb, pcb_saved_ucr3)); | |||||
ASSYM(PCB_TSSP, offsetof(struct pcb, pcb_tssp)); | ASSYM(PCB_TSSP, offsetof(struct pcb, pcb_tssp)); | ||||
ASSYM(PCB_SAVEFPU, offsetof(struct pcb, pcb_save)); | ASSYM(PCB_SAVEFPU, offsetof(struct pcb, pcb_save)); | ||||
ASSYM(PCB_EFER, offsetof(struct pcb, pcb_efer)); | ASSYM(PCB_EFER, offsetof(struct pcb, pcb_efer)); | ||||
ASSYM(PCB_STAR, offsetof(struct pcb, pcb_star)); | ASSYM(PCB_STAR, offsetof(struct pcb, pcb_star)); | ||||
ASSYM(PCB_LSTAR, offsetof(struct pcb, pcb_lstar)); | ASSYM(PCB_LSTAR, offsetof(struct pcb, pcb_lstar)); | ||||
ASSYM(PCB_CSTAR, offsetof(struct pcb, pcb_cstar)); | ASSYM(PCB_CSTAR, offsetof(struct pcb, pcb_cstar)); | ||||
ASSYM(PCB_SFMASK, offsetof(struct pcb, pcb_sfmask)); | ASSYM(PCB_SFMASK, offsetof(struct pcb, pcb_sfmask)); | ||||
ASSYM(PCB_SIZE, sizeof(struct pcb)); | ASSYM(PCB_SIZE, sizeof(struct pcb)); | ||||
▲ Show 20 Lines • Show All 67 Lines • ▼ Show 20 Lines | |||||
ASSYM(PC_FS32P, offsetof(struct pcpu, pc_fs32p)); | ASSYM(PC_FS32P, offsetof(struct pcpu, pc_fs32p)); | ||||
ASSYM(PC_GS32P, offsetof(struct pcpu, pc_gs32p)); | ASSYM(PC_GS32P, offsetof(struct pcpu, pc_gs32p)); | ||||
ASSYM(PC_LDT, offsetof(struct pcpu, pc_ldt)); | ASSYM(PC_LDT, offsetof(struct pcpu, pc_ldt)); | ||||
ASSYM(PC_COMMONTSSP, offsetof(struct pcpu, pc_commontssp)); | ASSYM(PC_COMMONTSSP, offsetof(struct pcpu, pc_commontssp)); | ||||
ASSYM(PC_TSS, offsetof(struct pcpu, pc_tss)); | ASSYM(PC_TSS, offsetof(struct pcpu, pc_tss)); | ||||
ASSYM(PC_PM_SAVE_CNT, offsetof(struct pcpu, pc_pm_save_cnt)); | ASSYM(PC_PM_SAVE_CNT, offsetof(struct pcpu, pc_pm_save_cnt)); | ||||
ASSYM(PC_KCR3, offsetof(struct pcpu, pc_kcr3)); | ASSYM(PC_KCR3, offsetof(struct pcpu, pc_kcr3)); | ||||
ASSYM(PC_UCR3, offsetof(struct pcpu, pc_ucr3)); | ASSYM(PC_UCR3, offsetof(struct pcpu, pc_ucr3)); | ||||
ASSYM(PC_SAVED_UCR3, offsetof(struct pcpu, pc_saved_ucr3)); | |||||
ASSYM(PC_PTI_STACK, offsetof(struct pcpu, pc_pti_stack)); | ASSYM(PC_PTI_STACK, offsetof(struct pcpu, pc_pti_stack)); | ||||
ASSYM(PC_PTI_STACK_SZ, PC_PTI_STACK_SZ); | ASSYM(PC_PTI_STACK_SZ, PC_PTI_STACK_SZ); | ||||
ASSYM(LA_EOI, LAPIC_EOI * LAPIC_MEM_MUL); | ASSYM(LA_EOI, LAPIC_EOI * LAPIC_MEM_MUL); | ||||
ASSYM(LA_ISR, LAPIC_ISR0 * LAPIC_MEM_MUL); | ASSYM(LA_ISR, LAPIC_ISR0 * LAPIC_MEM_MUL); | ||||
ASSYM(KCSEL, GSEL(GCODE_SEL, SEL_KPL)); | ASSYM(KCSEL, GSEL(GCODE_SEL, SEL_KPL)); | ||||
ASSYM(KDSEL, GSEL(GDATA_SEL, SEL_KPL)); | ASSYM(KDSEL, GSEL(GDATA_SEL, SEL_KPL)); | ||||
Show All 14 Lines |