renamed timer call
This commit is contained in:
parent
292a8ba568
commit
3c8062ef17
4
kernel.c
4
kernel.c
@ -5,11 +5,13 @@
|
|||||||
#include "pit.h"
|
#include "pit.h"
|
||||||
#include "stlio.h"
|
#include "stlio.h"
|
||||||
#include "gdt.h"
|
#include "gdt.h"
|
||||||
|
#include "kbd.h"
|
||||||
|
|
||||||
void kinit() {
|
void kinit() {
|
||||||
//gdt_configure();
|
//gdt_configure();
|
||||||
init_idt();
|
init_idt();
|
||||||
pit_install_timer();
|
pit_install_timer();
|
||||||
|
//kbd_install_keyboard();
|
||||||
test_dispatcher();
|
test_dispatcher();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -17,5 +19,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();
|
||||||
timer_wait(50); // in ms
|
pit_timer_wait(50); // in ms
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user