Serial comm kernel process

This commit is contained in:
2025-09-07 21:44:46 +02:00
parent 9644ad0b4e
commit 80a788617e
8 changed files with 90 additions and 64 deletions

View File

@ -2,17 +2,12 @@
#include <stdbool.h>
#include "hal/hal.h"
#include "kprintf.h"
#include "serial.h"
#include "gdt.h"
#include "intr.h"
#include "pic.h"
#include "pit.h"
void hal_init(void) {
if (!serial_init()) {
hal_hang(); // going further makes no sense
}
LOG("hal", "serial init\n");
gdt_init();
intr_init();
pic_init();