mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:07:34 +00:00
Kernel: Populate ELF::AuxilaryValue::Platform from Processor object.
Move this to the processor object so it can easily be implemented when Serenity is compiled for a different architecture.
This commit is contained in:
parent
1e3a6ba572
commit
26bba8e100
3 changed files with 8 additions and 2 deletions
|
@ -1013,6 +1013,11 @@ String Processor::features_string() const
|
|||
return builder.build();
|
||||
}
|
||||
|
||||
String Processor::platform_string() const
|
||||
{
|
||||
return "i386";
|
||||
}
|
||||
|
||||
UNMAP_AFTER_INIT void Processor::early_initialize(u32 cpu)
|
||||
{
|
||||
m_self = this;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue