FearlessTobi
4afebf26b6
sm/controller: Increase PointerBufferSize
This increases the PointerBufferSize as a lager one is required by some services.
This change is still not hw-accurate, but it is proven to work in Ryujinx.
Instead of using a hardcoded size, we should figure out the specific values for each service in the future. Some of them can be taken from Atmosphere: https://github.com/Atmosphere-NX/Atmosphere/search?q=PointerBufferSize .
6 years ago
bunnei
c3d3b173d3
kernel: Implement a more accurate IPC dispatch.
6 years ago
bunnei
9046d4a548
kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. ( #3154 )
* kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects.
- See https://github.com/citra-emu/citra/pull/4710 for details.
6 years ago
Lioncash
221613d4ea
kernel/server_session: Make data members private
Makes it much nicer to locally reason about server session behavior, as
part of its functionality isn't placed around other classes.
7 years ago
David Marcec
a2cc3b10bb
Changed logging to be "Log before execution", Added more error logging, all services should now log on some level
7 years ago
Lioncash
e42bb5e003
service: Add missing headers inclusions where applicable
Gets rid of a few indirect inclusions.
7 years ago
Lioncash
56ab608044
core/core: Remove unnecessary sm/controller include
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.
7 years ago
Lioncash
aac5792a2b
kernel/server_session: Add IsSession() member function
Allows querying the inverse of IsDomain() to make things more readable.
This will likely also be usable in the event of implementing
ConvertDomainToSession().
7 years ago
Lioncash
5752454629
sm/controller: Correct return value of QueryPointerBufferSize
This should be returning a u16 according to Switch Brew.
7 years ago
James Rowe
638956aa81
Rename logging macro back to LOG_*
8 years ago
Lioncash
2a3f3bf977
sm: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
ccca5e7c28
service: Use nested namespace specifiers where applicable
Tidies up namespace declarations
8 years ago
bunnei
72c5bfb1fa
controller: DuplicateSession should return a ClientSession.
8 years ago
bunnei
714a576113
ResponseBuilder: Use a bit field for customizing instead of always_move_handles.
8 years ago
bunnei
1b1d399e5f
hle: Rename RequestBuilder to ResponseBuilder.
8 years ago
bunnei
f9dae99006
service: Fix all incorrect IPC response headers.
8 years ago
bunnei
27bad0598a
hle: Integrate Domain handling into ServerSession.
8 years ago
bunnei
67758857e4
hle: Remove Domain and SyncObject kernel objects.
8 years ago
bunnei
6a36ffb86c
controller: Use DuplicateSession for DuplicateSessionEx.
8 years ago
bunnei
1247c53786
yuzu: Update license text to be consistent across project.
8 years ago
Subv
c12c756539
IPC: Make DuplicateSession return the Domain instead of the Session if the request was made on a Domain interface.
8 years ago
Subv
ad965501d0
IPC: Corrected some command headers in the IPC Controller interface.
8 years ago
Subv
0368324f79
IPC Cleanup: Remove 3DS-specific code and translate copy, move and domain objects in IPC requests.
Popping objects from the buffer is still not implemented.
8 years ago
bunnei
30e98fae3f
controller: Implement DuplicateSession.
8 years ago
bunnei
dcdaac8a0b
kernel: Fix implementation of ConvertSessionToDomain.
8 years ago
bunnei
ad073846bc
service: Clean up apm/lm/applet_oe/controller/sm ctor/dtor.
8 years ago
bunnei
4fb1b24d68
hle: Implement ConvertSessionToDomain, various cleanups.
8 years ago
bunnei
960a1416de
hle: Initial implementation of NX service framework and IPC.
8 years ago