diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2022-09-16 14:36:03 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-09-19 15:35:50 +0200 |
commit | 8ca302e86d685fa05b16e2b208888243da319941 (patch) | |
tree | 042c4f9c557dc21cd33a2cb434f4cb617d214bea /flat.lds | |
parent | a5300c4949b8d4de2d34bedfaed66793f48ec948 (diff) | |
download | qboot-8ca302e86d685fa05b16e2b208888243da319941.zip qboot-8ca302e86d685fa05b16e2b208888243da319941.tar.gz qboot-8ca302e86d685fa05b16e2b208888243da319941.tar.bz2 |
QEMU places setup_data at a particular location, which cannot be
relocated due to it containing self references in absolute address
terms. For this reason, it supplies the intended location in
FW_CFG_SETUP_ADDR. That is what is used in the option ROMs provided
by QEMU, use this too in qboot.
This also has the effect of removing the 8k limit on the copied size,
since the header is copied to the right location from the beginning.
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Message-Id: <20220916133603.693135-1-Jason@zx2c4.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'flat.lds')
0 files changed, 0 insertions, 0 deletions