aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel
AgeCommit message (Collapse)Author
2021-02-18hle: kernel: Migrate AddressSpaceInfo to KAddressSpaceInfo.bunnei
2021-02-18hle: kernel: memory_manager: Rename AllocateContinuous to AllocateContinuous.bunnei
2021-02-18hle: kernel: KSystemControl does not belong in Memory namespace.bunnei
2021-02-18hle: kernel: memory: PageHeap: Migrate to KPageBitmap class.bunnei
2021-02-18hle: kernel: Add KPageBitmap class.bunnei
2021-02-18hle: kernel: system_control: Add function GenerateRandomU64.bunnei
2021-02-18hle: kernel: Add KSpinLock implementation.bunnei
2021-02-18hle: kernel: Rename SharedMemory to KSharedMemory.bunnei
2021-02-12kernel: More accurately reserve and release resourcesameerj
2021-02-12kernel: KScopedReservation implementationameerj
This implements KScopedReservation, allowing resource limit reservations to be more HW accurate, and release upon failure without requiring too many conditionals.
2021-02-12kernel: Unify result codes (#5890)Chloe
* 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
2021-02-08Merge pull request #5872 from lioncash/svc-errorChloe
svc: Provide more detailed error logs for svc functions
2021-02-06k_address_arbiter: Unfold R_UNLESS macrosLioncash
Allows for more descriptive error messages and also doesn't hide control-path exit returns from the reader.
2021-02-06k_address_arbiter: Remove unnecessary usages of std::addressofLioncash
This is a useful function in a generic context or with types that overload unary operator&. However, primitives and pointers will never do this, so we can opt for a more straightforward syntax.
2021-02-06k_address_arbiter: Remove dead codeLioncash
This code is never used, so we can remove it. It's in version control, so it can always be brought back when needed.
2021-02-06svc: Provide more detailed error logs for svc functionsLioncash
Allows SVC calls to have much more informative information during error cases. This also doesn't hide control flow returns from the reader.
2021-02-05Merge pull request #5862 from bunnei/keventbunnei
Kernel Rework: Refactor KEvent/KReadableEvent/KWritableEvent
2021-02-05Merge pull request #5875 from lioncash/identifierbunnei
k_priority_queue: Minor cleanup
2021-02-05hle: kernel: Drop R_UNLESS_NOLOG in favor of expanded if-statement.bunnei
2021-02-05hle: kernel: KAddressArbiter: Remove noisy error log.bunnei
2021-02-05hle: kernel: svc: Cleanup KEvent/KReadableEvent/KWritableEvent SVCs.bunnei
2021-02-05hle: kernel: Reimplement KReadableEvent and KWritableEvent.bunnei
2021-02-05hle: kernel: Implement KEvent.bunnei
2021-02-05hle: kernel: KAddressArbiter: Use R_UNLESS_NOLOG where applicable.bunnei
2021-02-05hle: kernel: Rename WritableEvent to KWritableEvent.bunnei
2021-02-05hle: kernel: Rename ReadableEvent to KReadableEvent.bunnei
2021-02-04k_affinity_mask: Avoid implicit truncation to boolLioncash
This can cause compiler warnings. Instead, we can explicitly add a boolean expression around it to naturally turn the result into a bool.
2021-02-04k_priority_queue: Unfold several declval usagesLioncash
Given these are only used as function existence checks, we can simplify some usages of declval, given they aren't particularly useful here. Reduces a few template instantiations, which at most reduces compile times a tiny bit.
2021-02-04k_priority_queue: Simplify affinity mask type aliasLioncash
We can make use of the _t variants of the templates to cut down on a little bit of verbosity.
2021-02-04k_priority_queue: Resolved reserved identifierLioncash
An identifier containing a starting underscore followed by a capital letter is reserved by the standard. It's trivial to avoid this by moving the underscore to the end of the identifier. While the likelihood of clashing here being minimal, we can turn a "should not break" scenario into a definitive "will not break" one, so why not?.
2021-02-03Simplify limitableresource namesChloe Marcec
2021-02-02Compile errorChloe Marcec
2021-02-02Address issuesChloe Marcec
2021-01-30fix compile errorChloe Marcec
2021-01-30cleanup commentingChloe Marcec
2021-01-30Drop m_ from lockChloe Marcec
2021-01-30Move to GetGlobalTimeNs, fix GetTotalPhysicalMemoryAvailableChloe Marcec
2021-01-30kernel: Rewrite resource limit to be more accurateChloe Marcec
Matches closer to hardware
2021-01-28hle: kernel: KLightLock: Fix several bugs.bunnei
2021-01-28hle: kernel: KThread: Release thread resource on thread exit.bunnei
2021-01-28yuzu: debugger: Ignore HLE threads.bunnei
2021-01-28hle: kernel: process: Add state lock.bunnei
2021-01-28hle: kernel: threading: Fix bug with host thread naming.bunnei
2021-01-28hle: kernel: k_scheduler_lock: Cleanup.bunnei
2021-01-28hle: kernel: Allocate a dummy KThread for each host thread, and use it for ↵bunnei
scheduling.
2021-01-28hle: kernel: k_scheduler: Use atomics for current_thread, etc.bunnei
2021-01-28hle: kernel: k_scheduler: Fix for single core mode.bunnei
2021-01-28kernel: Fix build errors.bunnei
2021-01-28hle: kernel: KScheduler: Introduce thread context_guard.bunnei
2021-01-28hle: kernel: Recode implementation of KThread to be more accurate.bunnei