mirror of
https://github.com/tailix/kernel.git
synced 2024-10-30 12:03:52 -04:00
Add TODOs
This commit is contained in:
parent
9dcd21f42e
commit
34326cce45
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue