1 use crate::{
2     arch::TraitPciArch,
3     driver::pci::pci::{BusDeviceFunction, PciAddr, PciError, PciRoot, SegmentGroupNumber},
4 };
5 
6 pub struct RiscV64PciArch;
7 impl TraitPciArch for RiscV64PciArch {
read_config(bus_device_function: &BusDeviceFunction, offset: u8) -> u328     fn read_config(bus_device_function: &BusDeviceFunction, offset: u8) -> u32 {
9         unimplemented!("RiscV64PciArch::read_config")
10     }
11 
write_config(bus_device_function: &BusDeviceFunction, offset: u8, data: u32)12     fn write_config(bus_device_function: &BusDeviceFunction, offset: u8, data: u32) {
13         unimplemented!("RiscV64PciArch::write_config")
14     }
15 
address_pci_to_physical(pci_address: PciAddr) -> crate::mm::PhysAddr16     fn address_pci_to_physical(pci_address: PciAddr) -> crate::mm::PhysAddr {
17         unimplemented!("RiscV64PciArch::address_pci_to_physical")
18     }
19 
ecam_root(segement: SegmentGroupNumber) -> Result<PciRoot, PciError>20     fn ecam_root(segement: SegmentGroupNumber) -> Result<PciRoot, PciError> {
21         unimplemented!("RiscV64PciArch::ecam_root")
22     }
23 }
24