Received: from eggs.gnu.org ([2001:4830:134:3::10]:43981) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqHCI-0005wz-N4 for qemu-devel@nongnu.org; Sat, 01 Oct 2016 06:07:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bqHCG-0007X2-RE for qemu-devel@nongnu.org; Sat, 01 Oct 2016 06:07:09 -0400 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]:34402) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqHCG-0007Wc-K5 for qemu-devel@nongnu.org; Sat, 01 Oct 2016 06:07:08 -0400 Received: by mail-wm0-x243.google.com with SMTP id b201so1581027wmb.1 for ; Sat, 01 Oct 2016 03:07:08 -0700 (PDT) From: Artyom Tarasenko Date: Sat, 1 Oct 2016 12:05:08 +0200 Message-Id: <1475316333-9776-5-git-send-email-atar4qemu@gmail.com> In-Reply-To: <1475316333-9776-1-git-send-email-atar4qemu@gmail.com> References: <1475316333-9776-1-git-send-email-atar4qemu@gmail.com> Subject: [Qemu-devel] [PATCH 04/29] target-sparc: add UltraSPARC T1 TLB #defines List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Richard Henderson , Mark Cave-Ayland , Artyom Tarasenko Signed-off-by: Artyom Tarasenko --- target-sparc/cpu.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/target-sparc/cpu.h b/target-sparc/cpu.h index 2c169e1..bafa8d9 100644 --- a/target-sparc/cpu.h +++ b/target-sparc/cpu.h @@ -328,6 +328,10 @@ enum { #define TTE_PGSIZE_UA2005(tte) ((tte) & 7ULL) #define TTE_PA(tte) ((tte) & 0x1ffffffe000ULL) +/* UltraSPARC T1 specific */ +#define TLB_UST1_IS_REAL_BIT (1ULL << 9) /* Real translation entry */ +#define TLB_UST1_IS_SUN4V_BIT (1ULL << 10) /* sun4u/sun4v TTE format switch */ + #define SFSR_NF_BIT (1ULL << 24) /* JPS1 NoFault */ #define SFSR_TM_BIT (1ULL << 15) /* JPS1 TLB Miss */ #define SFSR_FT_VA_IMMU_BIT (1ULL << 13) /* USIIi VA out of range (IMMU) */ -- 2.7.2