Git - code.swisschili.sh
code.swisschili.sh
/
bluejay
/
402a3831795e76666a3c26b8ead8423fa0cd90f0
/
.
/
src
/
kernel
/
syscall.c
blob: 6877e635f3e129433c036610d60f1c0c49932ef3 [
file
] [
log
] [
blame
]
#include
"syscall.h"
#include
"log.h"
#include
"pic.h"
void
do_syscall
(
struct
registers
*
regs
)
{
kprintf
(
"Syscall executed: %d\n"
,
regs
->
eax
);
}
void
init_syscall
()
{
add_interrupt_handler
(
SYSCALL_INT
,
do_syscall
);
}