-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Replace x86-specific port IO access with ECAM for reading PCIe config space.
firmware-update/src/app/pci.rs
Lines 109 to 115 in 2325f02
| let address = 0x80000000 | |
| | (u32::from(bus) << 16) | |
| | (u32::from(dev) << 11) | |
| | (u32::from(func) << 8) | |
| | u32::from(offset); | |
| Pio::<u32>::new(0xCF8).write(address); | |
| Ok(Pio::<u32>::new(0xCFC).read()) |
Metadata
Metadata
Assignees
Labels
No labels