Working on page allocator (4) #67

This commit is contained in:
Adrien Bourmault 2020-01-14 01:10:23 +01:00
parent 8437b854ca
commit 1de0d05ad2
1 changed files with 2 additions and 0 deletions

View File

@ -93,6 +93,8 @@ static void removePageFromBusyList(void *phyPageAddr) {
error_t MmGetFreePageFrame(void **framePtr, size_t *pageNumber, size_t size) { error_t MmGetFreePageFrame(void **framePtr, size_t *pageNumber, size_t size) {
*pageNumber = (ulong)size / KPAGESIZE; *pageNumber = (ulong)size / KPAGESIZE;
return EOK; return EOK;
} }