Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Apr 2003 09:25:21 -0700 (PDT)
From:      Robert Drehmel <robert@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 28830 for review
Message-ID:  <200304121625.h3CGPL2K024555@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=28830

Change 28830 by robert@robert_spes on 2003/04/12 09:24:22

	 - Avoid including some headers which currently cause problems
	   for __mips__.  Add an XXX comment.
	 - Add a comment about unconditionally uncompiled code.

Affected files ...

.. //depot/projects/mips/sys/boot/arc/lib/elf_freebsd.c#2 edit

Differences ...

==== //depot/projects/mips/sys/boot/arc/lib/elf_freebsd.c#2 (text+ko) ====

@@ -82,9 +82,12 @@
 #include <sys/param.h>
 #include <sys/linker.h>
 #include <machine/elf.h>
+#ifndef __mips__
+/* XXX mips */
 #include <machine/prom.h>
 #include <machine/rpb.h>
 #include <machine/bootinfo.h>
+#endif
 
 #include "bootstrap.h"
 
@@ -102,6 +105,7 @@
 elf_exec(struct preloaded_file *fp)
 {
 #if 0
+/* XXX mips - this was already commented out, I suspect it's non-working */
     static struct bootinfo_v1	bootinfo_v1;
     struct file_metadata	*md;
     Elf_Ehdr			*hdr;
@@ -138,6 +142,3 @@
 			       BOOTINFO_MAGIC, &bootinfo_v1, 1, 0);
 #endif
 }
-
-
-



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304121625.h3CGPL2K024555>