mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:17:44 +00:00
Kernel/aarch64: Implement Processor::platform_string()
This commit is contained in:
parent
12322670cb
commit
171a8ca478
2 changed files with 7 additions and 0 deletions
|
@ -421,4 +421,9 @@ extern "C" void enter_thread_context(Thread* from_thread, Thread* to_thread)
|
||||||
Processor::restore_critical(in_critical);
|
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 enter_trap(TrapFrame& trap, bool raise_irq);
|
||||||
void exit_trap(TrapFrame& trap);
|
void exit_trap(TrapFrame& trap);
|
||||||
|
|
||||||
|
static StringView platform_string();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Processor(Processor const&) = delete;
|
Processor(Processor const&) = delete;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue