1
mirror of https://github.com/mpv-player/mpv synced 2025-01-13 00:06:25 +01:00

x86-64 (amd64) support by Kenny Root

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12688 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2004-06-26 12:40:56 +00:00
parent a8aec55f16
commit 7cad1e9951
3 changed files with 6 additions and 4 deletions

View File

@ -492,6 +492,8 @@ static int pcibus=-1, pcicard=-1, pcifunc=-1 ;
#include "sysdep/pci_arm32.c" #include "sysdep/pci_arm32.c"
#elif defined(__powerpc__) #elif defined(__powerpc__)
#include "sysdep/pci_powerpc.c" #include "sysdep/pci_powerpc.c"
#elif defined(__x86_64__)
/* Nothing here right now */
#else #else
#include "sysdep/pci_x86.c" #include "sysdep/pci_x86.c"
#endif #endif

View File

@ -7,7 +7,7 @@
#ifdef __i386__ #ifdef __i386__
// is this needed? #include <sys/perm.h> // is this needed? #include <sys/perm.h>
#else #else
#if !defined(__sparc__) && !defined(__powerpc__) #if !defined(__sparc__) && !defined(__powerpc__) && !defined(__x86_64__)
#include <sys/io.h> #include <sys/io.h>
#endif #endif
#endif #endif
@ -117,8 +117,8 @@ static __inline__ int disable_os_io(void)
return(0); return(0);
} }
#if (defined(__powerpc__) || defined(__sparc__) || defined(__sparc64__)) \ #if (defined(__powerpc__) || defined(__sparc__) || defined(__sparc64__) \
&& defined(__linux__) && !defined(CONFIG_SVGAHELPER) || defined(__x86_64__)) && defined(__linux__) && !defined(CONFIG_SVGAHELPER)
#define CONFIG_PCI_LINUX_PROC #define CONFIG_PCI_LINUX_PROC
#endif #endif

View File

@ -22,7 +22,7 @@
*/ */
#ifndef _I386_TYPES_H #if !defined(_I386_TYPES_H) && !defined(_X86_64_TYPES_H)
typedef unsigned char __u8; typedef unsigned char __u8;
typedef unsigned short __u16; typedef unsigned short __u16;
typedef unsigned long __u32; typedef unsigned long __u32;