mirror of
https://github.com/ipxe/ipxe
synced 2025-12-07 18:00:28 +03:00
c45dc4a55da7bb1ddcd0a9d4a55ed6b4d5afe086
The address of the compressed relocation records is currently calculated implicitly relative to the program counter. This requires the relocation records to be copied as part of relocation to a new physical address, so that they can be reapplied (if needed) after copying iPXE to the new physical address. Since the relocation destination will never overlap the original iPXE image, and since the relocation records will not be needed further after completing relocation, we can avoid the need to copy the records by passing in a pointer to the relocation records present in the original iPXE image. Pass the compressed relocation record address as an explicit parameter to apply_relocs(), rather than being implicit in the program counter. Signed-off-by: Michael Brown <mcb30@ipxe.org>
iPXE README File Quick start guide: cd src make For any more detailed instructions, see http://ipxe.org
Languages
C
97.3%
Assembly
1.5%
Perl
0.6%
Makefile
0.3%
Python
0.2%