mirror of
https://github.com/mpv-player/mpv
synced 2024-10-26 07:22:17 +02:00
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
Block a user