
#define	MEM_SIZE 4

#define	LEVELONE_L2BA_MASK 0xFFFFFE00
#define	LEVELONE_APG_MASK  0x000001E0
#define	LEVELONE_G_MASK	   0x00000010
#define	LEVELONE_PS_MASK   0x0000000C
#define	LEVELONE_WT_MASK   0x00000002
#define	LEVELONE_V_MASK	   0x00000001

#define	LEVELONE_V	   0x00000001
#define	LEVELONE_WT	   0x00000002
#define	LEVELONE_PS_4K16K  0x00000000
#define	LEVELONE_PS_512K   0x00000004
#define	LEVELONE_PS_8K	   0x0000000C
#define	LEVELONE_G	   0x00000010

#define	LEVELTWO_RPN_MASK		0xFFFFF000
#define	LEVELTWO_PP2021_MASK		0x00000C00
#define	LEVELTWO_PP22_MASK		0x00000200
#define	LEVELTWO_PP23_MASK		0x00000100
#define	LEVELTWO_PP2425_MASK		0x000000C0
#define	LEVELTWO_PP2627_MASK		0x00000030
#define	LEVELTWO_SPS_MASK		0x00000008
#define	LEVELTWO_SH_MASK		0x00000004
#define	LEVELTWO_CI_MASK		0x00000002
#define	LEVELTWO_V_MASK			0x00000001


#define	LEVELTWO_PP2021_RW		0x00000800
#define LEVELTWO_PP2021_RO		0x00000C00
#define	LEVELTWO_PP22_PPCENCODE		0x00000000
#define LEVELTWO_PP22_EXTENCODE		0x00000200
#define	LEVELTWO_PP23_WRITE		0x00000100
#define	LEVELTWO_PP2427			0x000000F0
#define	LEVELTWO_SPS			0x00000008
#define	LEVELTWO_SH			0x00000004
#define	LEVELTWO_CI			0x00000002
#define	LEVELTWO_V			0x00000001

