summaryrefslogtreecommitdiff
path: root/src/core (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | Merge pull request #6143 from lat9nq/nvhost_null_memcpyGravatar bunnei2021-04-071-1/+7
|\ \ \ \ \ \ | | | | | | | | | | | | | | nvhost_ctrl_gpu: Avoid sending null pointer to memcpy
| * | | | | | nvhost_ctrl_gpu: Avoid sending null pointer to memcpyGravatar lat9nq2021-04-051-1/+7
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Undefined Behaviour Sanitizer reports a null pointer is being sent to memcpy, thought it's "guaranteed to never be null". Guard it with an if statement, and log when the action has been averted.
* | | | | | Merge pull request #6159 from Morph1984/acc-update-12.xGravatar bunnei2021-04-073-36/+45
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | service: acc: Update service function tables
| * | | | | dauth_o: Update to 11.xGravatar Morph2021-04-071-6/+11
| | | | | |
| * | | | | acc_u1: Update to 12.xGravatar Morph2021-04-071-13/+15
| | | | | |
| * | | | | acc_su: Update to 12.xGravatar Morph2021-04-071-17/+19
| |/ / / /
* | | | | Merge pull request #6153 from lioncash/svcrangeGravatar bunnei2021-04-072-6/+1
|\ \ \ \ \ | | | | | | | | | | | | process_capability: Handle extended SVC range
| * | | | | process_capability: Handle extended SVC rangeGravatar Lioncash2021-04-072-6/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 12.x extended the range of SVC IDs, so we need to expand the range of bits that need to be tested. The upside of this is that we can eliminate a range check, given the whole range is used.
* / / / / hwopus: Update to 12.xGravatar Morph2021-04-071-0/+4
|/ / / /
* | | | Merge pull request #6132 from MerryMage/code_sizeGravatar bunnei2021-04-022-0/+8
|\ \ \ \ | | | | | | | | | | arm_dynarmic: Increase size of code cache
| * | | | arm_dynarmic: Increase size of code cacheGravatar MerryMage2021-04-022-0/+8
| | | | |
* | | | | Merge pull request #6131 from german77/rightjoyconSLSRGravatar Morph2021-04-021-2/+6
|\ \ \ \ \ | |/ / / / |/| | | | HID: Fix SL and SR buttons for right joycon
| * | | | HID: Fix SL and SR buttons for right joyconGravatar german772021-04-021-2/+6
| | |/ / | |/| |
* | | | Merge pull request #6106 from MerryMage/nullptr-jitGravatar bunnei2021-04-014-53/+26
|\ \ \ \ | | | | | | | | | | [test] arm_dynarmic: Always have a 'valid' jit instance
| * | | | arm_dynarmic: Always have a 'valid' jit instanceGravatar MerryMage2021-03-244-53/+26
| | | | |
* | | | | ISelfController: Stub SetAlbumImageTakenNotificationEnabledGravatar Morph2021-03-302-1/+17
| |_|/ / |/| | | | | | | | | | | | | | | This service call sets an internal flag whether a notification is shown when an image is captured. Currently we do not support capturing images via the capture button, so this can be stubbed for now.
* | | | Merge pull request #6109 from german77/gestureIDGravatar bunnei2021-03-292-3/+13
|\ \ \ \ | | | | | | | | | | HID: Initialize correctly the gesture finger_id and filter invalid inputs
| * | | | HID: Initialize correctly the gesture finger_id and filter invalid resultsGravatar Narr the Reg2021-03-262-3/+13
| | |/ / | |/| |
* | | | Merge pull request #6102 from ogniK5377/fd-passGravatar bunnei2021-03-2920-78/+161
|\ \ \ \ | | | | | | | | | | nvdrv: Pass device fd and handle device create methods for device opening and closing
| * | | | nvdrv: Pass device fd and handle device create methods for device opening ↵Gravatar Chloe Marcec2021-03-2520-78/+161
| |/ / / | | | | | | | | | | | | | | | | | | | | and closing We pass the fd to the ioctl as well as alert the device when it's opened or closed to allow for fd unique actions to take place
* | | | Merge pull request #6115 from bunnei/fix-kernel-initGravatar bunnei2021-03-281-1/+1
|\ \ \ \ | | | | | | | | | | hle: kernel: Initialize preemption task after schedulers.
| * | | | hle: kernel: Initialize preemption task after schedulers.Gravatar bunnei2021-03-271-1/+1
| |/ / / | | | | | | | | | | | | - Fixes a startup crash that occurs if CoreTiming tries to preempt before kernel initialization completes.
* / / / service: friend: Change logging class from ACC to FriendGravatar Morph2021-03-271-11/+12
|/ / /
* | | Merge pull request #6101 from ogniK5377/alloc-as-exGravatar bunnei2021-03-242-27/+49
|\ \ \ | |/ / |/| | nvdrv: Change InitializeEx to AllocAsEx
| * | nvdrv: Change InitializeEx to AllocAsExGravatar Chloe Marcec2021-03-222-27/+49
| |/ | | | | | | Wee also report the correct "big page size" now in GetVARegions & fix up the struct for IoctlAllocAsEx
* / core: arm_dynarmic: Ensure JIT state is saved/restored on page table changes.Gravatar bunnei2021-03-212-0/+10
|/ | | | - We re-create the JIT here without preserving any state.
* Merge pull request #6052 from Morph1984/vi-getindirectlayerimagemapGravatar bunnei2021-03-191-1/+27
|\ | | | | IApplicationDisplayService: Stub GetIndirectLayerImageMap
| * IApplicationDisplayService: Stub GetIndirectLayerImageMapGravatar Morph2021-03-171-1/+27
| | | | | | | | Used by games invoking the inline software keyboard such as GNOSIA
* | Merge pull request #6056 from zkitX/spl-updatesGravatar bunnei2021-03-183-9/+178
|\ \ | |/ |/| service: Refactor spl
| * Fix casing on DeallocateAesKeySlotGravatar zkitx2021-03-111-3/+3
| |
| * Update SPL to fit N's service refactor (4.0.0+) which split into new services.Gravatar zkitx2021-03-113-9/+178
| |
* | Merge pull request #6070 from Morph1984/sysver-11.0.1Gravatar bunnei2021-03-161-5/+5
|\ \ | | | | | | system_version: Update to 11.0.1
| * | system_version: Update to 11.0.1Gravatar Morph2021-03-141-5/+5
| | |
* | | bsd: Avoid writing empty buffersGravatar Morph2021-03-161-2/+6
| | | | | | | | | | | | Silences log spam on empty buffer writes
* | | Merge pull request #6069 from Morph1984/ngWordGravatar bunnei2021-03-151-2/+2
|\ \ \ | |/ / |/| | system_archive: Update NgWord archive version
| * | system_archive: Update NgWord archive versionGravatar Morph2021-03-141-2/+2
| | |
* | | Merge pull request #6054 from Morph1984/time-GetClockSnapshotGravatar bunnei2021-03-131-0/+2
|\ \ \ | |/ / |/| | time: Assign the current time point to the ClockSnapshot
| * | time: Assign the current time point to the ClockSnapshotGravatar Morph2021-03-101-0/+2
| |/ | | | | | | Fixes the timer in Super Smash Bros Ultimate's Spirit Board.
* / time: Fix CalculateSpanBetween implementationGravatar Morph2021-03-101-3/+9
|/ | | | | | CalculateSpanBetween passes in the ClockSnapshots through 2 input buffers and not as raw arguments. Fix this by reading the 2 input buffers instead of popping raw arguments. Partially fixes Super Smash Bros. Ultimate's Spirit Board
* common: Fiber: use a reference for YieldTo.Gravatar bunnei2021-03-072-12/+7
| | | | - Fixes another small leak.
* hle: kernel: KThread: Rework dummy threads & fix memory leak.Gravatar bunnei2021-03-056-36/+65
| | | | | - 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.
* Revert "core: Switch to unique_ptr for usage of Common::Fiber."Gravatar bunnei2021-03-057-31/+29
|
* Merge pull request #6034 from Morph1984/mbedtlsGravatar bunnei2021-03-051-2/+0
|\ | | | | externals: Update mbedtls to 2.16.9
| * aes_util: Remove malformed mbedtls_cipher_finish function callGravatar Morph2021-03-051-2/+0
| |
* | Merge pull request #6006 from bunnei/fiber-unique-ptrGravatar bunnei2021-03-047-29/+31
|\ \ | |/ |/| core: Switch to unique_ptr for usage of Common::Fiber.
| * core: Switch to unique_ptr for usage of Common::Fiber.Gravatar bunnei2021-02-277-29/+31
| | | | | | | | | | - 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.
* | Merge pull request #5815 from comex/net-error-reformGravatar bunnei2021-03-022-95/+84
|\ \ | | | | | | Network error handling reform
| * | [network] Error handling reformGravatar comex2021-02-282-95/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `network.cpp` has several error paths which either: - report "Unhandled host socket error=n" and return `SUCCESS`, or - switch on a few possible errors, log them, and translate them to Errno; the same switch statement is copied and pasted in multiple places in the code Convert these paths to use a helper function `GetAndLogLastError`, which is roughly the equivalent of one of the switch statements, but: - handling more cases (both ones that were already in `Errno`, and a few more I added), and - using OS functions to convert the error to a string when logging, so it'll describe the error even if it's not one of the ones in the switch statement. - To handle this, refactor the logic in `GetLastErrorMsg` to expose a new function `NativeErrorToString` which takes the error number explicitly as an argument. And improve the Windows version a bit. Also, add a test which exercises two random error paths.
* | | core: Shutdown: Move kernel cleanup to later in shutdown.Gravatar bunnei2021-03-011-12/+1
|/ / | | | | | | - Fixes a shutdown crash due to a race condition with GPU still accessing memory.
* | Merge pull request #6007 from bunnei/ldn-errorGravatar bunnei2021-02-281-1/+1
|\ \ | | | | | | core: hle: ldn: Error out on call to Initialization.