Rev 3862 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3862 | Rev 4129 | ||
---|---|---|---|
Line 35... | Line 35... | ||
35 | #ifndef KERN_sparc64_sun4v_PAGE_H_ |
35 | #ifndef KERN_sparc64_sun4v_PAGE_H_ |
36 | #define KERN_sparc64_sun4v_PAGE_H_ |
36 | #define KERN_sparc64_sun4v_PAGE_H_ |
37 | 37 | ||
38 | #include <arch/mm/frame.h> |
38 | #include <arch/mm/frame.h> |
39 | 39 | ||
40 | /* |
- | |
41 | * On the TLB and TSB level, we still use 8K pages, which are supported by the |
- | |
42 | * MMU. |
- | |
43 | */ |
- | |
44 | #define MMU_PAGE_WIDTH MMU_FRAME_WIDTH |
40 | #define MMU_PAGE_WIDTH MMU_FRAME_WIDTH |
45 | #define MMU_PAGE_SIZE MMU_FRAME_SIZE |
41 | #define MMU_PAGE_SIZE MMU_FRAME_SIZE |
46 | 42 | ||
47 | /* |
- | |
48 | * On the page table level, we use 16K pages. 16K pages are not supported by |
- | |
49 | * the MMU but we emulate them with pairs of 8K pages. |
- | |
50 | */ |
- | |
51 | #define PAGE_WIDTH FRAME_WIDTH |
43 | #define PAGE_WIDTH FRAME_WIDTH |
52 | #define PAGE_SIZE FRAME_SIZE |
44 | #define PAGE_SIZE FRAME_SIZE |
53 | 45 | ||
54 | #define MMU_PAGES_PER_PAGE (1 << (PAGE_WIDTH - MMU_PAGE_WIDTH)) |
46 | #define MMU_PAGES_PER_PAGE (1 << (PAGE_WIDTH - MMU_PAGE_WIDTH)) |
55 | 47 |