]> git.lizzy.rs Git - plan9front.git/blob - sys/src/9/ppc/ucu.h
kernel: expose no execute bit to portable mmu code as SG_NOEXEC / PTENOEXEC, add...
[plan9front.git] / sys / src / 9 / ppc / ucu.h
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 #define PTECACHED       0