[MPlayer-users] Problems playing .avi files

Arpi arpi at thot.banki.hu
Mon Nov 5 19:44:40 CET 2001


Hi,

> > VirtualAlloc() does mmap() of /dev/zero. maybe permissions problem?
> 
> Bingo!  We have a winner!  It never for one moment occurred to me to check
> for permissions on /dev/zero because I've never heard of anything writing
> to it.  I'm guessing the mmap(/dev/zero) trick is to get a pre-zeroed
> chunk of memory?

afaik it's for allocating memory in physical memory address space.
(required, because win32 loader sets up segment descriptors to them...
emulating windows kernel not too easy :))

but i've seen many use of it, mainly in emulators (dosemu, lrmi).


A'rpi / Astral & ESP-team

--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu



More information about the MPlayer-users mailing list