mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 16:16:43 +00:00
Kernel: Fix correct argument order for userspace entry point
This commit is contained in:
parent
449d34a154
commit
90e3aa35ef
Notes:
sideshowbarker
2024-07-18 11:20:02 +09:00
Author: https://github.com/gunnarbeutner
Commit: 90e3aa35ef
Pull-request: https://github.com/SerenityOS/serenity/pull/8317
1 changed files with 2 additions and 2 deletions
|
@ -144,8 +144,8 @@ static KResultOr<FlatPtr> make_userspace_context_for_main_thread([[maybe_unused]
|
|||
push_on_new_stack(argv);
|
||||
push_on_new_stack(argv_entries.size());
|
||||
#else
|
||||
regs.rdi = argv;
|
||||
regs.rsi = argv_entries.size();
|
||||
regs.rdi = argv_entries.size();
|
||||
regs.rsi = argv;
|
||||
regs.rdx = envp;
|
||||
#endif
|
||||
push_on_new_stack(0); // return address
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue