-
Notifications
You must be signed in to change notification settings - Fork 219
Open
Labels
enhancementNew feature or requestNew feature or request
Description
It will be nice to pass UnwindInfo
in BootInfo
so that we can load the kernel ELF in the kernel to do stack unwinding.
#[derive(Debug, Copy, Clone)]
#[repr(C)]
pub struct UnwindInfo {
/// The base address of the kernel. The kernel base is required
/// for stack unwinding during kernel panics.
pub kernel_base: VirtAddr,
/// The size of the kernel, required to calculate the end of the
/// kernel base.
pub kernel_size: usize,
pub stack_top: VirtAddr,
pub stack_size: usize
}
ChocolateLoverRaj
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request