diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2021-04-24 10:09:43 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2021-04-24 10:09:43 +0200 |
| commit | 657372f1be95393b76a54f258ba3f937b4073abe (patch) | |
| tree | 18aa2cb9b7f3e4d38a5208d9db2811f6af46fa61 /src/boucane.cc | |
| parent | 99019721a9e147c49becc466c5427609b937aca8 (diff) | |
New paging manager and multiboot2 tools
Diffstat (limited to 'src/boucane.cc')
| -rw-r--r-- | src/boucane.cc | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/boucane.cc b/src/boucane.cc index 8baa1ba..aa06152 100644 --- a/src/boucane.cc +++ b/src/boucane.cc @@ -1,10 +1,21 @@ #include "boucane.hpp" #include "core/idt.hpp" +#include "boot/multiboot2.hpp" +#include "core/paging.hpp" + +extern u32 MB_INFO; extern "C" void boucane(){ clear(); - printk("Booting Boucane v%d.%d.%d",VERSION_MAJOR,VERSION_MINOR, VERSION_PATH); + printk("Booting Boucane v%d.%d.%d\n",VERSION_MAJOR,VERSION_MINOR, VERSION_PATH); idt_enable_interrupt(); + paging_enable(); + + u64 p; + u32 size; + if(mb2_find_old_rsdp((u32*)MB_INFO,&p,&size)){ + printk("RSDP Table found!"); + } while(1); }
\ No newline at end of file |
