summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-03-28 23:26:09 +0100
committerLioncash <mathew1800@gmail.com>2019-03-28 23:26:12 +0100
commit427f1e3e3da5709e74bf4db674a019d9d79f2ed3 (patch)
tree8246ad8801f4dc696462b1893aad95d1010e4176 /src/core/hle/kernel
parentkernel/process: Ensure that given stack size is always page-aligned (diff)
downloadyuzu-427f1e3e3da5709e74bf4db674a019d9d79f2ed3.tar
yuzu-427f1e3e3da5709e74bf4db674a019d9d79f2ed3.tar.gz
yuzu-427f1e3e3da5709e74bf4db674a019d9d79f2ed3.tar.bz2
yuzu-427f1e3e3da5709e74bf4db674a019d9d79f2ed3.tar.lz
yuzu-427f1e3e3da5709e74bf4db674a019d9d79f2ed3.tar.xz
yuzu-427f1e3e3da5709e74bf4db674a019d9d79f2ed3.tar.zst
yuzu-427f1e3e3da5709e74bf4db674a019d9d79f2ed3.zip
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r--src/core/hle/kernel/process.cpp2
-rw-r--r--src/core/hle/kernel/process.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/process.cpp b/src/core/hle/kernel/process.cpp
index 73b4ff961..f18789a60 100644
--- a/src/core/hle/kernel/process.cpp
+++ b/src/core/hle/kernel/process.cpp
@@ -108,7 +108,7 @@ ResultCode Process::LoadFromMetadata(const FileSys::ProgramMetadata& metadata) {
return handle_table.SetSize(capabilities.GetHandleTableSize());
}
-void Process::Run(VAddr entry_point, s32 main_thread_priority, u32 stack_size) {
+void Process::Run(VAddr entry_point, s32 main_thread_priority, u64 stack_size) {
// The kernel always ensures that the given stack size is page aligned.
stack_size = Common::AlignUp(stack_size, Memory::PAGE_SIZE);
diff --git a/src/core/hle/kernel/process.h b/src/core/hle/kernel/process.h
index a0217d3d8..db14dd4b4 100644
--- a/src/core/hle/kernel/process.h
+++ b/src/core/hle/kernel/process.h
@@ -210,7 +210,7 @@ public:
/**
* Applies address space changes and launches the process main thread.
*/
- void Run(VAddr entry_point, s32 main_thread_priority, u32 stack_size);
+ void Run(VAddr entry_point, s32 main_thread_priority, u64 stack_size);
/**
* Prepares a process for termination by stopping all of its threads