Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | service: Mark MakeFunctionString with the [[maybe_unused]] attribute. | Lioncash | 2018-11-14 | 1 | -2/+2 |
| | | | | | | | When yuzu is compiled in release mode this function is unused, however, when compiled in debug mode, it's used within a LOG_TRACE statement. This prevents erroneous compilation warnings about an unused function (that isn't actually totally unused). | ||||
* | Merge pull request #1545 from DarkLordZach/psm | bunnei | 2018-10-22 | 1 | -0/+2 |
|\ | | | | | psm: Add psm service and stub commands 0 and 1 | ||||
| * | service: Add skeleton for psm service | Zach Hilman | 2018-10-21 | 1 | -0/+2 |
| | | | | | | | | Seems to be the power controller. Listed in switchbrew under the category PTM services. | ||||
* | | service: Add the basic skeleton for the NPNS services | Lioncash | 2018-10-21 | 1 | -2/+4 |
|/ | |||||
* | filesystem: Make CreateFactories() and InstallInterface() take a VfsFilesystem instance by reference | Lioncash | 2018-10-13 | 1 | -2/+2 |
| | | | | | | | Neither of these functions alter the ownership of the provided pointer, so we can simply make the parameters a reference rather than a direct shared pointer alias. This way we also disallow passing incorrect memory values like nullptr. | ||||
* | Merge pull request #1312 from lioncash/fwd | bunnei | 2018-09-17 | 1 | -1/+1 |
|\ | | | | | service/vi: Replace includes with forward declarations where applicable | ||||
| * | service/vi: Replace includes with forward declarations where applicable | Lioncash | 2018-09-13 | 1 | -1/+1 |
| | | |||||
* | | Port #4182 from Citra: "Prefix all size_t with std::" | fearlessTobi | 2018-09-15 | 1 | -2/+2 |
|/ | |||||
* | service: Remove unused g_kernel_named_ports variable | Lioncash | 2018-09-10 | 1 | -2/+0 |
| | | | | | With the named port functionality all migrated over to the kernel, there's no need to keep this around anymore. | ||||
* | service: Migrate global named port map to the KernelCore class | Lioncash | 2018-09-02 | 1 | -7/+2 |
| | | | | | | Now that we have a class representing the kernel in some capacity, we now have a place to put the named port map, so we move it over and get rid of another piece of global state within the core. | ||||
* | kernel: Eliminate kernel global state | Lioncash | 2018-08-29 | 1 | -2/+7 |
| | | | | | | | | | | | | | | | | | | | | | | As means to pave the way for getting rid of global state within core, This eliminates kernel global state by removing all globals. Instead this introduces a KernelCore class which acts as a kernel instance. This instance lives in the System class, which keeps its lifetime contained to the lifetime of the System class. This also forces the kernel types to actually interact with the main kernel instance itself instead of having transient kernel state placed all over several translation units, keeping everything together. It also has a nice consequence of making dependencies much more explicit. This also makes our initialization a tad bit more correct. Previously we were creating a kernel process before the actual kernel was initialized, which doesn't really make much sense. The KernelCore class itself follows the PImpl idiom, which allows keeping all the implementation details sealed away from everything else, which forces the use of the exposed API and allows us to avoid any unnecessary inclusions within the main kernel header. | ||||
* | core: Port core to VfsFilesystem for file access | Zach Hilman | 2018-08-09 | 1 | -2/+2 |
| | |||||
* | nvdrv: Get rid of global std::weak_ptr | Lioncash | 2018-08-08 | 1 | -1/+1 |
| | | | | | Rather than use global state, we can simply pass the instance into the NVFlinger instance directly. | ||||
* | service: Add usb services | Lioncash | 2018-08-07 | 1 | -0/+2 |
| | | | | Adds basic skeleton for the usb services based off the information provided by Switch Brew. | ||||
* | service: Add arp services | Lioncash | 2018-08-05 | 1 | -0/+2 |
| | | | | | Adds the basic skeleton of the arp services based off the information provided by Switch Brew. | ||||
* | Merge pull request #898 from lioncash/mig | bunnei | 2018-08-03 | 1 | -0/+2 |
|\ | | | | | service: Add migration services | ||||
| * | service: Add migration services | Lioncash | 2018-08-02 | 1 | -0/+2 |
| | | | | | | | | | | Adds the basic skeleton for the mig:usr service based off information provided by Switch Brew. | ||||
* | | service: Add psc services | Lioncash | 2018-08-02 | 1 | -0/+2 |
|/ | | | | | Adds the basic skeleton for the psc services based off the information provided by Switch Brew. | ||||
* | Merge pull request #888 from lioncash/caps | bunnei | 2018-08-02 | 1 | -0/+2 |
|\ | | | | | service: Add capture services | ||||
| * | service: Add capture services | Lioncash | 2018-08-01 | 1 | -0/+2 |
| | | | | | | | | | | Adds the basic skeleton for the capture services based off information provided by Switch Brew. | ||||
* | | service: Add bpc and pcv services | Lioncash | 2018-08-01 | 1 | -0/+4 |
|/ | | | | | Adds the basic skeleton for the remaining pcv-related services based off information on Switch Brew. | ||||
* | Merge pull request #875 from lioncash/fgm | bunnei | 2018-07-31 | 1 | -0/+2 |
|\ | | | | | service: Add fgm services | ||||
| * | service: Add fgm services | Lioncash | 2018-07-31 | 1 | -0/+2 |
| | | | | | | | | | | Adds the basic skeleton for the fgm services based off the information provided by Switch Brew. | ||||
* | | service: Add the pcie service | Lioncash | 2018-07-31 | 1 | -0/+2 |
|/ | | | | | Adds the basic skeleton of the pcie service based off information on Switch Brew. | ||||
* | Merge pull request #857 from lioncash/wlan | bunnei | 2018-07-30 | 1 | -1/+3 |
|\ | | | | | service: Add wlan services | ||||
| * | service: Add wlan services | Lioncash | 2018-07-29 | 1 | -1/+3 |
| | | | | | | | | | | Adds the basic skeleton for the wlan services based off the information on Switch Brew. | ||||
* | | service: Add btm services | Lioncash | 2018-07-29 | 1 | -0/+2 |
|/ | | | | | Adds the skeleton for the btm services based off the information on Switch Brew. | ||||
* | Merge pull request #847 from lioncash/ncm | bunnei | 2018-07-28 | 1 | -0/+2 |
|\ | | | | | service: Add ncm services | ||||
| * | service: Add ncm services | Lioncash | 2018-07-27 | 1 | -0/+2 |
| | | | | | | | | | | Adds the basic skeleton for the ncm services based off information on Switch Brew. | ||||
* | | Merge pull request #846 from lioncash/mii | bunnei | 2018-07-28 | 1 | -0/+2 |
|\ \ | |/ |/| | service: Add mii services | ||||
| * | service: Add mii services | Lioncash | 2018-07-27 | 1 | -0/+2 |
| | | | | | | | | | | Adds the skeleton for the mii services based off information provided by Switch Brew | ||||
* | | Merge pull request #845 from lioncash/nfc | bunnei | 2018-07-27 | 1 | -0/+2 |
|\ \ | | | | | | | service: Add nfc services | ||||
| * | | service: Add nfc services | Lioncash | 2018-07-27 | 1 | -0/+2 |
| |/ | | | | | | | | | Adds the skeleton of the nfc service based off the information provided on Switch Brew. | ||||
* | | Merge pull request #844 from lioncash/lbl | bunnei | 2018-07-27 | 1 | -0/+2 |
|\ \ | | | | | | | service: Add the lbl service | ||||
| * | | service: Add the lbl service | Lioncash | 2018-07-27 | 1 | -0/+2 |
| |/ | | | | | | | | | Adds the skeleton of the lbl service based off the information provided by Switch Brew. | ||||
* / | service: Add the btdrv service | Lioncash | 2018-07-27 | 1 | -1/+3 |
|/ | | | | Adds the skeleton for the btdrv service based off the information provided by Switch Brew | ||||
* | Merge pull request #834 from lioncash/grc | bunnei | 2018-07-26 | 1 | -0/+2 |
|\ | | | | | service: Add the grc:c service | ||||
| * | service: Add the grc:c service | Lioncash | 2018-07-26 | 1 | -0/+2 |
| | | | | | | | | | | Adds the basic skeleton for the grc:c service based off the information provided by Switch Brew. | ||||
* | | Merge pull request #832 from lioncash/nim | bunnei | 2018-07-26 | 1 | -0/+2 |
|\ \ | | | | | | | service: Add the nim services | ||||
| * | | service: Add the nim services | Lioncash | 2018-07-26 | 1 | -0/+2 |
| |/ | | | | | | | | | Adds the skeleton for the nim services based off information from Switch Brew. | ||||
* / | service: Add ldn services | Lioncash | 2018-07-26 | 1 | -0/+2 |
|/ | | | | Adds ldn services based off information provided by Switch Brew. | ||||
* | Merge pull request #828 from lioncash/ldr | Sebastian Valle | 2018-07-26 | 1 | -0/+2 |
|\ | | | | | service: Add ldr services | ||||
| * | service: Add ldr services | Lioncash | 2018-07-26 | 1 | -0/+2 |
| | | | | | | | | | | Adds the skeleton for the ldr-related services based off the information provided on Switch Brew. | ||||
* | | Merge pull request #826 from lioncash/erpt | Sebastian Valle | 2018-07-26 | 1 | -0/+4 |
|\ \ | |/ |/| | service: Add erpt and eupld services | ||||
| * | service: Add eupld services | Lioncash | 2018-07-26 | 1 | -0/+2 |
| | | | | | | | | | | Adds the skeleton for the eupld services based off information on Switch Brew. | ||||
| * | service: Add the erpt services | Lioncash | 2018-07-26 | 1 | -0/+2 |
| | | | | | | | | | | Adds the basic skeleton of the erpt service based off information on Switch Brew. | ||||
* | | Merge pull request #822 from lioncash/pm | bunnei | 2018-07-26 | 1 | -0/+2 |
|\ \ | |/ |/| | service: Add pm services | ||||
| * | service: Add pm services | Lioncash | 2018-07-25 | 1 | -0/+2 |
| | | | | | | | | | | Adds the skeleton for the process management services based off information on Switch Brew. | ||||
* | | service: Add the es service | Lioncash | 2018-07-25 | 1 | -0/+2 |
|/ | | | | | Adds the skeleton for the ETicket service based off the information on Switch Brew | ||||
* | Rename logging macro back to LOG_* | James Rowe | 2018-07-03 | 1 | -4/+4 |
| | |||||
* | Service/MM: add service and stub some functions | mailwl | 2018-06-05 | 1 | -0/+2 |
| | |||||
* | Service/BCAT: add module and services | mailwl | 2018-05-28 | 1 | -0/+2 |
| | |||||
* | Added RequestWithContext & ControlWithContext | David Marcec | 2018-05-17 | 1 | -0/+2 |
| | |||||
* | general: Make formatting of logged hex values more straightforward | Lioncash | 2018-05-02 | 1 | -4/+4 |
| | | | | | | This makes the formatting expectations more obvious (e.g. any zero padding specified is padding that's entirely dedicated to the value being printed, not any pretty-printing that also gets tacked on). | ||||
* | string_util: Remove StringFromFormat() and related functions | Lioncash | 2018-04-30 | 1 | -3/+2 |
| | | | | Given we utilize fmt, we don't need to provide our own functions for formatting anymore | ||||
* | general: Convert assertion macros over to be fmt-compatible | Lioncash | 2018-04-27 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of https://github.com/yuzu-emu/yuzu into service-impl | David Marcec | 2018-04-26 | 1 | -5/+5 |
|\ | |||||
| * | Service/PCTL: convert to module, add services, stub | mailwl | 2018-04-25 | 1 | -1/+1 |
| | | | | | | | | PCTL::CreateServiceWithoutInitialize and IParentalControlService::Initialize, required by Kirby Star Allies | ||||
| * | service: Move logging macros over to new fmt-compatible ones | Lioncash | 2018-04-24 | 1 | -5/+5 |
| | | |||||
* | | GetIUserInterface->CreateUserInterface, Added todos and stub logs. Playreport->PlayReport. | David Marcec | 2018-04-23 | 1 | -1/+1 |
| | | |||||
* | | Implemented GetIUserInterface properly, Playreport and SSL::SetInterfaceVersion. Fixed ipc issues with IAudioDevice(wrong ids) | David Marcec | 2018-04-22 | 1 | -0/+2 |
|/ | |||||
* | core: Relocate g_service_manager to the System class | Lioncash | 2018-04-21 | 1 | -27/+25 |
| | | | | | Converts the service manager from a global into an instance-based variable. | ||||
* | externals: Update fmt to 4d35f94 | Daniel Lim Wee Soong | 2018-04-02 | 1 | -6/+6 |
| | | | | | | | | | | | Versions prior to this didn't compile on OpenBSD due to unconditional use of the non-standard strtod_l() function. The fmt::MemoryWriter API has been removed in the intervening versions, so replace its use with fmt::memory_buffer and fmt::format_to. The library also no longer provides the fmt::fmt ALIAS, so define it in externals/CMakeLists.txt. | ||||
* | service: Add NFP module interface. | bunnei | 2018-03-30 | 1 | -0/+2 |
| | | | | | | service: Initialize NFP service. Log: Add NFP service as a log subtype. | ||||
* | Service/SSL: add ssl service | mailwl | 2018-03-23 | 1 | -0/+2 |
| | |||||
* | Service/spl: add module and services | mailwl | 2018-03-22 | 1 | -0/+2 |
| | |||||
* | Service: add fatal:u, fatal:p services | mailwl | 2018-03-20 | 1 | -0/+2 |
| | |||||
* | Clean Warnings (?) | N00byKing | 2018-03-19 | 1 | -1/+1 |
| | |||||
* | hle_ipc: Remove GetPointer(..) usage with WriteToOutgoingCommandBuffer. | bunnei | 2018-03-19 | 1 | -2/+1 |
| | |||||
* | core: Move process creation out of global state. | bunnei | 2018-03-14 | 1 | -2/+2 |
| | |||||
* | Service/Set: add more services | mailwl | 2018-03-03 | 1 | -1/+1 |
| | |||||
* | service: Add Friend service interface. | bunnei | 2018-02-19 | 1 | -0/+2 |
| | |||||
* | pl_u: Implement basic shared font loading from RAM dump. | bunnei | 2018-02-15 | 1 | -0/+2 |
| | |||||
* | Service:nifm: add nifm:a, nifm:s and nifm:u services | mailwl | 2018-02-03 | 1 | -0/+2 |
| | |||||
* | hle: Rename RequestBuilder to ResponseBuilder. | bunnei | 2018-01-25 | 1 | -1/+1 |
| | |||||
* | service: Fix all incorrect IPC response headers. | bunnei | 2018-01-25 | 1 | -1/+1 |
| | |||||
* | AppletOE: Make ISelfController keep a reference to nvflinger. | Subv | 2018-01-22 | 1 | -1/+1 |
| | | | | It'll be needed when we implement CreateManagedDisplayLayer. | ||||
* | Services: Vi shouldn't be responsible for creating nvflinger. | Subv | 2018-01-22 | 1 | -1/+5 |
| | | | | It is now created during Service initialization and passed to all the services that need it. | ||||
* | filesystem: Implement basic IStorage functionality. | David Marcec | 2018-01-21 | 1 | -0/+2 |
| | |||||
* | acc, set, applet_oe: stub various functions, add set service (#105) | goaaats | 2018-01-19 | 1 | -0/+2 |
| | | | | | | | | | | | | | | * Stubs for various acc:u0 funcs needed * Stub for GetDesiredLanguage in IApplicationFunctions * Add set service + stubs needed for games * Fix formatting * Implement IProfile, IManagerForApplication, return bool in CheckAvailability, style fixes * Remove IProfile::Get(needs more research), fix IPC response sizes | ||||
* | Start to implement/stub BSD:U and SFDNSRES services (#78) | flerovium^-^ | 2018-01-18 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bsd: start stubbing bsd:u and sfdnsres * bsd: stubbed RegisterClient * bsd: attempt to get past socket() * bsd: fix some wrong assumptions about IPC * bsd: fix format specifiers * bsd: stubbed Connect() * bsd: stubbed SendTo() * made requested changes * sockets: respect alphabetical order at service installation * run clang-format * bsd: start stubbing bsd:u and sfdnsres * bsd: stubbed RegisterClient * bsd: attempt to get past socket() * bsd: fix some wrong assumptions about IPC * bsd: fix format specifiers * bsd: stubbed Connect() * bsd: stubbed SendTo() * made requested changes * sockets: respect alphabetical order at service installation * run clang-format * run clang-format (2) | ||||
* | acc_u0: Add IPC interface and stub InitializeApplicationInfo. | bunnei | 2018-01-17 | 1 | -0/+2 |
| | |||||
* | NV: Move the nvdrv classes into the Nvidia namespace, and move the functionality to a s single module that services call. | Subv | 2018-01-17 | 1 | -1/+1 |
| | |||||
* | time: Implement GetStandardUserSystemClock, GetCurrentTime. | bunnei | 2018-01-15 | 1 | -1/+4 |
| | |||||
* | audio: Stub out AudOutU::ListAudioOuts. | bunnei | 2018-01-15 | 1 | -0/+2 |
| | |||||
* | hid: Implement IAppletResource::GetSharedMemoryHandle. | bunnei | 2018-01-15 | 1 | -4/+1 |
| | |||||
* | yuzu: Update license text to be consistent across project. | bunnei | 2018-01-13 | 1 | -1/+1 |
| | |||||
* | Remove settings issues in sdl and fix a few files that broke in mingw | James Rowe | 2018-01-13 | 1 | -2/+0 |
| | |||||
* | NV: Implemented (with stubs) the vi:m service and some of its subservices. | Subv | 2018-01-11 | 1 | -0/+4 |
| | | | | The homebrew display test application now properly writes graphics data to the graphics buffer but we still don't have a way to compose the display layers. | ||||
* | kernel: Fix implementation of ConvertSessionToDomain. | bunnei | 2017-12-29 | 1 | -11/+2 |
| | |||||
* | service: Add empty interface for pctl:a. | bunnei | 2017-12-29 | 1 | -0/+2 |
| | |||||
* | service: Halt on ReportUnimplementedFunction and improve output log. | bunnei | 2017-12-28 | 1 | -4/+2 |
| | |||||
* | service: Add empty interface for aoc:u. | bunnei | 2017-12-28 | 1 | -0/+2 |
| | |||||
* | service: Return proper result code for IPC::CommandType::Close. | bunnei | 2017-11-01 | 1 | -2/+4 |
| | |||||
* | service: Add CreatePort function (that does not register/install). | bunnei | 2017-10-19 | 1 | -0/+10 |
| | |||||
* | service: Print correct command ID on unimplemented function. | bunnei | 2017-10-18 | 1 | -1/+1 |
| | |||||
* | hle: Implement ConvertSessionToDomain, various cleanups. | bunnei | 2017-10-15 | 1 | -12/+11 |
| | |||||
* | hle: Add service stubs for apm and appletOE. | bunnei | 2017-10-15 | 1 | -0/+4 |
| | |||||
* | hle: Initial implementation of NX service framework and IPC. | bunnei | 2017-10-15 | 1 | -72/+43 |
| | |||||
* | Remove more 3DS-specific code. | bunnei | 2017-10-13 | 1 | -2/+0 |
| | |||||
* | Remove more 3DS-specific code. | bunnei | 2017-10-13 | 1 | -9/+0 |
| | |||||
* | hle: Remove a large amount of 3ds-specific service code. | bunnei | 2017-10-10 | 1 | -70/+2 |
| | |||||
* | Services/NS: Port ns:s to the new service framework. | Subv | 2017-09-16 | 1 | -2/+3 |
| | |||||
* | Merge pull request #2790 from yuriks/remove-movefrom | Yuri Kunde Schlesner | 2017-06-21 | 1 | -1/+1 |
|\ | | | | | Remove ResultVal::MoveFrom | ||||
| * | ResultVal: Remove MoveFrom() | Yuri Kunde Schlesner | 2017-06-19 | 1 | -1/+1 |
| | | | | | | | | | | Replace it with std::move(result_val).Unwrap(), or Foo().Unwrap() in case you already have an rvalue. | ||||
* | | Kernel/IPC: Make HLERequestContext usable from outside kernel | Yuri Kunde Schlesner | 2017-06-19 | 1 | -2/+1 |
|/ | |||||
* | Kernel: Basic support for IPC translation for HLE services | Yuri Kunde Schlesner | 2017-06-11 | 1 | -12/+5 |
| | |||||
* | ServiceFramework: Use separate copy of command buffer | Yuri Kunde Schlesner | 2017-06-11 | 1 | -6/+20 |
| | | | | | | Copy the IPC command buffer to/from the request context before/after the handler is invoked. This is part of a move away from using global data for handling IPC requests. | ||||
* | Service/sm: Convert 'srv:' to ServiceFramework | Yuri Kunde Schlesner | 2017-06-09 | 1 | -2/+3 |
| | |||||
* | Service: Remove a few redundant namespace qualifiers | Yuri Kunde Schlesner | 2017-06-08 | 1 | -5/+5 |
| | |||||
* | Service: Add new ServiceFramework framework for writing HLE services | Yuri Kunde Schlesner | 2017-06-08 | 1 | -1/+82 |
| | | | | | | | | | | | | The old "Interface" class had a few problems such as using free functions (Which didn't allow you to write the service handler as if it were a regular class.) which weren't very extensible. (Only received one parameter with a pointer to the Interface object.) The new ServiceFramework aims to solve these problems by working with member functions and passing a generic context struct as parameter. This struct can be extended in the future without having to update all existing service implementations. | ||||
* | Service: Remove unnecessary includes from service.h | Yuri Kunde Schlesner | 2017-06-06 | 1 | -0/+1 |
| | | | | | This has a huge fallout in terms of needing to fix other files because all service implementations included that file. | ||||
* | Service: Make service registration part of the sm implementation | Yuri Kunde Schlesner | 2017-06-06 | 1 | -8/+7 |
| | | | | Also enhances the GetServiceHandle implementation to be more accurate. | ||||
* | Service: Move SRV interface to a new sm/ subdirectory | Yuri Kunde Schlesner | 2017-06-06 | 1 | -2/+2 |
| | | | | | This will contain the implementation of the sm (Service Manager) system module. | ||||
* | Kernel: Add a dedicated SetHleHandler method to ServerPort/ServerSession | Yuri Kunde Schlesner | 2017-06-06 | 1 | -8/+12 |
| | | | | | | This allows attaching a HLE handle to a ServerPort at any point after it is created, allowing port/session creation to be generic between HLE and regular services. | ||||
* | HLE: Move SessionRequestHandler from Service:: to Kernel:: | Yuri Kunde Schlesner | 2017-06-06 | 1 | -12/+1 |
| | | | | | Most of the code that works with this is or will be in the kernel, so it's a more appropriate place for it to be. | ||||
* | Merge pull request #2308 from mailwl/ac-i | bunnei | 2017-01-12 | 1 | -3/+3 |
|\ | | | | | Service/AC: add ac:i service | ||||
| * | Service/AC: add ac:i service | mailwl | 2016-12-30 | 1 | -3/+3 |
| | | |||||
* | | Service/NFC: stub GetTagInRangeEvent | mailwl | 2016-12-30 | 1 | -0/+1 |
|/ | | | | Fix Fatal Error in Mini-Mario & Friends - amiibo Challenge | ||||
* | Service/NWM: add nwm services | mailwl | 2016-12-22 | 1 | -3/+2 |
| | |||||
* | Merge pull request #2314 from mailwl/account | bunnei | 2016-12-15 | 1 | -4/+2 |
|\ | | | | | Service/ACT: move ACT services to folder | ||||
| * | Service/ACT: move ACT services to folder | mailwl | 2016-12-14 | 1 | -4/+2 |
| | | |||||
* | | Merge pull request #2249 from Subv/sessions_v3 | Yuri Kunde Schlesner | 2016-12-15 | 1 | -8/+34 |
|\ \ | |/ |/| | Kernel/IPC: Use Ports and Sessions as the fundamental building block of Inter Process Communication. | ||||
| * | Fixed the codestyle to match our clang-format rules. | Subv | 2016-12-14 | 1 | -9/+12 |
| | | |||||
| * | Moved the HLE command buffer translation task to ServerSession instead of the HLE handler superclass. | Subv | 2016-12-09 | 1 | -21/+1 |
| | | |||||
| * | Kernel/IPC: Small codestyle cleanup | Subv | 2016-12-09 | 1 | -1/+1 |
| | | |||||
| * | Added a framework for partially handling Session disconnections. | Subv | 2016-12-08 | 1 | -0/+10 |
| | | | | | | | | | | | | Further implementation will happen in a future commit. Fixes a regression. | ||||
| * | Use std::move where appropriate. | Subv | 2016-12-08 | 1 | -2/+5 |
| | | |||||
| * | Split SessionRequestHandler::HandleSyncRequest into HandleSyncRequest, TranslateRequest and HandleSyncRequestImpl. | Subv | 2016-12-05 | 1 | -4/+23 |
| | | | | | | | | HandleSyncRequest now takes care of calling the command buffer translate function before actually invoking the command handler for HLE services. | ||||
| * | KServerPorts now have an HLE handler "template", which is inherited by all ServerSessions created from it. | Subv | 2016-12-05 | 1 | -6/+8 |
| | | |||||
| * | A bit of a redesign. | Subv | 2016-12-01 | 1 | -6/+11 |
| | | | | | | | | | | | | | | Sessions and Ports are now detached from each other. HLE services are handled by means of a SessionRequestHandler class, Interface now inherits from this class. The File and Directory classes are no longer kernel objects, but SessionRequestHandlers instead, bound to a ServerSession when requested. File::OpenLinkFile now creates a new session pair and binds the File instance to it. | ||||
| * | IPC/HLE: Associate the ClientSessions with their parent port's HLE interface if it exists. | Subv | 2016-12-01 | 1 | -3/+5 |
| | | | | | | | | Pass the triggering ServerSession to the HLE command handler to differentiate which session caused the request. | ||||
| * | Kernel/HLE: Service::Interface no longer inherits from any Kernel object, and is now its own standalone class. | Subv | 2016-12-01 | 1 | -8/+4 |
| | | | | | | | | Interface is now used by aggregation in ClientPort, to forward service commands to their HLE implementation if needed. | ||||
| * | Kernel/IPC: Use Ports and Sessions as the fundamental building block of Inter Process Communication. | Subv | 2016-12-01 | 1 | -5/+11 |
| | | | | | | | | | | | | | | All handles obtained via srv::GetServiceHandle or svcConnectToPort are references to ClientSessions. Service modules will wait on the counterpart of those ClientSessions (Called ServerSessions) using svcReplyAndReceive or svcWaitSynchronization[1|N], and will be awoken when a SyncRequest is performed. HLE Interfaces are now ClientPorts which override the HandleSyncRequest virtual member function to perform command handling immediately. | ||||
* | | Add all services to the Service namespace | Lioncash | 2016-12-11 | 1 | -17/+17 |
| | | | | | | | | | | Previously there was a split where some of the services were in the Service namespace and others were not. | ||||
* | | service: Add mvd and qtm services | Lioncash | 2016-12-08 | 1 | -0/+4 |
| | | | | | | | | | | | | Adds the two New3DS-only modules. 3dbrew was used for command information. | ||||
* | | service: Add nfc services | Lioncash | 2016-12-08 | 1 | -30/+32 |
|/ | | | | 3dbrew was used for the command information. | ||||
* | Use negative priorities to avoid special-casing the self-include | Yuri Kunde Schlesner | 2016-09-21 | 1 | -1/+1 |
| | |||||
* | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 2016-09-21 | 1 | -17/+15 |
| | | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | ||||
* | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 2016-09-18 | 1 | -9/+14 |
| | |||||
* | LDR: Implement CRO | wwylele | 2016-08-27 | 1 | -1/+1 |
| | |||||
* | service: Add other DLP services | Lioncash | 2016-06-05 | 1 | -2/+3 |
| | | | | | | Specifically, dlp::CLNT and dlp::FKCL Moves them to their own folder like with other services. | ||||
* | Update ACT:U and create ACT:A (#1809) | András Domonkos | 2016-05-18 | 1 | -0/+2 |
| | | | | | | | | * Update ACT_U * Create act_a.h * Create act_a.cpp * Add service ACT:A * Add ACT:A source and header * Fix wrong header | ||||
* | Merge pull request #1435 from mailwl/frd_u | bunnei | 2016-04-06 | 1 | -2/+1 |
|\ | | | | | frd:u: Initial stub some functions | ||||
| * | frd:u: Initial stub some functions | mailwl | 2016-03-27 | 1 | -2/+1 |
| | | |||||
* | | Dummy implementation dlp:SRVR Service. | exhalatio | 2016-04-02 | 1 | -0/+2 |
|/ | |||||
* | Reorganize the ndm service path for dummy implement function | JamePeng | 2016-03-14 | 1 | -2/+3 |
| | | | | | | SuspendDaemons , ResumeDaemons , OverrideDefaultDaemons The NDM file move to /core/hle/service/ndm/ now! | ||||
* | Change trace/unimplemented service call logs to use hex | archshift | 2015-07-19 | 1 | -1/+1 |
| | | | | Changes the log to use hex in the parameter list instead of decimal. | ||||
* | Services: Continue separation of services into their own folders | purpasmart96 | 2015-06-12 | 1 | -32/+26 |
| | |||||
* | Remove every trailing whitespace from the project (but externals). | Emmanuel Gil Peyrot | 2015-05-29 | 1 | -1/+1 |
| | |||||
* | Common: Remove common.h | Yuri Kunde Schlesner | 2015-05-07 | 1 | -1/+1 |
| | |||||
* | De-inline functions from Interface, removing them from service.h | Yuri Kunde Schlesner | 2015-04-14 | 1 | -0/+43 |
| | | | | This reduces the time for a full recompile from 65.43s to 59.53s (~9%) | ||||
* | IR: Move The IR services to their own folder and implement "GetHandles" | purpasmart96 | 2015-04-04 | 1 | -4/+3 |
| | |||||
* | Services: Stubs and minor changes | purpasmart96 | 2015-04-03 | 1 | -8/+10 |
| | |||||
* | Services: Moved the PTM and APT services to their own folder | Subv | 2015-03-04 | 1 | -28/+22 |
| | | | | | | This coincidentally fixes an issue about the PTM service failing to create its SharedExtSaveData archive due to the FS service not being initialized by the time the creating code runs. Ideally I'd like to move each process to its own folder, and have a single file per process that registers the service classes, which would be in their own files inside that folder. Then each service class would just call functions from the process to complete the commands. | ||||
* | Services: Fixed "Tried to connect to named port err:f". | Subv | 2015-02-16 | 1 | -1/+1 |
| | | | | err:f is a named port, not a service | ||||
* | Make Port/Service registration and querying more HW-accurate | Yuri Kunde Schlesner | 2015-02-02 | 1 | -75/+55 |
| | |||||
* | Services: Stubbed more services. | Subv | 2015-01-24 | 1 | -1/+15 |
| | | | | Implemented FSUser::CreateExtSaveData | ||||
* | Merge pull request #493 from archshift/ptmplay | bunnei | 2015-01-22 | 1 | -0/+4 |
|\ | | | | | Stubbed some services | ||||
| * | Stubbed cam:u service | archshift | 2015-01-21 | 1 | -0/+2 |
| | | |||||
| * | Stubbed ptm:play service | archshift | 2015-01-21 | 1 | -0/+2 |
| | | |||||
* | | Added HID_SPVR service and split HID_U implementation into service/hid/hid.xxx | archshift | 2015-01-21 | 1 | -1/+3 |
|/ | |||||
* | Services: Added some missing services. | Subv | 2015-01-13 | 1 | -0/+6 |
| | | | | | cfg:s, ptm:sysm, apt:s. apt:s is almost exactly the same as apt:u as per 3dbrew | ||||
* | Kernel: Start using boost::intrusive_ptr for lifetime management | Yuri Kunde Schlesner | 2015-01-09 | 1 | -1/+2 |
| | |||||
* | Fix double-free in Service manager during shutdown | Yuri Kunde Schlesner | 2015-01-07 | 1 | -14/+0 |
| | | | | Fixes #423. | ||||
* | Stub the y2r:u service | archshift | 2015-01-03 | 1 | -0/+2 |
| | |||||
* | Kernel: New handle manager | Yuri Kunde Schlesner | 2014-12-28 | 1 | -1/+2 |
| | | | | | | | | | | | This handle manager more closely mirrors the behaviour of the CTR-OS one. In addition object ref-counts and support for DuplicateHandle have been added. Note that support for DuplicateHandle is still experimental, since parts of the kernel still use Handles internally, which will likely cause troubles if two different handles to the same object are used to e.g. wait on a synchronization primitive. | ||||
* | Rename ObjectPool to HandleTable | Yuri Kunde Schlesner | 2014-12-28 | 1 | -2/+2 |
| | |||||
* | More services & small clean ups | purpasmart96 | 2014-12-26 | 1 | -2/+10 |
| | |||||
* | CFG: Create a new subfolder cfg inside service to handle cfg | Subv | 2014-12-21 | 1 | -2/+2 |
| | | | | Moved most of the shared CFG code there, implemented a few CFG:I functions | ||||
* | License change | purpasmart96 | 2014-12-21 | 1 | -1/+1 |
| | |||||
* | Merge pull request #283 from yuriks/archive-refactor | bunnei | 2014-12-16 | 1 | -2/+2 |
|\ | | | | | Archive refactor | ||||
| * | HLE: Rename namespaces to match move & fix initialization order | Yuri Kunde Schlesner | 2014-12-16 | 1 | -1/+1 |
| | | |||||
| * | HLE: Move kernel/archive.* to service/fs/ | Yuri Kunde Schlesner | 2014-12-16 | 1 | -1/+1 |
| | | |||||
* | | Added stub for nim:aoc service... | archshift | 2014-12-16 | 1 | -0/+2 |
| | | |||||
* | | Added stub for cecd:u service... | archshift | 2014-12-16 | 1 | -0/+2 |
| | | | | | | | | I couldn't find any information about this service... | ||||
* | | Added stub for ldr:ro service... | archshift | 2014-12-16 | 1 | -0/+2 |
| | | |||||
* | | Added am:app service stub. | archshift | 2014-12-16 | 1 | -0/+2 |
|/ | | | | Apparently nothing at all is known about this service... | ||||
* | Convert old logging calls to new logging macros | Yuri Kunde Schlesner | 2014-12-13 | 1 | -2/+2 |
| | |||||
* | HLE: Revamp error handling throrough the HLE code | Yuri Kunde Schlesner | 2014-11-24 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | All service calls in the CTR OS return result codes indicating the success or failure of the call. Previous to this commit, Citra's HLE emulation of services and the kernel universally either ignored errors or returned dummy -1 error codes. This commit makes an initial effort to provide an infrastructure for error reporting and propagation which can be use going forward to make HLE calls accurately return errors as the original system. A few parts of the code have been updated to use the new system where applicable. One part of this effort is the definition of the `ResultCode` type, which provides facilities for constructing and parsing error codes in the structured format used by the CTR. The `ResultVal` type builds on `ResultCode` by providing a container for values returned by function that can report errors. It enforces that correct error checking will be done on function returns by preventing the use of the return value if the function returned an error code. Currently this change is mostly internal since errors are still suppressed on the ARM<->HLE border, as a temporary compatibility hack. As functionality is implemented and tested this hack can be eventually removed. | ||||
* | Add more services and some fixes, along with more "override" | purpasmart96 | 2014-11-21 | 1 | -0/+12 |
| | | | | in the service's headers | ||||
* | Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated | Emmanuel Gil Peyrot | 2014-11-19 | 1 | -1/+1 |
| | |||||
* | Add missing boss:U service, needed according to Nintendo Zone logs. | archshift | 2014-11-17 | 1 | -0/+2 |
| | |||||
* | Add FRD:U service and functions | archshift | 2014-11-11 | 1 | -0/+2 |
| | |||||
* | Added stub err:f service. | archshift | 2014-11-02 | 1 | -0/+2 |
| | |||||
* | Added a bunch of services | purpasmart96 | 2014-11-01 | 1 | -0/+16 |
| | |||||
* | Renamed souce files of services to match port names | Gareth Poole | 2014-10-29 | 1 | -5/+5 |
| | |||||
* | core: Prune redundant includes | archshift | 2014-09-09 | 1 | -5/+0 |
| | |||||
* | core: Pass string by reference in FetchFromPortName and DeleteService | Lioncash | 2014-09-06 | 1 | -2/+2 |
| | |||||
* | FS: Added stubbed code to intercept and decode file system service functions. | bunnei | 2014-06-27 | 1 | -0/+2 |
| | | | | FS: Added to CMakeLists.txt | ||||
* | HLE: Updated all uses of NULL to nullptr (to be C++11 compliant) | bunnei | 2014-06-13 | 1 | -2/+2 |
| | |||||
* | service: removed PT_A from, as this was just an alias for APT_U | bunnei | 2014-05-30 | 1 | -2/+0 |
| | |||||
* | hle: cleaned up log messages | bunnei | 2014-05-30 | 1 | -2/+6 |
| | |||||
* | - created a Kernel namespace | bunnei | 2014-05-21 | 1 | -2/+2 |
| | | | | | - cleaned up Kernel code a bit (moved stuff into namespace, fixed whitespace issues) - added handle types for all different CTROS handles | ||||
* | - updated service(s) to be KernelObject's | bunnei | 2014-05-19 | 1 | -15/+7 |
| | | | | - various cleanups | ||||
* | renamed "UID" to "Handle" where appropriate | bunnei | 2014-05-19 | 1 | -8/+8 |
| | |||||
* | added class stub for HID:User service | bunnei | 2014-04-17 | 1 | -0/+2 |
| | |||||
* | - added stubbed out GSP::Gpu service interface | bunnei | 2014-04-16 | 1 | -0/+4 |
| | | | | - various cleanups/refactors to HLE services | ||||
* | fixed naming for APT_U | bunnei | 2014-04-16 | 1 | -1/+1 |
| | |||||
* | - extracted srv: calls from service.cpp and put in its own module | bunnei | 2014-04-16 | 1 | -80/+4 |
| | | | | | - added function tables for service calls - lots of refactoring | ||||
* | added a stub for GetLockHandle | bunnei | 2014-04-14 | 1 | -3/+7 |
| | |||||
* | added framework for APT service (application and title launching service) | bunnei | 2014-04-13 | 1 | -5/+24 |
| | |||||
* | renamed class Interface_SRV to SRV | bunnei | 2014-04-13 | 1 | -6/+6 |
| | |||||
* | added some very initial command parsing for SRV Sync | bunnei | 2014-04-13 | 1 | -5/+31 |
| | |||||
* | cleanups to service HLE | bunnei | 2014-04-13 | 1 | -6/+6 |
| | |||||
* | - added HLE to connect to "srv:" service | bunnei | 2014-04-13 | 1 | -0/+115 |
- added a manager for keeping track of services/ports - added a memory mapped region for memory accessed by HLE - added HLE for GetThreadCommandBuffer function |