Liam
bf50a0e0c2
kernel: fix debugger and process list lifetime
2 years ago
Liam
62e106dbe8
kernel: update KProcess
2 years ago
Liam
b8da5b73b2
kernel: convert KProcess to new style
3 years ago
Liam
d7e9461b71
service: move hle_ipc from kernel
3 years ago
Liam
1c3a93e7c4
service: refactor server architecture
Converts services to have their own processes
3 years ago
german77
c7890ebccc
core: Replace all instances of ResultCode with Result
4 years ago
Morph
2b87305d31
general: Convert source file copyright comments over to SPDX
This formats all copyright comments according to SPDX formatting guidelines.
Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
4 years ago
tech-ticks
be026c6b6d
service: pm: Implement AtmosphereGetProcessInfo
4 years ago
Morph
a1da80a1cd
service: pm: Implement AtmosphereGetProcessId
- Used by Skyline modding framework
4 years ago
Morph
5ed5db7883
service: pm: Add all relevant result codes
4 years ago
Morph
20ac4fd61b
service: pm: Rename title id to program id
4 years ago
Morph
10508e7af2
general: Rename GetTitleID to GetProgramID
4 years ago
Morph
7ebc38a6d1
general: Replace RESULT_SUCCESS with ResultSuccess
Transition to PascalCase for result names.
5 years ago
Lioncash
eeae5217ba
core: Make variable shadowing a compile-time error
Now that we have most of core free of shadowing, we can enable the
warning as an error to catch anything that may be remaining and also
eliminate this class of logic bug entirely.
5 years ago
bunnei
ad048de3d6
hle: kernel: Rename Process to KProcess.
5 years ago
bunnei
7a6bfbde24
hle: kernel: Migrate KProcess to KAutoObject.
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
Lioncash
e7fe020ace
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
9338a6a1cf
service: Update function tables
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
0ab5dd8c7f
service: Update function tables
Keeps the function tables up to date.
Updated based off information from Switchbrew.
6 years ago
Zach Hilman
a37e318a69
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
0bc1fc3fcf
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
afcab374d1
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
14ead4ceb0
service: Update service function tables
Updates function tables based off information from SwitchBrew.
7 years ago
Lioncash
28f6a8efd8
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
89bf15b818
service/pm: Tidy up functionality related to SystemBootMode
Just minor tidying of interfaces.
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
David
f4b1df57e4
Added GetBootMode ( #1107 )
* Added GetBootMode
Used by homebrew
* Added enum for GetBootMode
7 years ago
Lioncash
c96ea0051d
service: Add pm services
Adds the skeleton for the process management services based off
information on Switch Brew.
8 years ago