diff options
author | James Stembridge <jstembridge@users.sourceforge.net> | 2003-11-16 17:18:09 +0000 |
---|---|---|
committer | James Stembridge <jstembridge@users.sourceforge.net> | 2003-11-16 17:18:09 +0000 |
commit | 4e6502e7006b2461f8523deb5f0213873f8cb5e8 (patch) | |
tree | b3aeb01e90ea42c070d69baa1bd13cd1854b1623 /src/video_out/libdha/mmi.c | |
parent | 589a1b197b720d08ce0b6a34ab72b65dbf43c0fa (diff) | |
download | xine-lib-4e6502e7006b2461f8523deb5f0213873f8cb5e8.tar.gz xine-lib-4e6502e7006b2461f8523deb5f0213873f8cb5e8.tar.bz2 |
sync with vidix cvs
CVS patchset: 5755
CVS date: 2003/11/16 17:18:09
Diffstat (limited to 'src/video_out/libdha/mmi.c')
-rw-r--r-- | src/video_out/libdha/mmi.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/video_out/libdha/mmi.c b/src/video_out/libdha/mmi.c index ffdf8df15..d1cd3c8d1 100644 --- a/src/video_out/libdha/mmi.c +++ b/src/video_out/libdha/mmi.c @@ -58,8 +58,10 @@ int bm_virt_to_bus( void * virt_addr, unsigned long length, unsigned long * barr return ENXIO; } -void * bm_alloc_pa( unsigned long length ) +void * bm_alloc_pci_shmem(pciinfo_t *pi, unsigned mem_bitness, unsigned long length,int op ) { + printf("libdha: Pure virtual function call - bm_alloc_pci_shmem()\n"); +#if 0 dhahelper_mem_t vmi; vmi.length = length; if(libdha_fd > 0) @@ -68,10 +70,13 @@ void * bm_alloc_pa( unsigned long length ) return vmi.addr; } return 0; +#endif } -void bm_free_pa( void * virt_addr, unsigned long length ) +void bm_free_pci_shmem(void * pci_shmem) { + printf("libdha: Pure virtual function call - bm_free_pci_shmem()\n"); +#if 0 dhahelper_mem_t vmi; vmi.addr = virt_addr; vmi.length = length; @@ -79,6 +84,7 @@ void bm_free_pa( void * virt_addr, unsigned long length ) { ioctl(libdha_fd,DHAHELPER_FREE_PA,&vmi); } +#endif } int bm_lock_mem( const void *addr, unsigned long length ) |