bunnei
7ccbdd4d8d
hle: kernel: Migrate KProcess to KAutoObject.
5 years ago
Lioncash
1a954b2a59
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
Lioncash
da7be67daf
ipc_helpers: Remove usage of the global system instance
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.
5 years ago
VolcaEM
6a0010d0c6
service: Update function tables
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
e21b6ff79d
service: Update function tables
Keeps the function tables up to date.
Updated based off information from Switchbrew.
6 years ago
Zach Hilman
bce4bfffb6
pm: Implement pm:shell and pm:dmnt GetApplicationPid
Returns the process ID of the current application or 0 if no app is running.
7 years ago
Zach Hilman
354c254cde
pm: Implement pm:dmnt GetTitlePid
Takes a title ID and searches for a matching process, returning error if it doesn't exist, otherwise the process ID.
7 years ago
Zach Hilman
49af3bcdcb
pm: Implement pm:info GetTitleId
Searches the process list for a process with the specified ID, returning the title ID if it exists.
7 years ago
Lioncash
ca96dc4676
service: Update service function tables
Updates function tables based off information from SwitchBrew.
7 years ago
Lioncash
932922f67f
service/pm: Implement SetMaintenanceBoot()
This quite literally functions as a basic setter. No other error
checking or anything (since there's nothing to really check against).
With this, it completes the pm:bm interface in terms of functionality.
7 years ago
Lioncash
cb2ce9924a
service/pm: Tidy up functionality related to SystemBootMode
Just minor tidying of interfaces.
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
David
5049ca5d8c
Added GetBootMode ( #1107 )
* Added GetBootMode
Used by homebrew
* Added enum for GetBootMode
7 years ago
Lioncash
c664f8a257
service: Add pm services
Adds the skeleton for the process management services based off
information on Switch Brew.
8 years ago