[BACK]Return to cpu.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / sh3 / include

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/arch/sh3/include/cpu.h between version 1.5 and 1.6

version 1.5, 1999/12/24 08:29:23 version 1.6, 2000/01/14 19:09:35
Line 125  void delay __P((int));
Line 125  void delay __P((int));
 #define SH3_P4SEG_BASE  0xe0000000  #define SH3_P4SEG_BASE  0xe0000000
 #define SH3_P4SEG_END   0xffffffff  #define SH3_P4SEG_END   0xffffffff
   
   #define SH3_PHYS_MASK   0x1fffffff
   #define SH3_P1234SEG_SIZE       0x20000000
   
   #define SH3_P1SEG_TO_PHYS(x)    ((unsigned)(x) & SH3_PHYS_MASK)
   #define SH3_P2SEG_TO_PHYS(x)    ((unsigned)(x) & SH3_PHYS_MASK)
   #define SH3_PHYS_TO_P1SEG(x)    ((unsigned)(x) | SH3_P1SEG_BASE)
   #define SH3_PHYS_TO_P2SEG(x)    ((unsigned)(x) | SH3_P2SEG_BASE)
   #define SH3_P1SEG_TO_P2SEG(x)   ((unsigned)(x) | SH3_P1234SEG_SIZE)
   
 /*  /*
  * pull in #defines for kinds of processors   * pull in #defines for kinds of processors
  */   */

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

CVSweb <webmaster@jp.NetBSD.org>