kernel: some random modifications
This commit is contained in:
parent
e6a2c1e240
commit
175805604e
17 changed files with 141 additions and 237 deletions
|
@ -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);
|
||||
|
|
|
@ -21,5 +21,6 @@ void rtc_init() {
|
|||
}
|
||||
|
||||
void rtc_handle_interrupt(registers_t *regs) {
|
||||
(void)regs;
|
||||
printf("RTC!\n");
|
||||
}
|
6
kernel/src/sys/arch/x86_64/smp.c
Normal file
6
kernel/src/sys/arch/x86_64/smp.c
Normal file
|
@ -0,0 +1,6 @@
|
|||
#include "sys/arch/x86_64/smp.h"
|
||||
#include "limine.h"
|
||||
|
||||
void smp_init() {
|
||||
|
||||
}
|
3
kernel/src/sys/arch/x86_64/smp.h
Normal file
3
kernel/src/sys/arch/x86_64/smp.h
Normal file
|
@ -0,0 +1,3 @@
|
|||
#pragma once
|
||||
|
||||
void smp_init();
|
Loading…
Add table
Add a link
Reference in a new issue