On Tue, Dec 28, 2010 at 11:33:44AM +0000, Neil Williams wrote:
> Andreas Henriksson <[email protected]> wrote:
> > 
> > A hint of the solution might be found by looking at atitvout which
> > seems to have suffered from the exact same problem, see 
> > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=518725 ...
> 
> Unfortunately, the link to the patch from bug #518725 is now a 404, so
> this comment doesn't exactly help much.
> 
> Can you elaborate on what that fix actually involved?
> 
> Is it actually this patch:
> http://patch-tracker.debian.org/patch/series/view/atitvout/0.4-13/lrmi

That's the patch included in atitvout:

Index: atitvout-trunk/lrmi-0.6/lrmi.c
===================================================================
--- atitvout-trunk.orig/lrmi-0.6/lrmi.c 2009-05-24 22:08:40.000000000 +0200
+++ atitvout-trunk/lrmi-0.6/lrmi.c      2009-05-24 22:11:42.000000000 +0200
@@ -26,6 +26,13 @@
 
 #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
@@ -880,4 +887,3 @@
 
        return vret;
        }
-



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to