1
0
Fork 0
forked from AbleOS/ableos

CPU: minor changes in cpuid

This commit is contained in:
able 2023-05-28 02:04:20 -05:00
parent 8eebd50179
commit 03667f6039

View file

@ -145,7 +145,7 @@ impl VersionInformation {
fn processor_signature(self) -> u32 { fn processor_signature(self) -> u32 {
self.eax self.eax
} }
// TODO: Change return type and move this to a file that has the list
pub fn brand_string(self) -> Option<&'static str> { pub fn brand_string(self) -> Option<&'static str> {
let brand_index = bits_of(self.ebx, 0, 7); let brand_index = bits_of(self.ebx, 0, 7);
let processor_signature = self.processor_signature(); let processor_signature = self.processor_signature();