aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service
AgeCommit message (Collapse)Author
2018-07-26service/sockets: Add ethc:c and ethc:i servicesLioncash
2018-07-26service/sockets: Add missing bsdcfg socket serviceLioncash
2018-07-25Merge pull request #828 from lioncash/ldrSebastian Valle
service: Add ldr services
2018-07-25Merge pull request #826 from lioncash/erptSebastian Valle
service: Add erpt and eupld services
2018-07-25Merge pull request #823 from lioncash/nifmSebastian Valle
service/nifm: Deduplicate interface code
2018-07-25service: Add ldr servicesLioncash
Adds the skeleton for the ldr-related services based off the information provided on Switch Brew.
2018-07-25lm: Move LM's class declaration into the cpp fileLioncash
This isn't used directly outside of this translation unit, so we can hide it from external use.
2018-07-25lm: Amend names of Initialize() in Logger and Initialize() in LMLioncash
Amends these to match the information on Switch Brew.
2018-07-25lm: Add missing function entry to Logger's function tableLioncash
2018-07-25service: Add eupld servicesLioncash
Adds the skeleton for the eupld services based off information on Switch Brew.
2018-07-25service: Add the erpt servicesLioncash
Adds the basic skeleton of the erpt service based off information on Switch Brew.
2018-07-25Merge pull request #824 from lioncash/nvdrvbunnei
service/nvdrv: Minor changes
2018-07-25Merge pull request #822 from lioncash/pmbunnei
service: Add pm services
2018-07-25service/nvdrv: Take std::string in Open() by const referenceLioncash
Avoids copies from being made, since the string is only ever used for lookup, the data is never transfered anywhere. Ideally, we'd use a std::string_view here, but devices is a std::unordered_map, not a std::map, so we can't use heterogenous lookup here.
2018-07-25service/nvdrv: Use std::move where applicableLioncash
Avoids unnecessary reference count increments and decrements. In one case, we don't need to make a shared_ptr copy at all, just to call a member function.
2018-07-25service/nifm: Deduplicate interface codeLioncash
Rather than having the same code for each nifm service variant, we can centralize it on one class and get rid of a bit of extra code.
2018-07-25service: Add pm servicesLioncash
Adds the skeleton for the process management services based off information on Switch Brew.
2018-07-25service: Add the es serviceLioncash
Adds the skeleton for the ETicket service based off the information on Switch Brew
2018-07-25Merge pull request #801 from lioncash/timeMat M
time: Add the time:a service
2018-07-25time: Add the time:a serviceLioncash
Given we already have time:s and time:u, we should also have time:a
2018-07-25Merge pull request #803 from MerryMage/core_timing_utilbunnei
core_timing: Split off utility functions into core_timing_util
2018-07-25Merge pull request #800 from lioncash/setbunnei
set_sys: Implement SetColorSetId()
2018-07-24friend: Add friend:m, friend:s, and friend:v servicesLioncash
Given we already have friend:a and friend:u, we should add the remaining services as well.
2018-07-24friend/interface: Add missing CreateDaemonSuspendSessionService() to the ↵Lioncash
function handler table
2018-07-24friend: Deduplicate interfacesLioncash
2018-07-24Merge pull request #797 from lioncash/explicitbunnei
core: Make converting constructors explicit where applicable
2018-07-24time: Simplify interface creationLioncash
We can use one instance of the interface instead of duplicating code.
2018-07-24core_timing: Split off utility functions into core_timing_utilMerryMage
2018-07-24set_sys: Implement SetColorSetId()Lioncash
2018-07-23core: Make converting constructors explicit where applicableLioncash
Avoids unwanted implicit conversions. Thankfully, given the large amount of cleanup in past PRs, only this tiny amount is left over to cover.
2018-07-23apm/interface: Remove redundant declaration of InstallInterfaces()Lioncash
This is already declared in apm/apm.h
2018-07-23VFS Regression and Accuracy Fixes (#776)Zach Hilman
* Regression and Mode Fixes * Review Fixes * string_view correction * Add operator& for FileSys::Mode * Return std::string from SanitizePath * Farming Simulator Fix * Use != With mode operator&
2018-07-23Merge pull request #780 from lioncash/movebunnei
vi: Minor changes
2018-07-23vi: Add std::is_trivially_copyable checks to Read and Write functionsLioncash
It's undefined behavior to memcpy an object that isn't considered trivially copyable, so put a compile-time check in to make sure this doesn't occur.
2018-07-23vi: std::move std::vector in constructors where applicableLioncash
Allows avoiding unnecessary copies of the vector depending on the calling code. While we're at it, remove a redundant no-parameter base constructor call
2018-07-23set: Add missing log call in GetAvailableLanguageCodeCount()Lioncash
Forgot to include this in 22f448b6327044076959e338811ee576f3dcf093
2018-07-23set: Implement GetAvailableLanguageCodeCount()Lioncash
This just returns the size of the language code buffer.
2018-07-23set: Correct return code size of value in GetAvailableLanguageCodes()Lioncash
The return code should be 32-bit in size.
2018-07-22file_util, vfs: Use std::string_view where applicableLioncash
Avoids unnecessary construction of std::string instances where applicable.
2018-07-21Merge pull request #760 from lioncash/pathbunnei
file_util: Use an enum class for GetUserPath()
2018-07-21GPU: Implement the NVGPU_IOCTL_CHANNEL_KICKOFF_PB ioctl2 command.Subv
This behaves quite similarly to the SubmitGPFIFO command. Referenced from Ryujinx. Many thanks to @gdkchan for investigating this!
2018-07-21file_util: Use an enum class for GetUserPath()Lioncash
Instead of using an unsigned int as a parameter and expecting a user to always pass in the correct values, we can just convert the enum into an enum class and use that type as the parameter type instead, which makes the interface more type safe. We also get rid of the bookkeeping "NUM_" element in the enum by just using an unordered map. This function is generally low-frequency in terms of calls (and I'd hope so, considering otherwise would mean we're slamming the disk with IO all the time) so I'd consider this acceptable in this case.
2018-07-20apm: Improve stub for GetPerformanceConfiguration.bunnei
2018-07-20Merge pull request #740 from Subv/acc_crashbunnei
HLE/ACC: Stub IManagerForApplication::GetAccountId to return an error.
2018-07-20Merge pull request #736 from lioncash/nullbunnei
audout_u/audren_u: Ensure null terminators are written out in ListAudioOutsImpl(), ListAudioDeviceName(), and GetActiveAudioDeviceName()
2018-07-20HLE/ACC: Stub IManagerForApplication::GetAccountId to return an error.Subv
And make IManagerForApplication::CheckAvailability always return false. Returning a bogus id from GetAccountId causes games to crash on boot. We should investigate this with a hwtest and either stub it properly or implement it.
2018-07-19audren_u: Use a std::array instead of std::string for holding the audio ↵Lioncash
interface/device name std::string doesn't include the null-terminator in its data() + size() range. This ensures that the null-terminator will also be written to the buffer
2018-07-19audout_u: Use a std::array instead of std::string for holding the audio ↵Lioncash
interface name Uses a type that doesn't potentially dynamically allocate, and ensures that the name of the interface is properly null-terminated when writing it to the buffer.
2018-07-19pl_u: Simplify WriteBuffer() calls in GetSharedFontInOrderOfPriority()Lioncash
With the new overload, we can simply pass the container directly.
2018-07-19Merge pull request #726 from lioncash/overloadbunnei
hle_ipc: Introduce generic WriteBuffer overload for multiple container types