mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-17 02:26:48 +00:00
feat(virtio): add virtio console driver support - Implement virtio console driver with TTY interface - Add HVC device support for console output - Update devfs to handle HVC devices - Fix virtio driver registration and initialization - Improve virtio net driver interrupt handling - Clean up block device naming implementation - Add clippy lint checks to multiple crates - Fix slab allocator alignment issues - Update QEMU run script for virtio consoleagonOS.org> --------- Signed-off-by: longjin <longjin@DragonOS.org>
19 lines
422 B
Rust
19 lines
422 B
Rust
#![no_std]
|
|
#![feature(core_intrinsics)]
|
|
#![allow(incomplete_features)] // for const generics
|
|
#![feature(generic_const_exprs)]
|
|
#![deny(clippy::all)]
|
|
#![allow(internal_features)]
|
|
#![allow(clippy::needless_return)]
|
|
|
|
#[macro_use]
|
|
extern crate alloc;
|
|
|
|
mod alloc_bitmap;
|
|
mod bitmap_core;
|
|
mod static_bitmap;
|
|
pub mod traits;
|
|
pub use alloc_bitmap::AllocBitmap;
|
|
pub use bitmap_core::BitMapCore;
|
|
pub use static_bitmap::StaticBitmap;
|