summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/process.h
diff options
context:
space:
mode:
authorGravatar bunnei2021-02-12 17:58:31 -0800
committerGravatar bunnei2021-02-18 16:16:25 -0800
commit93e20867b0ab2e737e231a9b5bb29d40947fb311 (patch)
tree84df7c7b56e9c78ce92809328f260edd68ccd490 /src/core/hle/kernel/process.h
parenthle: kernel: Migrate MemoryManager to KMemoryManager. (diff)
downloadyuzu-93e20867b0ab2e737e231a9b5bb29d40947fb311.tar.gz
yuzu-93e20867b0ab2e737e231a9b5bb29d40947fb311.tar.xz
yuzu-93e20867b0ab2e737e231a9b5bb29d40947fb311.zip
hle: kernel: Migrate PageHeap/PageTable to KPageHeap/KPageTable.
Diffstat (limited to 'src/core/hle/kernel/process.h')
-rw-r--r--src/core/hle/kernel/process.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/core/hle/kernel/process.h b/src/core/hle/kernel/process.h
index 320b0f347..45eefb90e 100644
--- a/src/core/hle/kernel/process.h
+++ b/src/core/hle/kernel/process.h
@@ -29,16 +29,13 @@ class ProgramMetadata;
29namespace Kernel { 29namespace Kernel {
30 30
31class KernelCore; 31class KernelCore;
32class KPageTable;
32class KResourceLimit; 33class KResourceLimit;
33class KThread; 34class KThread;
34class TLSPage; 35class TLSPage;
35 36
36struct CodeSet; 37struct CodeSet;
37 38
38namespace Memory {
39class PageTable;
40}
41
42enum class MemoryRegion : u16 { 39enum class MemoryRegion : u16 {
43 APPLICATION = 1, 40 APPLICATION = 1,
44 SYSTEM = 2, 41 SYSTEM = 2,
@@ -104,12 +101,12 @@ public:
104 } 101 }
105 102
106 /// Gets a reference to the process' page table. 103 /// Gets a reference to the process' page table.
107 Memory::PageTable& PageTable() { 104 KPageTable& PageTable() {
108 return *page_table; 105 return *page_table;
109 } 106 }
110 107
111 /// Gets const a reference to the process' page table. 108 /// Gets const a reference to the process' page table.
112 const Memory::PageTable& PageTable() const { 109 const KPageTable& PageTable() const {
113 return *page_table; 110 return *page_table;
114 } 111 }
115 112
@@ -385,7 +382,7 @@ private:
385 ResultCode AllocateMainThreadStack(std::size_t stack_size); 382 ResultCode AllocateMainThreadStack(std::size_t stack_size);
386 383
387 /// Memory manager for this process 384 /// Memory manager for this process
388 std::unique_ptr<Memory::PageTable> page_table; 385 std::unique_ptr<KPageTable> page_table;
389 386
390 /// Current status of the process 387 /// Current status of the process
391 ProcessStatus status{}; 388 ProcessStatus status{};