Skip to content

Commit 97c5224

Browse files
authored
update arceos (Starry-OS#60)
1 parent 6601e6d commit 97c5224

4 files changed

Lines changed: 13 additions & 69 deletions

File tree

Cargo.lock

Lines changed: 9 additions & 65 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ qemu = [
115115
]
116116
smp = ["axfeat/smp", "axplat-riscv64-visionfive2?/smp"]
117117

118-
vf2 = ["dep:axplat-riscv64-visionfive2", "axfeat/driver-sdmmc-gpt"]
118+
vf2 = ["dep:axplat-riscv64-visionfive2", "axfeat/driver-sdmmc"]
119119

120120
[dependencies]
121121
axdriver.workspace = true

api/src/socket.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ impl SocketAddrExt for VsockAddr {
220220
return Err(AxError::from(LinuxError::EAFNOSUPPORT));
221221
}
222222
Ok(VsockAddr {
223-
cid: addr_vsock.svm_cid,
223+
cid: addr_vsock.svm_cid as _,
224224
port: addr_vsock.svm_port,
225225
})
226226
}
@@ -230,7 +230,7 @@ impl SocketAddrExt for VsockAddr {
230230
svm_family: AF_VSOCK as _,
231231
svm_reserved1: 0,
232232
svm_port: self.port,
233-
svm_cid: self.cid,
233+
svm_cid: self.cid as _,
234234
svm_zero: [0_u8; 4],
235235
};
236236
fill_addr(addr, addrlen, unsafe { cast_to_slice(&sockvm_addr) })

0 commit comments

Comments
 (0)