summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/lm (follow)
Commit message (Collapse)AuthorAgeFilesLines
* service: move hle_ipc from kernelLiam2023-03-011-4/+4
|
* service: refactor server architectureLiam2023-02-212-4/+7
| | | | Converts services to have their own processes
* general: Convert source file copyright comments over to SPDXMorph2022-04-232-6/+4
| | | | | This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
* core: Remove unused includesameerj2021-11-041-3/+0
|
* lm: Demote guest logs to LOG_DEBUGameerj2021-06-151-27/+20
| | | | Guest logs are not very useful, as they are intended for use by the game developers during development. As such, they provide little meaning to be logged by yuzu and tend to overwhelm the log output at times.
* general: Replace RESULT_SUCCESS with ResultSuccessMorph2021-06-021-3/+3
| | | | Transition to PascalCase for result names.
* lm: Make use of insert_or_assign() in Log()Lioncash2021-04-231-1/+1
| | | | | Avoids unnecessary default construction of an entry in cases where no entry exists before overwriting the created entry.
* lm: Prevent redundant map lookups in Log()Lioncash2021-04-231-4/+5
| | | | | | | | | We can perform the lookup and then do the contains check by checking the end iterator. The benefit of this is that if we *do* find an entry, then we aren't hashing into the map again to find it. We can also get rid of an unused std::vector temporary while we're at it.
* lm: Resolve -Wextra-semi warningLioncash2021-04-231-1/+1
| | | | Resolves a trivial warning with clang.
* lm: Fix ReadLeb128Chloe 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
* Print Process ID and Thread ID as hexChloe Marcec2021-01-241-2/+2
|
* Clamp string reads to buffer sizeChloe Marcec2021-01-231-3/+5
|
* Mark DestinationToString as staticChloe Marcec2021-01-201-1/+1
|
* Mark LogPacketHeaderEntry hash as noexceptChloe Marcec2021-01-201-1/+1
|
* lm: Recode LM serviceChloe Marcec2021-01-203-271/+286
| | | | Rework the service to spit out to logs instead of a seperate file as well as fix any crashes caused by lm.
* core: Remove unnecessary enum casts in log callsLioncash2020-12-081-1/+1
| | | | | Follows the video core PR. fmt doesn't require casts for enum classes anymore, so we can remove quite a few casts.
* service: Eliminate usages of the global system instanceLioncash2020-11-271-10/+6
| | | | | Completely removes all usages of the global system instance within the services code by passing in the using system instance to the services.
* ipc_helpers: Remove usage of the global system instanceLioncash2020-11-081-0/+1
| | | | | | | | | Resolves numerous deprecation warnings throughout the codebase due to inclusion of this header. Now building core should be significantly less noisy (and also relying on less global state). This also uncovered quite a few modules that were relying on indirect includes, which have also been fixed.
* lm: Silence no return value warningMorph2020-06-231-1/+2
|
* core: memory: Move to Core::Memory namespace.bunnei2020-04-171-4/+4
| | | | - helpful to disambiguate Kernel::Memory namespace.
* core/memory: Migrate over Read{8, 16, 32, 64, Block} to the Memory classLioncash2019-11-271-5/+5
| | | | | | | | | | | | | | With all of the trivial parts of the memory interface moved over, we can get right into moving over the bits that are used. Note that this does require the use of GetInstance from the global system instance to be used within hle_ipc.cpp and the gdbstub. This is fine for the time being, as they both already rely on the global system instance in other functions. These will be removed in a change directed at both of these respectively. For now, it's sufficient, as it still accomplishes the goal of de-globalizing the memory code.
* core: Prepare various classes for memory read/write migrationLioncash2019-11-271-4/+9
| | | | | | | | | | Amends a few interfaces to be able to handle the migration over to the new Memory class by passing the class by reference as a function parameter where necessary. Notably, within the filesystem services, this eliminates two ReadBlock() calls by using the helper functions of HLERequestContext to do that for us.
* lm: Flush manager output on core shutdownZach Hilman2019-09-222-5/+11
|
* lm: Rename Initialize to Log and implement with manager/reporterZach Hilman2019-09-221-140/+22
| | | Allows saving and clearer output of data.
* lm: Implement manager class to output to reporterZach Hilman2019-09-222-0/+233
|
* core: Add LM::Manager to systemZach Hilman2019-09-222-15/+16
| | | Allows centralized control over logging mechanisms.
* remove all occurance of specifying endianness inside BitFieldWeiyi Wang2019-02-061-1/+1
| | | | | | | This commit it automatically generated by command in zsh: sed -i -- 's/BitField<\(.*\)_le>/BitField<\1>/g' **/*(D.) BitField is now aware to endianness and default to little endian. It expects a value representation type without storage specification for its template parameter.
* Changed logging to be "Log before execution", Added more error logging, all services should now log on some levelDavid Marcec2018-11-261-2/+2
|
* lm: Implement SetDestination by doing nothingLioncash2018-11-201-1/+12
| | | | | | | | | | This service function was likely intended to be a way to redirect where the output of a log went. e.g. Firing a log over a network, dumping over a tunneling session, etc. Given we always want to see the log and not change its output. It's one of the lucky service functions where the easiest implementation is to just do nothing at all and return success.
* Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi2018-09-151-1/+1
|
* lm: Use LOG_DEBUG for printing out trace logsLioncash2018-08-151-1/+1
| | | | | | | Using LOG_TRACE here isn't a good idea because LOG_TRACE is only enabled when yuzu is compiled in debug mode. Debug mode is also quite slow, and so we're potentially throwing away logging messages that can provide value when trying to boot games.
* lm: Handle threads and modules within the loggerLioncash2018-08-151-1/+19
| | | | | | | | | | The thread field serves to indicate which thread a log is related to and provides the length of the thread's name, so we can print that out, ditto for modules. Now we can know what threads are potentially spawning off logging messages (for example Lydie & Suelle bounces between MainThread and LoadingThread when initializing the game).
* lm: Amend name of ILoggerLioncash2018-08-011-4/+4
| | | | | Previously this was being registered with the name "Logger". While we're at it, also change the name of the class to match it.
* lm: Move LM's class declaration into the cpp fileLioncash2018-07-262-37/+31
| | | | | This isn't used directly outside of this translation unit, so we can hide it from external use.
* lm: Amend names of Initialize() in Logger and Initialize() in LMLioncash2018-07-262-7/+7
| | | | Amends these to match the information on Switch Brew.
* lm: Add missing function entry to Logger's function tableLioncash2018-07-261-0/+1
|
* Rename logging macro back to LOG_*James Rowe2018-07-031-6/+6
|
* lm: Move logging macros over to new fmt-compatible onesLioncash2018-04-241-6/+6
|
* service: Use nested namespace specifiers where applicableLioncash2018-04-202-8/+4
| | | | Tidies up namespace declarations
* Service/lm: add support to multiline logsmailwl2018-02-131-20/+49
|
* logger: Add LM service logging category.bunnei2018-02-051-2/+2
|
* lm: Ensure log string is non-empty before checking back().bunnei2018-02-051-1/+1
|
* hle: Rename RequestBuilder to ResponseBuilder.bunnei2018-01-251-2/+2
|
* service: Fix all incorrect IPC response headers.bunnei2018-01-251-14/+4
|
* Services: Added a todo about returning interfaces as domain objects in lm, hid and time.Subv2018-01-231-0/+3
|
* LM: Don't create an unnecessary port in Initialize.Subv2018-01-222-15/+10
|
* lm: Minor logging fix to skip a byte.bunnei2018-01-181-0/+7
|
* lm: Fix IPC header for Initialize.bunnei2018-01-151-1/+1
|
* yuzu: Update license text to be consistent across project.bunnei2018-01-132-2/+2
|
* Services: Allow lm to log single-character messages.Subv2018-01-101-7/+3
|
* IPC Cleanup: Remove 3DS-specific code and translate copy, move and domain objects in IPC requests.Subv2018-01-071-1/+1
| | | | Popping objects from the buffer is still not implemented.
* lm: Assert on unsupported multi-message.bunnei2018-01-061-0/+9
|
* lm: Improve Log() to format a useful string.bunnei2018-01-051-10/+75
|
* service: Clean up apm/lm/applet_oe/controller/sm ctor/dtor.bunnei2017-12-282-4/+2
|
* lm: Implement lm::Initialize and Logger::log.bunnei2017-10-192-3/+67
|
* hle: Implement ConvertSessionToDomain, various cleanups.bunnei2017-10-151-5/+1
|
* hle: Add service stubs for apm and appletOE.bunnei2017-10-151-1/+1
|
* hle: Initial implementation of NX service framework and IPC.bunnei2017-10-152-0/+68