Kernel/aarch64: Implement Processor::platform_string()

This commit is contained in:
Timon Kruiper 2023-01-25 17:11:22 +01:00 committed by Linus Groh
parent 12322670cb
commit 171a8ca478
Notes: sideshowbarker 2024-07-17 05:21:12 +09:00
2 changed files with 7 additions and 0 deletions

View File

@ -421,4 +421,9 @@ extern "C" void enter_thread_context(Thread* from_thread, Thread* to_thread)
Processor::restore_critical(in_critical);
}
StringView Processor::platform_string()
{
return "aarch64"sv;
}
}

View File

@ -279,6 +279,8 @@ public:
void enter_trap(TrapFrame& trap, bool raise_irq);
void exit_trap(TrapFrame& trap);
static StringView platform_string();
private:
Processor(Processor const&) = delete;