summaryrefslogtreecommitdiffstats
path: root/src/core/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/core.h')
-rw-r--r--src/core/core.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/core.h b/src/core/core.h
index 5c3c0e2a1..ab3663427 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -174,9 +174,12 @@ public:
/// Gets the scheduler for the CPU core with the specified index
const std::shared_ptr<Kernel::Scheduler>& Scheduler(size_t core_index);
- /// Gets the current process
+ /// Provides a reference to the current process
Kernel::SharedPtr<Kernel::Process>& CurrentProcess();
+ /// Provides a constant reference to the current process.
+ const Kernel::SharedPtr<Kernel::Process>& CurrentProcess() const;
+
/// Provides a reference to the kernel instance.
Kernel::KernelCore& Kernel();