Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 235599 | Differences between
and this patch

Collapse All | Expand All

(-)lrmi.c.orig (+12 lines)
Lines 55-60 OTHER DEALINGS IN THE SOFTWARE. Link Here
55
#include "x86-common.h"
55
#include "x86-common.h"
56
56
57
#if defined(__linux__)
57
#if defined(__linux__)
58
#ifndef TF_MASK
59
#define TF_MASK X86_EFLAGS_TF
60
#endif
61
#ifndef IF_MASK
62
#define IF_MASK X86_EFLAGS_IF
63
#endif
64
#ifndef IOPL_MASK
65
#define IOPL_MASK X86_EFLAGS_IOPL
66
#endif
67
#ifndef VIF_MASK
68
#define VIF_MASK X86_EFLAGS_VIF
69
#endif
58
#define DEFAULT_VM86_FLAGS 	(IF_MASK | IOPL_MASK)
70
#define DEFAULT_VM86_FLAGS 	(IF_MASK | IOPL_MASK)
59
#elif defined(__NetBSD__) || defined(__FreeBSD__)
71
#elif defined(__NetBSD__) || defined(__FreeBSD__)
60
#define DEFAULT_VM86_FLAGS  (PSL_I | PSL_IOPL)
72
#define DEFAULT_VM86_FLAGS  (PSL_I | PSL_IOPL)

Return to bug 235599