From 7006f92e6fad0fc9a0cd63e0f195744a0c67fd98 Mon Sep 17 00:00:00 2001 From: bunnie Date: Sun, 5 May 2024 21:52:28 +0800 Subject: [PATCH] clean up an error with a gratuitous print --- services/xous-swapper/src/platform/cramium/hw.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/xous-swapper/src/platform/cramium/hw.rs b/services/xous-swapper/src/platform/cramium/hw.rs index 331d1f614..25dba2ba7 100644 --- a/services/xous-swapper/src/platform/cramium/hw.rs +++ b/services/xous-swapper/src/platform/cramium/hw.rs @@ -20,6 +20,8 @@ pub struct SwapHal { } impl SwapHal { pub fn new(spec: &SwapSpec) -> Self { + writeln!(DebugUart {}, "Swap HAL init",).ok(); + // compute the MAC area needed for the total RAM size. This is a slight over-estimate // because once we remove the MAC area, we need even less storage, but it's a small error. let mac_size = (spec.swap_len as usize / 4096) * size_of::();