diff --git a/services/xous-swapper/src/main.rs b/services/xous-swapper/src/main.rs index 50eced2f2..89e2bb2cb 100644 --- a/services/xous-swapper/src/main.rs +++ b/services/xous-swapper/src/main.rs @@ -204,18 +204,6 @@ fn main() { log::set_max_level(log::LevelFilter::Info); 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; loop { xous::reply_and_receive_next(sid, &mut msg_opt).unwrap(); diff --git a/services/xous-swapper/src/platform/cramium/hw.rs b/services/xous-swapper/src/platform/cramium/hw.rs index a909bc795..305522118 100644 --- a/services/xous-swapper/src/platform/cramium/hw.rs +++ b/services/xous-swapper/src/platform/cramium/hw.rs @@ -1,7 +1,7 @@ use core::fmt::Write; 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 loader::swap::{SwapSpec, SPIM_RAM_IFRAM_ADDR, SWAP_HAL_VADDR}; use num_traits::ToBytes;