Subversion Repositories HelenOS-historic

Rev

Rev 822 | Rev 1019 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 822 Rev 958
Line 123... Line 123...
123
             */
123
             */
124
            d->access |= DPL_USER;
124
            d->access |= DPL_USER;
125
        }
125
        }
126
       
126
       
127
        idt_setoffset(d, ((__address) interrupt_handlers) + i*interrupt_handler_size);
127
        idt_setoffset(d, ((__address) interrupt_handlers) + i*interrupt_handler_size);
128
        exc_register(i, "undef", null_interrupt);
128
        exc_register(i, "undef", (iroutine) null_interrupt);
129
    }
129
    }
130
    exc_register(13, "gp_fault", gp_fault);
130
    exc_register(13, "gp_fault", (iroutine) gp_fault);
131
    exc_register( 7, "nm_fault", nm_fault);
131
    exc_register( 7, "nm_fault", (iroutine) nm_fault);
132
    exc_register(12, "ss_fault", ss_fault);
132
    exc_register(12, "ss_fault", (iroutine) ss_fault);
133
}
133
}
134
 
134
 
135
 
135
 
136
/* Clean IOPL(12,13) and NT(14) flags in EFLAGS register */
136
/* Clean IOPL(12,13) and NT(14) flags in EFLAGS register */
137
static void clean_IOPL_NT_flags(void)
137
static void clean_IOPL_NT_flags(void)