- // syscall is a trap gate (recall: trap does NOT clear IF flag upon interruption)
- // XXX: this should be fine, as our design of context switch support interruptible syscall
- // FIXME: This may cause nasty concurrency bug! We should 'lockify' our code!
- _set_idt_trap_entry(LUNAIX_SYS_CALL, 0x08, _asm_isr33, 3);
+ // syscall is a trap gate (recall: trap does NOT clear IF flag upon
+ // interruption)
+ // // XXX: this should be fine, as our design of context switch support
+ // interruptible syscall We make this a non-trap entry, and enable interrupt
+ // only when needed!
+ // FIXME: This may cause nasty concurrency bug! We should 'lockify' our
+ // code!
+ _set_idt_intr_entry(LUNAIX_SYS_CALL, 0x08, _asm_isr33, 3);