cleanup warnings

This commit is contained in:
bunnie 2024-05-04 01:49:59 +08:00
parent 9cc80ccfb5
commit 978dd1bf38
2 changed files with 1 additions and 13 deletions

View file

@ -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();

View file

@ -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;