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.
aml
Global
PciConfigRegions
1 parent 4fff735 commit 387ddbbCopy full SHA for 387ddbb
src/platform/pci.rs
@@ -17,7 +17,7 @@ use alloc::{
17
/// function of a PCIe device, [`PciConfigRegions::physical_address`] will give you the physical
18
/// address of the start of that device function's configuration space (each function has 4096
19
/// bytes of configuration space in PCIe).
20
-pub struct PciConfigRegions<A: Allocator> {
+pub struct PciConfigRegions<A: Allocator = Global> {
21
pub regions: Vec<McfgEntry, A>,
22
}
23
0 commit comments