kern: SvcGetProcessInfo, SvcTerminateProcess

This commit is contained in:
Michael Scire 2020-07-22 11:15:45 -07:00 committed by SciresM
parent 632a75eee7
commit afe7e41de8
3 changed files with 71 additions and 4 deletions
libraries/libmesosphere/source

View file

@ -277,6 +277,10 @@ namespace ams::kern {
MESOSPHERE_UNIMPLEMENTED();
}
Result KProcess::Terminate() {
MESOSPHERE_UNIMPLEMENTED();
}
Result KProcess::AddSharedMemory(KSharedMemory *shmem, KProcessAddress address, size_t size) {
/* Lock ourselves, to prevent concurrent access. */
KScopedLightLock lk(this->state_lock);