License rust and c source files

This commit is contained in:
Jianfeng Jiang
2024-01-03 03:22:36 +00:00
committed by Tate, Hongliang Tian
parent 5fb8a9f7e5
commit faaa4438d6
559 changed files with 1192 additions and 89 deletions

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MPL-2.0
use crate::prelude::*;
use super::{id::Sid, BlockDevice};

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MPL-2.0
use core::{
iter::Step,
ops::{Add, Sub},

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MPL-2.0
use crate::prelude::*;
use super::{

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MPL-2.0
//! The block devices of Asterinas.
//
//This crate provides a number of base components for block devices, including

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MPL-2.0
pub(crate) use alloc::collections::{BTreeMap, VecDeque};
pub(crate) use alloc::string::String;
pub(crate) use alloc::sync::Arc;

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MPL-2.0
use crate::prelude::*;
use super::{