reduce the size of ppage by 8 bytes using signly linked list
[lunaix-os.git] / lunaix-os / includes / lunaix / mm / physical.h
index e1710bf691e45a67b8ec7a55b579cad9c866779d..bb15e6cf5008cea076810cccf437aef8cc533daf 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <lunaix/compiler.h>
 #include <asm/physical.h>
 
 #include <lunaix/compiler.h>
 #include <asm/physical.h>
+#include <lunaix/ds/list.h>
 
 /**
  * @brief 长久页:不会被缓存,但允许释放
 
 /**
  * @brief 长久页:不会被缓存,但允许释放
@@ -45,7 +46,7 @@ struct ppage
     };
     unsigned short companion;
     
     };
     unsigned short companion;
     
-    struct llist_header sibs;
+    struct list_node sibs;
 
     struct ppage_arch arch;
 } align(16);
 
     struct ppage_arch arch;
 } align(16);