1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 21:27:34 +00:00

Kernel: Use a descriptive name for x86-64 cpu_feature_to_string_view

Settled for `cpu_feature_to_name` as that naming is more descriptive
and similarly named `cpu_feature_to_description` function will be
provided for Aarch64.
This commit is contained in:
konrad 2023-01-02 00:15:41 +01:00 committed by Jelle Raaijmakers
parent 649f78d0a4
commit 823aab8296
3 changed files with 3 additions and 3 deletions

View file

@ -111,7 +111,7 @@ NonnullOwnPtr<KString> ProcessorInfo::build_features_string(Processor const& pro
first = false;
else
MUST(builder.try_append(' '));
MUST(builder.try_append(cpu_feature_to_string_view(feature)));
MUST(builder.try_append(cpu_feature_to_name(feature)));
}
}
return KString::must_create(builder.string_view());