summaryrefslogtreecommitdiffstats
path: root/src/include/kernel/spte.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/kernel/spte.H')
-rw-r--r--src/include/kernel/spte.H4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/kernel/spte.H b/src/include/kernel/spte.H
index 6e4832bb6..1a284d6e7 100644
--- a/src/include/kernel/spte.H
+++ b/src/include/kernel/spte.H
@@ -106,6 +106,10 @@ class ShadowPTE
bool isDirty() const { return dirty; };
/** Set dirty bit. */
void setDirty(bool i_dirty) { dirty = i_dirty; };
+ /** Get allocate-from-zero bit. */
+ bool isAllocateFromZero() const { return allocate_from_zero; };
+ /** Set allocate-from-zero bit. */
+ void setAllocateFromZero(bool i_zero) { allocate_from_zero = i_zero; };
};
#endif
OpenPOWER on IntegriCloud