summaryrefslogtreecommitdiffstats
path: root/rsnix
diff options
context:
space:
mode:
Diffstat (limited to 'rsnix')
-rw-r--r--rsnix/src/vt.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/rsnix/src/vt.rs b/rsnix/src/vt.rs
index 6343b78..2d8ece6 100644
--- a/rsnix/src/vt.rs
+++ b/rsnix/src/vt.rs
@@ -174,8 +174,20 @@ pub fn debug_verify() {
174 .unwrap_or(false); 174 .unwrap_or(false);
175 if c.len() != total || r.len() != total || !heap_ok { 175 if c.len() != total || r.len() != total || !heap_ok {
176 msg("verify: FAILED — cells/rendered not sane at shell entry"); 176 msg("verify: FAILED — cells/rendered not sane at shell entry");
177 crate::gop::boot_marker(&alloc::format!(
178 "vt: cells {:#x} {}/{} FAILED",
179 c.as_ptr() as usize,
180 c.len(),
181 total
182 ));
177 } else { 183 } else {
178 msg("verify: ok"); 184 msg("verify: ok");
185 crate::gop::boot_marker(&alloc::format!(
186 "vt: cells {:#x} {}/{} ok",
187 c.as_ptr() as usize,
188 c.len(),
189 total
190 ));
179 } 191 }
180 } 192 }
181} 193}