Rev 762 | Rev 792 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 762 | Rev 786 | ||
---|---|---|---|
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, NULL); |
92 | page_ht = (pte_t *) frame_alloc(VHPT_WIDTH - FRAME_WIDTH, FRAME_KA); |
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. |