Date: Sat, 25 Jan 2003 19:11:48 -0800 (PST) From: Juli Mallett <jmallett@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 24201 for review Message-ID: <200301260311.h0Q3BmkX019351@repoman.freebsd.org>
index | next in thread | raw e-mail
http://perforce.freebsd.org/chv.cgi?CH=24201 Change 24201 by jmallett@jmallett_dalek on 2003/01/25 19:10:54 Lazy attempt at a pair of membar functions. This may be enough. Affected files ... .. //depot/projects/mips/sys/mips/include/cpufunc.h#4 edit Differences ... ==== //depot/projects/mips/sys/mips/include/cpufunc.h#4 (text+ko) ==== @@ -32,6 +32,18 @@ #include <sys/types.h> +static __inline void +mips_read_membar(void) +{ + /* Nil */ +} + +static __inline void +mips_write_membar(void) +{ + __asm __volatile ("sync" : : : "memory"); +} + static __inline struct pcpu * mips_get_pcpup(void) { To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the messagehelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301260311.h0Q3BmkX019351>
