src/kernel/interrupts/irq.c
void irq_remap(void)
{
	outb(0x20, 0x11);
	outb(0xA0, 0x11);
	outb(0x21, 0x20);
	outb(0xA1, 0x28);
	outb(0x21, 0x04);
	outb(0xA1, 0x02);
	outb(0x21, 0x01);
	outb(0xA1, 0x01);
	outb(0x21, 0x0);
	outb(0xA1, 0x0);
}
// Remap IRQs for protected mode compatibility via the PIC
Remap IRQs for protected mode compatibility via the PIC
Remap IRQs for protected mode compatibility via the PIC
void irq_remap(void)
{
	outb(0x20, 0x11);
	outb(0xA0, 0x11);
	outb(0x21, 0x20);
	outb(0xA1, 0x28);
	outb(0x21, 0x04);
	outb(0xA1, 0x02);
	outb(0x21, 0x01);
	outb(0xA1, 0x01);
	outb(0x21, 0x0);
	outb(0xA1, 0x0);
}
void irq_remap ( void ) { outb ( 0x20 , 0x11 ) ; outb ( 0xA0 , 0x11 ) ; outb ( 0x21 , 0x20 ) ; outb ( 0xA1 , 0x28 ) ; outb ( 0x21 , 0x04 ) ; outb ( 0xA1 , 0x02 ) ; outb ( 0x21 , 0x01 ) ; outb ( 0xA1 , 0x01 ) ; outb ( 0x21 , 0x0 ) ; outb ( 0xA1 , 0x0 ) ; }
Remap IRQs for protected mode compatibility via the PIC
Remap IRQs for protected mode compatibility via the PIC