Date: Tue, 24 May 2005 21:43:49 +0000 (UTC) From: Peter Grehan <grehan@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/boot/ofw/libofw elf_freebsd.c Message-ID: <200505242143.j4OLhnsc096401@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505242143.j4OLhnsc096401>
