You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
527 B
19 lines
527 B
diff --git a/src/display/lrmi.c b/src/display/lrmi.c
|
|
index 85c6fe6..5c74260 100644
|
|
--- a/src/display/lrmi.c
|
|
+++ b/src/display/lrmi.c
|
|
@@ -33,6 +33,13 @@ This software has NO WARRANTY. Use it at your own risk.
|
|
|
|
#include "lrmi.h"
|
|
|
|
+#if defined(__linux__) && !defined(TF_MASK)
|
|
+ #define TF_MASK X86_EFLAGS_TF
|
|
+ #define IF_MASK X86_EFLAGS_IF
|
|
+ #define VIF_MASK X86_EFLAGS_VIF
|
|
+ #define IOPL_MASK X86_EFLAGS_IOPL
|
|
+#endif
|
|
+
|
|
#define REAL_MEM_BASE ((void *)0x10000)
|
|
#define REAL_MEM_SIZE 0x10000
|
|
#define REAL_MEM_BLOCKS 0x100
|