From ebe2cf899546951848ced199601548978396d0ed Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Sun, 3 Apr 2022 16:30:47 +0100 Subject: [PATCH] Kernel: Move private ProcessorInfo members to the end --- Kernel/Arch/x86/ProcessorInfo.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/Kernel/Arch/x86/ProcessorInfo.h b/Kernel/Arch/x86/ProcessorInfo.h index 02c53e8a15..1f8f91f972 100644 --- a/Kernel/Arch/x86/ProcessorInfo.h +++ b/Kernel/Arch/x86/ProcessorInfo.h @@ -17,15 +17,6 @@ namespace Kernel { class Processor; class ProcessorInfo { - NonnullOwnPtr m_cpuid; - NonnullOwnPtr m_brand; - NonnullOwnPtr m_features; - u32 m_display_model { 0 }; - u32 m_display_family { 0 }; - u32 m_stepping { 0 }; - u32 m_type { 0 }; - u32 m_apic_id { 0 }; - public: ProcessorInfo(Processor const& processor); @@ -42,6 +33,16 @@ public: u32 apic_id() const { return m_apic_id; } void set_apic_id(u32 apic_id) { m_apic_id = apic_id; } + +private: + NonnullOwnPtr m_cpuid; + NonnullOwnPtr m_brand; + NonnullOwnPtr m_features; + u32 m_display_model { 0 }; + u32 m_display_family { 0 }; + u32 m_stepping { 0 }; + u32 m_type { 0 }; + u32 m_apic_id { 0 }; }; }