/[gxemul]/trunk/src/include/sh4_bscreg.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/sh4_bscreg.h

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

revision 32 by dpavlin, Mon Oct 8 16:20:58 2007 UTC revision 34 by dpavlin, Mon Oct 8 16:21:17 2007 UTC
# Line 1  Line 1 
1  /*  GXemul: $Id: sh4_bscreg.h,v 1.2 2006/10/31 11:07:05 debug Exp $  */  /*  GXemul: $Id: sh4_bscreg.h,v 1.3 2006/11/11 01:02:17 debug Exp $  */
2  /*      $NetBSD: bscreg.h,v 1.6 2005/12/11 12:18:58 christos Exp $      */  /*      $NetBSD: bscreg.h,v 1.6 2005/12/11 12:18:58 christos Exp $      */
3    
4    /*  This file has been extended with useful bitfield definitions from
5        the SH7750 manual.  */
6    
7  #ifndef _SH3_BSCREG_H_  #ifndef _SH3_BSCREG_H_
8  #define _SH3_BSCREG_H_  #define _SH3_BSCREG_H_
9    
# Line 65  Line 68 
68  #define SH4_BCR3                0xff800050      /* 16bit: SH7751R */  #define SH4_BCR3                0xff800050      /* 16bit: SH7751R */
69  #define SH4_BCR4                0xfe0a00f0      /* 32bit: SH7751R */  #define SH4_BCR4                0xfe0a00f0      /* 32bit: SH7751R */
70    
71    #define BCR1_LITTLE_ENDIAN      (1 << 31)
72  #define BCR1_MASTER             (1 << 30)  #define BCR1_MASTER             (1 << 30)
73  #define BCR1_BREQEN             (1 << 19)  #define BCR1_BREQEN             (1 << 19)
74    
75  #define BCR2_PORTEN             (1 << 0)  #define BCR2_PORTEN             (1 << 0)
76    
77    #define RTCSR_CMF               (1 << 7)
78    #define RTCSR_CMIE              (1 << 6)
79    #define RTCSR_CKS               0x0038
80    #define RTCSR_OVF               (1 << 2)
81    #define RTCSR_OVIE              (1 << 1)
82    #define RTCSR_LMTS              (1 << 0)
83    
84  #endif  /* !_SH3_BSCREG_H_ */  #endif  /* !_SH3_BSCREG_H_ */

Legend:
Removed from v.32  
changed lines
  Added in v.34

  ViewVC Help
Powered by ViewVC 1.1.26