fluff: moved some includes around and using test_read in kmain
This commit is contained in:
parent
9937660702
commit
92c24db1e6
9
kernel.c
9
kernel.c
@ -1,11 +1,12 @@
|
||||
#include "kernel.h"
|
||||
#include "types.h"
|
||||
#include "tests.h"
|
||||
#include "interrupts.h"
|
||||
#include "pit.h"
|
||||
#include "stlio.h"
|
||||
#include "gdt.h"
|
||||
#include "pit.h"
|
||||
#include "kbd.h"
|
||||
#include "stlio.h"
|
||||
#include "mem.h"
|
||||
#include "tests.h"
|
||||
|
||||
void kinit() {
|
||||
//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
|
||||
void kmain() {
|
||||
kinit();
|
||||
pit_timer_wait(50); // in ms
|
||||
test_read();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user