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

version 1.9, 2007/03/03 14:37:54 version 1.9.20.2, 2008/03/23 02:04:05
Line 1 
Line 1 
 /*      $NetBSD$        */  /*      param.h,v 1.9.20.1 2008/01/09 01:46:24 matt Exp */
   
 /*      $OpenBSD: param.h,v 1.12 2001/07/06 02:07:41 provos Exp $       */  /*      $OpenBSD: param.h,v 1.12 2001/07/06 02:07:41 provos Exp $       */
   
Line 25 
Line 25 
  *      Utah $Hdr: param.h 1.18 94/12/16$   *      Utah $Hdr: param.h 1.18 94/12/16$
  */   */
   
 #ifdef _KERNEL_OPT  
 #include "opt_compat_hpux.h"  
 #endif  
 #include <sys/featuretest.h>  #include <sys/featuretest.h>
   
 #if defined(_NETBSD_SOURCE)  #if defined(_NETBSD_SOURCE)
Line 40 
Line 37 
   
 #define _MACHINE_ARCH   hppa  #define _MACHINE_ARCH   hppa
 #define MACHINE_ARCH    "hppa"  #define MACHINE_ARCH    "hppa"
 #define MID_MACHINE     MID_HPUX800  #define MID_MACHINE     MID_HPPA
   
 /*  /*
  * Round p (pointer or byte index) up to a correctly-aligned value for all   * Round p (pointer or byte index) up to a correctly-aligned value for all
Line 105 
Line 102 
   
 #define btop(x)         ((unsigned long)(x) >> PGSHIFT)  #define btop(x)         ((unsigned long)(x) >> PGSHIFT)
 #define ptob(x)         ((unsigned long)(x) << PGSHIFT)  #define ptob(x)         ((unsigned long)(x) << PGSHIFT)
   
 #ifdef _KERNEL  
 #ifdef COMPAT_HPUX  
 /*  
  * Constants/macros for HPUX multiple mapping of user address space.  
  * Pages in the first 256Mb are mapped in at every 256Mb segment.  
  */  
 #define HPMMMASK        0xF0000000  
 #define ISHPMMADDR(v)   0               /* XXX ...jef */  
 #define HPMMBASEADDR(v) ((unsigned)(v) & ~HPMMMASK)  
 #endif  
   
 #endif  

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.9.20.2

CVSweb <webmaster@jp.NetBSD.org>