This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: I'm new in cygwin: how to mmap?
>>>>> "Corinna" == Corinna Vinschen <vinschen@cygnus.com> writes:
Corinna> "Dehmel, Rüdiger" wrote:
>>
>> Hello,
>>
>> first of all: how to subcribe to this group? (please answer to: de@lmnet.de
>> )
Corinna> How did you find this group???
Corinna> Read http://sources.redhat.com/cygwin/lists.html
Corinna> It contains all necessary information.
>> I must memory map my hardware (ISA memory address: 0xD0000 - 0xD1FFFF) to
>> user address space.
>>
>> In LINUX I do this:
>>
>> md = open("/dev/mem", ...);
>> base = mmap(0, length, ... 0xD0000, md , ..);
>> ....
>> *base = 0x77; // write the bits 0x77 direct to the hardware
>> ....
>>
>> What is the replacement with cygwin on NT?
Corinna> Try using mmap().
Just curious. Whenever a configure script tries to detect a working mmap I get:
checking for working mmap... no
Is this the expected behaviour. I'm using latest 1.1.4
Ciao
Volker
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com