kernel: some random modifications

This commit is contained in:
RaphProductions 2025-05-07 22:12:35 +02:00
parent e6a2c1e240
commit 175805604e
17 changed files with 141 additions and 237 deletions

View file

@ -73,7 +73,8 @@ void exception_handler(registers_t *regs) {
{
log("syscall - Hello World! Current process: %s\n", curr_proc->name);
if (curr_proc->flags == SCHED_USER_PROCESS)
log("syscall - Btw we made it to userspace, baby!\n", curr_proc->name);
log("syscall - Btw we made it to userspace, baby!\n", curr_proc->name);
}
//logln(info, "arch/ints", "Received interrupt %d\n", regs->int_no);
pic_ack(regs->int_no - 32);

View file

@ -21,5 +21,6 @@ void rtc_init() {
}
void rtc_handle_interrupt(registers_t *regs) {
(void)regs;
printf("RTC!\n");
}

View file

@ -0,0 +1,6 @@
#include "sys/arch/x86_64/smp.h"
#include "limine.h"
void smp_init() {
}

View file

@ -0,0 +1,3 @@
#pragma once
void smp_init();