aboutsummaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
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-11Merge pull request #5902 from lioncash/core-warnbunnei
core: Silence various warnings on Clang 12
2021-02-11Merge pull request #5869 from german77/mousePanningbunnei
input_common: Add mouse panning
2021-02-10software_keyboard: Implement Finalize request commandMorph
2021-02-09core: Add -fsized-dealloction as a Clang flaglat9nq
Prevents a operator delete error when compiling with Clang 11.
2021-02-09bsd: Remove usage of optional emplace() with no argumentsLioncash
Clang 12 currently falls over in the face of this.
2021-02-09am/controller: Remove [[fallthrough]] from unreachable pathLioncash
Prevents warnings on clang 12. This path is reachable on other variations of the build that disable the unreachable macro.
2021-02-09nfp: Correct uninitialized size being used within GetTagInfo()Lioncash
We were previously the name of the object being initialized within its own initializer, which results in uninitialized data being read.
2021-02-08Merge pull request #5892 from german77/backupbunnei
olsc: Stub GetSaveDataBackupSetting
2021-02-08Merge pull request #5868 from german77/HandheldFixbunnei
Prevent over scheduling audio events and add motion update unschedule event
2021-02-07Merge pull request #5339 from german77/interactivebunnei
Settings: Make settings controller image change with controller input
2021-02-07olsc: Stub GetSaveDataBackupSettinggerman
2021-02-07Add mouse panninggerman
2021-02-08Merge pull request #5872 from lioncash/svc-errorChloe
svc: Provide more detailed error logs for svc functions
2021-02-07Merge pull request #5887 from ogniK5377/lm-fixbunnei
lm: Fix ReadLeb128
2021-02-07Merge pull request #5878 from aleasto/masterMorph
pl_u: Fix read out of bounds
2021-02-07lm: Fix ReadLeb128Chloe Marcec
Fixes assertion on Bloodstained Ritual of the Night. We would over read sometimes, this is fixed by checking if the top bit is set in the first iteration. We also lock the loop off to be only the max size of the type we can fit. Finally we changed an incorrect print of "DEBUG" to "TRACE" to reflect the proper log severity
2021-02-06Merge pull request #5871 from lioncash/address-arbbunnei
k_address_arbiter: Minor cleanup
2021-02-06pl_u: Fix read out of boundsAlessandro Astone
2021-02-06Make settings controller image change with controller inputgerman
2021-02-06Merge pull request #5326 from german77/hidUpdate1bunnei
HID: Update the HID service to match more closely to switchbrew part 1
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-05Merge pull request #5867 from ↵bunnei
Morph1984/am-GetHealthWarningDisappearedSystemEvent IApplicationFunctions: Implement GetHealthWarningDisappearedSystemEvent
2021-02-04Merge pull request #5876 from lioncash/truncationbunnei
k_affinity_mask: Avoid implicit truncation to bool
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-04key_manager: Create the keys directory if it does not existMorph
2021-02-03Add footer types and address commentsgerman
2021-02-03Fix npad struct to match switchbrewgerman
2021-02-03Adds missing controller types and propertiesgerman
2021-02-03Merge pull request #5848 from ogniK5377/k-resourcelimitbunnei
kernel: Rewrite resource limit to be more accurate
2021-02-03Simplify limitableresource namesChloe Marcec
2021-02-02Merge pull request #5842 from german77/userfixbunnei
acc: Fix error when second user is selected