PERFORCE change 28830 for review
Robert Drehmel
robert at FreeBSD.org
Sat Apr 12 09:25:24 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=28830
Change 28830 by robert at 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
}
-
-
-
More information about the p4-projects
mailing list