mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 09:49:15 +03:00
Kernel/aarch64: Implement Processor::platform_string()
This commit is contained in:
parent
12322670cb
commit
171a8ca478
Notes:
sideshowbarker
2024-07-17 05:21:12 +09:00
Author: https://github.com/FireFox317 Commit: https://github.com/SerenityOS/serenity/commit/171a8ca478 Pull-request: https://github.com/SerenityOS/serenity/pull/17183 Reviewed-by: https://github.com/kleinesfilmroellchen ✅ Reviewed-by: https://github.com/nico ✅
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user