Right now if you press some keys before the irq handler is running you don't get any key presses after that as the output buffer is full. Moving the interrupt and port enabling logic to be done after the io apic irq setup makes it more unlikely to happen (not sure if its completely impossible to trigger still though).
Right now if you press some keys before the irq handler is running you don't get any key presses after that as the output buffer is full. Moving the interrupt and port enabling logic to be done after the io apic irq setup makes it more unlikely to happen (not sure if its completely impossible to trigger still though).