some coverity fixes.
[minix.git] / servers / vm / phys_region.h
blob2cbde86778402615033e65977d3fef809b50305a
1 #ifndef PHYS_REGION_H
2 #define PHYS_REGION_H 1
4 #include <stddef.h>
6 typedef struct phys_region {
7 struct phys_block *ph;
8 struct vir_region *parent; /* vir_region or NULL if yielded */
9 vir_bytes offset; /* offset from start of vir region */
10 #if SANITYCHECKS
11 int written; /* written to pagetable */
12 #endif
14 /* list of phys_regions that reference the same phys_block */
15 struct phys_region *next_ph_list;
17 /* AVL fields */
18 struct phys_region *less, *greater;
19 int factor;
20 } phys_region_t;
22 #endif