mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-22 00:17:59 -05:00
NVDRV: Implement sessions and initial implementation of SMMU
This commit is contained in:
@ -19,6 +19,8 @@
|
||||
#include "core/hle/ipc.h"
|
||||
#include "core/hle/kernel/k_handle_table.h"
|
||||
#include "core/hle/kernel/svc_common.h"
|
||||
#include "core/hle/kernel/k_auto_object.h"
|
||||
#include "core/hle/kernel/k_handle_table.h"
|
||||
|
||||
union Result;
|
||||
|
||||
@ -41,6 +43,8 @@ class KernelCore;
|
||||
class KHandleTable;
|
||||
class KProcess;
|
||||
class KServerSession;
|
||||
template <typename T>
|
||||
class KScopedAutoObject;
|
||||
class KThread;
|
||||
} // namespace Kernel
|
||||
|
||||
@ -373,6 +377,10 @@ public:
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
Kernel::KScopedAutoObject<Kernel::KAutoObject> GetObjectFromHandle(u32 handle) {
|
||||
return GetClientHandleTable().GetObjectForIpc(handle, thread);
|
||||
}
|
||||
|
||||
[[nodiscard]] std::shared_ptr<SessionRequestManager> GetManager() const {
|
||||
return manager.lock();
|
||||
}
|
||||
|
Reference in New Issue
Block a user