Commit Graph

17 Commits (479bd50b96ecb7258528dea98d7528568ba67bee)

Author SHA1 Message Date
bunnei 479bd50b96 hle: kernel: Migrate KThread to KAutoObject. 4 years ago
bunnei 47af34003b hle: kernel: KThread: Rework dummy threads & fix memory leak.
- Dummy threads are created on thread local storage for all host threads.
- Fixes a leak by removing creation of fibers, which are not applicable here.
4 years ago
bunnei a5ab85ac37
Revert "core: Switch to unique_ptr for usage of Common::Fiber." 4 years ago
bunnei 51fb0a6f96 core: Switch to unique_ptr for usage of Common::Fiber.
- With using unique_ptr instead of shared_ptr, we have more explicit ownership of the context.
- Fixes a memory leak due to circular reference of the shared pointer.
4 years ago
bunnei 1d162f28d1 hle: kernel: Migrate MemoryLayout to KMemoryLayout. 4 years ago
Chloe 37939482fb
kernel: Unify result codes (#5890)
* kernel: Unify result codes

Drop the usage of ERR_NAME convention in kernel for ResultName. Removed seperation between svc_results.h & errors.h as we mainly include both most of the time anyways.

* oops

* rename errors to svc_results
4 years ago
Chloe Marcec 2c6e940493 Simplify limitableresource names 4 years ago
Chloe Marcec 3be1a565f8 kernel: Rewrite resource limit to be more accurate
Matches closer to hardware
4 years ago
bunnei e24c6dab93 hle: kernel: KThread: Release thread resource on thread exit. 4 years ago
bunnei 10738839ad yuzu: debugger: Ignore HLE threads. 4 years ago
bunnei 6e953f7f02 hle: kernel: Allocate a dummy KThread for each host thread, and use it for scheduling. 4 years ago
bunnei 0a1449e04b kernel: Fix build errors. 4 years ago
bunnei cdd14b03e5 hle: kernel: Recode implementation of KThread to be more accurate. 4 years ago
bunnei 4dbf3f4880 hle: kernel: KThread: Clean up thread priorities. 4 years ago
bunnei 1e55498110 hle: kernel: KThread: Reorganize thread priority defaults. 4 years ago
bunnei eea346ba8e hle: kernel: KThread: Remove thread types that do not exist. 4 years ago
bunnei c0d3aef28c core: hle: kernel: Rename Thread to KThread. 4 years ago