1
Fork 0
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:
Brian Gianforcaro 2022-01-09 03:01:16 -08:00 committed by Andreas Kling
parent f8ad3cc6a0
commit faf1fa0a84
5 changed files with 39 additions and 39 deletions

View file

@ -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();
}
}