krata: fix x86 after arm64 work

This commit is contained in:
Alex Zenla
2024-03-21 18:03:47 +00:00
parent da17805824
commit 332a1bba26
2 changed files with 30 additions and 20 deletions

View File

@ -38,6 +38,7 @@ pub struct BootSetup<'a> {
pub(crate) pfn_alloc_end: u64,
pub(crate) virt_pgtab_end: u64,
pub(crate) total_pages: u64,
#[cfg(target_arch = "aarch64")]
pub(crate) dtb: Option<Vec<u8>>,
}
@ -78,6 +79,7 @@ impl BootSetup<'_> {
pfn_alloc_end: 0,
virt_pgtab_end: 0,
total_pages: 0,
#[cfg(target_arch = "aarch64")]
dtb: None,
}
}