Rev 121 | Rev 319 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 121 | Rev 317 | ||
---|---|---|---|
Line 27... | Line 27... | ||
27 | */ |
27 | */ |
28 | 28 | ||
29 | #ifndef __mips_TLB_H__ |
29 | #ifndef __mips_TLB_H__ |
30 | #define __mips_TLB_H__ |
30 | #define __mips_TLB_H__ |
31 | 31 | ||
- | 32 | #include <arch/exception.h> |
|
- | 33 | ||
32 | #define PAGE_UNCACHED 2 |
34 | #define PAGE_UNCACHED 2 |
33 | #define PAGE_CACHEABLE_EXC_WRITE 5 |
35 | #define PAGE_CACHEABLE_EXC_WRITE 5 |
34 | 36 | ||
35 | struct entry_lo { |
37 | struct entry_lo { |
36 | unsigned g : 1; /* global bit */ |
38 | unsigned g : 1; /* global bit */ |
Line 61... | Line 63... | ||
61 | struct page_mask mask; |
63 | struct page_mask mask; |
62 | } __attribute__ ((packed)); |
64 | } __attribute__ ((packed)); |
63 | 65 | ||
64 | typedef struct entry_lo pte_t; |
66 | typedef struct entry_lo pte_t; |
65 | 67 | ||
66 | extern void tlb_refill(void); |
68 | extern void tlb_invalid(struct exception_regdump *pstate); |
67 | extern void tlb_invalid(void); |
69 | extern void tlb_refill(struct exception_regdump *pstate); |
68 | 70 | ||
69 | #endif |
71 | #endif |