1 |
josejx 09/09/30 15:52:21 |
2 |
|
3 |
Added: x86-biosfix.patch |
4 |
Log: |
5 |
Fixed bug #241484. Removed obsolete version. |
6 |
(Portage version: 2.1.6.13/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 x11-misc/xac/files/x86-biosfix.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xac/files/x86-biosfix.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xac/files/x86-biosfix.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: x86-biosfix.patch |
15 |
=================================================================== |
16 |
diff -u -B -r1.1 -r1.2 |
17 |
--- src/bioscall.h 25 Aug 2006 19:48:26 -0000 1.1 |
18 |
+++ src/bioscall.h 30 Sep 2009 15:05:49 -0000 1.2 |
19 |
@@ -1,6 +1,8 @@ |
20 |
#ifndef bioscall_h |
21 |
#define bioscall_h |
22 |
|
23 |
+#include "int10defs.h" |
24 |
+ |
25 |
/* Print some of the interesting parts of a vm86_regs structure. */ |
26 |
void dump_regs(struct vm86_regs *regs); |
27 |
|
28 |
diff -u -B -r1.1 -r1.2 |
29 |
--- src/lrmi.h 25 Aug 2006 19:48:26 -0000 1.1 |
30 |
+++ src/lrmi.h 30 Sep 2009 15:05:49 -0000 1.2 |
31 |
@@ -26,6 +26,8 @@ |
32 |
#ifndef LRMI_H |
33 |
#define LRMI_H |
34 |
|
35 |
+#include "int10defs.h" |
36 |
+ |
37 |
#if defined(__i386__) && (defined(__linux__) || defined(__NetBSD__) \ |
38 |
|| defined(__FreeBSD__) || defined(__OpenBSD__)) |
39 |
|
40 |
diff -Naur |
41 |
--- src/int10defs.h |
42 |
+++ src/int10defs.h 30 Sep 2009 15:05:49 -0000 |
43 |
@@ -0,0 +1,12 @@ |
44 |
+/* Fix missing INT10 defines */ |
45 |
+#ifndef IF_MASK |
46 |
+#define TF_MASK 0x00000100 |
47 |
+#define IF_MASK 0x00000200 |
48 |
+#define IOPL_MASK 0x00003000 |
49 |
+#define NT_MASK 0x00004000 |
50 |
+#define VM_MASK 0x00020000 |
51 |
+#define AC_MASK 0x00040000 |
52 |
+#define VIF_MASK 0x00080000 /* virtual interrupt flag */ |
53 |
+#define VIP_MASK 0x00100000 /* virtual interrupt pending */ |
54 |
+#define ID_MASK 0x00200000 |
55 |
+#endif |