field for sanity check feature.
This commit is contained in:
parent
5715637aa2
commit
67602ce85e
@ -32,6 +32,9 @@ typedef struct phys_region {
|
|||||||
struct phys_block *ph;
|
struct phys_block *ph;
|
||||||
struct vir_region *parent; /* parent vir_region. */
|
struct vir_region *parent; /* parent vir_region. */
|
||||||
vir_bytes offset; /* offset from start of vir region */
|
vir_bytes offset; /* offset from start of vir region */
|
||||||
|
#if SANITYCHECKS
|
||||||
|
int written; /* written to pagetable */
|
||||||
|
#endif
|
||||||
|
|
||||||
/* list of phys_regions that reference the same phys_block */
|
/* list of phys_regions that reference the same phys_block */
|
||||||
struct phys_region *next_ph_list;
|
struct phys_region *next_ph_list;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user