mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-15 23:37:32 +03:00
Kernel/riscv64: Implement execve
This commit is contained in:
parent
22586c9cc6
commit
faede8c93a
Notes:
sideshowbarker
2024-07-17 23:00:03 +09:00
Author: https://github.com/spholz Commit: https://github.com/SerenityOS/serenity/commit/faede8c93a Pull-request: https://github.com/SerenityOS/serenity/pull/23514 Reviewed-by: https://github.com/ADKaster ✅
@ -157,9 +157,9 @@ static ErrorOr<FlatPtr> make_userspace_context_for_main_thread([[maybe_unused]]
|
||||
regs.x[1] = argv;
|
||||
regs.x[2] = envp;
|
||||
#elif ARCH(RISCV64)
|
||||
(void)argv;
|
||||
(void)envp;
|
||||
TODO_RISCV64();
|
||||
regs.x[9] = argv_entries.size();
|
||||
regs.x[10] = argv;
|
||||
regs.x[11] = envp;
|
||||
#else
|
||||
# error Unknown architecture
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user