updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / lrmi / lrmi.patch
blobd6e6ba4722331f823bc76a652dd77048bfb533fb
1 diff -up lrmi-0.10/lrmi.c lrmi-0.10/lrmi.c
2 --- lrmi-0.10/lrmi.c 2008-08-22 09:26:22.000000000 -0400
3 +++ lrmi-0.101/lrmi.c 2008-08-22 09:41:49.000000000 -0400
4 @@ -168,6 +168,13 @@ LRMI_free_real(void *m)
8 +#ifndef TF_MASK
9 +#define TF_MASK X86_EFLAGS_TF
10 +#define IF_MASK X86_EFLAGS_IF
11 +#define IOPL_MASK X86_EFLAGS_IOPL
12 +#define VIF_MASK X86_EFLAGS_VIF
13 +#define VIP_MASK X86_EFLAGS_VIP
14 +#endif
16 #define DEFAULT_VM86_FLAGS (IF_MASK | IOPL_MASK)
17 #define DEFAULT_STACK_SIZE 0x1000