diff --git a/layout.ld b/layout.ld index 5d198838..2c4d5a51 100644 --- a/layout.ld +++ b/layout.ld @@ -4,7 +4,9 @@ PHDRS { ram PT_LOAD FILEHDR PHDRS ; note PT_NOTE ; - rom PT_LOAD ; + /* We set the PhysAddr to an arbitrary RAM address, so that the ROM will still + boot with PVH. Without this, this PHDR conflicts with QEMU's SeaBIOS. */ + rom PT_LOAD AT(ram_max) ; } /* Loaders like to put stuff in low memory (< 1M), so we don't use it. */