summary refs log tree commit diff stats
path: root/include/system/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/system/system.h')
-rw-r--r--include/system/system.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/system/system.h b/include/system/system.h
index dc7628357a..a7effe7dfd 100644
--- a/include/system/system.h
+++ b/include/system/system.h
@@ -50,9 +50,11 @@ extern QEMUClockType rtc_clock;
 typedef enum {
     MLOCK_OFF = 0,
     MLOCK_ON,
+    MLOCK_ON_FAULT,
 } MlockState;
 
 bool should_mlock(MlockState);
+bool is_mlock_on_fault(MlockState);
 
 extern MlockState mlock_state;