gate 117 bsp/hal/x86/arch/cpu.c struct gate_desc *gate = &idt[vec]; gate 119 bsp/hal/x86/arch/cpu.c gate->offset_lo = (u_int)off & 0xffff; gate 120 bsp/hal/x86/arch/cpu.c gate->selector = sel; gate 121 bsp/hal/x86/arch/cpu.c gate->nr_copy = 0; gate 122 bsp/hal/x86/arch/cpu.c gate->type = (u_int)type | ST_PRESENT; gate 123 bsp/hal/x86/arch/cpu.c gate->offset_hi = (u_int)off >> 16;