1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:47:35 +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

@ -8,7 +8,7 @@
namespace Kernel {
StringView cpu_feature_to_string_view(CPUFeature::Type const& feature)
StringView cpu_feature_to_name(CPUFeature::Type const& feature)
{
if (feature == CPUFeature::SSE3)
return "sse3"sv;