summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/init
diff options
context:
space:
mode:
authorGravatar Liam2023-02-22 21:33:43 -0500
committerGravatar Liam2023-03-01 10:42:45 -0500
commit4165ac06806017cfcb8da547ae84dee554e465c3 (patch)
tree65abe4a9faf89d5ccfd3c4be0db85defd7a90574 /src/core/hle/kernel/init
parentkernel: simplify KAbstractSchedulerLock::Lock (diff)
downloadyuzu-4165ac06806017cfcb8da547ae84dee554e465c3.tar.gz
yuzu-4165ac06806017cfcb8da547ae84dee554e465c3.tar.xz
yuzu-4165ac06806017cfcb8da547ae84dee554e465c3.zip
kernel: adjust pool allocations
Diffstat (limited to 'src/core/hle/kernel/init')
-rw-r--r--src/core/hle/kernel/init/init_slab_setup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/init/init_slab_setup.cpp b/src/core/hle/kernel/init/init_slab_setup.cpp
index abdb5639f..be52405c6 100644
--- a/src/core/hle/kernel/init/init_slab_setup.cpp
+++ b/src/core/hle/kernel/init/init_slab_setup.cpp
@@ -131,7 +131,7 @@ VAddr InitializeSlabHeap(Core::System& system, KMemoryLayout& memory_layout, VAd
131} 131}
132 132
133size_t CalculateSlabHeapGapSize() { 133size_t CalculateSlabHeapGapSize() {
134 constexpr size_t KernelSlabHeapGapSize = 2_MiB - 320_KiB; 134 constexpr size_t KernelSlabHeapGapSize = 2_MiB - 356_KiB;
135 static_assert(KernelSlabHeapGapSize <= KernelSlabHeapGapsSizeMax); 135 static_assert(KernelSlabHeapGapSize <= KernelSlabHeapGapsSizeMax);
136 return KernelSlabHeapGapSize; 136 return KernelSlabHeapGapSize;
137} 137}