mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2025-11-27 06:47:28 +00:00
This function simply creates a ResourceLimit instance and attempts to create a handle for it within the current process' handle table. If the kernal fails to either create the ResourceLimit instance or create a handle for the ResourceLimit instance, it returns a failure code (OUT_OF_RESOURCE, and HANDLE_TABLE_FULL respectively). Finally, it exits by providing the output parameter with the handle value for the ResourceLimit instance and returning that it was successful. Note: We do not return OUT_OF_RESOURCE because, if yuzu runs out of available memory, then new will currently throw. We *could* allocate the kernel instance with std::nothrow, however this would be inconsistent with how all other kernel objects are currently allocated. |
||
|---|---|---|
| .. | ||
| arm | ||
| crypto | ||
| file_sys | ||
| frontend | ||
| gdbstub | ||
| hle | ||
| loader | ||
| tracer | ||
| CMakeLists.txt | ||
| core.cpp | ||
| core.h | ||
| core_cpu.cpp | ||
| core_cpu.h | ||
| core_timing.cpp | ||
| core_timing.h | ||
| core_timing_util.cpp | ||
| core_timing_util.h | ||
| cpu_core_manager.cpp | ||
| cpu_core_manager.h | ||
| memory.cpp | ||
| memory.h | ||
| memory_hook.cpp | ||
| memory_hook.h | ||
| memory_setup.h | ||
| perf_stats.cpp | ||
| perf_stats.h | ||
| settings.cpp | ||
| settings.h | ||
| telemetry_session.cpp | ||
| telemetry_session.h | ||