Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <39BDF7C6.C0ADA25D@cygnus.com> Date: Tue, 12 Sep 2000 11:30:46 +0200 From: Corinna Vinschen Reply-To: cygwin X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16 i686) X-Accept-Language: de, en MIME-Version: 1.0 To: Dehmel AT cygnus DOT com, =?iso-8859-1?Q?R=FCdiger?= CC: "'cygwin AT sources DOT redhat DOT com'" Subject: Re: I'm new in cygwin: how to mmap? References: Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id FAA02587 "Dehmel, Rüdiger" wrote: > > Hello, > > first of all: how to subcribe to this group? (please answer to: de AT lmnet DOT 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 AT sources DOT redhat DOT com Red Hat, Inc. mailto:vinschen AT cygnus DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com