summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_process.h
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-08-25 23:59:32 +0200
committerGitHub <noreply@github.com>2023-08-25 23:59:32 +0200
commit18ad55be0ba2c418c766c9857075b3b64d28104e (patch)
treef3ccc0f4554cba892c8b102adacf4774b70c862b /src/core/hle/kernel/k_process.h
parentMerge pull request #11357 from liamwhite/lime-vfs (diff)
downloadyuzu-18ad55be0ba2c418c766c9857075b3b64d28104e.tar
yuzu-18ad55be0ba2c418c766c9857075b3b64d28104e.tar.gz
yuzu-18ad55be0ba2c418c766c9857075b3b64d28104e.tar.bz2
yuzu-18ad55be0ba2c418c766c9857075b3b64d28104e.tar.lz
yuzu-18ad55be0ba2c418c766c9857075b3b64d28104e.tar.xz
yuzu-18ad55be0ba2c418c766c9857075b3b64d28104e.tar.zst
yuzu-18ad55be0ba2c418c766c9857075b3b64d28104e.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/k_process.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/hle/kernel/k_process.h b/src/core/hle/kernel/k_process.h
index c9b37e138..4fdeaf11a 100644
--- a/src/core/hle/kernel/k_process.h
+++ b/src/core/hle/kernel/k_process.h
@@ -177,6 +177,10 @@ public:
return m_program_id;
}
+ KProcessAddress GetEntryPoint() const {
+ return m_code_address;
+ }
+
/// Gets the resource limit descriptor for this process
KResourceLimit* GetResourceLimit() const;
@@ -485,6 +489,9 @@ private:
/// Address indicating the location of the process' dedicated TLS region.
KProcessAddress m_plr_address = 0;
+ /// Address indicating the location of the process's entry point.
+ KProcessAddress m_code_address = 0;
+
/// Random values for svcGetInfo RandomEntropy
std::array<u64, RANDOM_ENTROPY_SIZE> m_random_entropy{};