Working on page allocator (4) #67
This commit is contained in:
parent
8437b854ca
commit
1de0d05ad2
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue