Subversion Repositories HelenOS

Rev

Rev 2071 | Rev 2439 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2071 Rev 2100
Line 59... Line 59...
59
 * @param page Address of the first page whose entry is to be invalidated.
59
 * @param page Address of the first page whose entry is to be invalidated.
60
 * @param cnt Number of entries to invalidate.
60
 * @param cnt Number of entries to invalidate.
61
 */
61
 */
62
void tlb_invalidate_pages(asid_t asid, uintptr_t page, count_t cnt)
62
void tlb_invalidate_pages(asid_t asid, uintptr_t page, count_t cnt)
63
{
63
{
64
    int i;
64
    unsigned int i;
65
 
65
 
66
    for (i = 0; i < cnt; i++)
66
    for (i = 0; i < cnt; i++)
67
        invlpg(page + i * PAGE_SIZE);
67
        invlpg(page + i * PAGE_SIZE);
68
}
68
}
69
 
69