From 65e20bda0996ed88b33ac28272610e8f80624028 Mon Sep 17 00:00:00 2001 From: kmacy Date: Mon, 9 Oct 2006 04:45:19 +0000 Subject: kernel clean up to make the sun4v kernel build Reviewed by: jmg Approved by: rwatson (mentor) --- sys/sun4v/include/asi.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'sys/sun4v/include/asi.h') diff --git a/sys/sun4v/include/asi.h b/sys/sun4v/include/asi.h index 799938b..d2a2b1c 100644 --- a/sys/sun4v/include/asi.h +++ b/sys/sun4v/include/asi.h @@ -151,5 +151,20 @@ #define Q(queue_head) (queue_head >> 4) +/* + * sparc64 compat for the loader + */ +#define AA_IMMU_TAR 0x30 +#define AA_DMMU_TAR 0x30 + +#define ASI_UPA_CONFIG_REG 0x4a /* US-I, II */ +#define ASI_IMMU 0x50 +#define ASI_ITLB_DATA_IN_REG 0x54 +#define ASI_ITLB_DATA_ACCESS_REG 0x55 +#define ASI_ITLB_TAG_READ_REG 0x56 +#define ASI_DMMU 0x58 +#define ASI_DTLB_DATA_IN_REG 0x5c +#define ASI_DTLB_DATA_ACCESS_REG 0x5d +#define ASI_DTLB_TAG_READ_REG 0x5e #endif /* !_MACHINE_ASI_H_ */ -- cgit v1.1