mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-04 05:31:32 +00:00
cleanup elf loader and more work towards boot support
This commit is contained in:
@ -4,10 +4,13 @@ pub trait BootImageLoader {
|
||||
fn load(&self, dst: *mut u8) -> Result<BootImageInfo, XenClientError>;
|
||||
}
|
||||
|
||||
pub const XEN_UNSET_ADDR: u64 = -1i64 as u64;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct BootImageInfo {
|
||||
pub virt_kstart: u64,
|
||||
pub virt_kend: u64,
|
||||
pub virt_hypercall: u64,
|
||||
pub entry: u64,
|
||||
pub hv_start_low: u64,
|
||||
}
|
||||
|
Reference in New Issue
Block a user