Exemple #1
0
void init_fpu()
{
	interrupt_set_routine(IRQ_COPROCESSOR, FPU_handler, 0);
  // FINIT : Initialize FPU after checking for pending unmasked floating-point exceptions.
  asm("finit");
}
Exemple #2
0
void floppy_init_interrupt()
{
	interrupt_set_routine(IRQ_FLOPPY, floppy_handler, 0);
}