also fix a bug where the RAX register would be restored to its initial state instead of carrying the syscall return value
10 lines
189 B
C
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_ */
|