#include <lunaix/device.h>
-#include <lunaix/mm/page.h>
+#include <lunaix/mm/pagetable.h>
#include <klibc/string.h>
static int
__rand_rd_pg(struct device* dev, void* buf, size_t offset)
{
- rng_fill(buf, PG_SIZE);
- return PG_SIZE;
+ rng_fill(buf, PAGE_SIZE);
+ return PAGE_SIZE;
}
static int