xref: /plan9/sys/src/9/ppc/ucu.h (revision 458db83292ea45506704800dedf36a95598fc2ec)
1 
2 #define	FLASHMEM	(~0)
3 #define	MEM1BASE	0
4 #define	MEM1SIZE	0x02000000
5 #define	MEM2BASE	0
6 #define	MEM2SIZE	0
7 #define	PLAN9INI		(~0)
8 
9 #define Saturn 0xf0000000
10 
11 #define	TLBENTRIES	128
12 
13 /*
14  *  PTE bits for fault.c.  These belong to the second PTE word.  Validity is
15  *  implied for putmmu(), and we always set PTE0_V.  PTEVALID is used
16  *  here to set cache policy bits on a global basis.
17  */
18 #define	PTEVALID		(PTE1_M|PTE1_W)	/* write through */
19 #define	PTEWRITE		(PTE1_RW|PTE1_C)
20 #define	PTERONLY	PTE1_RO
21 #define	PTEUNCACHED	PTE1_I
22