/[gxemul]/trunk/src/include/jazz_r4030_dma.h
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/include/jazz_r4030_dma.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5 by dpavlin, Mon Oct 8 16:18:00 2007 UTC revision 6 by dpavlin, Mon Oct 8 16:18:11 2007 UTC
# Line 1  Line 1 
1  /*  gxemul: $Id: jazz_r4030_dma.h,v 1.3 2005/03/05 12:34:02 debug Exp $  */  /*  gxemul: $Id: jazz_r4030_dma.h,v 1.4 2005/06/02 12:31:40 debug Exp $  */
2  /*      $NetBSD: dma.h,v 1.2 2001/07/24 16:26:53 tsutsui Exp $  */  /*      $NetBSD: dma.h,v 1.2 2001/07/24 16:26:53 tsutsui Exp $  */
3  /*      $OpenBSD: dma.h,v 1.3 1997/04/19 17:19:51 pefo Exp $    */  /*      $OpenBSD: dma.h,v 1.3 1997/04/19 17:19:51 pefo Exp $    */
4    
5  #ifndef __JAZZ_R4030_DMA  #ifndef __JAZZ_R4030_DMA
6  #define __JAZZ_R4030_DMA  #define __JAZZ_R4030_DMA
7    
8  #ifndef MIPS64EMUL  #ifndef GXEMUL
9  #define MIPS64EMUL  #define GXEMUL
10  #endif  #endif
11    
12  /*  /*
# Line 84  typedef volatile struct { Line 84  typedef volatile struct {
84   *  Structure used to control dma.   *  Structure used to control dma.
85   */   */
86    
87  #ifndef MIPS64EMUL  #ifndef GXEMUL
88  typedef struct dma_softc {  typedef struct dma_softc {
89          struct device   sc_dev;         /* use as a device */          struct device   sc_dev;         /* use as a device */
90          struct esp_softc *sc_esp;          struct esp_softc *sc_esp;
# Line 116  typedef struct dma_softc { Line 116  typedef struct dma_softc {
116  #define DMA_DRAIN(r)  #define DMA_DRAIN(r)
117  #define DMA_END(r)              ((r->end)(r))  #define DMA_END(r)              ((r->end)(r))
118    
119  #ifndef MIPS64EMUL  #ifndef GXEMUL
120  void picaDmaInit __P((void));  void picaDmaInit __P((void));
121  void picaDmaTLBAlloc __P((dma_softc_t *));  void picaDmaTLBAlloc __P((dma_softc_t *));
122  void picaDmaTLBFree __P((dma_softc_t *));  void picaDmaTLBFree __P((dma_softc_t *));

Legend:
Removed from v.5  
changed lines
  Added in v.6

  ViewVC Help
Powered by ViewVC 1.1.26