squashfs fragment support + bug fixes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use alloc::{borrow::ToOwned, string::String, vec::Vec};
|
||||
use alloc::{borrow::ToOwned, format, string::String, vec::Vec};
|
||||
|
||||
use crate::drivers::fs::vfs::VfsFileSystem;
|
||||
use crate::drivers::{fs::vfs::VfsFileSystem, serial::write_serial};
|
||||
|
||||
#[repr(C)]
|
||||
#[derive(Clone, Copy, Debug)]
|
||||
@@ -20,8 +20,6 @@ pub fn print_stack_trace(max_frames: usize, rbp: u64) {
|
||||
|
||||
let instruction_pointer = unsafe { (*stackframe).rip };
|
||||
|
||||
crate::print!(" {:#X} ", instruction_pointer);
|
||||
|
||||
let instrcution_info = get_function_name(instruction_pointer);
|
||||
|
||||
if let Ok((function_name, function_offset)) = instrcution_info {
|
||||
|
||||
Reference in New Issue
Block a user