1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
From: Debian Chinese Team <chinese-developers@lists.alioth.debian.org>
Date: Sat, 9 Jun 2012 01:57:06 +0800
Subject: [PATCH] debian 561491 fix x mask
---
src/display/lrmi.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
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
--
|