summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-04-03 16:49:31 +0100
committerAndreas Kling <kling@serenityos.org>2022-04-03 23:20:33 +0200
commitf6181cd47e7121dd571915527c1c831ce1468d1d (patch)
tree572c00fedf49ed2d95ac1dd06d2d188a5768c946
parentafce63fffce1f78e65c84f2215d9b9ea1ae7ea6d (diff)
downloadserenity-f6181cd47e7121dd571915527c1c831ce1468d1d.zip
Kernel: Make ProcessorInfo::build_foo_string() private
-rw-r--r--Kernel/Arch/x86/ProcessorInfo.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Kernel/Arch/x86/ProcessorInfo.h b/Kernel/Arch/x86/ProcessorInfo.h
index 41b537efa3..e2d4473312 100644
--- a/Kernel/Arch/x86/ProcessorInfo.h
+++ b/Kernel/Arch/x86/ProcessorInfo.h
@@ -20,10 +20,6 @@ class ProcessorInfo {
public:
ProcessorInfo(Processor const& processor);
- static NonnullOwnPtr<KString> build_vendor_id_string();
- static NonnullOwnPtr<KString> build_brand_string();
- static NonnullOwnPtr<KString> build_features_string(Processor const&);
-
StringView vendor_id_string() const { return m_vendor_id_string->view(); }
StringView brand_string() const { return m_brand_string->view(); }
StringView features_string() const { return m_features_string->view(); }
@@ -36,6 +32,10 @@ public:
void set_apic_id(u32 apic_id) { m_apic_id = apic_id; }
private:
+ static NonnullOwnPtr<KString> build_vendor_id_string();
+ static NonnullOwnPtr<KString> build_brand_string();
+ static NonnullOwnPtr<KString> build_features_string(Processor const&);
+
NonnullOwnPtr<KString> m_vendor_id_string;
NonnullOwnPtr<KString> m_brand_string;
NonnullOwnPtr<KString> m_features_string;