Rev 2071 | Rev 3672 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2071 | Rev 2141 | ||
---|---|---|---|
Line 33... | Line 33... | ||
33 | */ |
33 | */ |
34 | 34 | ||
35 | #ifndef KERN_sparc64_FRAME_H_ |
35 | #ifndef KERN_sparc64_FRAME_H_ |
36 | #define KERN_sparc64_FRAME_H_ |
36 | #define KERN_sparc64_FRAME_H_ |
37 | 37 | ||
- | 38 | /* |
|
- | 39 | * Page size supported by the MMU. |
|
- | 40 | * For 8K there is the nasty illegal virtual aliasing problem. |
|
- | 41 | * Therefore, the kernel uses 8K only internally on the TLB and TSB levels. |
|
- | 42 | */ |
|
- | 43 | #define MMU_FRAME_WIDTH 13 /* 8K */ |
|
- | 44 | #define MMU_FRAME_SIZE (1 << MMU_FRAME_WIDTH) |
|
- | 45 | ||
- | 46 | /* |
|
- | 47 | * Page size exported to the generic memory management subsystems. |
|
- | 48 | * This page size is not directly supported by the MMU, but we can emulate |
|
- | 49 | * each 16K page with a pair of adjacent 8K pages. |
|
- | 50 | */ |
|
38 | #define FRAME_WIDTH 13 /* 8K */ |
51 | #define FRAME_WIDTH 14 /* 16K */ |
39 | #define FRAME_SIZE (1 << FRAME_WIDTH) |
52 | #define FRAME_SIZE (1 << FRAME_WIDTH) |
40 | 53 | ||
41 | #ifdef KERNEL |
54 | #ifdef KERNEL |
42 | #ifndef __ASM__ |
55 | #ifndef __ASM__ |
43 | 56 |