We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c3ad5c commit 9d7ec62Copy full SHA for 9d7ec62
src/capability/msix.rs
@@ -1,4 +1,4 @@
1
-use super::{PciCapabilityAddress, TriggerMode};
+use super::PciCapabilityAddress;
2
use crate::ConfigRegionAccess;
3
use bit_field::BitField;
4
@@ -53,6 +53,10 @@ impl MsixCapability {
53
self.table & !0b111
54
}
55
56
+ pub fn table_size(&self) -> u16 {
57
+ self.table_size
58
+ }
59
+
60
pub fn pba_bar(&self) -> u8 {
61
self.pba.get_bits(0..3) as u8
62
0 commit comments