diff --git a/Cargo.lock b/Cargo.lock index 03ecb162f3..07dfc55b10 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1312,7 +1312,7 @@ dependencies = [ "pci_types", "pico-args", "plain", - "redox-scheme 0.6.2", + "redox-scheme 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)", "redox_syscall", "serde", ] diff --git a/drivers/pcid/Cargo.toml b/drivers/pcid/Cargo.toml index 1238da80c2..a4d75f9431 100644 --- a/drivers/pcid/Cargo.toml +++ b/drivers/pcid/Cargo.toml @@ -19,7 +19,7 @@ log = "0.4" pci_types = "0.10" pico-args = { version = "0.5", features = ["combined-flags"] } plain = "0.2" -redox-scheme = "0.6.2" +redox-scheme = "0.8.2" redox_syscall = "0.5.9" serde = { version = "1", features = ["derive"] } diff --git a/drivers/pcid/src/scheme.rs b/drivers/pcid/src/scheme.rs index 59a96edf49..4da2ea15f7 100644 --- a/drivers/pcid/src/scheme.rs +++ b/drivers/pcid/src/scheme.rs @@ -203,7 +203,13 @@ impl SchemeSync for PciScheme { } } - fn call(&mut self, id: usize, payload: &mut [u8], metadata: &[u64]) -> Result { + fn call( + &mut self, + id: usize, + payload: &mut [u8], + metadata: &[u64], + _ctx: &CallerCtx, + ) -> Result { let handle = self.handles.get_mut(&id).ok_or(Error::new(EBADF))?; if handle.stat {