Git - code.swisschili.sh
code.swisschili.sh
/
bluejay
/
cbd43632a8ad7e8d8d2b9a079bec7ce7d0a59f37
/
.
/
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
);
}