diff --git a/src/config.yaml b/src/config.yaml index 8067c81..9d2d7a7 100644 --- a/src/config.yaml +++ b/src/config.yaml @@ -155,6 +155,15 @@ cpuids: name: "Brand String 3" data_type: type: String + 0x80000008: + name: "Address Sizes and Extended Features" + data_type: + type: BitField + eax: [] + ebx: + - {type: Flag, name: "WBNOINVD", bit: 9} + ecx: [] + edx: [] msrs: - name: "Core_Capabilities" address: 0xCF diff --git a/src/layout.rs b/src/layout.rs index e6c0fb2..23f768c 100644 --- a/src/layout.rs +++ b/src/layout.rs @@ -293,7 +293,7 @@ impl LeafDesc { &self.data_type } - pub fn bind_leaf(&self, leaf: u32, cpuid: &CPUIDFunc) -> Option { + pub fn bind_leaf(&self, leaf: u32, cpuid: &CPUIDFunc) -> Option> { let sub_leaves = self.scan_sub_leaves(leaf, cpuid); if !sub_leaves.is_empty() { Some(BoundLeaf {