summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem
diff options
context:
space:
mode:
authorTom <tomut@yahoo.com>2020-07-03 10:23:09 -0600
committerAndreas Kling <kling@serenityos.org>2020-07-03 19:32:34 +0200
commit9b4e6f6a23e1669d21e18eb985323f7075de275a (patch)
treeb16609be64fbe5112d6961cc575ad58806d1a80f /Kernel/FileSystem
parente373e5f007956e59d8efca1fe74ce0e84355b27b (diff)
downloadserenity-9b4e6f6a23e1669d21e18eb985323f7075de275a.zip
Kernel: Consolidate features into CPUFeature enum
This allows us to consolidate printing out all the CPU features into one log statement. Also expose them in /proc/cpuinfo
Diffstat (limited to 'Kernel/FileSystem')
-rw-r--r--Kernel/FileSystem/ProcFS.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/FileSystem/ProcFS.cpp b/Kernel/FileSystem/ProcFS.cpp
index 02b6851068..730581d655 100644
--- a/Kernel/FileSystem/ProcFS.cpp
+++ b/Kernel/FileSystem/ProcFS.cpp
@@ -773,6 +773,7 @@ Optional<KBuffer> procfs$cpuinfo(InodeIdentifier)
builder.appendf("processor: %u\n", proc.id());
builder.appendf("cpuid: %s\n", info.cpuid().characters());
builder.appendf("family: %u\n", info.display_family());
+ builder.appendf("features: %s\n", info.features().characters());
builder.appendf("model: %u\n", info.display_model());
builder.appendf("stepping: %u\n", info.stepping());
builder.appendf("type: %u\n", info.type());