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:
ben 2007-09-15 17:51:05 +00:00
parent dcd13c2013
commit a4a215beac
1 changed files with 2 additions and 0 deletions

View File

@ -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