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