blob: 6877e635f3e129433c036610d60f1c0c49932ef3 [file] [log] [blame]
swissChili64228692021-03-16 08:19:23 -07001#include "syscall.h"
2#include "log.h"
3#include "pic.h"
4
5void do_syscall(struct registers *regs)
6{
7 kprintf("Syscall executed: %d\n", regs->eax);
8}
9
10void init_syscall()
11{
12 add_interrupt_handler(SYSCALL_INT, do_syscall);
13}