Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amigappc/include Add 32 bit methods



details:   https://anonhg.NetBSD.org/src/rev/3d70208ceb67
branches:  trunk
changeset: 769687:3d70208ceb67
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Sep 19 00:23:14 2011 +0000

description:
Add 32 bit methods

diffstat:

 sys/arch/amigappc/include/bus_defs.h |  19 +++++++++++++++++--
 1 files changed, 17 insertions(+), 2 deletions(-)

diffs (33 lines):

diff -r daf23698f0c1 -r 3d70208ceb67 sys/arch/amigappc/include/bus_defs.h
--- a/sys/arch/amigappc/include/bus_defs.h      Mon Sep 19 00:19:50 2011 +0000
+++ b/sys/arch/amigappc/include/bus_defs.h      Mon Sep 19 00:23:14 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus_defs.h,v 1.4 2011/08/25 02:05:27 dyoung Exp $      */
+/*     $NetBSD: bus_defs.h,v 1.5 2011/09/19 00:23:14 christos Exp $    */
 
 /*
  * Copyright (c) 1996 Leo Weppelman.  All rights reserved.
@@ -145,7 +145,22 @@
        bssr(*bssr2, uint16_t);
        bscr(*bscr2, uint16_t);
 
-       /* add 32bit methods here */
+       /* 32bit methods */
+
+       bsr(*bsr4, uint32_t);
+       bsw(*bsw4, uint32_t);
+       bsr(*bsrs4, uint32_t);
+       bsw(*bsws4, uint32_t);
+       bsrm(*bsrm4, uint32_t);
+       bswm(*bswm4, uint32_t);
+       bsrm(*bsrms4, uint32_t);
+       bswm(*bswms4, uint32_t);
+       bsrm(*bsrr4, uint32_t);
+       bswm(*bswr4, uint32_t);
+       bsrm(*bsrrs4, uint32_t);
+       bswm(*bswrs4, uint32_t);
+       bssr(*bssr4, uint32_t);
+       bscr(*bscr4, uint32_t);
 };
 
 #define BUS_SPACE_BARRIER_READ  0x01            /* force read barrier */



Home | Main Index | Thread Index | Old Index