Moving components modules to a more proper directory

This commit is contained in:
shockrah committed 2023-03-30 22:40:08 -07:00
1 parent 044d5a75b5
commit cc1bb63e27
26 files changed
+11 -148

No files matched your search

+32
View File
@@ -0,0 +1,32 @@
#include "kernel.h"
#include "types.h"
#include "interrupts.h"
#include "gdt.h"
#include "pit.h"
#include "kbd.h"
#include "stlio.h"
#include "mem.h"
#ifdef TESTING
#include "tests.h"
#endif
#include "jank-shell/shell.h"
void kinit() {
//gdt_configure();
init_idt();
pit_install_timer();
kbd_install_keyboard();
#ifdef TESTING
test_dispatcher();
#endif
}
// Should kmain return, we fall back to the loader which then just keeps in a hung state
void kmain() {
kinit();
clear_fb();
jmain();
}
+4
View File
@@ -0,0 +1,4 @@
#include "types.h"
void kinit();
void kmain();