Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ impl LeafDesc {
&self.data_type
}

pub fn bind_leaf<CPUIDFunc: CpuidDB>(&self, leaf: u32, cpuid: &CPUIDFunc) -> Option<BoundLeaf> {
pub fn bind_leaf<CPUIDFunc: CpuidDB>(&self, leaf: u32, cpuid: &CPUIDFunc) -> Option<BoundLeaf<'_>> {
let sub_leaves = self.scan_sub_leaves(leaf, cpuid);
if !sub_leaves.is_empty() {
Some(BoundLeaf {
Expand Down
Loading