Annotation of /trunk/ddcxinfo-knoppix/patches/ddcxinfo-knoppix-0.6p8-lrmi-build-fix.patch
Parent Directory | Revision Log
Revision 789 -
(hide annotations)
(download)
Sat May 9 11:38:41 2009 UTC (15 years, 4 months ago) by niro
File size: 558 byte(s)
Sat May 9 11:38:41 2009 UTC (15 years, 4 months ago) by niro
File size: 558 byte(s)
-fixed build of lrmi.c on newer linux hosts
1 | niro | 789 | diff -Naur ddcxinfo-knoppix-0.6/lrmi.c ddcxinfo-knoppix-0.6-magellan/lrmi.c |
2 | --- ddcxinfo-knoppix-0.6/lrmi.c 2002-01-04 21:47:36.000000000 +0100 | ||
3 | +++ ddcxinfo-knoppix-0.6-magellan/lrmi.c 2009-05-09 14:14:47.000000000 +0200 | ||
4 | @@ -28,6 +28,13 @@ | ||
5 | |||
6 | #include "lrmi.h" | ||
7 | |||
8 | +#if defined(__linux__) && !defined(TF_MASK) | ||
9 | + #define TF_MASK X86_EFLAGS_TF | ||
10 | + #define IF_MASK X86_EFLAGS_IF | ||
11 | + #define VIF_MASK X86_EFLAGS_VIF | ||
12 | + #define IOPL_MASK X86_EFLAGS_IOPL | ||
13 | +#endif | ||
14 | + | ||
15 | #define REAL_MEM_BASE ((void *)0x10000) | ||
16 | #define REAL_MEM_SIZE 0x10000 | ||
17 | #define REAL_MEM_BLOCKS 0x100 |