diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2023-08-25 17:59:32 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-25 23:59:32 +0200 |
| commit | 18ad55be0ba2c418c766c9857075b3b64d28104e (patch) | |
| tree | f3ccc0f4554cba892c8b102adacf4774b70c862b /src/core/hle/kernel/k_process.h | |
| parent | 92e6ff30a150c2d03b235e9cfe7f39b734ee27a3 (diff) | |
kernel: offset code entry point for 39-bit address space type (#11326)
Diffstat (limited to 'src/core/hle/kernel/k_process.h')
| -rw-r--r-- | src/core/hle/kernel/k_process.h | 7 |
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{}; |
