Re: A little bit wondering about how a syscall works

From: Jessica Clarke <jrtc27_at_freebsd.org>
Date: Fri, 02 Feb 2024 06:16:08 UTC
On 2 Feb 2024, at 06:14, Lin Lee <leelin2602@gmail.com> wrote:
> 
> Opps, it's a typo. I meant sv_fetch_syscall_args.
> 
> It executes `sv_fetch_syscall_args`, then it runs system calls. 
> 
> It is right, isn't?

Yes, you need to fetch the arguments before you can use them.

Jess

> Best Regards, 
> Lin Lee
> On Feb 1, 2024 at 12:47 AM +0800, wrote:
>> 
>> sv_fetch_syscall_args