mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:07:47 +00:00
Kernel: Move feature string building to ProcessorInfo
Other than a dmesgln(), ProcessorInfo is the only user of this function and is already responsible for building other CPUID-related strings.
This commit is contained in:
parent
53a95a5347
commit
afce63fffc
4 changed files with 21 additions and 22 deletions
|
@ -22,6 +22,7 @@ public:
|
|||
|
||||
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(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue