예제 #1
0
파일: fpu.c 프로젝트: CyberjujuM/tacos
void init_fpu()
{
	interrupt_set_routine(IRQ_COPROCESSOR, FPU_handler, 0);
  // FINIT : Initialize FPU after checking for pending unmasked floating-point exceptions.
  asm("finit");
}
예제 #2
0
void floppy_init_interrupt()
{
	interrupt_set_routine(IRQ_FLOPPY, floppy_handler, 0);
}