Module Name: src Committed By: skrll Date: Wed Feb 17 11:14:10 UTC 2010
Modified Files: src/sys/arch/hp700/include: cpu.h Log Message: Add aliasing defines for PA2.0 cpus. They will cause unnecessary non-equiv alias handling on PA1.x machines if PA2.0 cpu support is compiled into the kernel. GENERIC currently doesn't have this support enabled. The performance hit of this needs testing. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/sys/arch/hp700/include/cpu.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/hp700/include/cpu.h diff -u src/sys/arch/hp700/include/cpu.h:1.34 src/sys/arch/hp700/include/cpu.h:1.35 --- src/sys/arch/hp700/include/cpu.h:1.34 Wed Jun 3 21:08:51 2009 +++ src/sys/arch/hp700/include/cpu.h Wed Feb 17 11:14:10 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: cpu.h,v 1.34 2009/06/03 21:08:51 skrll Exp $ */ +/* $NetBSD: cpu.h,v 1.35 2010/02/17 11:14:10 skrll Exp $ */ /* $OpenBSD: cpu.h,v 1.55 2008/07/23 17:39:35 kettenis Exp $ */ @@ -152,10 +152,17 @@ * definitions of cpu-dependent requirements * referenced in generic code */ - +#if defined(HP8000_CPU) || defined(HP8200_CPU) || \ + defined(HP8500_CPU) || defined(HP8600_CPU) +#define HPPA_PGALIAS 0x00400000 +#define HPPA_PGAMASK 0xffc00000 +#define HPPA_PGAOFF 0x003fffff +#else #define HPPA_PGALIAS 0x00100000 #define HPPA_PGAMASK 0xfff00000 #define HPPA_PGAOFF 0x000fffff +#endif + #define HPPA_SPAMASK 0xf0f0f000 #define HPPA_IOSPACE 0xf0000000