Fix the OSDK CI failure

This commit is contained in:
Jianfeng Jiang
2024-06-21 05:51:13 +00:00
committed by Tate, Hongliang Tian
parent fe7251c413
commit 3de8a9330a
40 changed files with 260 additions and 189 deletions

View File

@ -13,7 +13,6 @@ bitflags = "1.3"
bitvec = { version = "1.0.1", default-features = false, features = ["alloc"]}
component = { path = "../../libs/comp-sys/component" }
int-to-c-enum = { path = "../../libs/int-to-c-enum" }
ktest = { path = "../../../ostd/libs/ktest" }
log = "0.4"
ostd = { path = "../../../ostd" }
pod = { git = "https://github.com/asterinas/pod", rev = "d7dba56" }

View File

@ -9,7 +9,6 @@ use alloc::{
use core::ops::Range;
use bitvec::{array::BitArray, prelude::Lsb0};
use ktest::ktest;
use ostd::{
mm::{
Daddr, DmaDirection, DmaStream, FrameAllocOptions, HasDaddr, VmReader, VmWriter, PAGE_SIZE,
@ -288,6 +287,8 @@ impl Drop for DmaSegment {
mod test {
use alloc::vec::Vec;
use ostd::prelude::*;
use super::*;
#[ktest]