mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
cleanup warnings
This commit is contained in:
parent
9cc80ccfb5
commit
978dd1bf38
2 changed files with 1 additions and 13 deletions
|
|
@ -204,18 +204,6 @@ fn main() {
|
||||||
log::set_max_level(log::LevelFilter::Info);
|
log::set_max_level(log::LevelFilter::Info);
|
||||||
log::info!("my PID is {}", xous::process::id());
|
log::info!("my PID is {}", xous::process::id());
|
||||||
|
|
||||||
// check that we got called by the kernel -- this should happen really early in the process
|
|
||||||
// due to the advisory allocs that start piling up very quickly
|
|
||||||
if let Some(ss) = sss.inner {
|
|
||||||
log::info!(
|
|
||||||
"Swap params: key: root: {:x}, rpt: {:?}",
|
|
||||||
ss.pts.roots[0].entries[0],
|
|
||||||
&ss.rpt.allocs[..8]
|
|
||||||
);
|
|
||||||
} else {
|
|
||||||
log::info!("Swapper did not get called to initialize its shared state.")
|
|
||||||
}
|
|
||||||
|
|
||||||
let mut msg_opt = None;
|
let mut msg_opt = None;
|
||||||
loop {
|
loop {
|
||||||
xous::reply_and_receive_next(sid, &mut msg_opt).unwrap();
|
xous::reply_and_receive_next(sid, &mut msg_opt).unwrap();
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
use core::fmt::Write;
|
use core::fmt::Write;
|
||||||
use core::mem::size_of;
|
use core::mem::size_of;
|
||||||
|
|
||||||
use aes_gcm_siv::{aead::Aead, AeadInPlace, Aes256GcmSiv, Error, KeyInit, Nonce, Tag};
|
use aes_gcm_siv::{AeadInPlace, Aes256GcmSiv, Error, KeyInit, Nonce, Tag};
|
||||||
use cramium_hal::udma::*;
|
use cramium_hal::udma::*;
|
||||||
use loader::swap::{SwapSpec, SPIM_RAM_IFRAM_ADDR, SWAP_HAL_VADDR};
|
use loader::swap::{SwapSpec, SPIM_RAM_IFRAM_ADDR, SWAP_HAL_VADDR};
|
||||||
use num_traits::ToBytes;
|
use num_traits::ToBytes;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue