field for sanity check feature.
This commit is contained in:
parent
5715637aa2
commit
67602ce85e
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue