Date: Sat, 23 Feb 2008 18:33:50 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/boot/common bootstrap.h load_elf.c Message-ID: <200802231833.m1NIXoNv014862@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2008-02-23 18:33:50 UTC
FreeBSD src repository
Modified files:
sys/boot/common bootstrap.h load_elf.c
Log:
Add __elfN(relocation_offset). It holds the offset between the virtual
(link) address and the physical (load) address. Ideally, the mapping
between link and load addresses should be abstracted by the copyin(),
copyout() and readin() functions, so that we don't have to add kluges
in __elfN(loadimage)(). Then, we could also have paged virtual memory
for the kernel. This can be important under EFI, where you need to
allocate physical memory form the firmware if you want to work in all
scenarios.
Revision Changes Path
1.45 +3 -1 src/sys/boot/common/bootstrap.h
1.38 +27 -1 src/sys/boot/common/load_elf.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802231833.m1NIXoNv014862>
