cvs commit: src/sys/boot/common bootstrap.h load_elf.c
Marcel Moolenaar
marcel at FreeBSD.org
Sat Feb 23 18:33:50 UTC 2008
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
More information about the cvs-src
mailing list