field for sanity check feature.

This commit is contained in:
Ben Gras 2009-09-27 12:37:37 +00:00
parent 5715637aa2
commit 67602ce85e

View file

@ -32,6 +32,9 @@ typedef struct phys_region {
struct phys_block *ph;
struct vir_region *parent; /* parent 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 */
struct phys_region *next_ph_list;