drivers/pcid: Update to redox-scheme 0.8
This commit is contained in:
Generated
+1
-1
@@ -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",
|
||||
]
|
||||
|
||||
@@ -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"] }
|
||||
|
||||
|
||||
@@ -203,7 +203,13 @@ impl SchemeSync for PciScheme {
|
||||
}
|
||||
}
|
||||
|
||||
fn call(&mut self, id: usize, payload: &mut [u8], metadata: &[u64]) -> Result<usize> {
|
||||
fn call(
|
||||
&mut self,
|
||||
id: usize,
|
||||
payload: &mut [u8],
|
||||
metadata: &[u64],
|
||||
_ctx: &CallerCtx,
|
||||
) -> Result<usize> {
|
||||
let handle = self.handles.get_mut(&id).ok_or(Error::new(EBADF))?;
|
||||
|
||||
if handle.stat {
|
||||
|
||||
Reference in New Issue
Block a user