cvs commit: src/sys/boot/ofw/libofw elf_freebsd.c
Peter Grehan
grehan at FreeBSD.org
Tue May 24 21:43:50 GMT 2005
grehan 2005-05-24 21:43:49 UTC
FreeBSD src repository
Modified files:
sys/boot/ofw/libofw elf_freebsd.c
Log:
Since the BAT mapping was removed a long time back, it can't
be assumed that modules are contiguous in memory (they're not)
so don't blindly __syncicache start/end. In fact, don't bother
syncing the icache for modules since the kernel will do it after
fixing up relocations.
This fixes the trap when loading modules at boot time.
Reported by: orlando at break dot net
Revision Changes Path
1.9 +6 -1 src/sys/boot/ofw/libofw/elf_freebsd.c
More information about the cvs-src
mailing list