]> git.dujemihanovic.xyz Git - nameless-os.git/commit
Handle interrupts
authorDuje Mihanović <duje.mihanovic@skole.hr>
Wed, 22 Sep 2021 20:15:40 +0000 (22:15 +0200)
committerDuje Mihanović <duje.mihanovic@skole.hr>
Thu, 14 Oct 2021 20:01:56 +0000 (22:01 +0200)
commit9fc180435dd7b476130851c48e1ac28009daa864
tree54eb8a013027eabe59da27dac3bcb296e51142c6
parent3568adbeba1623a28e80fa3680a2286fd48b0ed3
Handle interrupts

Currently handles exception 8 and IRQ 1. EXC8 is double fault, and IRQ1 is
keyboard. EXC8 handler puts out a ':(' on the top left corner of the screen and
halts the machine, while IRQ1 puts out a string on the screen. However, it will
only do so once, and I have yet to figure out why.
Makefile
include/arch/x86/io.h
include/arch/x86/irq/i8259a.h [new file with mode: 0644]
include/arch/x86/irq/idt.h [new file with mode: 0644]
kernel/arch/x86/irq/idt.c [new file with mode: 0644]
kernel/arch/x86/irq/sample_handler.c [new file with mode: 0644]
kernel/drivers/irq/i8259a.c [new file with mode: 0644]
kernel/kernel.c