diff options
Diffstat (limited to 'src/core/hle/kernel/process.h')
| -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 29e016983..248fd3840 100644 --- a/src/core/hle/kernel/process.h +++ b/src/core/hle/kernel/process.h | |||
| @@ -73,9 +73,15 @@ public: | |||
| 73 | ProcessIDMax = 0xFFFFFFFFFFFFFFFF, | 73 | ProcessIDMax = 0xFFFFFFFFFFFFFFFF, |
| 74 | }; | 74 | }; |
| 75 | 75 | ||
| 76 | // Used to determine how process IDs are assigned. | ||
| 77 | enum class ProcessType { | ||
| 78 | KernelInternal, | ||
| 79 | Userland, | ||
| 80 | }; | ||
| 81 | |||
| 76 | static constexpr std::size_t RANDOM_ENTROPY_SIZE = 4; | 82 | static constexpr std::size_t RANDOM_ENTROPY_SIZE = 4; |
| 77 | 83 | ||
| 78 | static SharedPtr<Process> Create(Core::System& system, std::string name); | 84 | static SharedPtr<Process> Create(Core::System& system, std::string name, ProcessType type); |
| 79 | 85 | ||
| 80 | std::string GetTypeName() const override { | 86 | std::string GetTypeName() const override { |
| 81 | return "Process"; | 87 | return "Process"; |