summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoritsmeft24 <57544858+itsmeft24@users.noreply.github.com>2021-12-06 16:37:13 +0100
committerGitHub <noreply@github.com>2021-12-06 16:37:13 +0100
commite10903cab928e3cbc9d554a6c388434fbaa2f1db (patch)
tree4fe4587b6daf2bd24bffa055a2f309bfd60a5d8d /src
parentfix formatting (diff)
downloadyuzu-e10903cab928e3cbc9d554a6c388434fbaa2f1db.tar
yuzu-e10903cab928e3cbc9d554a6c388434fbaa2f1db.tar.gz
yuzu-e10903cab928e3cbc9d554a6c388434fbaa2f1db.tar.bz2
yuzu-e10903cab928e3cbc9d554a6c388434fbaa2f1db.tar.lz
yuzu-e10903cab928e3cbc9d554a6c388434fbaa2f1db.tar.xz
yuzu-e10903cab928e3cbc9d554a6c388434fbaa2f1db.tar.zst
yuzu-e10903cab928e3cbc9d554a6c388434fbaa2f1db.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/kernel/k_code_memory.h21
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
: public KAutoObjectWithSlabHeapAndContainer<KCodeMemory, KAutoObjectWithList> {
KERNEL_AUTOOBJECT_TRAITS(KCodeMemory, KAutoObject);
-private:
- KPageLinkedList m_page_group;
- KProcess* m_owner;
- VAddr m_address;
- KLightLock m_lock;
- bool m_is_initialized;
- bool m_is_owner_mapped;
- bool m_is_mapped;
-
public:
explicit KCodeMemory(KernelCore& kernel_);
@@ -56,5 +47,15 @@ public:
size_t GetSize() const {
return m_is_initialized ? m_page_group.GetNumPages() * PageSize : 0;
}
+
+private:
+ KPageLinkedList m_page_group;
+ KProcess* m_owner;
+ VAddr m_address;
+ KLightLock m_lock;
+ bool m_is_initialized;
+ bool m_is_owner_mapped;
+ bool m_is_mapped;
};
-} // namespace Kernel \ No newline at end of file
+
+} // namespace Kernel