diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-03-26 15:24:10 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-03-27 07:02:35 +0100 |
| commit | 1cb599798a0b29302ab71d1ee0fb9febff8f6a75 (patch) | |
| tree | 3c03ee9cd5f637a16d5b0b296f7499aed24b75b6 /kapi | |
| parent | 465d323cc89dc67d793148728d222621eea335c8 (diff) | |
| download | teachos-1cb599798a0b29302ab71d1ee0fb9febff8f6a75.tar.xz teachos-1cb599798a0b29302ab71d1ee0fb9febff8f6a75.zip | |
kapi/cpu: update documentation of init()
Diffstat (limited to 'kapi')
| -rw-r--r-- | kapi/include/kapi/cpu.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kapi/include/kapi/cpu.hpp b/kapi/include/kapi/cpu.hpp index ade954c..712de16 100644 --- a/kapi/include/kapi/cpu.hpp +++ b/kapi/include/kapi/cpu.hpp @@ -14,6 +14,9 @@ namespace kapi::cpu //! @qualifier platform-defined //! Perform early CPU initialization. + //! + //! When this function returns, the CPU is in a state where interrupt could be enabled. This function must not enable + //! interrupts itself. auto init() -> void; } // namespace kapi::cpu |
