PERFORCE change 110695 for review

Olivier Houchard cognet at FreeBSD.org
Wed Nov 29 14:28:58 PST 2006


http://perforce.freebsd.org/chv.cgi?CH=110695

Change 110695 by cognet at 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


More information about the p4-projects mailing list