Mercurial > mplayer.hg
annotate libdha/sysdep/pci_win32.c @ 11041:450f7aa81adc
build fixes
author | diego |
---|---|
date | Wed, 08 Oct 2003 01:06:50 +0000 |
parents | 4cfb6b9a6da3 |
children | 3a727f52c4a2 |
rev | line source |
---|---|
4164 | 1 /* |
2 This file is based on: | |
3 $XFree86: xc/programs/Xserver/hw/xfree86/etc/scanpci.c,v 3.34.2.17 1998/11/10 11:55:40 dawes Exp $ | |
4 Modified for readability by Nick Kurshev | |
5 */ | |
6 #include <windows.h> | |
7 | |
8 /* Nothing to do for Win9x. For WinNT I have no solution */ | |
9 | |
4174
4cfb6b9a6da3
api changed: enable/disable_os_io returns error-code (or zero if ok) and pciconfig_read exported for mga_vid
alex
parents:
4164
diff
changeset
|
10 static __inline__ int enable_os_io(void) |
4164 | 11 { |
4174
4cfb6b9a6da3
api changed: enable/disable_os_io returns error-code (or zero if ok) and pciconfig_read exported for mga_vid
alex
parents:
4164
diff
changeset
|
12 return(0); |
4164 | 13 } |
14 | |
4174
4cfb6b9a6da3
api changed: enable/disable_os_io returns error-code (or zero if ok) and pciconfig_read exported for mga_vid
alex
parents:
4164
diff
changeset
|
15 static __inline__ int disable_os_io(void) |
4164 | 16 { |
4174
4cfb6b9a6da3
api changed: enable/disable_os_io returns error-code (or zero if ok) and pciconfig_read exported for mga_vid
alex
parents:
4164
diff
changeset
|
17 return(0); |
4164 | 18 } |