blob: 5a48b304fbb515529c4a2eea699d4ae5d66fe78a [file] [log] [blame]
#include "syscall.h"
#include "log.h"
#include "pic.h"
void do_syscall(struct registers *regs)
{
kprintf(INFO "Syscall executed: %d\n", regs->eax);
}
void init_syscall()
{
add_interrupt_handler(SYSCALL_INT, do_syscall);
}