fluff: moved some includes around and using test_read in kmain

This commit is contained in:
shockrahwow 2019-11-30 02:08:13 -08:00
parent 9937660702
commit 92c24db1e6

View File

@ -1,11 +1,12 @@
#include "kernel.h" #include "kernel.h"
#include "types.h" #include "types.h"
#include "tests.h"
#include "interrupts.h" #include "interrupts.h"
#include "pit.h"
#include "stlio.h"
#include "gdt.h" #include "gdt.h"
#include "pit.h"
#include "kbd.h" #include "kbd.h"
#include "stlio.h"
#include "mem.h"
#include "tests.h"
void kinit() { void kinit() {
//gdt_configure(); //gdt_configure();
@ -19,5 +20,5 @@ void kinit() {
// Should kmain return, we fall back to the loader which then just keeps in a hung state // Should kmain return, we fall back to the loader which then just keeps in a hung state
void kmain() { void kmain() {
kinit(); kinit();
pit_timer_wait(50); // in ms test_read();
} }