b9874d0941
Add redbear-usb-storage-check in-guest binary that validates USB mass storage read and write I/O: discovers /scheme/disk/ devices, writes a test pattern to sector 2048, reads it back, verifies match, restores original content. Updates test-usb-storage-qemu.sh with write-proof verification step. Includes all accumulated Red Bear OS work: kernel patches, relibc patches, driver infrastructure, DRM/GPU, KDE recipes, firmware, validation tooling, build system hardening, and documentation.
20 lines
363 B
Rust
20 lines
363 B
Rust
pub mod spec;
|
|
pub mod transport;
|
|
pub mod utils;
|
|
|
|
mod probe;
|
|
|
|
#[cfg(target_arch = "aarch64")]
|
|
#[path = "arch/aarch64.rs"]
|
|
mod arch;
|
|
|
|
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
|
|
#[path = "arch/x86.rs"]
|
|
mod arch;
|
|
|
|
#[cfg(target_arch = "riscv64")]
|
|
#[path = "arch/riscv64.rs"]
|
|
mod arch;
|
|
|
|
pub use probe::{probe_device, reinit, Device, MSIX_PRIMARY_VECTOR};
|