diff options
Diffstat (limited to 'arch/powerpc/include/asm/pte-8xx.h')
| -rw-r--r-- | arch/powerpc/include/asm/pte-8xx.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/arch/powerpc/include/asm/pte-8xx.h b/arch/powerpc/include/asm/pte-8xx.h index dd5ea95fe61e..68ba861331ee 100644 --- a/arch/powerpc/include/asm/pte-8xx.h +++ b/arch/powerpc/include/asm/pte-8xx.h | |||
| @@ -33,21 +33,20 @@ | |||
| 33 | #define _PAGE_NO_CACHE 0x0002 /* I: cache inhibit */ | 33 | #define _PAGE_NO_CACHE 0x0002 /* I: cache inhibit */ |
| 34 | #define _PAGE_SHARED 0x0004 /* No ASID (context) compare */ | 34 | #define _PAGE_SHARED 0x0004 /* No ASID (context) compare */ |
| 35 | #define _PAGE_SPECIAL 0x0008 /* SW entry, forced to 0 by the TLB miss */ | 35 | #define _PAGE_SPECIAL 0x0008 /* SW entry, forced to 0 by the TLB miss */ |
| 36 | #define _PAGE_DIRTY 0x0100 /* C: page changed */ | ||
| 36 | 37 | ||
| 37 | /* These five software bits must be masked out when the entry is loaded | 38 | /* These 3 software bits must be masked out when the entry is loaded |
| 38 | * into the TLB. | 39 | * into the TLB, 2 SW bits left. |
| 39 | */ | 40 | */ |
| 40 | #define _PAGE_GUARDED 0x0010 /* software: guarded access */ | 41 | #define _PAGE_GUARDED 0x0010 /* software: guarded access */ |
| 41 | #define _PAGE_DIRTY 0x0020 /* software: page changed */ | 42 | #define _PAGE_ACCESSED 0x0020 /* software: page referenced */ |
| 42 | #define _PAGE_RW 0x0040 /* software: user write access allowed */ | ||
| 43 | #define _PAGE_ACCESSED 0x0080 /* software: page referenced */ | ||
| 44 | 43 | ||
| 45 | /* Setting any bits in the nibble with the follow two controls will | 44 | /* Setting any bits in the nibble with the follow two controls will |
| 46 | * require a TLB exception handler change. It is assumed unused bits | 45 | * require a TLB exception handler change. It is assumed unused bits |
| 47 | * are always zero. | 46 | * are always zero. |
| 48 | */ | 47 | */ |
| 49 | #define _PAGE_HWWRITE 0x0100 /* h/w write enable: never set in Linux PTE */ | 48 | #define _PAGE_RW 0x0400 /* lsb PP bits, inverted in HW */ |
| 50 | #define _PAGE_USER 0x0800 /* One of the PP bits, the other is USER&~RW */ | 49 | #define _PAGE_USER 0x0800 /* msb PP bits */ |
| 51 | 50 | ||
| 52 | #define _PMD_PRESENT 0x0001 | 51 | #define _PMD_PRESENT 0x0001 |
| 53 | #define _PMD_BAD 0x0ff0 | 52 | #define _PMD_BAD 0x0ff0 |
