summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/process.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-02-13 02:58:31 +0100
committerbunnei <bunneidev@gmail.com>2021-02-19 01:16:25 +0100
commit93e20867b0ab2e737e231a9b5bb29d40947fb311 (patch)
tree84df7c7b56e9c78ce92809328f260edd68ccd490 /src/core/hle/kernel/process.h
parenthle: kernel: Migrate MemoryManager to KMemoryManager. (diff)
downloadyuzu-93e20867b0ab2e737e231a9b5bb29d40947fb311.tar
yuzu-93e20867b0ab2e737e231a9b5bb29d40947fb311.tar.gz
yuzu-93e20867b0ab2e737e231a9b5bb29d40947fb311.tar.bz2
yuzu-93e20867b0ab2e737e231a9b5bb29d40947fb311.tar.lz
yuzu-93e20867b0ab2e737e231a9b5bb29d40947fb311.tar.xz
yuzu-93e20867b0ab2e737e231a9b5bb29d40947fb311.tar.zst
yuzu-93e20867b0ab2e737e231a9b5bb29d40947fb311.zip
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;
namespace Kernel {
class KernelCore;
+class KPageTable;
class KResourceLimit;
class KThread;
class TLSPage;
struct CodeSet;
-namespace Memory {
-class PageTable;
-}
-
enum class MemoryRegion : u16 {
APPLICATION = 1,
SYSTEM = 2,
@@ -104,12 +101,12 @@ public:
}
/// Gets a reference to the process' page table.
- Memory::PageTable& PageTable() {
+ KPageTable& PageTable() {
return *page_table;
}
/// Gets const a reference to the process' page table.
- const Memory::PageTable& PageTable() const {
+ const KPageTable& PageTable() const {
return *page_table;
}
@@ -385,7 +382,7 @@ private:
ResultCode AllocateMainThreadStack(std::size_t stack_size);
/// Memory manager for this process
- std::unique_ptr<Memory::PageTable> page_table;
+ std::unique_ptr<KPageTable> page_table;
/// Current status of the process
ProcessStatus status{};