summaryrefslogtreecommitdiff
path: root/src/core (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | nro: Implement ReadControlDataGravatar Nick Renieris2019-09-082-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | With this, the "Developer" field in the Properties for homebrew is now populated. Signed-off-by: Nick Renieris <velocityra@gmail.com>
* | | | Merge pull request #2716 from lioncash/hle-globalGravatar David2019-09-0917-97/+143
|\ \ \ \ | | | | | | | | | | service/am: Remove usages of global system accessors
| * | | | service/am: Remove usages of global system accessorsGravatar Lioncash2019-09-0417-97/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoids the use of global accessors, removing the reliance on global state. This also makes dependencies explicit in the interface, as opposed to being hidden
* | | | | Merge pull request #2763 from lioncash/map-physGravatar David2019-09-092-39/+41
|\ \ \ \ \ | | | | | | | | | | | | kernel/vm_manager: Minor cleanup
| * | | | | kernel/vm_manager: Correct doxygen comment parameter tags for ↵Gravatar Lioncash2019-09-041-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MapPhysicalMemory/UnmapPhysicalMemory Corrects the parameter names within the doxygen comments so that they resolve properly.
| * | | | | kernel/vm_manager: Move variables closer to usage spots in ↵Gravatar Lioncash2019-09-041-16/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MapPhysicalMemory/UnmapPhysicalMemory Narrows the scope of variables down to where they're only necessary.
| * | | | | kernel/vm_manager: Correct behavior in failure case of UnmapPhysicalMemory()Gravatar Lioncash2019-08-291-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If an unmapping operation fails, we shouldn't be decrementing the amount of memory mapped and returning that the operation was successful. We should actually be returning the error code in this case.
| * | | | | kernel/vm_manager: Reserve memory ahead of time for slow path in ↵Gravatar Lioncash2019-08-291-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MergeAdjacentVMA Avoids potentially expensive (depending on the size of the memory block) allocations by reserving the necessary memory before performing both insertions. This avoids scenarios where the second insert may cause a reallocation to occur.
| * | | | | kernel/vm_manager: std::move shared_ptr instance in MergeAdjacentVMAGravatar Lioncash2019-08-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Avoids an unnecessary atomic reference count increment and decrement.
| * | | | | kernel/vm_manager: Deduplicate iterator creation in MergeAdjacentVMAGravatar Lioncash2019-08-291-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoids needing to read the same long sequence of code in both code paths. Also makes it slightly nicer to read and debug, as the locals will be able to be shown in the debugger.
| * | | | | kernel/vm_manager: Simplify some std::vector constructor callsGravatar Lioncash2019-08-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Same behavior, one less magic constant to read.
| * | | | | kernel/vm_manager: Simplify some assertion messagesGravatar Lioncash2019-08-291-10/+10
| | |/ / / | |/| | | | | | | | | | | | | | | | | | Assertions already log out the function name, so there's no need to manually include the function name in the assertion strings.
* | | | | Merge pull request #2418 from DarkLordZach/srv-esGravatar David2019-09-053-51/+536
|\ \ \ \ \ | | | | | | | | | | | | es: Implement various ticket accessor commands from IEticketService
| * | | | | key_manager: Convert Ticket union to std::variantGravatar Zach Hilman2019-07-073-57/+88
| | | | | |
| * | | | | es: Populate/synthesize tickets on constructionGravatar Zach Hilman2019-07-073-15/+17
| | | | | |
| * | | | | key_manager: Add structure for Ticket parsingGravatar Zach Hilman2019-07-073-44/+194
| | | | | |
| * | | | | es: Implement ETicket GetPersonalizedTicketData (17)Gravatar Zach Hilman2019-07-071-1/+21
| | | | | | | | | | | | | | | | | | Copies the raw personal ticket data into the buffer provided.
| * | | | | es: Implement ETicket GetCommonTicketData (16)Gravatar Zach Hilman2019-07-071-1/+20
| | | | | | | | | | | | | | | | | | Copies the raw common ticket data for the specified rights ID into the buffer provided.
| * | | | | es: Implement ETicket GetPersonalizedTicketSize (15)Gravatar Zach Hilman2019-07-071-1/+17
| | | | | | | | | | | | | | | | | | Returns the size of the buffer needed to hold the personal ticket associated with the rights ID.
| * | | | | es: Implement ETicket GetCommonTicketSize (14)Gravatar Zach Hilman2019-07-071-1/+17
| | | | | | | | | | | | | | | | | | Returns the size of the buffer needed to hold the common ticket associated with the rights ID.
| * | | | | es: Implement ETicket ListPersonalizedTicket (12)Gravatar Zach Hilman2019-07-071-1/+24
| | | | | | | | | | | | | | | | | | Returns an application-specific number of entries of personal tickets, starting at offset 0.
| * | | | | es: Implement ETicket ListCommonTicket (11)Gravatar Zach Hilman2019-07-071-1/+24
| | | | | | | | | | | | | | | | | | Returns an application specified count of entries of common tickets, starting at offset 0.
| * | | | | es: Implement ETicket CountPersonalizedTicket (10)Gravatar Zach Hilman2019-07-071-1/+12
| | | | | | | | | | | | | | | | | | Returns the number of personalized (console/user-unique) tickets in the KeyManager.
| * | | | | es: Implement ETicket CountCommonTicket (9)Gravatar Zach Hilman2019-07-071-1/+12
| | | | | | | | | | | | | | | | | | Returns the number of common (non-console-unique) tickets in the KeyManager.
| * | | | | es: Implement ETicket GetTitleKey (8)Gravatar Zach Hilman2019-07-071-1/+27
| | | | | | | | | | | | | | | | | | Takes a rights ID as input and returns the associated title key, if it exists.
| * | | | | es: Implement ETicket ImportTicket (1)Gravatar Zach Hilman2019-07-071-1/+45
| | | | | | | | | | | | | | | | | | Takes a ticket and certificate and installs it to the KeyManager.
| * | | | | key_manager: Add accessors/helpers for ticket managementGravatar Zach Hilman2019-07-072-14/+100
| | | | | |
| * | | | | key_manager: Add equality operator for RSAKeyPairGravatar Zach Hilman2019-07-071-0/+7
| | | | | |
* | | | | | Merge pull request #2707 from DarkLordZach/oss-miimodelGravatar David2019-09-054-1/+63
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | system_archive: Add open-source reimplementation of MiiModel data
| * | | | | system_archive: Add open-source reimplementation of MiiModel dataGravatar Zach Hilman2019-07-104-1/+63
| | | | | |
* | | | | | Merge pull request #2834 from Morph1984/audrenu_QueryAudioDeviceInputEventGravatar David2019-09-051-1/+15
|\ \ \ \ \ \ | | | | | | | | | | | | | | audren_u: Stub IAudioDevice::QueryAudioDeviceInputEvent
| * | | | | | Add Kernel::EventPair audio_input_device_switch_event;Gravatar Morph19842019-09-031-0/+1
| | | | | | |
| * | | | | | audren_u: Stub IAudioDevice::QueryAudioDeviceInputEventGravatar Morph19842019-09-031-1/+14
| | |_|/ / / | |/| | | |
* | | | | | Merge pull request #2836 from Morph1984/hid_vibrationGravatar David2019-09-054-2/+32
|\ \ \ \ \ \ | | | | | | | | | | | | | | hid: Implement PermitVibration and IsVibrationPermitted
| * | | | | | dittoGravatar Morph19842019-09-041-1/+1
| | | | | | | | | | | | | | | | | | | | | Co-Authored-By: David <25727384+ogniK5377@users.noreply.github.com>
| * | | | | | IsVibrationEnabled() as a const member funcGravatar Morph19842019-09-041-1/+1
| | | | | | |
| * | | | | | clang-formatGravatar Morph19842019-09-041-2/+2
| | | | | | |
| * | | | | | Update npad.hGravatar Morph19842019-09-041-0/+1
| | | | | | |
| * | | | | | Update npad.cppGravatar Morph19842019-09-041-0/+6
| | | | | | |
| * | | | | | Update hid.hGravatar Morph19842019-09-041-0/+2
| | | | | | |
| * | | | | | Update hid.cppGravatar Morph19842019-09-041-2/+23
| |/ / / / /
* | | | | | Merge pull request #2818 from MysticExile/fmtGravatar David2019-09-052-2/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | externals: update fmt to 6.0.0
| * | | | | | Fix clang-formatGravatar Ethan2019-09-041-1/+1
| | | | | | |
| * | | | | | accommodate for fmt updateGravatar Ethan2019-08-292-2/+2
| |/ / / / /
* | | | | | AM: Stub IApplicationFunctions::GetGpuErrorDetectedSystemEvent (#2827)Gravatar mailwl2019-09-042-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * AM: Implement IApplicationFunctions::GetGpuErrorDetectedSystemEvent * Remove unneeded event clear * Fix event name
* | | | | | Merge pull request #2829 from Morph1984/audioGravatar bunnei2019-09-041-2/+15
|\ \ \ \ \ \ | | | | | | | | | | | | | | service/audio/audren_u: Stub IAudioDevice::GetAudioDeviceOutputVolume
| * | | | | | remove <f32>Gravatar Morph19842019-09-031-1/+1
| | | | | | | | | | | | | | | | | | | | | We can remove this since its already a f32 value
| * | | | | | explicitly represent 1 as a float (1.0f instead of 1)Gravatar Morph19842019-09-031-1/+1
| | | | | | |
| * | | | | | Change u32 -> f32Gravatar Morph19842019-09-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Volume is a f32 value. (SwIPC describes it as a u32, but it is actually f32 as corroborated by switchbrew docs and SetAudioDeviceOutputVolume) ```cpp const f32 volume = rp.Pop<f32>(); ```
| * | | | | | service/audio/audren_u: Stub IAudioDevice::GetAudioDeviceOutputVolumeGravatar Morph19842019-09-031-2/+15
| |/ / / / /