blob: 57ffd395a4cfab4b91b75879905356a18ee0eecf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
#include <stdint.h>
#include <kernel/paging/paging.h>
uint32_t sys_paging_alloc(uint32_t count)
{
uint32_t ptr = paging_alloc_pages((uint32_t) count);
paging_set_user(ptr, count);
return ptr;
}
|