mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-19 09:00:54 +00:00
starting on the simulated test/debug of the initial formatting
This commit is contained in:
parent
55f2314e7c
commit
4b33069ac6
1 changed files with 4 additions and 1 deletions
|
|
@ -364,7 +364,10 @@ fn xmain() -> ! {
|
||||||
let mut entropy = Rc::new(RefCell::new(TrngPool::new()));
|
let mut entropy = Rc::new(RefCell::new(TrngPool::new()));
|
||||||
|
|
||||||
// OS-specific PDDB driver
|
// OS-specific PDDB driver
|
||||||
let pddb_os = PddbOs::new(Rc::clone(&entropy));
|
let mut pddb_os = PddbOs::new(Rc::clone(&entropy));
|
||||||
|
log::info!("Initializing disk...");
|
||||||
|
pddb_os.pddb_format().unwrap();
|
||||||
|
log::info!("Done initializing disk");
|
||||||
|
|
||||||
// register a suspend/resume listener
|
// register a suspend/resume listener
|
||||||
let sr_cid = xous::connect(pddb_sid).expect("couldn't create suspend callback connection");
|
let sr_cid = xous::connect(pddb_sid).expect("couldn't create suspend callback connection");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue