Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2018-11-26 | Changed logging to be "Log before execution", Added more error logging, all services should now log on some level | David Marcec | 2 | -6/+9 | |
2018-11-24 | service/sm: Take std::string by const reference in UnregisterService | Lioncash | 2 | -2/+2 | |
Avoids the need to create a copy of the std::string instance (potentially allocating). The only reason RegisterService takes its argument by value is because it's std::moved internally. | |||||
2018-11-04 | sm: Implement RegisterService and UnregisterService | Zach Hilman | 2 | -2/+55 | |
These are needed by Edizon to boot. They are used to see if a user is using SX OS, as SX OS registers a custom service called 'tx' and attempting to register a service of the same name lets the application know if it is present. | |||||
2018-10-06 | Ported #4296 from citra | David Marcec | 1 | -0/+19 | |
This will allow us to easily remove the use of "NFC" in "System" | |||||
2018-09-25 | service: Add missing headers inclusions where applicable | Lioncash | 1 | -0/+3 | |
Gets rid of a few indirect inclusions. | |||||
2018-09-19 | Removed the use of rp.MakeBuilder | David Marcec | 1 | -3/+2 | |
Due to keeping the code style consistent in the yuzu codebase. `rb = rp.MakeBuilder(...)` was replaced with `rb{ctx, ...}` | |||||
2018-09-14 | services/sm: Amend error code constants | Lioncash | 2 | -8/+6 | |
Courtesy of @ogniK5377. This also moves them into the cpp file and limits the visibility to where they're directly used. It also gets rid of unused or duplicate error codes. | |||||
2018-09-06 | core/core: Remove unnecessary sm/controller include | Lioncash | 4 | -1/+5 | |
The only reason this include was necessary, was because the constructor wasn't defaulted in the cpp file and the compiler would inline it wherever it was used. However, given Controller is forward declared, all those inlined constructors would see an incomplete type, causing a compilation failure. So, we just place the constructor in the cpp file, where it can see the complete type definition, allowing us to remove this include. | |||||
2018-08-29 | kernel: Eliminate kernel global state | Lioncash | 1 | -1/+4 | |
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. | |||||
2018-08-15 | kernel/server_session: Add IsSession() member function | Lioncash | 1 | -1/+1 | |
Allows querying the inverse of IsDomain() to make things more readable. This will likely also be usable in the event of implementing ConvertDomainToSession(). | |||||
2018-08-15 | sm/controller: Correct return value of QueryPointerBufferSize | Lioncash | 1 | -1/+1 | |
This should be returning a u16 according to Switch Brew. | |||||
2018-08-02 | kernel: Move object class to its own source files | Lioncash | 1 | -3/+5 | |
General moving to keep kernel object types separate from the direct kernel code. Also essentially a preliminary cleanup before eliminating global kernel state in the kernel code. | |||||
2018-07-19 | hle/service: Make constructors explicit where applicable | Lioncash | 1 | -1/+1 | |
Prevents implicit construction and makes these lingering non-explicit constructors consistent with the rest of the other classes in services. | |||||
2018-07-03 | Update clang format | James Rowe | 1 | -2/+1 | |
2018-07-03 | Rename logging macro back to LOG_* | James Rowe | 2 | -7/+7 | |
2018-05-02 | general: Make formatting of logged hex values more straightforward | Lioncash | 1 | -1/+1 | |
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). | |||||
2018-04-24 | sm: Move logging macros over to new fmt-compatible ones | Lioncash | 2 | -9/+8 | |
2018-04-21 | core: Relocate g_service_manager to the System class | Lioncash | 2 | -4/+6 | |
Converts the service manager from a global into an instance-based variable. | |||||
2018-04-20 | service: Use nested namespace specifiers where applicable | Lioncash | 4 | -16/+8 | |
Tidies up namespace declarations | |||||
2018-02-05 | Dont call UNIMPLEMENTED for 'empty services', just return error code | David Marcec | 1 | -0/+2 | |
2018-02-03 | controller: DuplicateSession should return a ClientSession. | bunnei | 1 | -4/+9 | |
2018-01-25 | ResponseBuilder: Use a bit field for customizing instead of always_move_handles. | bunnei | 2 | -2/+3 | |
2018-01-25 | hle: Rename RequestBuilder to ResponseBuilder. | bunnei | 2 | -6/+6 | |
2018-01-25 | service: Fix all incorrect IPC response headers. | bunnei | 2 | -5/+4 | |
2018-01-25 | hle: Integrate Domain handling into ServerSession. | bunnei | 1 | -7/+5 | |
2018-01-25 | hle: Remove Domain and SyncObject kernel objects. | bunnei | 1 | -1/+0 | |
2018-01-20 | Added CreateSharedMemory & UNIMPLEMENTED() for non existent services. (#113) | David | 1 | -0/+1 | |
* Added svcCreateSharedMemory * Services which are not implemented now throw UNIMPLEMENTED() * clang-format * changed perms to u32 * removed camelcase | |||||
2018-01-18 | controller: Use DuplicateSession for DuplicateSessionEx. | bunnei | 2 | -1/+8 | |
2018-01-13 | yuzu: Update license text to be consistent across project. | bunnei | 4 | -4/+4 | |
2018-01-07 | IPC: Make DuplicateSession return the Domain instead of the Session if the request was made on a Domain interface. | Subv | 1 | -1/+5 | |
2018-01-07 | IPC: Corrected some command headers in the IPC Controller interface. | Subv | 1 | -4/+2 | |
2018-01-07 | IPC: Take the number of domain objects as a parameter in MakeBuilder. | Subv | 1 | -2/+2 | |
2018-01-07 | SM: Fixed connecting to services with an 8-byte name, like appletOE. | Subv | 1 | -12/+4 | |
2018-01-07 | IPC: Fixed pushing ResultCodes into the command buffer. | Subv | 1 | -2/+2 | |
They should have 32 bits of padding after the error code now. | |||||
2018-01-07 | IPC Cleanup: Remove 3DS-specific code and translate copy, move and domain objects in IPC requests. | Subv | 2 | -2/+2 | |
Popping objects from the buffer is still not implemented. | |||||
2018-01-07 | IPC: Skip the entire u64 of the command id when receiving an IPC request. | Subv | 1 | -14/+3 | |
Service code now doesn't have to deal with this. | |||||
2017-12-29 | controller: Implement DuplicateSession. | bunnei | 2 | -9/+11 | |
2017-12-29 | kernel: Fix implementation of ConvertSessionToDomain. | bunnei | 1 | -12/+6 | |
2017-12-28 | service: Clean up apm/lm/applet_oe/controller/sm ctor/dtor. | bunnei | 4 | -8/+4 | |
2017-11-01 | hle: Use Switch formatted result codes. | bunnei | 1 | -13/+5 | |
2017-10-15 | hle: Implement ConvertSessionToDomain, various cleanups. | bunnei | 3 | -10/+28 | |
2017-10-15 | hle: Add service stubs for apm and appletOE. | bunnei | 1 | -1/+1 | |
2017-10-15 | hle: Initial implementation of NX service framework and IPC. | bunnei | 6 | -280/+168 | |
2017-09-24 | HLE/SRV: Implemented RegisterService. | Subv | 4 | -1/+33 | |
Now system modules can do more than just crash immediately on startup. | |||||
2017-06-19 | ResultVal: Remove MoveFrom() | Yuri Kunde Schlesner | 1 | -2/+2 | |
Replace it with std::move(result_val).Unwrap(), or Foo().Unwrap() in case you already have an rvalue. | |||||
2017-06-11 | Service/sm: Convert srv: to use IPC helpers | Yuri Kunde Schlesner | 1 | -49/+56 | |
2017-06-09 | Service/sm: Convert 'srv:' to ServiceFramework | Yuri Kunde Schlesner | 4 | -49/+72 | |
2017-06-06 | Service: Remove unnecessary includes from service.h | Yuri Kunde Schlesner | 2 | -0/+4 | |
This has a huge fallout in terms of needing to fix other files because all service implementations included that file. | |||||
2017-06-06 | Service: Make service registration part of the sm implementation | Yuri Kunde Schlesner | 3 | -14/+138 | |
Also enhances the GetServiceHandle implementation to be more accurate. | |||||
2017-06-06 | Service/sm: Use an actual semaphore for the notification semaphore | Yuri Kunde Schlesner | 1 | -8/+9 | |
An Event was used way back then when we didn't have proper working semaphores. Our Semaphore implementation is good enough now. | |||||
2017-06-06 | Service: Move SRV interface to a new sm/ subdirectory | Yuri Kunde Schlesner | 2 | -0/+213 | |
This will contain the implementation of the sm (Service Manager) system module. |