Skip to content
Snippets Groups Projects
Commit 60f63f30 authored by Grimaud Gilles's avatar Grimaud Gilles
Browse files

add a empty_irq handler for example.

parent 300313b1
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,9 @@ void putc(char aChar); /* print a single char on screen */
void puts(char *aString); /* print a string on the screen */
void puthex(int aNumber); /* print an Hex number on screen */
void empty_irq(int_regs_t *r) {
}
/* multiboot entry-point with datastructure as arg. */
void main(unsigned int * mboot_info)
{
......@@ -23,6 +26,9 @@ void main(unsigned int * mboot_info)
puts("\n\n");
idt_setup_handler(0, empty_irq);
idt_setup_handler(0, empty_irq);
__asm volatile("sti");
/* minimal setup done ! */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment