mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-22 17:03:23 +00:00
Refactor drivers
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
d809eca81d
commit
edd808bd3d
@ -53,7 +53,9 @@ fn print_stack_trace() {
|
||||
let fde_initial_address = _Unwind_FindEnclosingFunction(pc as *mut c_void) as usize;
|
||||
early_println!(
|
||||
"{:4}: fn {:#18x} - pc {:#18x} / registers:",
|
||||
data.counter, fde_initial_address, pc,
|
||||
data.counter,
|
||||
fde_initial_address,
|
||||
pc,
|
||||
);
|
||||
// Print the first 8 general registers for any architecture. The register number follows
|
||||
// the DWARF standard.
|
||||
|
Reference in New Issue
Block a user