diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/kernel/k_code_memory.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/core/hle/kernel/k_code_memory.h b/src/core/hle/kernel/k_code_memory.h index 91ffafa89..7408b775d 100644 --- a/src/core/hle/kernel/k_code_memory.h +++ b/src/core/hle/kernel/k_code_memory.h | |||
| @@ -22,15 +22,6 @@ class KCodeMemory final | |||
| 22 | : public KAutoObjectWithSlabHeapAndContainer<KCodeMemory, KAutoObjectWithList> { | 22 | : public KAutoObjectWithSlabHeapAndContainer<KCodeMemory, KAutoObjectWithList> { |
| 23 | KERNEL_AUTOOBJECT_TRAITS(KCodeMemory, KAutoObject); | 23 | KERNEL_AUTOOBJECT_TRAITS(KCodeMemory, KAutoObject); |
| 24 | 24 | ||
| 25 | private: | ||
| 26 | KPageLinkedList m_page_group; | ||
| 27 | KProcess* m_owner; | ||
| 28 | VAddr m_address; | ||
| 29 | KLightLock m_lock; | ||
| 30 | bool m_is_initialized; | ||
| 31 | bool m_is_owner_mapped; | ||
| 32 | bool m_is_mapped; | ||
| 33 | |||
| 34 | public: | 25 | public: |
| 35 | explicit KCodeMemory(KernelCore& kernel_); | 26 | explicit KCodeMemory(KernelCore& kernel_); |
| 36 | 27 | ||
| @@ -56,5 +47,15 @@ public: | |||
| 56 | size_t GetSize() const { | 47 | size_t GetSize() const { |
| 57 | return m_is_initialized ? m_page_group.GetNumPages() * PageSize : 0; | 48 | return m_is_initialized ? m_page_group.GetNumPages() * PageSize : 0; |
| 58 | } | 49 | } |
| 50 | |||
| 51 | private: | ||
| 52 | KPageLinkedList m_page_group; | ||
| 53 | KProcess* m_owner; | ||
| 54 | VAddr m_address; | ||
| 55 | KLightLock m_lock; | ||
| 56 | bool m_is_initialized; | ||
| 57 | bool m_is_owner_mapped; | ||
| 58 | bool m_is_mapped; | ||
| 59 | }; | 59 | }; |
| 60 | } // namespace Kernel \ No newline at end of file | 60 | |
| 61 | } // namespace Kernel | ||