load rialto in kernel mode
This makes rialto compatible with Gunyah, which currently
requires the payload to be loaded at the start of RAM.
Bug: 359659124
Bug: 355696053
Bug: 353758405
Test: atest rialto_test
Change-Id: Id83f4535600553f5715fe440cd411b66c229e8c2
diff --git a/guest/rialto/src/main.rs b/guest/rialto/src/main.rs
index 930f4e8..a98ec25 100644
--- a/guest/rialto/src/main.rs
+++ b/guest/rialto/src/main.rs
@@ -47,6 +47,7 @@
use vmbase::{
configure_heap,
fdt::SwiotlbInfo,
+ generate_image_header,
hyp::{get_mem_sharer, get_mmio_guard},
layout::{self, crosvm, UART_PAGE_ADDR},
main,
@@ -232,5 +233,6 @@
}
}
+generate_image_header!();
main!(main);
configure_heap!(SIZE_128KB * 2);