mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
warning-clean. need to clean up the hosted mode flow a bit.
This commit is contained in:
parent
75fe309059
commit
9fcd7e17ae
2 changed files with 3 additions and 0 deletions
|
|
@ -44,6 +44,7 @@ pub fn handle(irqs_pending: usize) -> Result<xous_kernel::Result, xous_kernel::E
|
|||
Ok(xous_kernel::Result::ResumeProcess)
|
||||
}
|
||||
|
||||
#[allow(dead_code)] // needed to silence a hosted mode warning
|
||||
pub fn for_each_irq<F>(op: F)
|
||||
where
|
||||
F: Fn(usize, &PID, MemoryAddress, Option<MemoryAddress>),
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ pub struct Test {
|
|||
//kbd: Arc<Mutex<keyboard::Keyboard>>,
|
||||
oqc: oqc_test::Oqc,
|
||||
oqc_start: u64,
|
||||
#[cfg(any(target_os = "none", target_os = "xous"))]
|
||||
jtag: jtag::Jtag,
|
||||
}
|
||||
impl Test {
|
||||
|
|
@ -71,6 +72,7 @@ impl Test {
|
|||
//kbd: Arc::new(Mutex::new(keyboard::Keyboard::new(&xns).unwrap())),
|
||||
oqc: oqc_test::Oqc::new(&xns).unwrap(),
|
||||
oqc_start: 0,
|
||||
#[cfg(any(target_os = "none", target_os = "xous"))]
|
||||
jtag: jtag::Jtag::new(&xns).unwrap(),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue