1 #ifndef __LUNAIX_PHYSICAL_H
2 #define __LUNAIX_PHYSICAL_H
4 #include <lunaix/compiler.h>
5 #include <sys/mm/physical.h>
8 * @brief 长久页:不会被缓存,但允许释放
11 #define PP_FGPERSIST 0b0001
14 * @brief 锁定页:不会被缓存,默认不可释放
17 #define PP_FGLOCKED 0b0011
20 * @brief 预留页:不会被缓存,永远不可释放
23 #define PP_RESERVED 0b1000
34 unsigned char flags:2;
35 unsigned char order:6;
37 unsigned char top_flags;
46 unsigned short companion;
48 struct llist_header sibs;
50 struct ppage_arch arch;
54 #endif /* __LUNAIX_PHYSICAL_H */