after it was published. In particular, they changed the maximum cache
aliasing boundary from 1MB to 16MB.
It turns that on the PA-8700 the aliasing boundary is actually 4MB
(reported as such by the firmware at least). There are some comments
in the Linux code that suggest that HP never actually built PA-RISC
CPUs with an 8MB or 16MB aliasing boundary.
So raise the aliasing boundary to 4MB. This fixes the weird ps(1) problem
where it didn't print its own arguments correctly.
-/* $OpenBSD: cpu.h,v 1.54 2008/07/18 23:43:31 art Exp $ */
+/* $OpenBSD: cpu.h,v 1.55 2008/07/23 17:39:35 kettenis Exp $ */
/*
* Copyright (c) 2000-2004 Michael Shalayeff
* Exported definitions unique to hp700/PA-RISC cpu support.
*/
-#define HPPA_PGALIAS 0x00100000
-#define HPPA_PGAMASK 0xfff00000
-#define HPPA_PGAOFF 0x000fffff
+#define HPPA_PGALIAS 0x00400000
+#define HPPA_PGAMASK 0xffc00000
+#define HPPA_PGAOFF 0x003fffff
#define HPPA_IOBEGIN 0xf0000000
#define HPPA_IOLEN 0x10000000