We use this region to write to the VGA console and Firecracker also
keeps this area clear. This ensures that the region is also mapped in
Unikraft.
Signed-off-by: Marco Schlumpp <marco@unikraft.io>
Reviewed-by: Michalis Pappas <michalis@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #848
lxboot_crash(rc, "Unable to add ram mapping");
}
+
+ rc = ukplat_memregion_list_insert_legacy_hi_mem(&bi->mrds);
+ if (unlikely(rc < 0))
+ lxboot_crash(rc,
+ "Failed to insert legacy high memory region\n");
}
void lxboot_entry(struct lcpu *lcpu, struct lxboot_params *bp)