X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/af8e873ae38b72a56a89485c62bb5ccd22a9f8a7..b26d3165c52589d1f8de37bf0df27ad96f460f47:/lunaix-os/kernel/syscall.c?ds=sidebyside diff --git a/lunaix-os/kernel/syscall.c b/lunaix-os/kernel/syscall.c index 5cee205..1c0110d 100644 --- a/lunaix-os/kernel/syscall.c +++ b/lunaix-os/kernel/syscall.c @@ -1,4 +1,5 @@ -#include +#include +#include #include #include #include @@ -12,5 +13,5 @@ syscall_hndlr(const isr_param* param); void syscall_install() { - intr_subscribe(LUNAIX_SYS_CALL, syscall_hndlr); + isrm_bindiv(LUNAIX_SYS_CALL, syscall_hndlr); } \ No newline at end of file