1 #ifndef __LUNAIX_PHYSICAL_H
2 #define __LUNAIX_PHYSICAL_H
4 #include <lunaix/compiler.h>
5 #include <asm/physical.h>
6 #include <lunaix/ds/list.h>
9 * @brief 长久页:不会被缓存,但允许释放
12 #define PP_FGPERSIST 0b0001
15 * @brief 锁定页:不会被缓存,默认不可释放
18 #define PP_FGLOCKED 0b0011
21 * @brief 预留页:不会被缓存,永远不可释放
24 #define PP_RESERVED 0b1000
35 unsigned char flags:2;
36 unsigned char order:6;
38 unsigned char top_flags;
47 unsigned short companion;
49 struct list_node sibs;
51 struct ppage_arch arch;
55 #endif /* __LUNAIX_PHYSICAL_H */