aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle
AgeCommit message (Collapse)Author
2019-06-12kernel/vm_manager: Remove redundant Reset call in destructorLioncash
This is performing more work than would otherwise be necessary during VMManager's destruction. All we actually want to occur in this scenario is for any allocated memory to be freed, which will happen automatically as the VMManager instance goes out of scope. Anything else being done is simply unnecessary work.
2019-06-10kernel: Differentiate kernel and user processes when picking IDZach Hilman
This allows kernel internal type processes to be assigned IDs in the KIP range while userland processes are assigned in the user range.
2019-06-09Merge pull request #2571 from lioncash/refZach Hilman
kernel/process: Make Create()'s name parameter be taken by value
2019-06-09kernel/process: Make Create()'s name parameter be taken by valueLioncash
Makes the interface more flexible in terms of how Create() may be called, while still allowing the parameter itself to be moved into.
2019-06-09kernel/svc: Implement ↵Lioncash
TotalMemoryUsedWithoutMmHeap/TotalMemoryAvailableWithoutMmHeap Given we don't currently implement the personal heap yet, the existing memory querying functions are essentially doing what the memory querying types introduced in 6.0.0 do. So, we can build the necessary machinery over the top of those and just use them as part of info types.
2019-06-09kernel/svc: Amend naming for TotalMemoryUsage in svcGetInfo()Lioncash
Disambiguates and makes the name a little more consistent with TotalPhysicalMemoryUsed.
2019-06-09kernel/svc: Remove duplicate enum entry in svcGetInfo()Lioncash
2019-06-07constants: Extract backup JPEG used by account servicesZach Hilman
2019-06-06Merge pull request #2549 from lioncash/headerZach Hilman
kernel/process: Remove unused boost header include
2019-06-06Merge pull request #2551 from lioncash/dtorbunnei
service/ns: Add missing override specifiers
2019-06-05Merge pull request #2419 from DarkLordZach/srv-lr-ifacebunnei
lr: Add command handler skeletons for Open*LocationResolver
2019-06-05service/ns: Add missing override specifiersLioncash
2019-06-05Merge pull request #2526 from lioncash/globalZach Hilman
core/telemetry_session: Remove usages of the global system accessor
2019-06-05Merge pull request #2545 from lioncash/timingZach Hilman
core/core_timing_util: Use std::chrono types for specifying time units
2019-06-05Merge pull request #2510 from SciresM/desired_languageZach Hilman
Implement/Fix IApplicationFunctions::GetDesiredLanguage
2019-06-05kernel/process: Remove unused boost header includeLioncash
Boost headers typically include a lot of other headers, so removing this can prevent a bit of unnecessary compiler churn when building.
2019-06-04core/core_timing_util: Amend casing of cyclesTo* functionsLioncash
Makes the casing consistent with all of our general function naming conventions.
2019-06-04core/core_timing_util: Use std::chrono types for specifying time unitsLioncash
Makes the interface more type-safe and consistent in terms of return values.
2019-05-30Merge pull request #1931 from DarkLordZach/mii-database-1bunnei
mii: Implement MiiManager backend and several mii service commands
2019-05-29core/core: Remove unnecessary includesLioncash
The contents of these includes aren't used anywhere in this translation unit.
2019-05-26ncm: Implement LR OpenAddOnContentLocationResolver (2)Zach Hilman
Returns an object of type IAddOnContentLocationResolver for the provided StorageId.
2019-05-26ncm: Implement LR OpenRegisteredLocationResolver (1)Zach Hilman
Returns an object of type IRegisteredLocationResolver for the StorageId.
2019-05-26ncm: Implement LR OpenLocationResolver (0)Zach Hilman
Returns an object of type ILocationResolver with the provided StorageId.
2019-05-26loader: Move NSO module tracking to AppLoaderZach Hilman
Also cleanup of general stuff
2019-05-25Merge pull request #2509 from lioncash/aocbunnei
service/aoc_u: Minor cleanup
2019-05-25prepo: Save reports from PlayReport serviceZach Hilman
Logs a lot of seemingly innocuous telemetry games generate.
2019-05-25fatal: Save report on fatal:u callZach Hilman
Matches offical behavior with creport and replaces old log/text based report system.
2019-05-25service: Save report on unimplemented function callZach Hilman
2019-05-25applets/error: Save report on error appletZach Hilman
This matches official behavior with the erpt/eclct/eupld service chain.
2019-05-25applets: Save report on stubbed appletZach Hilman
This also reworks the applet data storage to be peekable.
2019-05-25svc: Save report on call to svcBreakZach Hilman
2019-05-24Merge pull request #2489 from FearlessTobi/port-4716bunnei
Port citra-emu/citra#4716: "HLE/IPC: HLEContext can memorize the client thread and use it for SleepClientThread"
2019-05-23Fix bitmask logic inversionMichael Scire
2019-05-23fix introduced clang-format errorsMichael Scire
2019-05-23Address review commentsMichael Scire
2019-05-23clang-format fixesMichael Scire
2019-05-23Implement IApplicationFunctions::GetDesiredLanguageMichael Scire
2019-05-23service/aoc: Avoid allocating and discarding dataLioncash
Previously, the code was accumulating data into a std::vector and then tossing all of it away if a setting was disabled. Instead, we can just check if it's disabled and do no work at all if possible. If it's enabled, then we can append to the vector and allocate. Unlikely to impact usage much, but it is slightly less sloppy with resources.
2019-05-22service/aoc: Remove unnecessary includesLioncash
Removes two header dependencies related to file handling that aren't actually used within the source file.
2019-05-22service/aoc: Pop all passed values where applicableLioncash
A few of the aoc service stubs/implementations weren't fully popping all of the parameters passed to them. This ensures that all parameters are popped and, at minimum, logged out.
2019-05-19Merge pull request #2410 from lioncash/affinitybunnei
kernel/svc: Reorganize and fix up the initial handling of svcSetThreadCoreMask()
2019-05-19Merge pull request #2439 from lioncash/audrenHexagon12
service/audren_u: Get rid of magic values within GetAudioRendererWorkBufferSize
2019-05-19Merge pull request #2463 from lioncash/setHexagon12
service/set: Correct and simplify behavior related to copying language codes
2019-05-19Merge pull request #2487 from lioncash/service-returnHexagon12
service/am: Add missing return in error case for IStorageAccessor's Read/Write()
2019-05-19Merge pull request #2490 from lioncash/floatHexagon12
ipc_helpers: Amend floating-point type in Pop<double> specialization
2019-05-19Merge pull request #2486 from lioncash/resetnameSebastian Valle
core/kernel/object: Rename ResetType enum members for clarity
2019-05-18ipc_helpers: Amend floating-point type in Pop<double> specializationLioncash
Currently, this overload isn't used, so this wasn't actually hit in any code, only the float overload is used.
2019-05-19Address review commentTobias
Co-Authored-By: Mat M. <mathew1800@gmail.com>
2019-05-18kernel/svc: Mark GetThreadList() and UnmapProcessCodeMemory() as internally ↵Lioncash
linked These are only used from within this translation unit, so they don't need to have external linkage. They were intended to be marked with this anyways to be consistent with the other service functions.
2019-05-18service/am: Add missing return in error case for IStorageAccessor's ↵Lioncash
Read()/Write(). Previously this would fall through and return successfully, despite being an out of bounds read or write.