diff options
author | bunnei <bunneidev@gmail.com> | 2022-02-21 21:34:16 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2022-02-21 21:41:31 +0100 |
commit | ca5e843bf62e6d69b1b476b3925927a20bbffdaf (patch) | |
tree | 87745b9196acaaf583cef35c650707484dca5d8d /src/core/hle/kernel/kernel.cpp | |
parent | core: hle: kernel: KProcess: Pass in KResourceLimit on process creation. (diff) | |
download | yuzu-ca5e843bf62e6d69b1b476b3925927a20bbffdaf.tar yuzu-ca5e843bf62e6d69b1b476b3925927a20bbffdaf.tar.gz yuzu-ca5e843bf62e6d69b1b476b3925927a20bbffdaf.tar.bz2 yuzu-ca5e843bf62e6d69b1b476b3925927a20bbffdaf.tar.lz yuzu-ca5e843bf62e6d69b1b476b3925927a20bbffdaf.tar.xz yuzu-ca5e843bf62e6d69b1b476b3925927a20bbffdaf.tar.zst yuzu-ca5e843bf62e6d69b1b476b3925927a20bbffdaf.zip |
Diffstat (limited to 'src/core/hle/kernel/kernel.cpp')
-rw-r--r-- | src/core/hle/kernel/kernel.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp index 49c0714ed..797f47021 100644 --- a/src/core/hle/kernel/kernel.cpp +++ b/src/core/hle/kernel/kernel.cpp @@ -240,13 +240,6 @@ struct KernelCore::Impl { constexpr u64 secure_applet_memory_size{4_MiB}; ASSERT(system_resource_limit->Reserve(LimitableResource::PhysicalMemory, secure_applet_memory_size)); - - // This memory seems to be reserved on hardware, but is not reserved/used by yuzu. - // Likely Horizon OS reserved memory - // TODO(ameerj): Derive the memory rather than hardcode it. - constexpr u64 unknown_reserved_memory{0x2f896000}; - ASSERT(system_resource_limit->Reserve(LimitableResource::PhysicalMemory, - unknown_reserved_memory)); } void InitializePreemption(KernelCore& kernel) { |