1 /* $Id: tsunami.h,v 1.2 1995/11/25 02:33:06 davem Exp $ 2 * tsunami.h: Module specific definitions for Tsunami V8 Sparcs 3 * 4 * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) 5 */ 6 7 #ifndef _SPARC_TSUNAMI_H 8 #define _SPARC_TSUNAMI_H 9 10 /* The MMU control register on the Tsunami: 11 * 12 * ----------------------------------------------------------------------- 13 * | implvers |SW|AV|DV|MV| RSV |PC|ITD|ALC| RSV |PE| RC |IE|DE|RSV|NF|ME| 14 * ----------------------------------------------------------------------- 15 * 31 24 23 22 21 20 19-18 17 16 14 13-12 11 10-9 8 7 6-2 1 0 16 * 17 * SW: Enable Software Table Walks 0=off 1=on 18 * AV: Address View bit 19 * DV: Data View bit 20 * MV: Memory View bit 21 * PC: Parity Control 22 * ITD: ITBR disable 23 * ALC: Alternate Cacheable 24 * PE: Parity Enable 0=off 1=on 25 * RC: Refresh Control 26 * IE: Instruction cache Enable 0=off 1=on 27 * DE: Data cache Enable 0=off 1=on 28 * NF: No Fault, same as all other SRMMUs 29 * ME: MMU Enable, same as all other SRMMUs 30 */ 31 32 #define TSUNAMI_SW 0x00800000 33 #define TSUNAMI_AV 0x00400000 34 #define TSUNAMI_DV 0x00200000 35 #define TSUNAMI_MV 0x00100000 36 #define TSUNAMI_PC 0x00020000 37 #define TSUNAMI_ITD 0x00010000 38 #define TSUNAMI_ALC 0x00008000 39 #define TSUNAMI_PE 0x00001000 40 #define TSUNAMI_RCMASK 0x00000C00 41 #define TSUNAMI_IENAB 0x00000200 42 #define TSUNAMI_DENAB 0x00000100 43 #define TSUNAMI_NF 0x00000002 44 #define TSUNAMI_ME 0x00000001 45 46 #endif /* !(_SPARC_TSUNAMI_H) */