bunnei
14e52144e2
hle: kernel: KSession: Improve implementation of CloneCurrentObject.
5 years ago
bunnei
1e211a1b15
hle: service: sm: Increase point buffer size.
5 years ago
bunnei
796dddf78f
hle: kernel: Remove deprecated Object class.
5 years ago
bunnei
83b96b7264
hle: kernel: Migrate KSession, KClientSession, and KServerSession to KAutoObject.
5 years ago
bunnei
8b224f05c9
hle: kernel: Refactor IPC interfaces to not use std::shared_ptr.
5 years ago
Lioncash
346271b80b
service: Eliminate usages of the global system instance
Completely removes all usages of the global system instance within the
services code by passing in the using system instance to the services.
5 years ago
VolcaEM
33f6610f52
Remove duplicate functions
6 years ago
VolcaEM
cd893f7ac4
Use decimal instead of hexadecimal
Co-authored-by: David <25727384+ogniK5377@users.noreply.github.com>
6 years ago
VolcaEM
9338a6a1cf
service: Update function tables
6 years ago
FearlessTobi
23a8887526
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
4a4516868c
kernel: Implement a more accurate IPC dispatch.
6 years ago
bunnei
5cb0f276fe
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
4306a41b5f
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
5ae0d6cba2
Changed logging to be "Log before execution", Added more error logging, all services should now log on some level
7 years ago
Lioncash
9f57c22ae2
service: Add missing headers inclusions where applicable
Gets rid of a few indirect inclusions.
7 years ago
Lioncash
30638f9c95
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
c5986c7bf7
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
d9f92aa9b0
sm/controller: Correct return value of QueryPointerBufferSize
This should be returning a u16 according to Switch Brew.
7 years ago
James Rowe
e159c550d8
Rename logging macro back to LOG_*
8 years ago
Lioncash
3cac963a7d
sm: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
6d94dd21a5
service: Use nested namespace specifiers where applicable
Tidies up namespace declarations
8 years ago
bunnei
eb3be60fc2
controller: DuplicateSession should return a ClientSession.
8 years ago
bunnei
ca93cbddcb
ResponseBuilder: Use a bit field for customizing instead of always_move_handles.
8 years ago
bunnei
f328cb2c7c
hle: Rename RequestBuilder to ResponseBuilder.
8 years ago
bunnei
427b97e60c
service: Fix all incorrect IPC response headers.
8 years ago
bunnei
a3aadaea60
hle: Integrate Domain handling into ServerSession.
8 years ago
bunnei
4fabdf77d7
hle: Remove Domain and SyncObject kernel objects.
8 years ago
bunnei
eae8413876
controller: Use DuplicateSession for DuplicateSessionEx.
8 years ago
bunnei
182548ec86
yuzu: Update license text to be consistent across project.
8 years ago
Subv
d3f259cd73
IPC: Make DuplicateSession return the Domain instead of the Session if the request was made on a Domain interface.
8 years ago
Subv
b01b7eea52
IPC: Corrected some command headers in the IPC Controller interface.
8 years ago
Subv
fd93b1e0ef
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
33fa650a20
controller: Implement DuplicateSession.
8 years ago
bunnei
9d04a45a90
kernel: Fix implementation of ConvertSessionToDomain.
8 years ago
bunnei
82fb80da76
service: Clean up apm/lm/applet_oe/controller/sm ctor/dtor.
8 years ago
bunnei
be299c7636
hle: Implement ConvertSessionToDomain, various cleanups.
8 years ago
bunnei
2ea8867549
hle: Initial implementation of NX service framework and IPC.
8 years ago