diff options
Diffstat (limited to 'arch/x86_64')
| -rw-r--r-- | arch/x86_64/kapi/cpu.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86_64/kapi/cpu.cpp b/arch/x86_64/kapi/cpu.cpp index c45703e5..100f53df 100644 --- a/arch/x86_64/kapi/cpu.cpp +++ b/arch/x86_64/kapi/cpu.cpp @@ -82,4 +82,10 @@ namespace kapi::cpu return core_index > 0; } + auto current_id() -> id + { + // TODO: implement actual ID reading once APs are being set up. + return id{.value = 0}; + } + } // namespace kapi::cpu |
