Date: Mon, 7 Jan 2008 08:13:23 GMT From: Warner Losh <imp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 132692 for review Message-ID: <200801070813.m078DNO0037968@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801070813.m078DNO0037968>