diff options
author | Liam <byteslice@airmail.cc> | 2023-12-11 20:21:23 -0500 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-12-22 21:52:49 -0500 |
commit | 419055e484f0f0073d5832f7ded5fd3a3e5ad7de (patch) | |
tree | 81ff70e80fff780d6fb92f78a2df18cfc323df78 /src/core/arm/debug.h | |
parent | 91290b9be4e99a9890c6545e327f600484e39914 (diff) |
kernel: instantiate memory separately for each guest process
Diffstat (limited to 'src/core/arm/debug.h')
-rw-r--r-- | src/core/arm/debug.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/arm/debug.h b/src/core/arm/debug.h index c542633db..3cd671365 100644 --- a/src/core/arm/debug.h +++ b/src/core/arm/debug.h @@ -14,9 +14,9 @@ std::optional<std::string> GetThreadName(const Kernel::KThread* thread); std::string_view GetThreadWaitReason(const Kernel::KThread* thread); std::string GetThreadState(const Kernel::KThread* thread); -Loader::AppLoader::Modules FindModules(const Kernel::KProcess* process); +Loader::AppLoader::Modules FindModules(Kernel::KProcess* process); Kernel::KProcessAddress GetModuleEnd(const Kernel::KProcess* process, Kernel::KProcessAddress base); -Kernel::KProcessAddress FindMainModuleEntrypoint(const Kernel::KProcess* process); +Kernel::KProcessAddress FindMainModuleEntrypoint(Kernel::KProcess* process); void InvalidateInstructionCacheRange(const Kernel::KProcess* process, u64 address, u64 size); @@ -28,7 +28,7 @@ struct BacktraceEntry { std::string name; }; -std::vector<BacktraceEntry> GetBacktraceFromContext(const Kernel::KProcess* process, +std::vector<BacktraceEntry> GetBacktraceFromContext(Kernel::KProcess* process, const Kernel::Svc::ThreadContext& ctx); std::vector<BacktraceEntry> GetBacktrace(const Kernel::KThread* thread); |