Fix compilation on aarch64

This commit is contained in:
Jeremy Soller
2024-06-24 11:43:17 -06:00
parent 8d65e05a28
commit e7781dcced
2 changed files with 1 additions and 5 deletions
-4
View File
@@ -84,10 +84,6 @@ impl ConfigRegionAccess for Pci {
}
#[cfg(not(any(target_arch = "x86", target_arch = "x86_64")))]
impl ConfigRegionAccess for Pci {
fn function_exists(&self, _address: PciAddress) -> bool {
todo!();
}
unsafe fn read(&self, addr: PciAddress, offset: u16) -> u32 {
let _guard = self.lock.lock().unwrap();
todo!("Pci::CfgAccess::read on this architecture")
+1 -1
View File
@@ -4,6 +4,6 @@ use pcid_interface::*;
use crate::{transport::Error, Device};
pub fn enable_msix(pcid_handle: &mut PcidServerHandle) -> Result<File, Error> {
pub fn enable_msix(pcid_handle: &mut PciFunctionHandle) -> Result<File, Error> {
unimplemented!("virtio_core: aarch64 enable_msix")
}