From 99019721a9e147c49becc466c5427609b937aca8 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Wed, 21 Apr 2021 18:54:50 +0200 Subject: Enable interrupts --- src/boucane.cc | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'src/boucane.cc') diff --git a/src/boucane.cc b/src/boucane.cc index 94f266f..8baa1ba 100644 --- a/src/boucane.cc +++ b/src/boucane.cc @@ -1,19 +1,10 @@ #include "boucane.hpp" -#include "libs/string.hpp" +#include "core/idt.hpp" extern "C" void boucane(){ clear(); - char a[]="Loic Guegan"; printk("Booting Boucane v%d.%d.%d",VERSION_MAJOR,VERSION_MINOR, VERSION_PATH); - - char b[10]; - substr(8, 9, a, b); - print("\n"); - printk(b); - - int gg=0; - gg+=((1>2) ? 1 : 0)+9; - printi(gg); + idt_enable_interrupt(); while(1); } \ No newline at end of file -- cgit v1.2.3