mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-30 14:08:21 +00:00
syscalls: clockget
This commit is contained in:
@@ -27,6 +27,7 @@ extern syscall_faccessat
|
||||
extern syscall_unlinkat
|
||||
extern syscall_ioctl
|
||||
extern syscall_mkdirat
|
||||
extern syscall_clockget
|
||||
syscalltab:
|
||||
dq syscall_print
|
||||
dq syscall_mmap
|
||||
@@ -56,7 +57,8 @@ dq syscall_faccessat
|
||||
dq syscall_unlinkat
|
||||
dq syscall_ioctl
|
||||
dq syscall_mkdirat
|
||||
syscallcount equ 28
|
||||
dq syscall_clockget
|
||||
syscallcount equ 29
|
||||
section .text
|
||||
global arch_syscall_entry
|
||||
; on entry:
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#ifdef SYSCALL_LOGGING
|
||||
|
||||
#define SYSCALL_COUNT 28
|
||||
#define SYSCALL_COUNT 29
|
||||
#define LOGSTR(x) arch_e9_puts(x)
|
||||
|
||||
static char *name[] = {
|
||||
@@ -35,7 +35,8 @@ static char *name[] = {
|
||||
"faccessat",
|
||||
"unlinkat",
|
||||
"ioctl",
|
||||
"mkdirat"
|
||||
"mkdirat",
|
||||
"clockget"
|
||||
};
|
||||
|
||||
static char *args[] = {
|
||||
@@ -66,7 +67,8 @@ static char *args[] = {
|
||||
"dirfd %d pathname %s mode %d flags %d", // faccessat
|
||||
"dirfd %d pathname %d flags %d", // unlinkat
|
||||
"fd %d request %lu argument %d", // ioctl
|
||||
"dirfd %d path %s mode %o" // mkdirat
|
||||
"dirfd %d path %s mode %o", // mkdirat
|
||||
"clockid %d timespec %p" // clockget
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user