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?
- To: Dehmel at cygnus dot com, Rüdiger <de at lmnet dot de>
- Subject: Re: I'm new in cygwin: how to mmap?
- From: Corinna Vinschen <vinschen at cygnus dot com>
- Date: Tue, 12 Sep 2000 11:30:46 +0200
- CC: "'cygwin at sources dot redhat dot com'" <cygwin at sources dot redhat dot com>
- References: <A6E475D77D25D311AD91005004066440C821@exserver.lmnet.de>
- Reply-To: cygwin <cygwin at sources dot redhat dot com>
"Dehmel, Rüdiger" wrote:
>
> Hello,
>
> first of all: how to subcribe to this group? (please answer to: de@lmnet.de
> )
How did you find this group???
Read http://sources.redhat.com/cygwin/lists.html
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?
Try using mmap().
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@sources.redhat.com
Red Hat, Inc.
mailto:vinschen@cygnus.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com