kern: increase stack parameter size by 0x10

This commit is contained in:
Michael Scire 2023-02-21 03:15:09 -07:00
parent 3a5f406c5f
commit fd7a93a15f
3 changed files with 9 additions and 4 deletions

View file

@ -96,8 +96,8 @@ namespace ams::kern::arch::arm64 {
/* SP */
/* | */
/* v */
/* | u64 argument | u64 entrypoint | KThread::StackParameters (size 0x130) | */
static_assert(sizeof(KThread::StackParameters) == 0x130);
/* | u64 argument | u64 entrypoint | KThread::StackParameters (size 0x140) | */
static_assert(sizeof(KThread::StackParameters) == 0x140);
u64 *stack = GetPointer<u64>(sp);
*(--stack) = GetInteger(pc);