diff options
author | Timon Kruiper <timonkruiper@gmail.com> | 2023-01-25 17:11:22 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-01-27 20:47:08 +0000 |
commit | 171a8ca478d875af9e54430b11617907cc469995 (patch) | |
tree | ae9a11efdc2fea677b0845ed1ae95c06d1391b04 | |
parent | 12322670cba4ff85d5b3e0c1b15d32c5fede1422 (diff) | |
download | serenity-171a8ca478d875af9e54430b11617907cc469995.zip |
Kernel/aarch64: Implement Processor::platform_string()
-rw-r--r-- | Kernel/Arch/aarch64/Processor.cpp | 5 | ||||
-rw-r--r-- | Kernel/Arch/aarch64/Processor.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/Kernel/Arch/aarch64/Processor.cpp b/Kernel/Arch/aarch64/Processor.cpp index 3d56148805..c97d1ef4cf 100644 --- a/Kernel/Arch/aarch64/Processor.cpp +++ b/Kernel/Arch/aarch64/Processor.cpp @@ -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; +} + } diff --git a/Kernel/Arch/aarch64/Processor.h b/Kernel/Arch/aarch64/Processor.h index a21739702e..68db2412d1 100644 --- a/Kernel/Arch/aarch64/Processor.h +++ b/Kernel/Arch/aarch64/Processor.h @@ -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; |