Skip to content

Commit

Permalink
Merge branch 'xenia-canary:canary_experimental' into Custom
Browse files Browse the repository at this point in the history
  • Loading branch information
backgamon authored Jan 23, 2024
2 parents 47645eb + 8b14b4b commit acab91b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/xenia/kernel/xthread.cc
Original file line number Diff line number Diff line change
Expand Up @@ -268,9 +268,6 @@ bool XThread::AllocateStack(uint32_t size) {
stack_limit_ = address + (padding / 2);
stack_base_ = stack_limit_ + size;

// Initialize the stack with junk
memory()->Fill(stack_alloc_base_, actual_size, 0xBE);

// Setup the guard pages
heap->Protect(stack_alloc_base_, padding / 2, kMemoryProtectNoAccess);
heap->Protect(stack_base_, padding / 2, kMemoryProtectNoAccess);
Expand Down

0 comments on commit acab91b

Please sign in to comment.