vbos/include/kernel/syscall.h
Michael Shaw 0297f4a34c syscall: imeplement basic file IO syscalls
also fix a bug where the RAX register would be restored to its initial
state instead of carrying the syscall return value
2023-11-27 02:48:52 -05:00

10 lines
189 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef _SYSCALL_H_
#define _SYSCALL_H_
#define SYS_READ 0
#define SYS_WRITE 1
#define SYS_OPEN 2
#define SYS_EXIT 60
#endif /* _SYSCALL_H_ */