mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-10 09:44:13 +00:00
m1n1.hv: Do map low RAM
Apparently this is still necessary Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
49858b6d2c
commit
85ca5b94cb
1 changed files with 1 additions and 1 deletions
|
@ -1267,7 +1267,7 @@ class HV(Reloadable):
|
|||
|
||||
print(f"Mapping guest physical memory...")
|
||||
ram_base = self.u.ba.phys_base & ~0xffffffff
|
||||
#self.map_hw(ram_base, ram_base, self.u.ba.phys_base - ram_base)
|
||||
self.map_hw(ram_base, ram_base, self.u.ba.phys_base - ram_base)
|
||||
self.map_hw(phys_base, phys_base, self.u.ba.mem_size_actual - phys_base + ram_base)
|
||||
|
||||
print(f"Loading kernel image (0x{len(image):x} bytes)...")
|
||||
|
|
Loading…
Reference in a new issue