mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Stack is now aligned in 64-bit Sortix threads.
This commit is contained in:
parent
7304c8f528
commit
2faafd3f99
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ namespace Sortix
|
|||
regs->rdi = argc;
|
||||
regs->rsi = (size_t) argv;
|
||||
regs->rip = entry;
|
||||
regs->userrsp = stackpos;
|
||||
regs->userrsp = stackpos & ~(15UL);
|
||||
regs->rbp = stackpos;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue