syscall.hpp 194 B

123456789
  1. #pragma once
  2. #include <kernel/interrupt.h>
  3. #include <types/types.h>
  4. // return value is stored in %eax and %edx
  5. typedef int (*syscall_handler)(interrupt_stack* data);
  6. void init_syscall(void);