Date: Wed, 29 Nov 2006 22:27:10 GMT From: Olivier Houchard <cognet@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 110695 for review Message-ID: <200611292227.kATMRA4m027481@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=110695 Change 110695 by cognet@cognet on 2006/11/29 22:26:47 Just return (0) for now in elf_cpu_load_file() and elf_cpu_unload_file(). We may have to flush/invalidate the caches here, but it will only matters when we'll want to have kernel modules, and doing this should give us symbols in DDB. Affected files ... .. //depot/projects/mips2/src/sys/mips/mips/elf_machdep.c#4 edit Differences ... ==== //depot/projects/mips2/src/sys/mips/mips/elf_machdep.c#4 (text+ko) ==== @@ -112,15 +112,16 @@ int elf_cpu_load_file(linker_file_t fil) { - printf("%s unimplemented at %s:%d, returning error.\n", __func__, __FILE__, __LINE__); - return (ENXIO); + + /* XXX: We may have to flush/invalidate the caches and the TLB here */ + return (0); } int elf_cpu_unload_file(linker_file_t fil) { - printf("%s unimplemented at %s:%d, returning error.\n", __func__, __FILE__, __LINE__); - return (ENXIO); + + return (0); } int
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611292227.kATMRA4m027481>