Skip to content

Commit

Permalink
[libcpu/aarch64] stop when no page is free
Browse files Browse the repository at this point in the history
  • Loading branch information
polarvid authored and Guozhanxin committed Feb 25, 2023
1 parent fef2607 commit 12f0df9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libcpu/aarch64/common/mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ static void _kenrel_unmap_4K(unsigned long *lv0_tbl, void *v_addr)
}
rt_pages_free(cur_page, 0);
}
else
{
break;
}
level--;
}

Expand Down

0 comments on commit 12f0df9

Please sign in to comment.