[BACK]Return to param.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / powerpc / 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/powerpc/include/param.h between version 1.16 and 1.17

version 1.16, 2003/02/03 05:15:53 version 1.17, 2003/03/04 07:50:58
Line 35 
Line 35 
 #define _POWERPC_PARAM_H  #define _POWERPC_PARAM_H
   
 #ifdef  _KERNEL  #ifdef  _KERNEL
   #if defined(_KERNEL_OPT)
   #include "opt_ppcarch.h"
   #endif
 #ifndef _LOCORE  #ifndef _LOCORE
 #include <machine/cpu.h>  #include <machine/cpu.h>
 #endif  /* _LOCORE */  #endif  /* _LOCORE */
Line 51 
Line 54 
   
 #define ALIGNBYTES              (sizeof(double) - 1)  #define ALIGNBYTES              (sizeof(double) - 1)
 #define ALIGN(p)                (((u_long)(p) + ALIGNBYTES) & ~ALIGNBYTES)  #define ALIGN(p)                (((u_long)(p) + ALIGNBYTES) & ~ALIGNBYTES)
 #define ALIGNED_POINTER(p,t)    ((((u_long)(p)) & (sizeof(t)-1)) == 0)  #define ALIGNED_POINTER(p,t)    ((((u_long)(p)) & (sizeof(t)-1)) == 0)
   
   #ifdef PPC_IBM4XX
   #define PGSHIFT         14      /* Use 16KB to reduce TLB thrashing */
   #define UPAGES          1
   #else
 #define PGSHIFT         12  #define PGSHIFT         12
   #define UPAGES          4
   #endif
 #define NBPG            (1 << PGSHIFT)  /* Page size */  #define NBPG            (1 << PGSHIFT)  /* Page size */
 #define PGOFSET         (NBPG - 1)  #define PGOFSET         (NBPG - 1)
   
Line 64 
Line 73 
 #define MAXPHYS         (64 * 1024)     /* max raw I/O transfer size */  #define MAXPHYS         (64 * 1024)     /* max raw I/O transfer size */
 #endif  #endif
   
 #define UPAGES          4  
 #define USPACE          (UPAGES * NBPG)  #define USPACE          (UPAGES * NBPG)
   
 #ifndef MSGBUFSIZE  #ifndef MSGBUFSIZE

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

CVSweb <webmaster@jp.NetBSD.org>