Rev 751 | Rev 792 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 751 | Rev 762 | ||
---|---|---|---|
Line 87... | Line 87... | ||
87 | } |
87 | } |
88 | 88 | ||
89 | /* |
89 | /* |
90 | * Allocate VHPT and invalidate all its entries. |
90 | * Allocate VHPT and invalidate all its entries. |
91 | */ |
91 | */ |
92 | page_ht = (pte_t *) frame_alloc(FRAME_KA, VHPT_WIDTH - FRAME_WIDTH, NULL); |
92 | page_ht = (pte_t *) frame_alloc(FRAME_KA, VHPT_WIDTH - FRAME_WIDTH, NULL, NULL); |
93 | memsetb((__address) page_ht, VHPT_SIZE, 0); |
93 | memsetb((__address) page_ht, VHPT_SIZE, 0); |
94 | ht_invalidate_all(); |
94 | ht_invalidate_all(); |
95 | 95 | ||
96 | /* |
96 | /* |
97 | * Set up PTA register. |
97 | * Set up PTA register. |