diff options
Diffstat (limited to 'libraries/lrmi/lrmi-0.10-newheaders.patch')
-rw-r--r-- | libraries/lrmi/lrmi-0.10-newheaders.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/libraries/lrmi/lrmi-0.10-newheaders.patch b/libraries/lrmi/lrmi-0.10-newheaders.patch deleted file mode 100644 index ae04c47e16ee7..0000000000000 --- a/libraries/lrmi/lrmi-0.10-newheaders.patch +++ /dev/null @@ -1,39 +0,0 @@ -diff -up lrmi-0.10/lrmi.c.BAD lrmi-0.10/lrmi.c ---- lrmi-0.10/lrmi.c.BAD 2008-09-17 14:41:28.000000000 -0400 -+++ lrmi-0.10/lrmi.c 2008-09-17 14:45:17.000000000 -0400 -@@ -239,7 +239,7 @@ LRMI_free_real(void *m) - - - #if defined(__linux__) --#define DEFAULT_VM86_FLAGS (IF_MASK | IOPL_MASK) -+#define DEFAULT_VM86_FLAGS (X86_EFLAGS_IF | X86_EFLAGS_IOPL) - #elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) - #define DEFAULT_VM86_FLAGS (PSL_I | PSL_IOPL) - #define TF_MASK PSL_T -@@ -822,7 +822,7 @@ run_vm86(void) - - CONTEXT_REGS.REG(cs) = get_int_seg(v); - CONTEXT_REGS.REG(eip) = get_int_off(v); -- CONTEXT_REGS.REG(eflags) &= ~(VIF_MASK | TF_MASK); -+ CONTEXT_REGS.REG(eflags) &= ~(X86_EFLAGS_VIF | X86_EFLAGS_TF); - - continue; - } -@@ -862,7 +862,7 @@ vm86_callback(int sig, int code, struct - - CONTEXT_REGS.REG(cs) = get_int_seg(v); - CONTEXT_REGS.REG(eip) = get_int_off(v); -- CONTEXT_REGS.REG(eflags) &= ~(VIF_MASK | TF_MASK); -+ CONTEXT_REGS.REG(eflags) &= ~(X86_EFLAGS_VIF | X86_EFLAGS_TF); - - break; - } -@@ -916,7 +916,7 @@ vm86_callback(int sig, int code, struct - - CONTEXT_REGS.REG(cs) = get_int_seg(addr[1]); - CONTEXT_REGS.REG(eip) = get_int_off(addr[1]); -- CONTEXT_REGS.REG(eflags) &= ~(VIF_MASK | TF_MASK); -+ CONTEXT_REGS.REG(eflags) &= ~(X86_EFLAGS_VIF | X86_EFLAGS_TF); - } else { - if (emulate() == 0) { - context.success = 0; |