A Total Overhaul on the Lunaix's Virtual Memory Model (#26)
[lunaix-os.git] / lunaix-os / hal / char / devnull.c
index 410f3ba2cdf932276778011be925a00f91ef3c4c..77650b0c922816192d6b72785e25124de754cb8b 100644 (file)
@@ -1,11 +1,11 @@
 #include <lunaix/device.h>
 #include <lunaix/device.h>
-#include <lunaix/mm/page.h>
+#include <lunaix/mm/pagetable.h>
 
 static int
 __null_wr_pg(struct device* dev, void* buf, size_t offset)
 {
     // do nothing
 
 static int
 __null_wr_pg(struct device* dev, void* buf, size_t offset)
 {
     // do nothing
-    return PG_SIZE;
+    return PAGE_SIZE;
 }
 
 static int
 }
 
 static int