vmbase: Define .image_footer linker section
Replace the runtime memory reservation for the footer with a linker
defined placeholder. Keep this uniform across the clients instead of
making it specific for the pvmfw.
Note: no functional change intended.
Bug: 377276983
Test: m {pvmfw,rialto,vmbase_example_{bios,kernel}}_bin
Change-Id: I46ca02f68af6e0c135a1b6bf9f0701388ca9a445
diff --git a/libs/libvmbase/src/linker.rs b/libs/libvmbase/src/linker.rs
index 40afce5..8654cf9 100644
--- a/libs/libvmbase/src/linker.rs
+++ b/libs/libvmbase/src/linker.rs
@@ -35,6 +35,10 @@
pub static dtb_end: u8;
/// First byte of the region available for the exception handler stack.
pub static eh_stack_limit: u8;
+ /// First byte of the `.image_footer` section.
+ pub static image_footer_begin: u8;
+ /// First byte beyond the `.image_footer` section.
+ pub static image_footer_end: u8;
/// First byte past the region available for the exception handler stack.
pub static init_eh_stack_pointer: u8;
/// First byte past the region available for the stack.