Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/pmax/include - MIPS processors do not require to ha...



details:   https://anonhg.NetBSD.org/src/rev/43d1a9fed115
branches:  trunk
changeset: 471686:43d1a9fed115
user:      nisimura <nisimura%NetBSD.org@localhost>
date:      Thu Apr 08 03:14:35 1999 +0000

description:
- MIPS processors do not require to have memory barrier prior to read ops.

diffstat:

 sys/arch/pmax/include/bus.h |  11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diffs (29 lines):

diff -r c3cf666ecb8c -r 43d1a9fed115 sys/arch/pmax/include/bus.h
--- a/sys/arch/pmax/include/bus.h       Wed Apr 07 23:04:34 1999 +0000
+++ b/sys/arch/pmax/include/bus.h       Thu Apr 08 03:14:35 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus.h,v 1.8 1999/03/23 21:29:05 drochner Exp $ */
+/*     $NetBSD: bus.h,v 1.9 1999/04/08 03:14:35 nisimura Exp $ */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -126,16 +126,13 @@
  */
 
 #define        bus_space_read_1(t, h, o)                                       \
-    (wbflush(),                                                /* XXX */       \
-     (void) t, (*(volatile u_int8_t *)((h) + (o))))
+     ((void) t, (*(volatile u_int8_t *)((h) + (o))))
 
 #define        bus_space_read_2(t, h, o)                                       \
-    (wbflush(),                                                /* XXX */       \
-     (void) t, (*(volatile u_int16_t *)((h) + (o))))
+     ((void) t, (*(volatile u_int16_t *)((h) + (o))))
 
 #define        bus_space_read_4(t, h, o)                                       \
-    (wbflush(),                                                /* XXX */       \
-     (void) t, (*(volatile u_int32_t *)((h) + (o))))
+     ((void) t, (*(volatile u_int32_t *)((h) + (o))))
 
 #if 0  /* Cause a link error for bus_space_read_8 */
 #define        bus_space_read_8(t, h, o)       !!! bus_space_read_8 unimplemented !!!



Home | Main Index | Thread Index | Old Index