mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:07:45 +00:00
Kernel: Move private ProcessorInfo members to the end
This commit is contained in:
parent
509362c103
commit
ebe2cf8995
1 changed files with 10 additions and 9 deletions
|
@ -17,15 +17,6 @@ namespace Kernel {
|
||||||
class Processor;
|
class Processor;
|
||||||
|
|
||||||
class ProcessorInfo {
|
class ProcessorInfo {
|
||||||
NonnullOwnPtr<KString> m_cpuid;
|
|
||||||
NonnullOwnPtr<KString> m_brand;
|
|
||||||
NonnullOwnPtr<KString> 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:
|
public:
|
||||||
ProcessorInfo(Processor const& processor);
|
ProcessorInfo(Processor const& processor);
|
||||||
|
|
||||||
|
@ -42,6 +33,16 @@ public:
|
||||||
u32 apic_id() const { return m_apic_id; }
|
u32 apic_id() const { return m_apic_id; }
|
||||||
|
|
||||||
void set_apic_id(u32 apic_id) { m_apic_id = apic_id; }
|
void set_apic_id(u32 apic_id) { m_apic_id = apic_id; }
|
||||||
|
|
||||||
|
private:
|
||||||
|
NonnullOwnPtr<KString> m_cpuid;
|
||||||
|
NonnullOwnPtr<KString> m_brand;
|
||||||
|
NonnullOwnPtr<KString> 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 };
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue