Git - code.swisschili.sh
code.swisschili.sh
/
bluejay
/
9bd74de23147250ff882901159ce389a4e70563d
/
.
/
src
/
kernel
/
syscall.c
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
);
}