Changeset View
Changeset View
Standalone View
Standalone View
sys/i386/i386/genassym.c
Show First 20 Lines • Show All 215 Lines • ▼ Show 20 Lines | |||||
ASSYM(PC_FSGS_GDT, offsetof(struct pcpu, pc_fsgs_gdt)); | ASSYM(PC_FSGS_GDT, offsetof(struct pcpu, pc_fsgs_gdt)); | ||||
ASSYM(PC_CURRENTLDT, offsetof(struct pcpu, pc_currentldt)); | ASSYM(PC_CURRENTLDT, offsetof(struct pcpu, pc_currentldt)); | ||||
ASSYM(PC_CPUID, offsetof(struct pcpu, pc_cpuid)); | ASSYM(PC_CPUID, offsetof(struct pcpu, pc_cpuid)); | ||||
ASSYM(PC_CURPMAP, offsetof(struct pcpu, pc_curpmap)); | ASSYM(PC_CURPMAP, offsetof(struct pcpu, pc_curpmap)); | ||||
ASSYM(PC_PRIVATE_TSS, offsetof(struct pcpu, pc_private_tss)); | ASSYM(PC_PRIVATE_TSS, offsetof(struct pcpu, pc_private_tss)); | ||||
ASSYM(PC_KESP0, offsetof(struct pcpu, pc_kesp0)); | ASSYM(PC_KESP0, offsetof(struct pcpu, pc_kesp0)); | ||||
ASSYM(PC_TRAMPSTK, offsetof(struct pcpu, pc_trampstk)); | ASSYM(PC_TRAMPSTK, offsetof(struct pcpu, pc_trampstk)); | ||||
ASSYM(PC_COPYOUT_BUF, offsetof(struct pcpu, pc_copyout_buf)); | ASSYM(PC_COPYOUT_BUF, offsetof(struct pcpu, pc_copyout_buf)); | ||||
ASSYM(PC_IBPB_SET, offsetof(struct pcpu, pc_ibpb_set)); | |||||
#ifdef DEV_APIC | #ifdef DEV_APIC | ||||
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); | ||||
#endif | #endif | ||||
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 13 Lines |