p4-projects@freebsd.org
[Top] [All Lists]

PERFORCE change 132692 for review

Subject: PERFORCE change 132692 for review
From: Warner Losh
Date: Mon, 7 Jan 2008 08:13:23 GMT
http://perforce.freebsd.org/chv.cgi?CH=132692

Change 132692 by imp@imp_paco-paco on 2008/01/07 08:13:02

        o defined bus_space_map, maybe it is wrong...
        o sioword is unused in FreeBSD.
        
        # we're down to less than 5 undefines.  3 of which need some careful
        # thought to resolve, the cpu_throw likely is easy.

Affected files ...

.. //depot/projects/mips2-jnpr/src/sys/mips/include/bus.h#6 edit
.. //depot/projects/mips2-jnpr/src/sys/mips/mips/support.S#5 edit

Differences ...

==== //depot/projects/mips2-jnpr/src/sys/mips/include/bus.h#6 (text+ko) ====

@@ -100,6 +100,17 @@
 
 __inline int   bus_space_map(bus_space_tag_t t, bus_addr_t addr,
                    bus_size_t size, int flags, bus_space_handle_t *bshp);
+
+static __inline int
+bus_space_map(bus_space_tag_t t __unused, bus_addr_t addr,
+             bus_size_t size __unused, int flags __unused,
+             bus_space_handle_t *bshp)
+{
+
+       *bshp = addr;
+       return (0);
+}
+
 /*
  * Unmap a region of device bus space.
  */

==== //depot/projects/mips2-jnpr/src/sys/mips/mips/support.S#5 (text+ko) ====

@@ -496,6 +496,8 @@
        nop
 END(casuword32)
 
+#if 0
+       /* unused in FreeBSD */
 /*
  * Have to flush instruction cache afterwards.
  */
@@ -510,6 +512,7 @@
        j       _C_LABEL(Mips_SyncICache)  # FlushICache sets v0 = 0. (Ugly)
        li      a1, 4                   # size of word
 END(suiword)
+#endif
 
 /*
  * Will have to flush the instruction cache if byte merging is done in 
hardware.
_______________________________________________
p4-projects@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/p4-projects
To unsubscribe, send any mail to "p4-projects-unsubscribe@xxxxxxxxxxx"

<Prev in Thread] Current Thread [Next in Thread>
  • PERFORCE change 132692 for review, Warner Losh <=