Rev 727 | Rev 756 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 727 | Rev 730 | ||
---|---|---|---|
Line 26... | Line 26... | ||
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | */ |
27 | */ |
28 | 28 | ||
29 | #include <arch/mm/tlb.h> |
29 | #include <arch/mm/tlb.h> |
30 | #include <mm/asid.h> |
30 | #include <mm/asid.h> |
- | 31 | #include <genarch/mm/asid_fifo.h> |
|
31 | #include <mm/tlb.h> |
32 | #include <mm/tlb.h> |
32 | #include <mm/page.h> |
33 | #include <mm/page.h> |
33 | #include <mm/as.h> |
34 | #include <mm/as.h> |
34 | #include <arch/cp0.h> |
35 | #include <arch/cp0.h> |
35 | #include <panic.h> |
36 | #include <panic.h> |
Line 55... | Line 56... | ||
55 | */ |
56 | */ |
56 | void tlb_arch_init(void) |
57 | void tlb_arch_init(void) |
57 | { |
58 | { |
58 | int i; |
59 | int i; |
59 | 60 | ||
- | 61 | asid_fifo_init(); |
|
- | 62 | ||
60 | cp0_pagemask_write(TLB_PAGE_MASK_16K); |
63 | cp0_pagemask_write(TLB_PAGE_MASK_16K); |
61 | cp0_entry_hi_write(0); |
64 | cp0_entry_hi_write(0); |
62 | cp0_entry_lo0_write(0); |
65 | cp0_entry_lo0_write(0); |
63 | cp0_entry_lo1_write(0); |
66 | cp0_entry_lo1_write(0); |
64 | 67 |