diff --git a/xhcid/src/main.rs b/xhcid/src/main.rs index 95beefd246..741871db4b 100644 --- a/xhcid/src/main.rs +++ b/xhcid/src/main.rs @@ -22,14 +22,16 @@ fn main() { // Daemonize if unsafe { syscall::clone(0).unwrap() } == 0 { let address = unsafe { syscall::physmap(bar, 4096, syscall::MAP_WRITE).expect("xhcid: failed to map address") }; + /* match Xhci::new(address) { Ok(mut xhci) => { - //xhci.init(); + xhci.init(); }, Err(err) => { println!("xhcid: error: {}", err); } } + */ unsafe { let _ = syscall::physunmap(address); } } }