Skip to content

Commit 591b5e9

Browse files
committed
test
1 parent 98a9632 commit 591b5e9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

kernel/src/debug.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ pub unsafe fn panic_print<W: Write + IoWrite, C: Chip, PP: ProcessPrinter>(
114114
// Flush debug buffer if needed
115115
flush(writer);
116116
panic_banner(writer, panic_info);
117-
panic_cpu_state(chip, writer);
117+
//panic_cpu_state(chip, writer);
118118

119119
// Some systems may enforce memory protection regions for the kernel, making
120120
// application memory inaccessible. However, printing process information
@@ -198,10 +198,12 @@ pub unsafe fn panic_process_info<PP: ProcessPrinter, W: Write>(
198198
process_printer: &'static Option<&'static PP>,
199199
writer: &mut W,
200200
) {
201+
let _ = writer.write_fmt(format_args!("\r\n---| App Status |---\r\n"));
201202
process_printer.map(|printer| {
202203
// print data about each process
203204
let _ = writer.write_fmt(format_args!("\r\n---| App Status |---\r\n"));
204205
for proc in procs {
206+
let _ = write!(writer, "identifier {}\r\n", proc.valid_proc_id.get());
205207
proc.proc_ref.get().map(|process| {
206208
// Print the memory map and basic process info.
207209
//

0 commit comments

Comments
 (0)