2022-06-17 00:44:56 +02:00
|
|
|
#include <stdint.h>
|
2022-06-19 19:17:15 +02:00
|
|
|
#include "lib/stdio.h"
|
2022-06-18 00:44:37 +02:00
|
|
|
#include "hal/hal.h"
|
2022-06-18 19:19:03 +02:00
|
|
|
#include "drivers/timer.h"
|
2022-06-19 19:08:16 +02:00
|
|
|
#include "drivers/keyboard.h"
|
2022-06-17 00:44:56 +02:00
|
|
|
|
|
|
|
void __attribute__((cdecl)) kmain(uint64_t magic, uint64_t addr){
|
2022-06-18 00:44:37 +02:00
|
|
|
hal_initialize();
|
2022-06-18 19:19:03 +02:00
|
|
|
timer_initialize();
|
2022-06-19 19:08:16 +02:00
|
|
|
keyboard_initialize();
|
2022-06-18 00:44:37 +02:00
|
|
|
|
2022-06-19 19:08:16 +02:00
|
|
|
clear_screen();
|
2022-06-18 03:56:45 +02:00
|
|
|
for(;;);
|
2022-06-17 00:44:56 +02:00
|
|
|
}
|