[libcpu/aarch64] stop when no page is free

This commit is contained in:
wangxiaoyao 2023-02-25 19:14:02 +08:00 committed by guo
parent fef2607764
commit 12f0df9279
1 changed files with 4 additions and 0 deletions

View File

@ -109,6 +109,10 @@ static void _kenrel_unmap_4K(unsigned long *lv0_tbl, void *v_addr)
} }
rt_pages_free(cur_page, 0); rt_pages_free(cur_page, 0);
} }
else
{
break;
}
level--; level--;
} }