CPU: minor changes in cpuid
This commit is contained in:
parent
8eebd50179
commit
03667f6039
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue