mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:57:35 +00:00
Kernel: Convert Processor::features_string() API to KString
This commit is contained in:
parent
f8ad3cc6a0
commit
faf1fa0a84
5 changed files with 39 additions and 39 deletions
|
@ -14,6 +14,7 @@ namespace Kernel {
|
|||
|
||||
ProcessorInfo::ProcessorInfo(Processor& processor)
|
||||
: m_processor(processor)
|
||||
, m_features(m_processor.features_string())
|
||||
{
|
||||
u32 max_leaf;
|
||||
{
|
||||
|
@ -70,9 +71,6 @@ ProcessorInfo::ProcessorInfo(Processor& processor)
|
|||
copy_brand_string_part_to_buffer(2);
|
||||
m_brandstr = buffer;
|
||||
}
|
||||
|
||||
// Cache the CPU feature string
|
||||
m_features = m_processor.features_string();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue