aboutsummaryrefslogtreecommitdiff
path: root/sys/alpha/include/rpb.h
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>1998-08-17 08:26:12 +0000
committerDoug Rabson <dfr@FreeBSD.org>1998-08-17 08:26:12 +0000
commita5f96f457f1cfb36ae28dc021085c227ca0d66bb (patch)
tree75187aafb85f1e2daf111b0fc62c08e11f221288 /sys/alpha/include/rpb.h
parentca13e4a93b3438bfa8d4550c34313825ab862c3d (diff)
Add Miata system type and pull in the LOCATE_PCS macro from NetBSD.
Notes
Notes: svn path=/head/; revision=38390
Diffstat (limited to 'sys/alpha/include/rpb.h')
-rw-r--r--sys/alpha/include/rpb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/alpha/include/rpb.h b/sys/alpha/include/rpb.h
index b5d0892ae192..cae7c08abd08 100644
--- a/sys/alpha/include/rpb.h
+++ b/sys/alpha/include/rpb.h
@@ -73,6 +73,7 @@ struct rpb {
#define ST_EB164 26 /* EB164 (PCI/ISA) */
#define ST_DEC_1000A 27 /* "Noritake" (?) */
#define ST_DEC_ALPHAVME_224 28 /* "Cortex" (?) */
+#define ST_DEC_550 30 /* "Miata" (PCI/ISA) */
#define ST_DEC_EV56_PBP 32 /* "Takara" (?) */
#define ST_DEC_ALPHAVME_320 33 /* "Yukon" (VME?) */
@@ -202,6 +203,9 @@ struct rpb {
u_int64_t rpb_tbhint[8]; /* 149: TB hint block */
};
+#define LOCATE_PCS(h,cpunumber) ((struct pcs *) \
+ ((char *)(h) + (h)->rpb_pcs_off + ((cpunumber) * (h)->rpb_pcs_size)))
+
/*
* PCS: Per-CPU information.
*/