summaryrefslogtreecommitdiff
path: root/src/core (follow)
Commit message (Collapse)AuthorAgeFilesLines
* kernel: More accurately reserve and release resourcesGravatar ameerj2021-02-126-14/+42
|
* kernel: KScopedReservation implementationGravatar ameerj2021-02-126-26/+152
| | | | This implements KScopedReservation, allowing resource limit reservations to be more HW accurate, and release upon failure without requiring too many conditionals.
* kernel: Unify result codes (#5890)Gravatar Chloe2021-02-1221-256/+223
| | | | | | | | | * 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
* Merge pull request #5902 from lioncash/core-warnGravatar bunnei2021-02-113-4/+7
|\ | | | | core: Silence various warnings on Clang 12
| * bsd: Remove usage of optional emplace() with no argumentsGravatar Lioncash2021-02-091-2/+4
| | | | | | | | Clang 12 currently falls over in the face of this.
| * am/controller: Remove [[fallthrough]] from unreachable pathGravatar Lioncash2021-02-091-1/+2
| | | | | | | | | | Prevents warnings on clang 12. This path is reachable on other variations of the build that disable the unreachable macro.
| * nfp: Correct uninitialized size being used within GetTagInfo()Gravatar Lioncash2021-02-091-1/+1
| | | | | | | | | | We were previously the name of the object being initialized within its own initializer, which results in uninitialized data being read.
* | Merge pull request #5869 from german77/mousePanningGravatar bunnei2021-02-111-2/+3
|\ \ | | | | | | input_common: Add mouse panning
| * | Add mouse panningGravatar german2021-02-071-2/+3
| | |
* | | software_keyboard: Implement Finalize request commandGravatar Morph2021-02-101-0/+4
| | |
* | | core: Add -fsized-dealloction as a Clang flagGravatar lat9nq2021-02-091-0/+2
| | | | | | | | | | | | Prevents a operator delete error when compiling with Clang 11.
* | | Merge pull request #5892 from german77/backupGravatar bunnei2021-02-081-1/+12
|\ \ \ | | | | | | | | olsc: Stub GetSaveDataBackupSetting
| * | | olsc: Stub GetSaveDataBackupSettingGravatar german2021-02-071-1/+12
| | | |
* | | | Merge pull request #5868 from german77/HandheldFixGravatar bunnei2021-02-081-0/+1
|\ \ \ \ | |_|_|/ |/| | | Prevent over scheduling audio events and add motion update unschedule event
| * | | Prevent over scheduling audio events and terminate properly the motion ↵Gravatar german2021-02-021-0/+1
| | | | | | | | | | | | | | | | update event
* | | | Merge pull request #5339 from german77/interactiveGravatar bunnei2021-02-071-0/+11
|\ \ \ \ | |_|/ / |/| | | Settings: Make settings controller image change with controller input
| * | | Make settings controller image change with controller inputGravatar german2021-02-061-0/+11
| | | |
* | | | Merge pull request #5872 from lioncash/svc-errorGravatar Chloe2021-02-081-59/+188
|\ \ \ \ | | | | | | | | | | svc: Provide more detailed error logs for svc functions
| * | | | svc: Provide more detailed error logs for svc functionsGravatar Lioncash2021-02-061-59/+188
| | | | | | | | | | | | | | | | | | | | | | | | | Allows SVC calls to have much more informative information during error cases. This also doesn't hide control flow returns from the reader.
* | | | | Merge pull request #5887 from ogniK5377/lm-fixGravatar bunnei2021-02-071-7/+9
|\ \ \ \ \ | | | | | | | | | | | | lm: Fix ReadLeb128
| * | | | | lm: Fix ReadLeb128Gravatar Chloe Marcec2021-02-071-7/+9
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | Merge pull request #5878 from aleasto/masterGravatar Morph2021-02-071-2/+7
|\ \ \ \ \ | |/ / / / |/| | | | pl_u: Fix read out of bounds
| * | | | pl_u: Fix read out of boundsGravatar Alessandro Astone2021-02-061-2/+7
| | | | |
* | | | | Merge pull request #5871 from lioncash/address-arbGravatar bunnei2021-02-061-54/+30
|\ \ \ \ \ | |_|_|/ / |/| | | | k_address_arbiter: Minor cleanup
| * | | | k_address_arbiter: Unfold R_UNLESS macrosGravatar Lioncash2021-02-061-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | Allows for more descriptive error messages and also doesn't hide control-path exit returns from the reader.
| * | | | k_address_arbiter: Remove unnecessary usages of std::addressofGravatar Lioncash2021-02-061-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | k_address_arbiter: Remove dead codeGravatar Lioncash2021-02-061-40/+13
| | |/ / | |/| | | | | | | | | | | | | | This code is never used, so we can remove it. It's in version control, so it can always be brought back when needed.
* | | | Merge pull request #5326 from german77/hidUpdate1Gravatar bunnei2021-02-0610-168/+406
|\ \ \ \ | |/ / / |/| | | HID: Update the HID service to match more closely to switchbrew part 1
| * | | Add footer types and address commentsGravatar german2021-02-037-58/+106
| | | |
| * | | Fix npad struct to match switchbrewGravatar german2021-02-033-105/+134
| | | |
| * | | Adds missing controller types and propertiesGravatar german2021-02-039-30/+191
| | | |
* | | | Merge pull request #5862 from bunnei/keventGravatar bunnei2021-02-0560-563/+726
|\ \ \ \ | | | | | | | | | | Kernel Rework: Refactor KEvent/KReadableEvent/KWritableEvent
| * | | | hle: kernel: Drop R_UNLESS_NOLOG in favor of expanded if-statement.Gravatar bunnei2021-02-052-3/+11
| | | | |
| * | | | hle: kernel: KAddressArbiter: Remove noisy error log.Gravatar bunnei2021-02-051-1/+1
| | | | |
| * | | | hle: kernel: svc: Cleanup KEvent/KReadableEvent/KWritableEvent SVCs.Gravatar bunnei2021-02-055-69/+89
| | | | |
| * | | | hle: kernel: Reimplement KReadableEvent and KWritableEvent.Gravatar bunnei2021-02-0538-298/+341
| | | | |
| * | | | hle: kernel: Implement KEvent.Gravatar bunnei2021-02-053-0/+91
| | | | |
| * | | | hle: kernel: KAddressArbiter: Use R_UNLESS_NOLOG where applicable.Gravatar bunnei2021-02-051-1/+1
| | | | |
| * | | | hle: kernel: Rename WritableEvent to KWritableEvent.Gravatar bunnei2021-02-0544-101/+101
| | | | |
| * | | | hle: kernel: Rename ReadableEvent to KReadableEvent.Gravatar bunnei2021-02-0540-76/+77
| | | | |
* | | | | Merge pull request #5875 from lioncash/identifierGravatar bunnei2021-02-051-9/+9
|\ \ \ \ \ | |/ / / / |/| | | | k_priority_queue: Minor cleanup
| * | | | k_priority_queue: Unfold several declval usagesGravatar Lioncash2021-02-041-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | k_priority_queue: Simplify affinity mask type aliasGravatar Lioncash2021-02-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | We can make use of the _t variants of the templates to cut down on a little bit of verbosity.
| * | | | k_priority_queue: Resolved reserved identifierGravatar Lioncash2021-02-041-2/+2
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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?.
* | | | Merge pull request #5867 from ↵Gravatar bunnei2021-02-052-1/+14
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | Morph1984/am-GetHealthWarningDisappearedSystemEvent IApplicationFunctions: Implement GetHealthWarningDisappearedSystemEvent
| * | | IApplicationFunctions: Implement GetHealthWarningDisappearedSystemEventGravatar Morph2021-02-022-1/+14
| | | |
* | | | Merge pull request #5876 from lioncash/truncationGravatar bunnei2021-02-041-1/+1
|\ \ \ \ | | | | | | | | | | k_affinity_mask: Avoid implicit truncation to bool
| * | | | k_affinity_mask: Avoid implicit truncation to boolGravatar Lioncash2021-02-041-1/+1
| | |/ / | |/| | | | | | | | | | | | | | This can cause compiler warnings. Instead, we can explicitly add a boolean expression around it to naturally turn the result into a bool.
* / | | key_manager: Create the keys directory if it does not existGravatar Morph2021-02-041-0/+5
|/ / /
* | | Merge pull request #5848 from ogniK5377/k-resourcelimitGravatar bunnei2021-02-0313-230/+343
|\ \ \ | | | | | | | | kernel: Rewrite resource limit to be more accurate