diff options
author | bunnei <bunneidev@gmail.com> | 2017-09-24 17:12:16 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2017-09-30 20:33:11 +0200 |
commit | fa1c7c7ee18af73f73a1160e48e57abbddcf8b23 (patch) | |
tree | 8f010c7db836998483fb2d490bdef23a2bf3fb8d /src/core/hle/kernel/process.h | |
parent | loader: Add support for loading an NSO. (diff) | |
download | yuzu-fa1c7c7ee18af73f73a1160e48e57abbddcf8b23.tar yuzu-fa1c7c7ee18af73f73a1160e48e57abbddcf8b23.tar.gz yuzu-fa1c7c7ee18af73f73a1160e48e57abbddcf8b23.tar.bz2 yuzu-fa1c7c7ee18af73f73a1160e48e57abbddcf8b23.tar.lz yuzu-fa1c7c7ee18af73f73a1160e48e57abbddcf8b23.tar.xz yuzu-fa1c7c7ee18af73f73a1160e48e57abbddcf8b23.tar.zst yuzu-fa1c7c7ee18af73f73a1160e48e57abbddcf8b23.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/process.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/hle/kernel/process.h b/src/core/hle/kernel/process.h index b52211d2a..7350c6c41 100644 --- a/src/core/hle/kernel/process.h +++ b/src/core/hle/kernel/process.h @@ -79,7 +79,11 @@ struct CodeSet final : public Object { u32 size = 0; }; - Segment code, rodata, data; + Segment segments[3]; + Segment& code = segments[0]; + Segment& rodata = segments[1]; + Segment& data = segments[2]; + VAddr entrypoint; private: @@ -136,6 +140,8 @@ public: */ void Run(s32 main_thread_priority, u32 stack_size); + void LoadModule(SharedPtr<CodeSet> module_, VAddr base_addr); + /////////////////////////////////////////////////////////////////////////////////////////////// // Memory Management |