mirror of https://github.com/mpv-player/mpv
the IN/OUT PORT 8/16/32 functions rely on inb/inw/inl/outb/outw/outl that are not available on alpha and powerpc architectures
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24532 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
dcd13c2013
commit
a4a215beac
|
@ -185,6 +185,7 @@ void unmap_phys_mem(void *ptr, unsigned long size)
|
|||
|
||||
#endif /* Generic mmap (not win32, nor os2) */
|
||||
|
||||
#if !defined(__alpha__) && !defined(__powerpc__)
|
||||
unsigned char INPORT8(unsigned idx)
|
||||
{
|
||||
return inb(idx);
|
||||
|
@ -214,3 +215,4 @@ void OUTPORT32(unsigned idx,unsigned val)
|
|||
{
|
||||
outl(idx,val);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue