1
0
Fork 0
mirror of https://github.com/tailix/kernel.git synced 2024-10-30 12:03:52 -04:00

Add TODOs

This commit is contained in:
Braiden Vasco 2017-11-05 09:24:34 +00:00
parent 9dcd21f42e
commit 34326cce45

View file

@ -71,6 +71,7 @@ unsigned long memory_alloc_big_page()
return 0;
}
// TODO: panic if not aligned
void memory_free_page(const unsigned long addr)
{
const unsigned long i = addr / PAGE_SIZE;
@ -82,6 +83,7 @@ void memory_free_page(const unsigned long addr)
frames[i] = 0;
}
// TODO: panic if not aligned
void memory_free_big_page(const unsigned long addr)
{
const unsigned long start = addr / PAGE_SIZE;