Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Feb 2024 06:16:08 +0000
From:      Jessica Clarke <jrtc27@freebsd.org>
To:        Lin Lee <leelin2602@gmail.com>
Cc:        freebsd-riscv <freebsd-riscv@freebsd.org>, Mitchell Horne <mhorne@freebsd.org>
Subject:   Re: A little bit wondering about how a syscall works
Message-ID:  <44422F40-D64C-493D-B3DA-600FE2F0D833@freebsd.org>
In-Reply-To: <e7d6c75d-58eb-4bb5-a684-33943af3df81@Spark>
References:  <9204b5c5-63bc-4c29-af19-1f1bb85f74e8@Spark> <8f66f3ed-2a49-4ebc-89eb-66c53e6d22bb@Spark> <9bfbdbe2-ff30-4c2f-abf3-2763aa433107@freebsd.org> <f2213278-0807-4a36-ab90-6d2a9555fc8c@Spark> <b4e54e75-fcfd-475c-b0f7-6be7a6cf5e84@freebsd.org> <8867a483-7e92-4579-9236-32b4a704713e@Spark> <51285fdf-dbcf-4d71-82cb-f49353db95cd@freebsd.org> <bd2bd011-be87-4f87-825b-dd533198bcc9@Spark> <1D587966-19FD-47C9-B362-B55068665C2E@freebsd.org> <e7d6c75d-58eb-4bb5-a684-33943af3df81@Spark>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44422F40-D64C-493D-B3DA-600FE2F0D833>