// #![no_std] use std::path::Path; // use std::prelude::rust_2021::alloc; extern crate alloc; use alloc::vec::Vec; fn main() {} pub type File = Vec; // TODO: implement better VFS api pub trait FileIO { fn read(file: &mut File, file_address: u64, read_length: u64); fn write(file: &mut File, file_address: u64, dest_ptr: u64, src_len: usize); fn open(path: Path); fn close(file: &mut File); } pub enum FileError {}