syscall.h 245 B

123456789101112
  1. /* Syscall interface (int 0x80). */
  2. #ifndef SYSCALL_H
  3. #define SYSCALL_H
  4. #define SYS_PUTSTR 1
  5. #define SYS_GET_TICKS_MS 2
  6. #define SYS_SLEEP_MS 3
  7. #define SYS_EXIT 4
  8. int syscall_dispatch(int num, int a1, int a2, int a3);
  9. #endif