mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
Fixed the ppdev.h present but not direct io access case.
This commit is contained in:
parent
bd15bef954
commit
03c1f4a032
1 changed files with 5 additions and 4 deletions
|
@ -79,14 +79,15 @@ static BYTE cmosimage[64] =
|
||||||
# undef PP_IO_ACCESS
|
# undef PP_IO_ACCESS
|
||||||
#endif /* linux && __i386__ */
|
#endif /* linux && __i386__ */
|
||||||
|
|
||||||
|
#ifdef HAVE_PPDEV
|
||||||
|
static int do_pp_port_access = -1; /* -1: uninitialized, 1: not available
|
||||||
|
0: available);*/
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef DIRECT_IO_ACCESS
|
#ifdef DIRECT_IO_ACCESS
|
||||||
|
|
||||||
extern int iopl(int level);
|
extern int iopl(int level);
|
||||||
static char do_direct_port_access = -1;
|
static char do_direct_port_access = -1;
|
||||||
#ifdef HAVE_PPDEV
|
|
||||||
static char do_pp_port_access = -1; /* -1: uninitialized, 1: not available
|
|
||||||
0: available);*/
|
|
||||||
#endif
|
|
||||||
static char port_permissions[0x10000];
|
static char port_permissions[0x10000];
|
||||||
|
|
||||||
#define IO_READ 1
|
#define IO_READ 1
|
||||||
|
|
Loading…
Reference in a new issue