From 2f529f9b558ca1c1bd74be7437a84e4711743404 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 01 Nov 2024 02:11:33 +0000 Subject: [PATCH] add xenomai --- kernel/arch/x86/include/asm/syscall.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/kernel/arch/x86/include/asm/syscall.h b/kernel/arch/x86/include/asm/syscall.h index 7cbf733..7b2a464 100644 --- a/kernel/arch/x86/include/asm/syscall.h +++ b/kernel/arch/x86/include/asm/syscall.h @@ -128,6 +128,11 @@ } } +static inline unsigned long syscall_get_arg0(struct pt_regs *regs) +{ + return regs->di; +} + static inline void syscall_set_arguments(struct task_struct *task, struct pt_regs *regs, const unsigned long *args) -- Gitblit v1.6.2